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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], ebx
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x70]
nop
test eax, eax
setne al
cmp dword [ebx], 0
mov byte [ebp - 1], al
jne 0x431c90
test al, al
jne 0x431c90
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x6c]
nop
test eax, eax
jne 0x431ca7
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x58]
mov dword [ecx + 0x14], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ecx], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x48]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x54]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x38]
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x44]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x24], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x24]
mov dword [ecx + 0x28], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x5c]
mov dword [ecx + 0x44], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x30], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x34], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x20]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x2c]
mov dword [ecx + 0x40], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ecx + 0x38], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x50]
mov dword [ecx + 0x4c], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x60]
mov dword [ecx + 0x50], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x64]
mov dword [ecx + 0x54], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x68]
mov dword [ecx + 0x58], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x30]
mov dword [ecx + 0x5c], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x34]
mov dword [ecx + 0x60], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x74]
mov dword [ecx + 0x64], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x78]
mov dword [ecx + 0x68], eax
mov eax, dword [ebx + 0x10]
push 0xffffffffffffffff
mov eax, dword [eax + 0x7c]
mov dword [ecx + 0x6c], eax
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x431e90
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0xc94]
sub ecx, dword [eax + 0xc98]
cmp ecx, 0x40
jb 0x431e87
shr ecx, 6
push esi
mov dword [ebp + 8], ecx
push edi
push 0x40
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004e7c10
mov esi, dword [ebx + 0x10]
add esp, 0xc
mov ebx, dword [esi + 0xca4]
mov edi, dword [esi + 0xca8]
add ebx, esi
cmp edi, 0x40
jb 0x431e6d
mov eax, dword [esi + 0xc94]
sub eax, dword [esi + 0xc98]
cmp eax, 0x40
jb 0x431e6d
mov eax, dword [esi + 0xc9c]
mov ecx, 0x40
sub edi, eax
cmp edi, 0x40
cmova edi, ecx
add eax, ebx
push edi
push eax
lea eax, [ebp - 0x4c]
sub ecx, edi
push eax
mov dword [ebp - 8], ecx
call fcn.004e74d0
mov eax, dword [ebp - 8]
add esp, 0xc
test eax, eax
je 0x431e4e
push eax
lea eax, [ebp - 0x4c]
add eax, edi
push ebx
push eax
call fcn.004e74d0
add esp, 0xc
mov ecx, dword [esi + 0xc9c]
mov eax, dword [esi + 0xca8]
add ecx, 0x40
dec eax
and ecx, eax
add dword [esi + 0xc98], 0x40
mov dword [esi + 0xc9c], ecx
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 0x4c]
push eax
mov ecx, ebx
call fcn.00431a30
sub dword [ebp + 8], 1
jne 0x431dd8
pop edi
pop esi
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret 4