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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6707db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x1d4]
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x4197d784
mov ebp, dword [eax + 0x298]
mov dword [esp + 0x2c], edi
mov ecx, ebp
mov dword [esp + 0x30], 0xc197d784
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0x4197d784
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0xc197d784
call fcn.004c20f0
test eax, eax
jne 0x4d06af
mov edx, dword [ebp]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x78]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x3c], 1
call dword [edx + 0x60]
lea ecx, [esp + 0x78]
call fcn.00456760
fld qword [esp + 0x3c]
fcomp qword [0x69dc10]
fnstsw ax
test ah, 1
je 0x4d064c
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
fld qword [esp + 0x54]
fcomp qword [0x69dc30]
fnstsw ax
test ah, 0x41
jne 0x4d066d
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
fld qword [esp + 0x44]
fcomp qword [0x69dc10]
fnstsw ax
test ah, 1
je 0x4d068e
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
fld qword [esp + 0x5c]
fcomp qword [0x69dc30]
fnstsw ax
test ah, 0x41
jne 0x4d06af
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x1d4]
mov ebx, dword [ecx + 0x94]
test ebx, ebx
jle 0x4d07c9
mov edx, dword [esi + 0x1d4]
mov eax, dword [edx + 0x90]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx + 0x10]
cmp eax, 0xffffffff
jne 0x4d0710
mov eax, dword [0x705f7c]
test eax, eax
jne 0x4d06f4
push eax
push eax
push 0x6e0dfc
call fcn.0065e888
jmp 0x4d07c0
cmp eax, 2
jne 0x4d07c0
push 0
push 0
push 0x6e0de8
call fcn.0065e888
jmp 0x4d07c0
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x4d07c0
cmp eax, 0x15
je 0x4d07c0
mov edx, dword [ecx]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x7c]
push eax
call dword [edx + 0x60]
lea ecx, [esp + 0x78]
call fcn.00456760
fld qword [esp + 0x3c]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
je 0x4d075b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
fld qword [esp + 0x54]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4d077a
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
fld qword [esp + 0x44]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x4d0799
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
fld qword [esp + 0x5c]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x4d07b8
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], 1
inc edi
cmp edi, ebx
jl 0x4d06c3
mov eax, dword [0x705ef8]
test eax, eax
mov eax, dword [esp + 0x34]
jne 0x4d0c7e
test eax, eax
jne 0x4d07ed
mov dword [esi + 0x170], 0x3f800000
jmp 0x4d0c82
fld qword [esp + 0x2c]
fsub qword [esp + 0x14]
fst qword [esp + 0x6c]
fabs
fcomp qword [0x691f30]
fnstsw ax
test ah, 1
je 0x4d0823
fld qword [esp + 0x1c]
fsub qword [esp + 0x24]
fabs
fcomp qword [0x691f30]
fnstsw ax
test ah, 1
jne 0x4d0d1f
fild dword [esi + 0x1a4]
fabs
fcomp qword [0x691f30]
fnstsw ax
test ah, 1
jne 0x4d0d1f
fld qword [esp + 0x2c]
fadd qword [esp + 0x14]
fmul qword [0x691ac8]
fld qword [esp + 0x1c]
fadd qword [esp + 0x24]
fmul qword [0x691ac8]
fstp qword [esp + 0x34]
fcom qword [0x69e730]
fnstsw ax
test ah, 0x41
je 0x4d089c
fcom qword [0x69e728]
fnstsw ax
test ah, 1
jne 0x4d089c
fld qword [esp + 0x34]
fcomp qword [0x69e730]
fnstsw ax
test ah, 0x41
je 0x4d089c
fld qword [esp + 0x34]
fcomp qword [0x69e728]
fnstsw ax
test ah, 1
je 0x4d0bed
fchs
fstp qword [esp + 0x78]
fld qword [esp + 0x34]
lea eax, [esp + 0x78]
lea ecx, [esp + 0xd8]
fchs
fstp qword [esp + 0x80]
push eax
push ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x4197d784
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xc197d784
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x4197d784
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xc197d784
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.00655db0
sub esp, 0x70
lea edx, [esp + 0x150]
xor edi, edi
mov ecx, esp
mov dword [esp + 0xac], esp
push edx
mov dword [esp + 0x1d4], edi
call fcn.00654cc0
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x2c]
mov ecx, ebp
call fcn.004c20f0
test eax, eax
jne 0x4d09f5
mov edx, dword [ebp]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0xa8]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x60]
lea ecx, [esp + 0xa8]
call fcn.00456760
fld qword [esp + 0x3c]
fcomp qword [0x69dc10]
fnstsw ax
test ah, 1
je 0x4d0992
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
fld qword [esp + 0x54]
fcomp qword [0x69dc30]
fnstsw ax
test ah, 0x41
jne 0x4d09b3
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
fld qword [esp + 0x44]
fcomp qword [0x69dc10]
fnstsw ax
test ah, 1
je 0x4d09d4
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
fld qword [esp + 0x5c]
fcomp qword [0x69dc30]
fnstsw ax
test ah, 0x41
jne 0x4d09f5
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x1d4]
mov ebx, dword [ecx + 0x94]
test ebx, ebx
jle 0x4d0b0d
mov edx, dword [esi + 0x1d4]
mov eax, dword [edx + 0x90]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx + 0x10]
cmp eax, 0xffffffff
jne 0x4d0a56
mov eax, dword [0x705f7c]
test eax, eax
jne 0x4d0a3a
push eax
push eax
push 0x6e0dfc
call fcn.0065e888
jmp 0x4d0b04
cmp eax, 2
jne 0x4d0b04
push 0
push 0
push 0x6e0de8
call fcn.0065e888
jmp 0x4d0b04
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x4d0b04
cmp eax, 0x15
je 0x4d0b04
mov edx, dword [ecx]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xac]
push eax
call dword [edx + 0x60]
lea ecx, [esp + 0xa8]
call fcn.00456760
fld qword [esp + 0x3c]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
je 0x4d0aa7
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
fld qword [esp + 0x54]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4d0ac6
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
fld qword [esp + 0x44]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x4d0ae5
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
fld qword [esp + 0x5c]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x4d0b04
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
inc edi
cmp edi, ebx
jl 0x4d0a09
fld qword [esp + 0x2c]
fsub qword [esp + 0x14]
fst qword [esp + 0x6c]
fabs
fcomp qword [0x691f30]
fnstsw ax
test ah, 1
je 0x4d0b6c
fld qword [esp + 0x1c]
fsub qword [esp + 0x24]
fabs
fcomp qword [0x691f30]
fnstsw ax
test ah, 1
je 0x4d0b6c
lea ecx, [esp + 0xd8]
mov dword [esp + 0x158], 0xffffffff
call fcn.00456760
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
fild dword [esi + 0x1a4]
fabs
fcomp qword [0x691f30]
fnstsw ax
test ah, 1
je 0x4d0bae
lea ecx, [esp + 0xd8]
mov dword [esp + 0x158], 0xffffffff
call fcn.00456760
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
fld qword [esp + 0x2c]
fadd qword [esp + 0x14]
lea ecx, [esp + 0xd8]
mov dword [esp + 0x158], 0xffffffff
fmul qword [0x691ac8]
fstp qword [esp + 0x14]
fld qword [esp + 0x1c]
fadd qword [esp + 0x24]
fmul qword [0x691ac8]
fstp qword [esp + 0x34]
call fcn.00456760
fld qword [esp + 0x14]
fild dword [esi + 0x1a8]
fmul qword [esp + 0x6c]
fild dword [esi + 0x1a4]
fadd st(0), st(0)
fdivp st(1)
fld qword [esp + 0x1c]
fsub qword [esp + 0x24]
fmul qword [0x691ac8]
fstp qword [esp + 0x6c]
fcom qword [esp + 0x6c]
fnstsw ax
test ah, 0x41
jne 0x4d0c26
fstp dword [esi + 0x174]
jmp 0x4d0c32
fstp st(0)
fld qword [esp + 0x6c]
fstp dword [esi + 0x174]
fld dword [esi + 0x174]
fabs
fcomp qword [0x691f30]
fnstsw ax
test ah, 1
je 0x4d0c51
mov dword [esi + 0x174], 0x42480000
fld dword [esi + 0x174]
fmul qword [0x69e720]
mov dword [esi + 0x170], 0x3f800000
fstp dword [esi + 0x174]
fchs
fstp dword [esi + 0x164]
fld qword [esp + 0x34]
jmp 0x4d0d06
test eax, eax
jne 0x4d0c9f
mov ecx, esi
call fcn.004d3770
xor eax, eax
mov dword [esi + 0x164], eax
mov dword [esi + 0x168], eax
mov dword [esi + 0x16c], eax
jmp 0x4d0d18
fld qword [esp + 0x2c]
fsub qword [esp + 0x14]
fabs
fcomp qword [0x691f30]
fnstsw ax
test ah, 1
je 0x4d0ccd
fld qword [esp + 0x1c]
fsub qword [esp + 0x24]
fabs
fcomp qword [0x691f30]
fnstsw ax
test ah, 1
jne 0x4d0d1f
fild dword [esi + 0x1a4]
fabs
fcomp qword [0x691f30]
fnstsw ax
test ah, 1
jne 0x4d0d1f
fld qword [esp + 0x2c]
fadd qword [esp + 0x14]
fmul qword [0x691ac8]
fchs
fstp dword [esi + 0x164]
fld qword [esp + 0x1c]
fadd qword [esp + 0x24]
fmul qword [0x691ac8]
fchs
fstp dword [esi + 0x168]
mov dword [esi + 0x16c], 0
mov ecx, esi
call fcn.004d0400
mov ecx, dword [esp + 0x150]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret