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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x518148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x48]
lea eax, [edi + 0x10]
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.0047da00
add esp, 8
cmp eax, 1
je 0x499667
mov ecx, edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.004f7aa0
mov esi, eax
mov eax, dword [esi + 0x40]
test eax, eax
je 0x499410
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x49964c
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
fld qword [eax]
fadd qword [esi]
fadd qword [ecx]
fmul qword [0x522d90]
fstp qword [esp + 0x24]
fld qword [ecx + 8]
fadd qword [eax + 8]
lea ecx, [esp + 0x58]
fadd qword [esi + 8]
fmul qword [0x522d90]
fstp qword [esp + 0x2c]
call fcn.0047ded0
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x88], 0
mov edx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [ecx + 0xc]
push eax
mov eax, dword [ecx + 8]
push edx
mov edx, dword [ecx + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.0047e740
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x3c]
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push edi
push ebx
mov dword [esp + 0x24], ecx
push ebp
push edx
mov ecx, esi
call fcn.0047e880
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
fstp qword [esp + 0x3c]
push edi
push ebx
push ebp
push eax
call fcn.0047e880
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x499541
mov ecx, dword [esp + 0x24]
push edi
push ebx
push ebp
push ecx
mov ecx, esi
call fcn.0047e880
mov edx, dword [esp + 0x24]
push edi
fstp qword [esp + 0x40]
push ebx
push ebp
push edx
lea ecx, [esp + 0x68]
call fcn.0047e880
fcomp qword [esp + 0x3c]
push edi
push ebx
push ebp
fnstsw ax
test ah, 0x41
jne 0x499516
mov eax, dword [esp + 0x30]
mov ecx, esi
push eax
call fcn.0047e8d0
fst qword [esp + 0x1c]
fmul qword [esi + 0x18]
fadd qword [esi]
fld qword [esp + 0x1c]
fmul qword [esi + 0x20]
fadd qword [esi + 8]
jmp 0x4995cb
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x68]
call fcn.0047e8d0
fstp qword [esp + 0x1c]
fld qword [esp + 0x70]
fmul qword [esp + 0x1c]
fadd qword [esp + 0x58]
fld qword [esp + 0x78]
fmul qword [esp + 0x1c]
jmp 0x4995c7
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ebp
push edx
call fcn.0047e880
mov eax, dword [esp + 0x24]
push edi
fstp qword [esp + 0x40]
push ebx
push ebp
push eax
lea ecx, [esp + 0x68]
call fcn.0047e880
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x49959e
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ebp
push edx
mov dword [esp + 0x2c], ecx
call fcn.0047e8d0
mov eax, dword [esp + 0x1c]
fst qword [esp + 0x3c]
fmul qword [eax + 0x18]
fadd qword [eax]
fld qword [esp + 0x3c]
fmul qword [eax + 0x20]
fadd qword [eax + 8]
jmp 0x4995cb
mov eax, dword [esp + 0x24]
push edi
push ebx
push ebp
push eax
lea ecx, [esp + 0x68]
call fcn.0047e8d0
fstp qword [esp + 0x3c]
fld qword [esp + 0x70]
fmul qword [esp + 0x3c]
fadd qword [esp + 0x58]
fld qword [esp + 0x78]
fmul qword [esp + 0x3c]
fadd qword [esp + 0x60]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
fsub qword [esp + 0x2c]
fld st(1)
fsub qword [esp + 0x24]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
fcom qword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x499630
fstp qword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
fld st(0)
mov edx, dword [esp + 0x50]
fstp qword [ecx]
fld qword [esp + 0x24]
fadd st(0), st(0)
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
fsub st(1)
fstp qword [eax + 0x20]
fstp st(0)
fld qword [esp + 0x2c]
fadd st(0), st(0)
fsub qword [esp + 0x50]
fstp qword [eax + 0x28]
jmp 0x499634
fstp st(0)
fstp st(0)
lea ecx, [esp + 0x58]
mov dword [esp + 0x88], 0xffffffff
call fcn.00507a00
mov edi, dword [esp + 0x14]
mov esi, dword [esi + 0x38]
mov ecx, edi
call fcn.004f7aa0
cmp esi, eax
jne 0x4993fe
mov ecx, dword [esp + 0x18]
call fcn.0047e3a0
mov ecx, dword [esp + 0x80]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret