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

Disassembly:
sub esp, 0x74
mov ecx, dword [0x65ef30]
push ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
push edi
call fcn.00536910
mov esi, dword [eax + 0x18]
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call dword [eax + 0x5c]
fld dword [esp + 0x38]
mov eax, dword [ebp]
fsub dword [eax]
mov dword [esp + 0x24], 0
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fsub dword [eax + 4]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fsub dword [eax + 8]
fstp dword [esp + 0x40]
call int.00447cd0
call int.0044a6a0
cmp eax, 1
jne 0x4e1179
mov edx, dword [esp + 0x88]
mov ebx, dword [edx]
call fcn.004d7dd0
mov edi, eax
call fcn.004d8560
mov ecx, eax
test ecx, ecx
mov eax, 0xff000000
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
je 0x4e12bb
mov edx, dword [ebx + 0xb0]
test edx, edx
jle 0x4e12b7
call int.00447cd0
mov ecx, dword [ecx + 0x2c]
push eax
lea eax, [esp + 0x38]
call fcn.0044a6b0
mov eax, dword [eax]
jmp 0x4e12b7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
fld dword [esp + 0x40]
fmul dword [eax + 0x28]
add eax, 0x20
fld dword [esp + 0x3c]
fmul dword [eax + 4]
faddp st(1)
fld dword [esp + 0x38]
fmul dword [eax]
faddp st(1)
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
je 0x4e17d7
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
cmp dword [ecx + 0xa4], 2
mov dword [esp + 0x28], 0xffffffff
jne 0x4e11e9
mov eax, dword [eax + 0x14c]
cmp eax, 0xff
mov dword [esp + 0x24], eax
je 0x4e11e9
fild dword [esp + 0x24]
fmul dword [0x617ebc]
fsubr dword [0x617dbc]
jmp 0x4e11f2
fld dword [0x617dbc]
fsub dword [ebp + 0xc]
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
faddp st(1)
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fsqrt
fsub dword [0x617e60]
fmul dword [0x617e58]
fcom dword [0x617db0]
fnstsw ax
test ah, 1
jne 0x4e123c
fcom dword [0x617dbc]
fnstsw ax
test ah, 0x41
jp 0x4e123c
fstp dword [esp + 0x10]
jmp 0x4e1259
fcomp dword [0x617dbc]
mov dword [esp + 0x10], 0x3f800000
fnstsw ax
test ah, 0x41
je 0x4e1259
mov dword [esp + 0x10], 0
fld dword [0x617dbc]
fsub dword [esp + 0x10]
fmul st(1)
fmul dword [0x618080]
fadd dword [0x618078]
call fcn.005c956c
fstp st(0)
test eax, eax
jl 0x4e1456
cmp eax, 0xff
jg 0x4e17d7
cmp eax, 0xff
mov ecx, eax
je 0x4e17d7
fld dword [0x604b94]
mov eax, ecx
fmul dword [esp + 0x10]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, ecx
fstp dword [esp + 0x24]
shl eax, 8
or eax, ecx
mov dword [esp + 0x14], eax
mov al, byte [0x65684f]
test al, al
je 0x4e13bf
mov byte [0x65684f], 0
mov dword [0x6cfbf8], 0x3f800000
mov dword [0x6cfbfc], 0x400ccccd
mov dword [0x6cfc00], 0x3f99999a
mov dword [0x6cfc04], 0x40000000
mov dword [0x6cfc08], 0x3f99999a
mov dword [0x6cfc0c], 0x3e4ccccd
mov dword [0x6cfc10], 0x3f99999a
mov dword [0x6cfc14], 0xbe4ccccd
mov dword [0x6cfc18], 0x3f99999a
mov dword [0x6cfc1c], 0xc0000000
mov dword [0x6cfc20], 0x3f800000
mov dword [0x6cfc24], 0xc00ccccd
mov dword [0x6cfbc8], 0x3e4ccccd
mov dword [0x6cfbcc], 0x3eb15b57
mov dword [0x6cfbd0], 0x3eb15b57
mov dword [0x6cfbd4], 0x3e4ccccd
mov dword [0x6cfbd8], 0x3eb15b57
mov dword [0x6cfbdc], 0x3e4ccccd
mov dword [0x6cfbe0], 0x3eb15b57
mov dword [0x6cfbe4], 0x3e4ccccd
mov dword [0x6cfbe8], 0x3eb15b57
mov dword [0x6cfbec], 0xbe4ccccd
mov dword [0x6cfbf0], 0x3e4ccccd
mov dword [0x6cfbf4], 0xbeb15b57
lea ecx, [esp + 0x38]
call fcn.00560bd0
lea ecx, [esp + 0x44]
call fcn.0055fd80
mov edx, dword [ebp]
push edx
lea ecx, [esp + 0x48]
call fcn.00560270
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00560360
fld dword [esp + 0x74]
fadd dword [esp + 0x38]
mov edx, dword [0x65ef24]
fstp dword [esp + 0x74]
fld dword [esp + 0x78]
fadd dword [esp + 0x3c]
fld dword [esp + 0x7c]
fadd dword [esp + 0x40]
fstp dword [esp + 0x7c]
fadd dword [esp + 0x24]
fstp dword [esp + 0x78]
mov ecx, dword [edx]
mov eax, dword [ecx]
lea edx, [esp + 0x44]
push edx
push 0
call dword [eax + 0x54]
call fcn.0042f6c0
mov esi, dword [eax + 0x18]
mov dword [esp + 0x34], esi
call int.00447cd0
call int.0044a6a0
cmp eax, 1
mov ecx, esi
jne 0x4e1468
mov eax, dword [esi]
push 0
push 0x444d4c42
call dword [eax + 0x18]
jmp 0x4e1474
cmp eax, 0xff
jg 0x4e17d7
xor ecx, ecx
jmp 0x4e1298
mov edx, dword [esi]
push 4
push 0x444d4c42
call dword [edx + 0x18]
mov eax, dword [esi]
push 0
push 0x54494c
mov ecx, esi
call dword [eax + 0x18]
mov edx, dword [esi]
push 0
push 0x54535441
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi]
push 1
push 0x444d4853
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [0x65ef1c]
mov edx, dword [ecx]
push 0
push 0x24
push 0x2020
push 0
push esi
call dword [edx + 0x78]
xor edi, edi
mov esi, eax
mov dword [esp + 0x24], edi
lea ecx, [ecx]
lea eax, [edi + 1]
fild dword [esp + 0x24]
mov dword [esp + 0x30], eax
cdq
mov ecx, 0xc
fmul dword [0x618090]
idiv ecx
mov dword [esp + 0x10], edx
call fcn.005c956c
fild dword [esp + 0x10]
mov ebx, eax
fmul dword [0x618090]
call fcn.005c956c
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cdq
mov ecx, 6
idiv ecx
mov eax, edi
mov edi, 6
lea ecx, [ebx + ebx*4]
mov dword [esp + 0x10], edx
cdq
idiv edi
sub ecx, edx
jns 0x4e151a
neg ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
lea eax, [ecx + ecx*4]
sub eax, edx
jns 0x4e152f
neg eax
mov dword [esp + 0x10], eax
lea edx, [ebx + ebx]
mov eax, 1
sub eax, edx
add ecx, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov edx, 1
sub edx, ecx
dec eax
test eax, eax
mov dword [esp + 0x18], edx
jl 0x4e1562
cmp eax, 3
jg 0x4e1567
mov dword [esp + 0x1c], eax
jmp 0x4e1579
cmp eax, 3
jle 0x4e1571
mov dword [esp + 0x1c], 3
jmp 0x4e1579
mov dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x10]
dec ebx
test ebx, ebx
jl 0x4e1589
cmp ebx, 3
jg 0x4e158e
jmp 0x4e1597
cmp ebx, 3
jle 0x4e1595
mov ebx, 3
jmp 0x4e1597
xor ebx, ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
push 0
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov edx, dword [esi]
push 0
push 0
push 0
mov ecx, esi
call dword [edx]
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x10]
fld dword [edi + ebx*8 + 0x12c]
fadd dword [eax*8 + 0x6cfbf8]
push 0
mov ecx, esi
fmul dword [ebp + 0x10]
fstp dword [esp + 0x28]
fld dword [edi + ebx*8 + 0x130]
mov ebx, dword [esp + 0x18]
fadd dword [eax*8 + 0x6cfbfc]
mov eax, dword [esi]
push ebx
fmul dword [ebp + 0x10]
fstp dword [esp + 0x18]
call dword [eax + 0x10]
fild dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 0
fmul dword [esp + 0x28]
push eax
push ecx
mov ecx, esi
fstp dword [esp]
call dword [edx]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
fld dword [edi + eax*8 + 0x12c]
fadd dword [ecx*8 + 0x6cfbf8]
mov edx, dword [esi]
push 0
push ebx
fmul dword [ebp + 0x10]
fstp dword [esp + 0x2c]
fld dword [edi + eax*8 + 0x130]
fadd dword [ecx*8 + 0x6cfbfc]
mov ecx, esi
fmul dword [ebp + 0x10]
fstp dword [esp + 0x18]
call dword [edx + 0x10]
mov ecx, dword [esp + 0x10]
fild dword [esp + 0x2c]
mov eax, dword [esi]
push 0
fmul dword [esp + 0x28]
push ecx
push ecx
mov ecx, esi
fstp dword [esp]
call dword [eax]
mov edi, dword [esp + 0x30]
cmp edi, 0xc
mov dword [esp + 0x24], edi
jl 0x4e14c0
mov ecx, dword [0x65ef1c]
mov edx, dword [ecx]
push esi
call dword [edx + 0x7c]
mov ecx, dword [0x65ef1c]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx]
push 0
push 0x1a
push 0x2020
push 1
push edx
call dword [eax + 0x78]
xor ebx, ebx
mov esi, eax
mov dword [esp + 0x24], ebx
jmp 0x4e16b0
fild dword [esp + 0x24]
fmul dword [0x618090]
call fcn.005c956c
mov ecx, eax
and ecx, 0x80000001
jns 0x4e16ce
dec ecx
or ecx, 0xfffffffe
inc ecx
mov eax, ebx
cdq
mov ebx, 6
idiv ebx
lea edi, [ecx + ecx*4]
sub edi, edx
jns 0x4e16e1
neg edi
add ecx, ecx
mov edx, 1
sub edx, ecx
mov eax, edi
lea ecx, [eax - 1]
test ecx, ecx
mov dword [esp + 0x34], edx
jl 0x4e16fe
cmp ecx, 3
jg 0x4e1703
jmp 0x4e170c
cmp ecx, 3
jle 0x4e170a
mov ecx, 3
jmp 0x4e170c
xor ecx, ecx
mov edx, dword [esp + 0x88]
fld dword [edx + ecx*8 + 0x130]
push 0
fadd dword [eax*8 + 0x6cfbfc]
fmul dword [ebp + 0x10]
fstp dword [esp + 0x24]
fild dword [esp + 0x38]
fld dword [edx + ecx*8 + 0x12c]
mov ecx, dword [esp + 0x2c]
fadd dword [eax*8 + 0x6cfbf8]
push ecx
mov ecx, esi
fmul dword [ebp + 0x10]
fmul st(1)
fstp dword [esp + 0x24]
fld dword [eax*8 + 0x6cfbc8]
fmul dword [ebp + 0x10]
fmul st(1)
fadd dword [esp + 0x24]
fstp dword [esp + 0x38]
fstp st(0)
fld dword [eax*8 + 0x6cfbcc]
mov eax, dword [esi]
fmul dword [ebp + 0x10]
fadd dword [esp + 0x28]
fstp dword [esp + 0x3c]
call dword [eax + 0x10]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esi]
push 0
push eax
push ecx
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
push 0
push eax
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
push 0
push eax
push ecx
mov ecx, esi
call dword [edx]
mov ebx, dword [esp + 0x24]
inc ebx
cmp ebx, 0xc
mov dword [esp + 0x24], ebx
jle 0x4e16b0
mov ecx, dword [0x65ef1c]
mov edx, dword [ecx]
push esi
call dword [edx + 0x7c]
mov eax, dword [0x65ef24]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0
call dword [edx + 0x40]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 8