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

Disassembly:
sub esp, 0xc4
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov eax, dword [0x49c27c]
call fcn.0046410c
mov ecx, 1
cmp eax, ecx
jle 0x464016
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x40], 0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], 0x64
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ecx
imul ecx, edx, 0x2710
mov edx, 0x2710
mul edx
add edx, ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x5c], 0xfffffffe
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x5c]
imul ebx, edx, 0x2710
mov edx, 0x2710
mul edx
add edx, ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x44], 0
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x44]
imul esi, edx, 0x2710
mov edx, 0x2710
mul edx
add edx, esi
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
imul ecx, edx, 0x2710
mov edx, 0x2710
mul edx
add edx, ecx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
imul ebx, edx, 0x2710
mov edx, 0x2710
mul edx
add edx, ebx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], 0x64
mov dword [esp + 0x1c], 0xfffffffe
mov dword [esp + 0x14], 0
mov dword [esp + 0xc0], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0xac], 0
mov ebx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
mov dword [esp + 0xb0], 0
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xac], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x10], esi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xbc], edx
push dword [esp + 0x88]
push dword [esp + 0x88]
lea eax, [esp + 0x14]
call fcn.0042029c
xor ebx, ebx
cmp eax, ebx
jle 0x463f3c
push dword [esp + 0x80]
push dword [esp + 0x80]
lea eax, [esp + 0x14]
call fcn.0042029c
cmp eax, ebx
jns 0x463f3c
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
push dword [esp + 0xc0]
push dword [esp + 0xc0]
lea eax, [esp + 0x14]
call fcn.0042029c
cmp eax, ebx
jle 0x463fb4
mov ebx, dword [esp + 0xac]
mov edx, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x74]
mov ebx, 0x2710
push esi
push edi
call fcn.004658e6
pop edi
pop esi
mov esi, eax
push esi
call sub.KERNEL32.DLL_Sleep
push dword [esp + 0xc0]
push dword [esp + 0xc0]
lea eax, [esp + 0x14]
call fcn.0044b82c
push dword [esp + 0xc0]
push dword [esp + 0xc0]
lea eax, [esp + 0x14]
call fcn.0042029c
test eax, eax
jg 0x463f7c
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, 0x2710
mov dword [esp + 0x94], esi
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x98], edx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x8c]
xor ecx, ecx
push esi
push edi
call fcn.004658e6
pop edi
pop esi
push eax
call sub.KERNEL32.DLL_Sleep
mov eax, dword [0x49c27c]
call fcn.0046410c
cmp eax, 1
jg 0x463e9e
call sub.KERNEL32.DLL_GetCurrentThreadId
call fcn.004630e4
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov esi, 0x49c25c
push esi
call sub.KERNEL32.DLL_EnterCriticalSection
cmp dword [0x49c248], 0
je 0x464089
xor ebx, ebx
mov edi, dword [0x49c24c]
add edi, ebx
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
mov ecx, edx
or ecx, eax
je 0x46406e
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edx
mov esi, 0xc
mov edi, dword [0x49c248]
lea eax, [edi + edi*2]
add ebx, esi
lea eax, [eax*4]
cmp ebx, eax
jb 0x46404c
mov edx, 0x49c25c
push edx
call sub.KERNEL32.DLL_LeaveCriticalSection
mov ecx, dword [esp + 0xb8]
or ecx, dword [esp + 0xb4]
je 0x4640b7
mov eax, dword [esp + 0xb4]
call dword [esp + 0xb8]
jmp 0x464020
push 0
push dword [0x49c27c]
call sub.KERNEL32.DLL_FreeLibraryAndExitThread
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
add esp, 0xc4
ret