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

Disassembly:
sub esp, 0x80
push edi
mov edi, dword [esp + 0x8c]
cmp dword [edi + 8], 1
je 0x4fa149
mov eax, dword [edi]
test eax, eax
je 0x4fa149
jle 0x4f9cb2
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
and ecx, 1
cmp cl, 1
jne 0x4f9cb2
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x88]
push edx
push edi
push eax
call fcn.004f7b80
add esp, 0xc
pop edi
add esp, 0x80
ret
lea ecx, [esp + 0x14]
push 0
lea edx, [esp + 8]
push ecx
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x7c]
push eax
lea edx, [esp + 0x90]
push ecx
push edx
call fcn.004f9bb0
add esp, 0x24
test eax, eax
jne 0x4fa14e
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x74]
push esi
push eax
push ecx
call fcn.004f8920
mov esi, eax
add esp, 8
test esi, esi
jne 0x4fa106
lea edx, [esp + 0x68]
push edx
push edi
call fcn.004f8920
mov esi, eax
add esp, 8
test esi, esi
jne 0x4fa106
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x4f9d56
mov eax, dword [esp + 0x84]
test byte [eax], 1
jne 0x4f9d56
mov eax, dword [esp + 0x68]
test eax, eax
jle 0x4f9d56
mov ecx, dword [esp + 0x74]
test byte [ecx], 1
jne 0x4f9d56
mov esi, 0xfffffffd
jmp 0x4fa106
lea edx, [esp + 0x48]
lea eax, [esp + 0x78]
push edx
push eax
call fcn.004f8920
mov esi, eax
add esp, 8
test esi, esi
jne 0x4fa106
lea ecx, [esp + 0x38]
lea edx, [esp + 0x68]
push ecx
push edx
call fcn.004f8920
mov esi, eax
add esp, 8
test esi, esi
jne 0x4fa106
lea eax, [esp + 0x28]
push 1
push eax
call fcn.004fb300
lea ecx, [esp + 0x20]
push 1
push ecx
call fcn.004fb300
add esp, 0x10
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x4f9e88
mov edx, dword [esp + 0x54]
test byte [edx], 1
jne 0x4f9e88
lea eax, [esp + 0x48]
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.004f8ed0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4fa106
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x4f9df3
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
and eax, 1
cmp al, 1
je 0x4f9e09
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x4f9e4b
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
and edx, 1
cmp dl, 1
jne 0x4f9e4b
lea eax, [esp + 0x28]
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.004f86c0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4fa106
lea eax, [esp + 0x58]
lea ecx, [esp + 0x78]
push eax
lea edx, [esp + 0x5c]
push ecx
push edx
call fcn.004fb400
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4fa106
lea eax, [esp + 0x28]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.004f8ed0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4fa106
lea edx, [esp + 0x58]
lea eax, [esp + 0x58]
push edx
push eax
call fcn.004f8ed0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4fa106
jmp 0x4f9da9
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x4f9f68
mov ecx, dword [esp + 0x44]
test byte [ecx], 1
jne 0x4f9f68
lea edx, [esp + 0x38]
lea eax, [esp + 0x38]
push edx
push eax
call fcn.004f8ed0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4fa106
mov eax, dword [esp + 8]
test eax, eax
jle 0x4f9ed3
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
and edx, 1
cmp dl, 1
je 0x4f9ee9
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4f9f2b
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
and ecx, 1
cmp cl, 1
jne 0x4f9f2b
lea edx, [esp + 8]
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.004f86c0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4fa106
lea edx, [esp + 0x18]
lea eax, [esp + 0x78]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004fb400
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4fa106
lea edx, [esp + 8]
lea eax, [esp + 8]
push edx
push eax
call fcn.004f8ed0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4fa106
lea ecx, [esp + 0x18]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.004f8ed0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4fa106
jmp 0x4f9e88
lea eax, [esp + 0x38]
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.004f8850
add esp, 8
cmp eax, 0xffffffff
je 0x4f9fe4
lea edx, [esp + 0x48]
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.004fb400
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4fa106
lea edx, [esp + 0x28]
lea eax, [esp + 8]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.004fb400
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4fa106
lea edx, [esp + 0x58]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x5c]
push eax
push ecx
call fcn.004fb400
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4fa106
jmp 0x4fa047
lea edx, [esp + 0x38]
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.004fb400
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4fa106
lea edx, [esp + 8]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.004fb400
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4fa106
lea edx, [esp + 0x18]
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004fb400
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4fa106
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4f9da9
lea edx, [esp + 0x38]
push 1
push edx
call fcn.004f8890
add esp, 8
test eax, eax
je 0x4fa070
mov esi, 0xfffffffd
jmp 0x4fa106
lea eax, [esp + 8]
push 0
push eax
call fcn.004f8890
add esp, 8
cmp eax, 0xffffffff
jne 0x4fa0b0
lea ecx, [esp + 8]
lea edx, [esp + 8]
push ecx
push edi
push edx
call fcn.004f86c0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4fa106
push eax
lea eax, [esp + 0xc]
push eax
call fcn.004f8890
add esp, 8
cmp eax, 0xffffffff
je 0x4fa084
lea ecx, [esp + 8]
push edi
push ecx
call fcn.004f88c0
add esp, 8
cmp eax, 0xffffffff
je 0x4fa0ef
lea edx, [esp + 8]
lea eax, [esp + 8]
push edx
push edi
push eax
call fcn.004fb400
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4fa106
lea ecx, [esp + 8]
push edi
push ecx
call fcn.004f88c0
add esp, 8
cmp eax, 0xffffffff
jne 0x4fa0c3
mov edx, dword [esp + 0x94]
lea eax, [esp + 8]
push edx
push eax
call fcn.004f9350
add esp, 8
xor esi, esi
lea ecx, [esp + 0x18]
push 0
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x60]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0x80]
push eax
lea edx, [esp + 0x94]
push ecx
push edx
call fcn.004f8820
add esp, 0x24
mov eax, esi
pop esi
pop edi
add esp, 0x80
ret
mov eax, 0xfffffffd
pop edi
add esp, 0x80
ret