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

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x80]
mov edx, dword [ecx + 0x44]
mov eax, dword [edx + 0x24]
cmp eax, 0xa
ja case.0x48d9ae.2
movzx eax, byte [eax + 0x48da58]
jmp dword [eax*4 + 0x48da44]
mov ecx, dword [esi + 0xd54]
test ecx, ecx
je case.0x48d9ae.2
pop esi
jmp 0x518f40
mov ecx, dword [esi + 0xd58]
test ecx, ecx
je case.0x48d9ae.2
pop esi
jmp fcn.0051b630
mov ecx, dword [esi + 0xd5c]
test ecx, ecx
je case.0x48d9ae.2
mov edx, dword [esp + 8]
push edx
call fcn.00522a90
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0xd5c]
push eax
call fcn.00522ab0
pop esi
ret 8
mov ecx, dword [esi + 0xd60]
test ecx, ecx
je 0x48da25
mov edx, dword [esp + 8]
push edx
call fcn.00523c30
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0xd60]
push eax
call fcn.00523c50
pop esi
ret 8
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004cd400
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
pop esi
mov dword [esp + 8], 0
jmp dword [edx]
sub esp, 0xa8
mov eax, dword [esp + 0xac]
fld dword [eax]
push ebx
fmul dword [0x5da74c]
push esi
mov esi, ecx
push edi
fld dword [eax + 4]
fmul dword [0x5da74c]
fld dword [eax + 8]
mov eax, dword [esp + 0xbc]
fmul dword [0x5da74c]
fstp dword [esp + 0x14]
fxch st(1)
fadd dword [esi + 0x28]
fstp dword [esp + 0xc]
fadd dword [esi + 0x2c]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fadd dword [esi + 0x30]
fstp dword [esp + 0x14]
fld dword [eax]
fmul dword [0x5da740]
fmul dword [0x5da6c4]
fstp dword [esp + 0x18]
fld dword [eax + 4]
mov edx, dword [esp + 0x18]
fmul dword [0x5da740]
fmul dword [0x5da6c4]
fsub dword [0x5da710]
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
fld dword [eax + 8]
fchs
fmul dword [0x5da740]
fmul dword [0x5da6c4]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.005c5ea0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x94], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.005c5ab0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esi + 0x38c]
push edx
push eax
push ecx
call fcn.005b9c20
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esi + 0x38c]
push eax
push ecx
push edx
call fcn.005b9b90
mov eax, dword [esi + 0x64]
test eax, eax
mov dword [esp + 0x30], 0
jle 0x519167
lea edi, [esi + 0xb4]
push ebp
lea esp, [esp]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebp, dword [edi - 0x30]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
lea ebx, [edi - 0x3c]
push eax
push ebp
call fcn.005b9c20
mov ecx, ebx
lea edx, [esp + 0x38]
lea eax, [esp + 0x1c]
call fcn.00500270
fld dword [esp + 0x24]
fadd dword [esp + 0x18]
fstp dword [esp + 0x30]
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
fadd dword [esp + 0x14]
push ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
fadd dword [esp + 0x14]
push edx
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
push eax
push ebp
call fcn.005b9b90
fld dword [esp + 0x2c]
fmul dword [0x5da2d4]
mov ecx, dword [edi]
push 0
lea eax, [esp + 0x4c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x2c]
push eax
fmul dword [0x5da2d4]
fstp dword [esp + 0x54]
fld dword [esp + 0x38]
fmul dword [0x5da2d4]
fstp dword [esp + 0x58]
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x64]
inc eax
add edi, 0x50
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x5190b0
pop ebp
mov ecx, dword [esi + 0x38c]
push 0
push 0
push 0
push ecx
call fcn.005b9e20
mov edx, dword [esi + 0x38c]
push 0
push 0
push 0
push edx
call fcn.005b9e50
mov eax, dword [esi + 8]
test al, 1
je 0x5191e6
and eax, 0xfffffffd
mov dword [esi + 8], eax
mov eax, dword [esi + 0x38c]
push eax
call fcn.005ba350
test eax, eax
jne 0x5191b4
mov ecx, dword [esi + 0x38c]
push ecx
call fcn.005ba2d0
mov eax, dword [esi + 0x64]
xor edi, edi
test eax, eax
jle 0x5191e2
lea ebx, [esi + 0x84]
mov edx, dword [ebx]
push edx
call fcn.005ba350
test eax, eax
jne 0x5191d7
mov eax, dword [ebx]
push eax
call fcn.005ba2d0
mov eax, dword [esi + 0x64]
inc edi
add ebx, 0x50
cmp edi, eax
jl 0x5191c3
or dword [esi + 8], 4
pop edi
pop esi
pop ebx
add esp, 0xa8
ret 8