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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
push ebx
push esi
mov esi, ecx
mov eax, 0xd
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 8], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x58]
push edi
cmp eax, 0x14
mov dword [esp + 0x3c], esi
jg 0x4fa296
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call dword [edx + 0x38]
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push 0x5e8bc0
mov ecx, ebx
call fcn.004b2a50
mov eax, dword [esp + 0xc]
cmp eax, 5
je 0x4f9f89
cmp eax, 1
jne 0x4f9f74
cmp dword [esp + 0x14], 1
je 0x4f9f89
push 0x5e8bac
mov ecx, esi
call fcn.004f0a90
push eax
call fcn.004cda10
add esp, 8
lea ecx, [esp + 0xc]
call fcn.004b24e0
lea ecx, [esp + 0x40]
push ecx
push 0x5ca0a4
mov ecx, ebx
call fcn.004b2a50
cmp dword [esp + 0x40], 6
je 0x4f9fd1
lea ecx, [esp + 0x40]
call fcn.004b24e0
push 0x5e8b94
mov ecx, esi
call fcn.004f0a90
push eax
call fcn.004cda10
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor esi, esi
lea edi, [esp + 0xb0]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0xc]
push edx
push esi
call fcn.004bc920
cmp dword [esp + 0xc], 1
jne 0x4f9ff6
fild dword [esp + 0x14]
jmp 0x4f9ffa
fld qword [esp + 0x14]
fstp qword [edi]
lea ecx, [esp + 0xc]
call fcn.004b24e0
inc esi
add edi, 8
cmp esi, 4
jl 0x4f9fda
lea ecx, [esp + 0x40]
call fcn.004b24e0
lea eax, [esp + 0x50]
mov ecx, ebx
push eax
push 0x5c9c68
call fcn.004b2a50
cmp dword [esp + 0x50], 6
jne 0x4fa06b
xor esi, esi
lea edi, [esp + 0x70]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x5c]
push esi
call fcn.004bc920
cmp dword [esp + 0xc], 1
jne 0x4fa051
fild dword [esp + 0x14]
jmp 0x4fa055
fld qword [esp + 0x14]
fstp qword [edi]
lea ecx, [esp + 0xc]
call fcn.004b24e0
inc esi
add edi, 8
cmp esi, 6
jl 0x4fa035
jmp 0x4fa0e3
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x3ff00000
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x3ff00000
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [esp + 0x50]
call fcn.004b24e0
lea edx, [esp + 0x60]
mov ecx, ebx
push edx
push 0x5ca01c
call fcn.004b2a50
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
xor eax, eax
cmp edx, 7
setne al
dec eax
lea ecx, [esp + 0xc]
and eax, edi
xor edi, edi
push ecx
push 0x5d8bfc
mov ecx, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.004b2a50
cmp dword [eax], 7
jne 0x4fa22e
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xa0]
push edx
push 0x5d0780
call fcn.004b2a50
cmp dword [eax], 4
jne 0x4fa222
mov eax, dword [eax + 8]
mov esi, 0x5e8f40
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4fa18b
test cl, cl
je 0x4fa187
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4fa18b
add eax, 2
add esi, 2
test cl, cl
jne 0x4fa163
xor eax, eax
jmp 0x4fa190
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fa222
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push 0x5e88b0
mov dword [esp + 0x28], 1
call fcn.004b2a50
cmp dword [eax], 5
je 0x4fa1c7
lea ecx, [esp + 0x28]
push ecx
call fcn.004a72c0
add esp, 4
mov edi, eax
lea ecx, [esp + 0x28]
call fcn.004b24e0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push 0x5c9c10
call fcn.004b2a50
cmp dword [eax], 0
jne 0x4fa1f0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x28]
call fcn.004b24e0
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push 0x5c9214
call fcn.004b2a50
cmp dword [eax], 0
jne 0x4fa219
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], edx
lea ecx, [esp + 0x28]
call fcn.004b24e0
lea ecx, [esp + 0xa0]
call fcn.004b24e0
lea ecx, [esp + 0xc]
call fcn.004b24e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
push 0
push 0
mov ebx, dword [esi + 0x58]
push 0
push eax
push ecx
push edi
push 0
lea eax, [esp + 0xcc]
push edx
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x90]
push eax
mov eax, dword [ebp + 8]
push ecx
inc ebx
push edx
push eax
mov ecx, esi
mov dword [esi + 0x58], ebx
call fcn.004fa2a0
mov ecx, dword [esi + 0x58]
dec ecx
test edi, edi
mov dword [esi + 0x58], ecx
je 0x4fa28d
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
lea ecx, [esp + 0x60]
call fcn.004b24e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4