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

Disassembly:
sub esp, 0x18
mov eax, dword [0x7a39fc]
push ebx
push ebp
push esi
mov esi, ecx
mov edx, dword [esi + 4]
mov ecx, dword [eax + 8]
push edi
push edx
call fcn.004ae910
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.004cb120
mov edi, dword [esp + 0x2c]
cmp eax, edi
jne 0x4fa134
cmp dword [esp + 0x3c], 1
jne 0x4fa13d
push 0
mov ecx, esi
call fcn.004f0fd0
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 8]
call fcn.004aed80
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x2c], eax
call fcn.004aed70
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x328]
xor ebx, ebx
test eax, eax
jle 0x4fa1c6
mov eax, dword [esi + 0x324]
mov ecx, dword [eax + ebx*4]
lea edx, [esp + 0x10]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004d8230
cmp al, byte [0x74666c]
jne 0x4fa1bb
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x50]
test eax, eax
je 0x4fa1bb
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push 1
push ebp
push eax
push ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push edi
call dword [edx + 0x50]
mov ecx, eax
call fcn.00595f30
mov eax, dword [esi + 0x328]
inc ebx
cmp ebx, eax
jl 0x4fa170
test edi, edi
je 0x4fa386
mov ecx, esi
call fcn.004cb120
cmp eax, edi
je 0x4fa2b3
mov eax, dword [edi + 0x120]
cmp eax, dword [esi + 0x310]
je 0x4fa2b3
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x4fa2b3
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
call fcn.004aedb0
test eax, eax
je 0x4fa2b3
mov edx, dword [edi + 0x120]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x310], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esi + 0x314]
mov dword [edx], ecx
mov ecx, dword [esp + 0x20]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x24]
push 0
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x38]
lea edx, [esi + 0x9c]
push edx
mov edx, dword [esp + 0x38]
push ebp
push ecx
push edx
push edi
push ebx
mov ecx, eax
mov dword [esi + 0x320], 0
call fcn.0056cd20
push 0
mov ecx, esi
call fcn.004cb160
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push 0
push 1
mov dword [esp + 0x24], eax
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x34], edx
call fcn.004cd1a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x18
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push 0
mov ebp, 1
push ebp
mov dword [esp + 0x24], ecx
push ebp
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.004cd1a0
mov ecx, esi
call fcn.004cb120
cmp eax, edi
jne 0x4fa2f1
cmp dword [esp + 0x3c], ebp
jne 0x4fa308
mov eax, dword [esp + 0x3c]
xor edx, edx
test eax, eax
mov eax, dword [esi + 4]
sete dl
mov ecx, edi
push edx
push eax
call fcn.0050dfd0
push edi
mov ecx, esi
call fcn.004cb160
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4fa334
mov eax, dword [edi + 0x128]
test eax, eax
jle 0x4fa334
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x4fa338
push ebp
push esi
mov ecx, ebx
call fcn.004b08a0
jmp 0x4fa338
mov ebx, dword [esp + 0x2c]
cmp dword [esi + 0x78], ebp
jne 0x4fa355
mov eax, dword [edi + 0x128]
test eax, eax
jne 0x4fa355
test ebx, ebx
je 0x4fa355
push 0
push esi
mov ecx, ebx
call fcn.004b08a0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4fa386
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
mov edi, dword [edi + 0x120]
call fcn.004af050
neg eax
sbb eax, eax
inc eax
push eax
push edi
lea edx, [esi + 0x90]
push edx
mov ecx, esi
call fcn.0051b940
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x18