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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.0064dc20
mov eax, dword [esi + 0x8c]
mov edi, 2
cmp eax, edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
jge 0x498404
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x88]
lea eax, [esp + 0x48]
push eax
mov ecx, dword [ecx]
call fcn.004ac900
mov eax, dword [esi + 0x88]
lea edx, [esp + 0x60]
push edx
mov ecx, dword [eax + 4]
call fcn.004ac900
mov eax, dword [esi + 0x8c]
mov ebx, dword [ebp + 8]
cmp eax, edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
jle 0x4985db
mov ecx, dword [esi + 0x88]
push 6
mov ecx, dword [ecx + edi*4]
call fcn.00537250
test eax, eax
je 0x4985ce
mov edx, dword [esi + 0x88]
mov ecx, dword [edx + edi*4]
call fcn.004ac940
test eax, eax
jle 0x4985ce
cmp eax, 4
je 0x4985ce
cmp eax, 0xb
je 0x4985ce
mov ecx, dword [esi + 0x88]
lea eax, [esp + 0x78]
push eax
mov ecx, dword [ecx + edi*4]
call fcn.004ac900
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x20], edx
sub esp, 0x18
lea edx, [esp + 0x28]
mov ecx, esp
push edx
mov dword [esp + 0x40], eax
call fcn.0064dc70
push ebx
call fcn.00498350
add esp, 0x1c
test eax, eax
jne 0x4985ce
lea eax, [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0064def0
fcomp qword [0x692690]
add esp, 8
fnstsw ax
test ah, 1
jne 0x4985ce
lea edx, [esp + 0x60]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.0064def0
fcomp qword [0x692690]
add esp, 8
fnstsw ax
test ah, 1
jne 0x4985ce
sub esp, 0x18
lea edx, [esp + 0x28]
mov ecx, esp
push edx
call fcn.0064dc70
mov ecx, ebx
call fcn.00472bf0
mov ecx, dword [esi + 0x88]
lea eax, [esp + 0x90]
push eax
mov ecx, dword [ecx + edi*4]
call fcn.004ad330
push eax
lea ecx, [esp + 0x34]
call fcn.00657020
fld qword [esp + 0x18]
fsub qword [esp + 0x38]
push 0
push 0
sub esp, 8
lea ecx, [esp + 0xb8]
fstp qword [esp]
fld qword [esp + 0x20]
fsub qword [esp + 0x40]
sub esp, 8
fstp qword [esp]
call fcn.0064dc40
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x20], edx
sub esp, 0x18
lea edx, [esp + 0x28]
mov ecx, esp
push edx
mov dword [esp + 0x40], eax
call fcn.0064dc70
mov ecx, dword [ebp + 0xc]
call fcn.00472bf0
inc dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
jl 0x498446
mov eax, dword [esi + 0xa0]
xor edi, edi
test eax, eax
mov dword [esp + 0x2c], eax
jle 0x498787
mov eax, dword [esi + 0x9c]
push 6
mov ecx, dword [eax + edi*4]
call fcn.00537250
test eax, eax
je 0x49877a
mov ecx, dword [esi + 0x9c]
mov ecx, dword [ecx + edi*4]
call fcn.004ac940
test eax, eax
jle 0x49877a
cmp eax, 4
je 0x49877a
cmp eax, 0xb
je 0x49877a
mov eax, dword [esi + 0x9c]
lea edx, [esp + 0xa8]
push edx
mov ecx, dword [eax + edi*4]
call fcn.004ac900
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub esp, 0x18
mov dword [esp + 0x38], ecx
lea eax, [esp + 0x28]
mov ecx, esp
push eax
mov dword [esp + 0x40], edx
call fcn.0064dc70
push ebx
call fcn.00498350
add esp, 0x1c
test eax, eax
jne 0x49877a
lea ecx, [esp + 0x48]
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.0064def0
fcomp qword [0x692690]
add esp, 8
fnstsw ax
test ah, 1
jne 0x49877a
lea eax, [esp + 0x60]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0064def0
fcomp qword [0x692690]
add esp, 8
fnstsw ax
test ah, 1
jne 0x49877a
sub esp, 0x18
lea edx, [esp + 0x28]
mov ecx, esp
push edx
call fcn.0064dc70
mov ecx, ebx
call fcn.00472bf0
mov ecx, dword [esi + 0x9c]
lea eax, [esp + 0x90]
push eax
mov ecx, dword [ecx + edi*4]
call fcn.004ad330
push eax
lea ecx, [esp + 0x34]
call fcn.00657020
fld qword [esp + 0x18]
fsub qword [esp + 0x38]
push 0
push 0
sub esp, 8
lea ecx, [esp + 0x88]
fstp qword [esp]
fld qword [esp + 0x20]
fsub qword [esp + 0x40]
sub esp, 8
fstp qword [esp]
call fcn.0064dc40
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x20], edx
sub esp, 0x18
lea edx, [esp + 0x28]
mov ecx, esp
push edx
mov dword [esp + 0x40], eax
call fcn.0064dc70
mov ecx, dword [ebp + 0xc]
call fcn.00472bf0
inc dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
jl 0x4985ef
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8