Function at 0x411b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov eax, dword [ebx + 0x34]
push edi
lea ecx, [eax + eax*2]
shl ecx, 4
sub ecx, eax
mov al, byte [ecx*4 + 0x8220d8]
test al, 1
lea esi, [ecx*4 + 0x8220b0]
je 0x411c14
cmp byte [esi], 0
je 0x411cf9
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x411cf9
lea edi, [esi + 0xa0]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x8c]
push 1
push 0
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0x30]
test eax, eax
jne 0x411c01
call fcn.004cfae0
sub eax, dword [esi + 0x18]
push eax
push str.Ahandle:_PauseAdjust__ld_n
mov dword [esi + 0x1c], eax
call fcn.004068f0
mov eax, dword [esi + 0x28]
add esp, 8
and al, 0xfe
mov dword [esi + 0x28], eax
push edi
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
mov esi, 0xfffffff3
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
lea eax, [esi + 0xa0]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x8c]
lea edi, [esi + 0x8c]
test eax, eax
je 0x411c49
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov eax, dword [edi]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov dword [edi], 0
mov eax, dword [ebx + 0x9c]
lea ebp, [esi + 0x64]
shl eax, 1
mov edx, ebp
xor ecx, ecx
mov dword [esi + 0x90], eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov eax, dword [esi + 0x90]
mov dword [esi + 0x6c], eax
lea eax, [esi + 0x78]
mov edx, eax
mov dword [ebp], 0x14
mov dword [esi + 0x68], 0x100e0
mov dword [esi + 0x74], eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov word [edx + 0x10], cx
mov word [eax], 1
movzx ax, byte [esi + 0xb]
movzx dx, byte [esi + 0xa]
mov word [esi + 0x86], ax
mov cx, word [esi + 8]
shr ax, 3
imul eax, edx
mov word [esi + 0x84], ax
and eax, 0xffff
imul eax, ecx
mov dword [esi + 0x7c], ecx
mov word [esi + 0x7a], dx
mov dword [esi + 0x80], eax
call fcn.0040a6c0
mov ecx, dword [eax]
push 0
push edi
push ebp
push eax
call dword [ecx + 0xc]
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
jne 0x411d03
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov eax, 0xfffffff3
pop ebx
ret
push ebx
call dword [0x8220a4]
push ebx
call dword [0x8220a4]
mov eax, dword [edi]
add esp, 8
mov dword [esi + 0x44], ebp
mov dword [esi + 0x9c], ebp
mov dword [esi + 0x94], ebp
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x34]
fld dword [0xa28768]
fmul dword [0x7860a8]
call fcn.0076a6b0
mov edx, dword [edi]
mov ecx, eax
mov dword [esi + 4], eax
and ecx, 0xff
mov esi, dword [edx]
call fcn.0040a820
push eax
mov eax, dword [edi]
push eax
call dword [esi + 0x3c]
mov edi, dword [edi]
push 1
push ebp
push ebp
mov ecx, dword [edi]
push edi
call dword [ecx + 0x30]
mov edx, dword [esp + 0x14]
mov esi, eax
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop edi
neg eax
sbb eax, eax
pop esi
and al, 0xf4
pop ebp
dec eax
pop ebx
ret