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

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, eax
mov eax, dword [esi + 0x68]
test al, 1
jne 0x4d990d
push esi
mov ecx, 0x58d1f8
call fcn.004d8370
test al, 4
je 0x4d992e
mov edx, 0x58d214
call fcn.004d8420
push edi
mov ecx, esi
call fcn.004d8c30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
test al, 2
je 0x4d993c
mov edx, 0x58d22c
call fcn.004d8420
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4d996f
mov eax, dword [eax + 8]
test al, 4
je 0x4d996f
test eax, 0x800
jne 0x4d996f
mov edx, 0x58d248
call fcn.004d8420
push edi
mov ecx, esi
call fcn.004d8c30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
cmp edi, 0x20
je 0x4d9991
mov edx, 0x58d260
call fcn.004d8420
push edi
mov ecx, esi
call fcn.004d8c30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov edi, 4
lea ebx, [esp + 0x10]
call fcn.004d8bd0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x12]
movzx edx, byte [esp + 0x13]
movzx ebp, al
shl ebp, 8
movzx eax, ah
add ebp, eax
shl ebp, 8
add ebp, ecx
shl ebp, 8
add ebp, edx
call fcn.004d8bd0
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0x12]
movzx eax, cl
shl eax, 8
movzx ecx, ch
add eax, ecx
movzx ecx, byte [esp + 0x13]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
cmp ebp, 0x13880
ja 0x4d9d16
cmp eax, 0x13880
ja 0x4d9d16
lea edx, [eax + ebp]
cmp edx, 0x186a0
ja 0x4d9d16
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], eax
call fcn.004d8bd0
mov ecx, ebx
call fcn.004d8bb0
mov ebp, eax
call fcn.004d8bd0
mov ecx, ebx
call fcn.004d8bb0
lea ecx, [eax + ebp]
cmp ecx, 0x186a0
jbe 0x4d9a5b
mov edx, 0x58d298
call fcn.004d8420
push 0x10
mov ecx, esi
call fcn.004d8c30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
lea ebx, [esp + 0x10]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
call fcn.004d8bd0
mov ecx, ebx
call fcn.004d8bb0
mov ebp, eax
call fcn.004d8bd0
mov ecx, ebx
call fcn.004d8bb0
lea edx, [eax + ebp]
cmp edx, 0x186a0
jbe 0x4d9aaa
mov edx, 0x58d2b0
call fcn.004d8420
push 8
mov ecx, esi
call fcn.004d8c30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
lea ebx, [esp + 0x10]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], eax
call fcn.004d8bd0
mov ecx, ebx
call fcn.004d8bb0
mov ebp, eax
mov dword [esp + 0x30], ebp
call fcn.004d8bd0
mov ecx, ebx
call fcn.004d8bb0
mov ebx, eax
lea eax, [ebx + ebp]
mov dword [esp + 0x2c], ebx
cmp eax, 0x186a0
jbe 0x4d9b02
mov edx, 0x58d2cc
call fcn.004d8420
push 0
mov ecx, esi
call fcn.004d8c30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
fild dword [esp + 0x28]
mov edi, dword [esp + 0x50]
fld qword [0x58e188]
fdiv st(1), st(0)
fxch st(1)
fstp dword [esp + 0x48]
fild dword [esp + 0x24]
fdiv st(1)
fstp dword [esp + 0x44]
fild dword [esp + 0x20]
fdiv st(1)
fstp dword [esp + 0x40]
fild dword [esp + 0x1c]
fdiv st(1)
fstp dword [esp + 0x3c]
fild dword [esp + 0x18]
fdiv st(1)
fstp dword [esp + 0x38]
fild dword [esp + 0x14]
fdiv st(1)
fstp dword [esp + 0x34]
fild dword [esp + 0x30]
fdiv st(1)
fstp dword [esp + 0x30]
fidivr dword [esp + 0x2c]
fstp dword [esp + 0x2c]
test edi, edi
je 0x4d9c84
test dword [edi + 8], 0x800
je 0x4d9c84
mov ecx, dword [esp + 0x28]
add ecx, 0xffff89c2
cmp ecx, 0x7d0
ja 0x4d9bf9
mov edx, dword [esp + 0x24]
add edx, 0xffff8364
cmp edx, 0x7d0
ja 0x4d9bf9
mov eax, dword [esp + 0x20]
add eax, 0xffff09e8
cmp eax, 0x7d0
ja 0x4d9bf9
mov ecx, dword [esp + 0x1c]
add ecx, 0xffff8300
cmp ecx, 0x7d0
ja 0x4d9bf9
mov edx, dword [esp + 0x18]
add edx, 0xffff8eb8
cmp edx, 0x7d0
ja 0x4d9bf9
mov eax, dword [esp + 0x14]
add eax, 0xffff1988
cmp eax, 0x7d0
ja 0x4d9bf9
cmp ebp, 0x36b0
jl 0x4d9bf9
cmp ebp, 0x3e80
jg 0x4d9bf9
cmp ebx, 0x1388
jl 0x4d9bf9
cmp ebx, 0x1b58
jle 0x4d9c70
mov edx, 0x58d2e4
call fcn.004d8420
fld dword [esp + 0x3c]
sub esp, 0x20
fstp qword [esp + 0x18]
fld dword [esp + 0x60]
fstp qword [esp + 0x10]
fld dword [esp + 0x64]
fstp qword [esp + 8]
fld dword [esp + 0x68]
fstp qword [esp]
push 0x58d31c
call fcn.005174f2
add eax, 0x40
push eax
call fcn.00512ad3
fld dword [esp + 0x54]
fstp qword [esp + 0x20]
add esp, 8
fld dword [esp + 0x50]
fstp qword [esp + 0x10]
fld dword [esp + 0x54]
fstp qword [esp + 8]
fld dword [esp + 0x58]
fstp qword [esp]
push 0x58d338
call fcn.005174f2
add eax, 0x40
push eax
call fcn.00512ad3
add esp, 0x28
push 0
mov ecx, esi
call fcn.004d8c30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
fld dword [esp + 0x2c]
sub esp, 0x40
fstp qword [esp + 0x38]
mov eax, esi
fld dword [esp + 0x70]
fstp qword [esp + 0x30]
fld dword [esp + 0x74]
fstp qword [esp + 0x28]
fld dword [esp + 0x78]
fstp qword [esp + 0x20]
fld dword [esp + 0x7c]
fstp qword [esp + 0x18]
fld dword [esp + 0x80]
fstp qword [esp + 0x10]
fld dword [esp + 0x84]
fstp qword [esp + 8]
fld dword [esp + 0x88]
fstp qword [esp]
call fcn.004dc540
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
push ebx
push ebp
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
mov ecx, edi
mov eax, esi
call fcn.004dc850
add esp, 0x60
push 0
mov ecx, esi
call fcn.004d8c30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov edx, 0x58d27c
call fcn.004d8420
push 0x18
mov ecx, esi
call fcn.004d8c30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret