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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x468c0d
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x480424]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
lea eax, [esi + 8]
mov dword [esp + 0x38], eax
xor edi, edi
push 4
call fcn.0043c657
add esp, 4
cmp eax, edi
je 0x439d18
lea ecx, [esp + 0x1c]
mov dword [eax], ecx
jmp 0x439d1a
xor eax, eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0xe8], edi
call fcn.004382b0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x38]
push eax
mov dword [esp + 0xec], 1
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dl, byte [esi + 4]
mov byte [esp + 0xe8], 2
test dl, dl
jne 0x43a19c
lea edx, [esi + 0x24]
lea eax, [esp + 0x1c]
cmp eax, edx
je 0x439db4
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx]
mov dword [esp + 0x1c], ecx
mov dword [edx], eax
cmp ecx, eax
je 0x439d86
mov ebx, dword [eax]
mov esi, dword [ecx]
mov dword [ecx], ebx
mov dword [eax], esi
lea eax, [edx + 0x14]
lea ecx, [esp + 0x30]
cmp ecx, eax
je 0x439d9d
mov ecx, dword [esp + 0x30]
mov esi, dword [eax]
mov dword [esp + 0x30], esi
mov dword [eax], ecx
lea eax, [edx + 0x18]
lea edx, [esp + 0x34]
cmp edx, eax
je 0x439db4
mov ecx, dword [esp + 0x34]
mov edx, dword [eax]
mov dword [esp + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x3c]
push eax
mov byte [esp + 0xec], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x34], edi
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [ecx]
sete byte [esp + 0x17]
mov dword [esp + 0x40], ebp
mov esi, dword [esp + 0x30]
mov dword [esp + 0x44], ebx
cmp ebp, edi
je 0x439df0
cmp ebp, dword [esp + 0x1c]
je 0x439df5
call fcn.0043c621
cmp ebx, esi
je 0x439eeb
cmp ebp, edi
jne 0x439e63
call fcn.0043c621
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x439e12
call fcn.0043c621
mov esi, dword [ebx + 8]
mov ecx, dword [esp + 0x18]
push esi
call fcn.00437f50
test al, al
jne 0x439e68
mov edx, dword [esi + 0x70]
neg edx
sbb edx, edx
test edx, 0x4374d0
je 0x439e4d
mov eax, dword [esi + 0x70]
cmp eax, edi
je 0x43a1e7
and eax, 0xfffffffe
mov edx, dword [eax + 4]
lea ecx, [esi + 0x78]
push esi
push ecx
call edx
add esp, 8
mov ecx, esi
mov byte [esi + 0x38], 1
call fcn.004384a0
push esi
call fcn.0043bf6c
add esp, 4
jmp 0x439eca
mov eax, dword [ebp]
jmp 0x439e08
mov ebx, dword [esp + 0x38]
push ebx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x18]
mov edi, dword [esi + 0x54]
mov ecx, dword [edi + 4]
add esi, 0x40
lea eax, [esp + 0x50]
push eax
push ecx
push edi
mov ecx, esi
mov byte [esp + 0xf4], 4
call fcn.00438320
push 1
mov ecx, esi
mov ebp, eax
call fcn.00438db0
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
push ebx
mov dword [eax], ebp
mov byte [esp + 0xec], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
xor edi, edi
cmp ebp, edi
jne 0x439ee6
call fcn.0043c621
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x439edf
call fcn.0043c621
mov ebx, dword [ebx]
jmp 0x439dde
mov eax, dword [ebp]
jmp 0x439ed5
mov eax, dword [esp + 0x38]
push eax
mov dword [esp + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], ecx
mov dword [esp + 0x34], edi
cmp eax, dword [esp + 0x30]
je 0x439f26
mov esi, dword [eax]
push eax
call fcn.0043bf6c
add esp, 4
mov eax, esi
cmp esi, dword [esp + 0x30]
jne 0x439f13
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x54]
mov ebx, dword [eax]
mov ebp, dword [ecx + 0x40]
add ecx, 0x40
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x54]
add eax, 0x40
mov eax, dword [eax]
cmp ebp, edi
je 0x439f49
cmp ebp, eax
je 0x439f4e
call fcn.0043c621
cmp ebx, esi
je 0x43a019
cmp ebp, edi
jne 0x439fb3
call fcn.0043c621
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x439f6b
call fcn.0043c621
mov esi, dword [ebx + 8]
lea edi, [esi + 8]
push edi
mov dword [esp + 0x50], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x20]
mov byte [esp + 0xe8], 6
cmp eax, 5
je 0x439fbd
cmp eax, 6
je 0x439fbd
test ebp, ebp
jne 0x439fb8
call fcn.0043c621
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x439fa6
call fcn.0043c621
mov ebx, dword [ebx]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
jmp 0x439f35
mov eax, dword [ebp]
jmp 0x439f61
mov eax, dword [ebp]
jmp 0x439f9c
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
lea edx, [esp + 0x54]
push edx
push ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x60], esi
call fcn.00438320
push 1
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00438db0
mov ecx, dword [esp + 0x18]
push ebx
mov dword [edi], esi
mov edx, dword [esi + 4]
push ebp
lea eax, [esp + 0x64]
push eax
add ecx, 0x40
mov dword [edx], esi
call fcn.00438910
mov edi, dword [esp + 0x4c]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
jmp 0x439f35
mov ecx, dword [esp + 0x48]
push ecx
mov byte [esp + 0xec], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esp + 0x17], 0
je 0x43a03e
mov byte [esp + 0x17], 1
cmp dword [esp + 0x34], edi
je 0x43a043
mov byte [esp + 0x17], 0
mov edx, dword [esp + 0x30]
mov ebp, dword [edx]
mov ebx, dword [esp + 0x1c]
lea ecx, [ecx]
mov esi, dword [esp + 0x30]
cmp ebx, edi
je 0x43a05e
cmp ebx, dword [esp + 0x1c]
je 0x43a063
call fcn.0043c621
cmp ebp, esi
je 0x43a11d
cmp ebx, edi
jne 0x43a0b6
call fcn.0043c621
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x43a080
call fcn.0043c621
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x20]
cmp eax, 5
jne 0x43a0ba
mov eax, dword [esi + 0x50]
neg eax
sbb eax, eax
test eax, 0x4374d0
je 0x43a0ec
mov eax, dword [esi + 0x50]
cmp eax, edi
je 0x43a201
and eax, 0xfffffffe
mov edx, dword [eax + 4]
lea ecx, [esi + 0x58]
push esi
push ecx
call edx
add esp, 8
jmp 0x43a0ec
mov eax, dword [ebx]
jmp 0x43a076
cmp eax, 6
jne 0x43a0ec
mov eax, dword [esi + 0x70]
neg eax
sbb eax, eax
test eax, 0x4374d0
je 0x43a0e8
mov eax, dword [esi + 0x70]
cmp eax, edi
je 0x43a218
and eax, 0xfffffffe
mov edx, dword [eax + 4]
lea ecx, [esi + 0x78]
push esi
push ecx
call edx
add esp, 8
mov byte [esi + 0x38], 1
mov ecx, esi
call fcn.004384a0
push esi
call fcn.0043bf6c
add esp, 4
cmp ebx, edi
jne 0x43a119
call fcn.0043c621
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x43a111
call fcn.0043c621
mov ebp, dword [ebp]
jmp 0x43a050
mov eax, dword [ebx]
jmp 0x43a107
cmp byte [esp + 0x17], 0
je 0x43a141
mov eax, dword [esp + 0x18]
mov cl, byte [eax + 4]
test cl, cl
jne 0x43a232
mov edx, eax
mov eax, dword [edx + 0x20]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xe8], 0xffffffff
mov dword [esp + 0x34], edi
cmp eax, ecx
je 0x43a17c
mov esi, dword [eax]
push eax
call fcn.0043bf6c
mov ecx, dword [esp + 0x34]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x43a167
push ecx
call fcn.0043bf6c
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x38], edi
call fcn.0043bf6c
mov esi, dword [esp + 0x20]
add esp, 8
jmp 0x439d02
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], edi
cmp eax, ecx
je 0x43a1d7
mov esi, dword [eax]
push eax
call fcn.0043bf6c
mov ecx, dword [esp + 0x34]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x43a1c2
push ecx
call fcn.0043bf6c
mov eax, dword [esp + 0x20]
push eax
jmp 0x43a270
lea ecx, [esp + 0x8c]
call fcn.00438f00
push eax
mov byte [esp + 0xec], 3
call fcn.00439950
lea ecx, [esp + 0x64]
call fcn.00438f00
push eax
mov byte [esp + 0xec], 7
call fcn.00439950
lea ecx, [esp + 0xb4]
call fcn.00438f00
push eax
mov byte [esp + 0xec], 8
call fcn.00439950
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], edi
cmp eax, ecx
je 0x43a265
lea ecx, [ecx]
mov esi, dword [eax]
push eax
call fcn.0043bf6c
mov ecx, dword [esp + 0x34]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x43a250
push ecx
call fcn.0043bf6c
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x38], edi
call fcn.0043bf6c
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret