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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b4d8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
push ebx
push esi
push edi
push 1
push 0
push 0
push 0
mov esi, ecx
push 0
push 0
push 0
lea ecx, [esp + 0x98]
mov dword [esp + 0x74], 0
call fcn.0041e260
mov ecx, dword [esi + 4]
push eax
call fcn.0043dac0
mov edi, dword [ebp + 8]
mov ebx, dword [str.Iux]
mov dword [esi + 0x34], 0x3e490fdb
mov dword [esi + 0x3c], 0x3f983809
mov dword [esi + 0x40], 0x3f800000
mov dword [esi + 8], 0x41200000
mov eax, dword [edi + 8]
push 0x5a
push eax
call ebx
mov ecx, dword [edi + 8]
push 0x58
push ecx
mov dword [esp + 0x1c], eax
call ebx
fild dword [esp + 0x14]
mov dword [esp + 0x54], eax
push 0xc08f4000
push 0
push 0xc08f4000
fmul dword [esi + 8]
push 0
push 0x408f4000
push 0
lea ecx, [esp + 0x44]
fidiv dword [esp + 0x6c]
fstp dword [esi + 0xc]
call fcn.0041e260
push 0x408f4000
push 0
push 0x408f4000
push 0
push 0xc08f4000
push 0
lea ecx, [esp + 0x50]
call fcn.0041e260
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4cfb37
mov edx, dword [ebp + 0x14]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x7c]
push edx
push eax
call fcn.0043e010
push eax
lea ecx, [esp + 0x30]
call fcn.0041e610
mov ebx, dword [ebp + 0x18]
lea ecx, [esp + 0x7c]
push ebx
push ecx
mov ecx, dword [esi + 4]
call fcn.0043e010
push eax
lea ecx, [esp + 0x3c]
call fcn.0041e610
jmp 0x4cfb3a
mov ebx, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x54], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x20], ecx
dec eax
js 0x4cfbf0
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax*4]
mov dword [esp + 0x10], ecx
mov edx, dword [ecx]
call dword [edx + 4]
cmp eax, 0xf
je 0x4cfb84
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4cfb9c
mov eax, dword [ecx + 8]
test eax, eax
je 0x4cfb9c
jmp 0x4cfb88
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
lea edx, [esp + 0x38]
push esi
push edx
lea edx, [esp + 0x34]
push edx
call dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x10]
cmp eax, 0xc
jne 0x4cfbae
mov dword [esp + 0x58], ecx
mov edx, dword [ecx]
call dword [edx + 4]
cmp eax, 0x16
jne 0x4cfbc0
mov dword [esp + 0x78], 1
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 4]
cmp eax, 0x17
jne 0x4cfbd6
mov dword [esp + 0x54], 1
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x20]
inc eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x20], eax
dec edx
cmp eax, edx
jle 0x4cfb55
xor ecx, ecx
fld dword [esp + 0x2c]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 0x41
jne 0x4cfc0f
fld dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
fstp dword [esp + 0x38]
mov dword [esp + 0x2c], eax
fld dword [esp + 0x30]
fld dword [esp + 0x3c]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4cfc30
fld dword [esp + 0x30]
fld dword [esp + 0x3c]
fstp dword [esp + 0x30]
fstp dword [esp + 0x3c]
fld dword [esp + 0x34]
fld dword [esp + 0x40]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4cfc51
fld dword [esp + 0x34]
fld dword [esp + 0x40]
fstp dword [esp + 0x34]
fstp dword [esp + 0x40]
push ecx
push ecx
push 0xbfb99999
push 0xa0000000
push 0x3fb99999
push 0xa0000000
lea ecx, [esp + 0xe0]
call fcn.0041e260
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x30]
call fcn.0041e660
lea edx, [esp + 0xc8]
lea ecx, [esp + 0x38]
push edx
call fcn.0041e630
lea eax, [esp + 0x38]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.004cf0d0
lea edx, [esp + 0x38]
push 0x40000000
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x84]
push eax
push ecx
call fcn.0041e750
add esp, 0xc
lea edx, [esp + 0xc0]
push eax
push edx
call fcn.0041e900
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0x88], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x8c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x90], eax
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x4cfd05
mov eax, dword [esp + 0x20]
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
cmp dword [esi], 1
jne 0x4cfdcd
test eax, eax
jne 0x4cfd35
lea ecx, [esp + 0x88]
push 1
lea edx, [esp + 0x190]
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.0043dfb0
mov ecx, dword [esi + 4]
push eax
call fcn.0043dac0
mov eax, dword [esi + 4]
lea ecx, [esi + 0x50]
push eax
call fcn.0041e610
lea ecx, [esp + 0x38]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x184]
push edx
push eax
call fcn.0041e7a0
push eax
lea ecx, [esp + 0x184]
push 0x3f000000
push ecx
call fcn.0041e7f0
mov edx, dword [eax]
add esp, 0x18
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x80], ecx
fld dword [esp + 0x80]
mov edx, dword [eax + 8]
fmul dword [esi + 0xc]
mov dword [esp + 0x84], edx
fadd dword [0x5cb160]
call fcn.0056b454
fld dword [esp + 0x7c]
fmul dword [esi + 8]
mov ebx, eax
fadd dword [0x5cb160]
call fcn.0056b454
mov ecx, ebx
mov edx, eax
neg ecx
neg edx
push ecx
push edx
push ebx
push eax
lea eax, [esp + 0x54]
push eax
call dword [0x5c9628]
jmp 0x4d022f
test eax, eax
jne 0x4cfe90
fld dword [esp + 0x2c]
fsub dword [esp + 0x38]
fabs
fstp dword [esp + 0x24]
fld dword [esp + 0x30]
fsub dword [esp + 0x3c]
fabs
fcom dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x4cfdfe
fstp dword [esp + 0x24]
jmp 0x4cfe00
fstp st(0)
fld dword [esp + 0x34]
fadd dword [esp + 0x24]
mov ecx, esi
fstp dword [esp + 0x90]
call fcn.004cf9d0
test eax, eax
je 0x4cfe25
mov dword [esp + 0x8c], 0x3fc00000
lea ecx, [esp + 0x88]
push 1
lea edx, [esp + 0x1a8]
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.0043dfb0
mov ecx, dword [esi + 4]
push eax
call fcn.0043dac0
fld dword [esp + 0x40]
fadd dword [esp + 0x34]
sub esp, 8
lea ecx, [esp + 0x1c4]
fmul dword [0x5cb160]
fadd dword [esp + 0x2c]
fchs
fstp qword [esp]
push 0
push 0
push 0
push 0
call fcn.0041e260
mov ecx, dword [esi + 4]
push eax
lea eax, [esp + 0x16c]
push eax
call fcn.0043dfb0
push eax
lea ecx, [esi + 0x50]
call fcn.0041e610
mov dword [esi + 8], 0x42c80000
mov ecx, dword [edi + 8]
push 0x5a
push ecx
call dword [str.Iux]
mov edx, dword [edi + 8]
push 0x58
push edx
mov dword [esp + 0x1c], eax
call dword [str.Iux]
fild dword [esp + 0x14]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
fmul dword [esi + 8]
lea eax, [esp + 0x44]
mov ecx, esi
push eax
fidiv dword [esp + 0x20]
fstp dword [esi + 0xc]
call fcn.004cfa00
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4d00ac
lea ecx, [esp + 0xf0]
mov dword [esp + 0x1c], 8
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
call fcn.00479c40
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add ecx, 0xc
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
jne 0x4cfef7
mov eax, dword [ebp + 0x14]
push ecx
fld dword [eax + 8]
mov edx, dword [eax]
fstp dword [esp]
fld dword [eax + 4]
push ecx
mov eax, edx
fstp dword [esp]
push eax
lea ecx, [esp + 0xfc]
mov dword [esp + 0xa4], edx
call fcn.0041e310
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebx]
push ecx
mov edx, ecx
fld dword [eax + 8]
fstp dword [esp]
fld dword [eax + 4]
push ecx
mov dword [esp + 0xb4], ecx
fstp dword [esp]
push edx
lea ecx, [esp + 0x108]
call fcn.0041e310
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebx]
push ecx
mov edx, eax
fld dword [ecx + 8]
fstp dword [esp]
fld dword [ebx + 4]
push ecx
lea ecx, [esp + 0x110]
fstp dword [esp]
push edx
mov dword [esp + 0xc0], eax
call fcn.0041e310
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
fld dword [eax + 8]
push ecx
mov edx, ecx
fstp dword [esp]
fld dword [ebx + 4]
push ecx
mov dword [esp + 0x9c], ecx
fstp dword [esp]
push edx
lea ecx, [esp + 0x120]
call fcn.0041e310
mov eax, dword [ebp + 0x14]
fld dword [ebx + 8]
mov ecx, dword [eax]
push ecx
mov edx, ecx
fstp dword [esp]
fld dword [eax + 4]
push ecx
mov dword [esp + 0xa4], ecx
fstp dword [esp]
push edx
lea ecx, [esp + 0x12c]
call fcn.0041e310
fld dword [ebx + 8]
mov eax, dword [ebx]
push ecx
fstp dword [esp]
mov dword [esp + 0xac], eax
mov ecx, dword [ebp + 0x14]
mov edx, eax
push ecx
fld dword [ecx + 4]
fstp dword [esp]
push edx
lea ecx, [esp + 0x138]
call fcn.0041e310
fld dword [ebx + 8]
mov eax, dword [ebx]
push ecx
fstp dword [esp]
fld dword [ebx + 4]
push ecx
mov ecx, eax
fstp dword [esp]
push ecx
lea ecx, [esp + 0x144]
mov dword [esp + 0xbc], eax
call fcn.0041e310
fld dword [ebx + 8]
mov edx, dword [ebp + 0x14]
push ecx
fstp dword [esp]
mov eax, dword [edx]
push ecx
fld dword [ebx + 4]
fstp dword [esp]
mov ecx, eax
mov dword [esp + 0xc0], eax
push ecx
lea ecx, [esp + 0x150]
call fcn.0041e310
push 0
lea edx, [esp + 0xf4]
push 1
push edx
lea ecx, [esp + 0xe0]
call fcn.004b8a00
lea eax, [esp + 0x44]
push esi
push eax
lea ecx, [esp + 0xdc]
mov dword [esp + 0x1d8], 0
call fcn.004b91b0
lea ecx, [esp + 0xd4]
mov dword [esp + 0x1d0], 0xffffffff
call fcn.004b8a50
jmp 0x4d022f
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x4d00db
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [ecx + 8]
test edx, edx
je 0x4d00d3
mov edx, dword [ecx]
lea eax, [esp + 0x44]
push esi
push eax
call dword [edx + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
inc ebx
cmp ebx, ecx
jl 0x4d00b8
mov ecx, dword [esp + 0x48]
xor eax, eax
cmp ecx, eax
jge 0x4d00e9
mov dword [esp + 0x48], eax
cmp dword [esp + 0x50], eax
jle 0x4d00f3
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], 0x3dcccccd
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jge 0x4d0117
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
cmp eax, edx
jne 0x4d022f
fld dword [esp + 0x10]
fchs
fstp qword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x70]
lea ecx, [esp + 0x198]
push eax
push edi
push ebx
push edi
push ebx
push edi
push ebx
call fcn.0041e260
push eax
mov ecx, esi
call fcn.004cf140
lea ecx, [esp + 0x70]
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.004d1fa0
fld dword [esp + 0x18]
add esp, 8
lea eax, [esp + 0x70]
fstp qword [esp + 0x14]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push eax
push ecx
push eax
push ecx
lea ecx, [esp + 0x16c]
call fcn.0041e260
push eax
mov ecx, esi
call fcn.004cf140
lea ecx, [esp + 0x70]
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.004d1fa0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 8
lea eax, [esp + 0x70]
push eax
push edi
push ebx
push edi
push ebx
push ecx
push edx
lea ecx, [esp + 0x1cc]
call fcn.0041e260
push eax
mov ecx, esi
call fcn.004cf140
lea eax, [esp + 0x70]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.004d1fa0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add esp, 8
lea edx, [esp + 0x70]
push edx
push eax
push ecx
push eax
push ecx
push edi
push ebx
lea ecx, [esp + 0x178]
call fcn.0041e260
push eax
mov ecx, esi
call fcn.004cf140
lea eax, [esp + 0x70]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.004d1fa0
fld dword [esp + 0x18]
fmul dword [0x5cb220]
mov edi, dword [ebp + 8]
add esp, 8
fst dword [esp + 0x10]
fcomp dword [0x5cb190]
fnstsw ax
test ah, 0x41
jne 0x4d00fb
lea eax, [esi + 0x10]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4d02d2
mov ecx, dword [edi + 8]
mov ebx, dword [str.Iux]
push 0x58
push ecx
call ebx
mov edx, dword [edi + 8]
push 0x5a
push edx
mov dword [esp + 0xa8], eax
call ebx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xa4], eax
mov eax, 0x66666667
lea ecx, [ecx + ecx*2]
shl ecx, 1
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x5c]
add eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xa4]
lea ecx, [eax*4]
sub ecx, eax
mov eax, 0x66666667
neg ecx
shl ecx, 1
imul ecx
mov eax, dword [esp + 0x68]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
add eax, edx
mov dword [esp + 0x68], eax
jmp 0x4d02d8
mov ebx, dword [str.Iux]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4d033e
mov edx, dword [edi + 8]
push 0x58
push edx
call ebx
mov dword [esp + 0xbc], eax
mov eax, dword [edi + 8]
push 0x5a
push eax
call ebx
mov edx, dword [esp + 0xbc]
mov ecx, eax
shl edx, 2
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x5c]
add eax, edx
neg ecx
mov dword [esp + 0x5c], eax
mov eax, 0x66666667
shl ecx, 2
imul ecx
mov eax, dword [esp + 0x68]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
add eax, edx
mov dword [esp + 0x68], eax
mov eax, dword [edi + 8]
lea edx, [esp + 0x5c]
push 2
push edx
push eax
call dword [0x5c917c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
lea eax, [ecx + edx]
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
mov edi, eax
mov eax, dword [esp + 0x60]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
mov ebx, eax
mov eax, edx
sub eax, dword [esp + 0x44]
sar edi, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
fild dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x50]
fidiv dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x60]
sub eax, ecx
mov dword [esi + 0x44], edi
sar ebx, 1
mov dword [esi + 0x48], ebx
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fidiv dword [esp + 0x14]
fst dword [esp + 0x1c]
fabs
fld st(1)
fabs
fstp qword [esp + 0x24]
fcom qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x4d03df
mov dword [esp + 0x14], 1
jmp 0x4d03ed
fstp st(0)
fld qword [esp + 0x24]
mov dword [esp + 0x14], 0
fstp dword [esp + 0x24]
fcomp dword [0x5cad98]
fnstsw ax
test ah, 1
jne 0x4d0408
mov eax, dword [esp + 0x24]
mov dword [esp + 0x6c], eax
jmp 0x4d0412
fld dword [esp + 0x24]
fchs
fstp dword [esp + 0x6c]
fld dword [esp + 0x1c]
fcomp dword [0x5cad98]
fld dword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x4d0429
fchs
fld dword [esp + 0x24]
fcomp dword [0x5cad98]
fnstsw ax
test ah, 0x40
jne 0x4d0496
fld dword [esi + 8]
fdiv dword [esp + 0x6c]
mov ecx, dword [esp + 0x44]
add edx, ecx
mov dword [esp + 0x1c], edx
fstp dword [esi + 8]
fld dword [esi + 0xc]
fdiv st(1)
fstp dword [esi + 0xc]
fild dword [esp + 0x1c]
fdiv dword [esp + 0x6c]
fmul dword [0x5cb160]
call fcn.0056b454
mov edx, dword [esp + 0x50]
sub edi, eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x44], edi
add edx, eax
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fdiv st(1)
fmul dword [0x5cb160]
call fcn.0056b454
sub ebx, eax
fstp st(0)
mov dword [esi + 0x48], ebx
jmp 0x4d0498
fstp st(0)
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4d0552
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4d0552
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
sub ecx, edx
cmp ecx, 0xc8
jl 0x4d0538
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x96
jl 0x4d0538
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d0508
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
push edx
mov edx, dword [esi + 0x10]
push eax
lea eax, [eax + eax*2]
add eax, edx
lea edi, [esi + 0x20]
cdq
and edx, 3
push ecx
add eax, edx
sar eax, 2
push eax
push edi
call dword [0x5c9628]
mov edx, dword [edi]
mov dword [esi + 0x18], edx
jmp 0x4d0552
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 0x1c]
lea eax, [ecx + ecx*2]
add eax, ebx
cdq
and edx, 3
add eax, edx
lea edx, [esi + 0x20]
sar eax, 2
push eax
mov eax, dword [esi + 0x18]
push eax
push ecx
mov ecx, dword [esi + 0x10]
push ecx
push edx
call dword [0x5c9628]
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x14], eax
jmp 0x4d0552
push 0
push 0
push 0
lea ecx, [esi + 0x20]
push 0
push ecx
mov dword [esp + 0x6c], 0
call dword [0x5c9628]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
inc ecx
test eax, eax
mov dword [esp + 0x20], ecx
je 0x4d056e
mov eax, ecx
cmp eax, 2
jl 0x4cfcfb
mov ecx, dword [esp + 0x1c8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14