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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x70]
mov dword [ebp - 0xc], esi
nop
cmp dword [ebx], 0
jne 0x43791b
test esi, esi
jne 0x43791b
lea eax, [esi + 3]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x6c]
nop
test eax, eax
jne 0x437933
pop esi
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 0x437b1d
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0xc94]
sub ecx, dword [eax + 0xc98]
cmp ecx, 0x40
jb 0x437b14
shr ecx, 6
mov dword [ebp + 8], ecx
push edi
push 0x40
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004fc310
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 0x437af8
mov eax, dword [esi + 0xc94]
sub eax, dword [esi + 0xc98]
cmp eax, 0x40
jb 0x437af8
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 - 4], ecx
call fcn.004fbbd0
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
je 0x437ad9
push eax
lea eax, [ebp - 0x4c]
add eax, edi
push ebx
push eax
call fcn.004fbbd0
add esp, 0xc
mov eax, dword [esi + 0xc9c]
mov ecx, dword [esi + 0xca8]
add eax, 0x40
dec ecx
and ecx, eax
add dword [esi + 0xc98], 0x40
mov dword [esi + 0xc9c], ecx
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0x4c]
push eax
mov ecx, ebx
call fcn.004376c0
sub dword [ebp + 8], 1
jne 0x437a63
mov esi, dword [ebp - 0xc]
pop edi
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
test esi, esi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 4