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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61d5a1
mov eax, dword fs:[0]
push eax
sub esp, 0xd88
push ebx
push esi
push edi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0xd98]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4eac14
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x4eac14
cmp dword [ebp + 0x10], ebx
jg 0x4e9f87
fldz
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
push ecx
fst dword [esp + 4]
fstp dword [esp]
call dword [eax + 0x74]
jmp 0x4eac16
cmp dword [ebp + 0x10], 0x3ff
jl 0x4e9f97
mov al, 1
jmp 0x4eac16
mov eax, dword [ecx]
lea edx, [esp + 0x4c]
push edx
call dword [eax + 0x1c]
lea esi, [esp + 0x3cc]
call fcn.004c5c33
mov eax, 0x7d8f
mov edx, esi
mov dword [esp + 0xda0], ebx
call fcn.004c5d8c
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
imul eax, eax
imul ecx, ecx
add eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x2c], ebx
fild dword [esp + 0x20]
call fcn.006146a0
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
mov ecx, dword [ebp + 8]
xor edi, edi
fstp dword [esp + 0x3c]
inc edi
call fcn.0045e475
cmp dword [esp + 0x50], ebx
mov dword [esp + 0x44], ebx
jle 0x4eac04
mov ebx, 0x1ff
xor edi, edi
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x40], edi
jle 0x4eabbe
mov eax, dword [esp + 0x2c]
fild dword [esp + 0x2c]
add eax, 0x40
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
fstp dword [esp + 0x150]
fild dword [esp + 0x20]
sar eax, 3
and eax, ebx
lea eax, [eax*4 + 0x69d030]
fstp dword [esp + 0x14c]
mov dword [esp + 0x6c], eax
fldz
fadd qword [0x657608]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fstp dword [esp + 0x54]
fild dword [esp + 0x44]
fadd qword [0x657600]
fstp qword [esp + 0x15c]
push dword [esp + 0x48]
mov ecx, dword [ebp + 0xc]
push dword [esp + 0x64]
mov eax, dword [ecx]
call dword [eax + 0x28]
lea esi, [eax + 8]
lea ecx, [esp + 0x1b4]
mov dword [esp + 0x70], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [esp + 0x164]
push ecx
mov ecx, esi
call dword [eax + 0x9c]
fild dword [esp + 0x164]
add edi, 0x40
mov dword [esp + 0x20], edi
fstp dword [esp + 0x28]
lea edx, [esp + 0x3cc]
fild dword [esp + 0x1c]
fdiv dword [esp + 0x28]
fstp dword [esp + 0x5c]
fild dword [esp + 0x168]
fstp dword [esp + 0x1c]
fld dword [esp + 0x150]
fdiv dword [esp + 0x1c]
fstp dword [esp + 0x58]
fild dword [esp + 0x20]
fdiv dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x14c]
fdiv dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x68]
fstp dword [esp + 0x64]
call fcn.004c5c6d
mov esi, eax
and esi, 0x7ff
call fcn.004c5c6d
mov edi, eax
and edi, ebx
call fcn.004c5c6d
and eax, ebx
mov dword [esp + 0x14], eax
mov eax, esi
imul eax, dword [ebp + 0x10]
cdq
mov esi, 0x3ff
and edx, esi
add eax, edx
sar eax, 0xa
mov ecx, eax
and ecx, ebx
fild dword [ecx*4 + 0x69d030]
fmul qword [0x657548]
fstp dword [esp + 0x30]
call fcn.004549b0
mov eax, edi
fstp dword [esp + 0x34]
imul eax, dword [ebp + 0x10]
cdq
and edx, esi
add eax, edx
sar eax, 0xa
mov ecx, eax
and ecx, ebx
fild dword [ecx*4 + 0x69d030]
fmul qword [0x657548]
fstp dword [esp + 0x18]
call fcn.004549b0
mov eax, dword [esp + 0x14]
fstp dword [esp + 0x24]
imul eax, dword [ebp + 0x10]
cdq
and edx, esi
add eax, edx
sar eax, 0xa
mov ecx, eax
and ecx, ebx
fild dword [ecx*4 + 0x69d030]
fmul qword [0x657548]
fstp dword [esp + 0x38]
call fcn.004549b0
lea edx, [esp + 0x3cc]
fstp dword [esp + 0x14]
call fcn.004c5c6d
fld1
fst dword [esp + 0xcc]
sub esp, 0x40
fldz
mov esi, eax
fst dword [esp + 0x110]
lea eax, [esp + 0x30c]
fst dword [esp + 0x114]
and esi, ebx
fst dword [esp + 0x118]
fst dword [esp + 0x11c]
fst dword [esp + 0x124]
fst dword [esp + 0x128]
fst dword [esp + 0x12c]
fst dword [esp + 0x130]
fst dword [esp + 0x138]
fxch st(1)
fst dword [esp + 0x120]
fst dword [esp + 0x134]
fld dword [0x657ca8]
fst dword [esp + 0x13c]
fstp dword [esp + 0x140]
fxch st(1)
fst dword [esp + 0x144]
fxch st(1)
fst dword [esp + 0x148]
fst dword [esp + 0x3c]
fxch st(1)
fst dword [esp + 0x38]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fld dword [esp + 0x64]
fstp dword [esp + 0x28]
fld dword [esp + 0x58]
fchs
fstp dword [esp + 0x24]
fst dword [esp + 0x20]
fst dword [esp + 0x1c]
fld dword [esp + 0x58]
fstp dword [esp + 0x18]
fld dword [esp + 0x64]
fstp dword [esp + 0x14]
fst dword [esp + 0x10]
fst dword [esp + 0xc]
fst dword [esp + 8]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0045c0c0
fld1
sub esp, 0x40
fst dword [esp + 0x3c]
fldz
fst dword [esp + 0x38]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fxch st(1)
fstp dword [esp + 0x28]
fst dword [esp + 0x24]
fst dword [esp + 0x20]
fst dword [esp + 0x1c]
fst dword [esp + 0x18]
fld dword [esp + 0x74]
fstp dword [esp + 0x14]
fld dword [esp + 0x70]
fchs
fstp dword [esp + 0x10]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [esp + 0x70]
fstp dword [esp + 4]
fld dword [esp + 0x74]
lea eax, [esp + 0x28c]
fstp dword [esp]
call fcn.0045c0c0
fld1
sub esp, 0x40
fst dword [esp + 0x3c]
fldz
lea eax, [esp + 0x2cc]
fst dword [esp + 0x38]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fld dword [esp + 0x54]
fstp dword [esp + 0x28]
fst dword [esp + 0x24]
fld dword [esp + 0x78]
fchs
fstp dword [esp + 0x20]
fst dword [esp + 0x1c]
fst dword [esp + 0x18]
fxch st(1)
fstp dword [esp + 0x14]
fst dword [esp + 0x10]
fst dword [esp + 0xc]
fld dword [esp + 0x78]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x54]
fstp dword [esp]
call fcn.0045c0c0
fld1
mov eax, dword [esp + 0x6c]
fst dword [esp + 0x10c]
fldz
fst dword [esp + 0x110]
fst dword [esp + 0x114]
fst dword [esp + 0x118]
fst dword [esp + 0x11c]
fst dword [esp + 0x124]
fst dword [esp + 0x128]
fst dword [esp + 0x12c]
fst dword [esp + 0x130]
fstp dword [esp + 0x138]
fst dword [esp + 0x120]
fstp dword [esp + 0x134]
fild dword [eax]
mov eax, esi
fmul qword [0x657548]
fstp dword [esp + 0x18]
fild dword [esp + 0x40]
fadd qword [0x657600]
fstp qword [esp + 0x154]
call fcn.004549b0
fmul dword [esp + 0x3c]
and esi, ebx
lea eax, [esp + 0x10c]
push eax
fmul dword [esp + 0x1c]
lea eax, [esp + 0x290]
push eax
lea eax, [esp + 0x254]
fstp dword [esp + 0x1c]
push eax
fld dword [esp + 0x20]
lea eax, [esp + 0x2d8]
fadd qword [esp + 0x160]
fstp dword [esp + 0x148]
fild dword [esi*4 + 0x69d030]
fmul qword [0x657548]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esp + 0x48]
fmul dword [esp + 0x24]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd qword [esp + 0x168]
fstp dword [esp + 0x14c]
fldz
fstp dword [esp + 0x150]
fld1
fstp dword [esp + 0x154]
push eax
lea eax, [esp + 0x35c]
lea edx, [esp + 0xdc]
call fcn.00401200
mov edx, eax
lea eax, [esp + 0x318]
call fcn.00401200
mov edx, eax
lea eax, [esp + 0x394]
call fcn.00401200
mov edx, eax
lea eax, [esp + 0x1c8]
call fcn.00401200
push 0x498f5b
push 3
push 0x1c
lea eax, [esp + 0x80]
push eax
call fcn.0043c160
fldz
fst dword [esp + 0x1a8]
lea eax, [esp + 0x1c4]
fst dword [esp + 0x1ac]
push eax
lea edi, [esp + 0x220]
fstp dword [esp + 0x1b4]
lea esi, [esp + 0x1ac]
call fcn.00498f0f
fld dword [eax]
fstp dword [esp + 0x74]
lea edi, [esp + 0x234]
fld dword [eax + 4]
or dword [esp + 0x84], 0xffffffff
fstp dword [esp + 0x78]
lea eax, [esp + 0x1c4]
fld1
push eax
fstp dword [esp + 0x84]
lea esi, [esp + 0x194]
fldz
fst dword [esp + 0x80]
fld dword [esp + 0x60]
fstp dword [esp + 0x8c]
fld dword [esp + 0x5c]
fstp dword [esp + 0x90]
fld dword [esp + 0x68]
fstp dword [esp + 0x194]
fst dword [esp + 0x198]
fstp dword [esp + 0x19c]
call fcn.00498f0f
fld dword [eax]
lea edi, [esp + 0x210]
fstp dword [esp + 0x90]
lea esi, [esp + 0x184]
fld dword [eax + 4]
or dword [esp + 0xa0], 0xffffffff
fstp dword [esp + 0x94]
lea eax, [esp + 0x1c4]
fld1
push eax
fstp dword [esp + 0xa0]
fldz
fst dword [esp + 0x9c]
fld dword [esp + 0x2c]
fstp dword [esp + 0xa8]
fld dword [esp + 0x5c]
fstp dword [esp + 0xac]
fst dword [esp + 0x188]
fld dword [esp + 0x58]
fstp dword [esp + 0x18c]
fstp dword [esp + 0x190]
call fcn.00498f0f
fld dword [eax]
fstp dword [esp + 0xac]
fld dword [eax + 4]
or dword [esp + 0xbc], 0xffffffff
fstp dword [esp + 0xb0]
fld1
fstp dword [esp + 0xb8]
fldz
fstp dword [esp + 0xb4]
fld dword [esp + 0x5c]
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
fstp dword [esp + 0xc0]
fld dword [esp + 0x1c]
push 1
push 5
fstp dword [esp + 0xcc]
push 0x144
push 0x1c
lea edx, [esp + 0x84]
push edx
call dword [eax + 0x54]
lea edx, [esp + 0x3cc]
call fcn.004c5c6d
mov esi, eax
and esi, 0x7ff
call fcn.004c5c6d
mov edi, eax
and edi, ebx
call fcn.004c5c6d
and eax, ebx
mov dword [esp + 0x24], eax
mov eax, esi
imul eax, dword [ebp + 0x10]
cdq
mov esi, 0x3ff
and edx, esi
add eax, edx
sar eax, 0xa
mov ecx, eax
and ecx, ebx
fild dword [ecx*4 + 0x69d030]
fmul qword [0x657548]
fstp dword [esp + 0x34]
call fcn.004549b0
mov eax, edi
fstp dword [esp + 0x30]
imul eax, dword [ebp + 0x10]
cdq
and edx, esi
add eax, edx
sar eax, 0xa
mov ecx, eax
and ecx, ebx
fild dword [ecx*4 + 0x69d030]
fmul qword [0x657548]
fstp dword [esp + 0x14]
call fcn.004549b0
mov eax, dword [esp + 0x24]
fstp dword [esp + 0x38]
imul eax, dword [ebp + 0x10]
cdq
and edx, esi
add eax, edx
sar eax, 0xa
mov ecx, eax
and ecx, ebx
fild dword [ecx*4 + 0x69d030]
fmul qword [0x657548]
fstp dword [esp + 0x24]
call fcn.004549b0
lea edx, [esp + 0x3cc]
fstp dword [esp + 0x18]
call fcn.004c5c6d
fld1
fst dword [esp + 0x10c]
mov esi, eax
fldz
and esi, ebx
fst dword [esp + 0x110]
fst dword [esp + 0x114]
fst dword [esp + 0x118]
fst dword [esp + 0x11c]
fst dword [esp + 0x124]
fst dword [esp + 0x128]
fst dword [esp + 0x12c]
fst dword [esp + 0x130]
fst dword [esp + 0x138]
fxch st(1)
fst dword [esp + 0x120]
fst dword [esp + 0x134]
sub esp, 0x40
fld dword [0x657ca8]
lea eax, [esp + 0x2cc]
fst dword [esp + 0x17c]
fstp dword [esp + 0x180]
fxch st(1)
fst dword [esp + 0x184]
fxch st(1)
fst dword [esp + 0x188]
fst dword [esp + 0x3c]
fxch st(1)
fst dword [esp + 0x38]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fld dword [esp + 0x78]
fstp dword [esp + 0x28]
fld dword [esp + 0x54]
fchs
fstp dword [esp + 0x24]
fst dword [esp + 0x20]
fst dword [esp + 0x1c]
fld dword [esp + 0x54]
fstp dword [esp + 0x18]
fld dword [esp + 0x78]
fstp dword [esp + 0x14]
fst dword [esp + 0x10]
fst dword [esp + 0xc]
fst dword [esp + 8]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0045c0c0
fld1
sub esp, 0x40
fst dword [esp + 0x3c]
lea eax, [esp + 0x28c]
fldz
fst dword [esp + 0x38]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fxch st(1)
fstp dword [esp + 0x28]
fst dword [esp + 0x24]
fst dword [esp + 0x20]
fst dword [esp + 0x1c]
fst dword [esp + 0x18]
fld dword [esp + 0x70]
fstp dword [esp + 0x14]
fld dword [esp + 0x74]
fchs
fstp dword [esp + 0x10]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x70]
fstp dword [esp]
call fcn.0045c0c0
fld1
sub esp, 0x40
fst dword [esp + 0x3c]
fldz
fst dword [esp + 0x38]
fst dword [esp + 0x34]
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fld dword [esp + 0x58]
fstp dword [esp + 0x28]
fst dword [esp + 0x24]
fld dword [esp + 0x64]
fchs
fstp dword [esp + 0x20]
fst dword [esp + 0x1c]
fst dword [esp + 0x18]
fxch st(1)
fstp dword [esp + 0x14]
fst dword [esp + 0x10]
fst dword [esp + 0xc]
fld dword [esp + 0x64]
fstp dword [esp + 8]
lea eax, [esp + 0x30c]
fstp dword [esp + 4]
fld dword [esp + 0x58]
fstp dword [esp]
call fcn.0045c0c0
fld1
mov eax, dword [esp + 0x6c]
fst dword [esp + 0xcc]
fldz
fst dword [esp + 0xd0]
fst dword [esp + 0xd4]
fst dword [esp + 0xd8]
fst dword [esp + 0xdc]
fst dword [esp + 0xe4]
fst dword [esp + 0xe8]
fst dword [esp + 0xec]
fst dword [esp + 0xf0]
fstp dword [esp + 0xf8]
fst dword [esp + 0xe0]
fstp dword [esp + 0xf4]
fild dword [eax]
mov eax, esi
fmul qword [0x657548]
fstp dword [esp + 0x18]
call fcn.004549b0
fmul dword [esp + 0x3c]
and esi, ebx
lea eax, [esp + 0xcc]
push eax
fmul dword [esp + 0x1c]
lea eax, [esp + 0x2d0]
push eax
lea eax, [esp + 0x254]
fstp dword [esp + 0x1c]
push eax
fld dword [esp + 0x20]
lea eax, [esp + 0x298]
fadd qword [esp + 0x160]
push eax
lea eax, [esp + 0x39c]
lea edx, [esp + 0x11c]
fstp dword [esp + 0x10c]
fild dword [esi*4 + 0x69d030]
fmul qword [0x657548]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fmul dword [esp + 0x4c]
fmul dword [esp + 0x28]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fadd qword [esp + 0x16c]
fstp dword [esp + 0x110]
fldz
fstp dword [esp + 0x114]
fld1
fstp dword [esp + 0x118]
call fcn.00401200
mov edx, eax
lea eax, [esp + 0x318]
call fcn.00401200
mov edx, eax
lea eax, [esp + 0x354]
call fcn.00401200
mov edx, eax
lea eax, [esp + 0x1c8]
call fcn.00401200
push 0x498f5b
push 3
push 0x1c
lea eax, [esp + 0x80]
push eax
call fcn.0043c160
fld dword [esp + 0x64]
fstp dword [esp + 0x19c]
lea eax, [esp + 0x1c4]
fldz
push eax
fst dword [esp + 0x1a4]
lea edi, [esp + 0x22c]
fstp dword [esp + 0x1a8]
lea esi, [esp + 0x1a0]
call fcn.00498f0f
fld dword [eax]
fstp dword [esp + 0x74]
lea edi, [esp + 0x204]
fld dword [eax + 4]
or dword [esp + 0x84], 0xffffffff
fstp dword [esp + 0x78]
lea eax, [esp + 0x1c4]
fld1
push eax
fstp dword [esp + 0x84]
lea esi, [esp + 0x170]
fldz
fst dword [esp + 0x80]
fld dword [esp + 0x2c]
fstp dword [esp + 0x8c]
fld dword [esp + 0x5c]
fstp dword [esp + 0x90]
fst dword [esp + 0x170]
fld dword [esp + 0x58]
fstp dword [esp + 0x174]
fstp dword [esp + 0x178]
call fcn.00498f0f
fld dword [eax]
lea edi, [esp + 0x240]
fstp dword [esp + 0xac]
lea esi, [esp + 0x178]
fld dword [eax + 4]
or dword [esp + 0xbc], 0xffffffff
fstp dword [esp + 0xb0]
lea eax, [esp + 0x1c4]
fld1
push eax
fstp dword [esp + 0xbc]
fldz
fst dword [esp + 0xb8]
fld dword [esp + 0x60]
fstp dword [esp + 0xc4]
fld dword [esp + 0x20]
fstp dword [esp + 0xc8]
fld dword [esp + 0x68]
fstp dword [esp + 0x17c]
fld dword [esp + 0x58]
fstp dword [esp + 0x180]
fstp dword [esp + 0x184]
call fcn.00498f0f
fld dword [eax]
mov ecx, dword [esp + 0x70]
fstp dword [esp + 0x90]
push 1
fld dword [eax + 4]
mov eax, dword [ecx]
or dword [esp + 0xa4], 0xffffffff
fstp dword [esp + 0x98]
fld1
push 5
fstp dword [esp + 0xa4]
push 0x144
fldz
push 0x1c
fstp dword [esp + 0xa8]
lea edx, [esp + 0x84]
fld dword [esp + 0x38]
push edx
fstp dword [esp + 0xb8]
fld dword [esp + 0x30]
fstp dword [esp + 0xbc]
call dword [eax + 0x54]
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x1b4]
mov dword [esp + 0x1c], edi
jl 0x4eaba9
xor edi, edi
inc dword [esp + 0x60]
mov dword [esp + 0x1c], edi
add dword [esp + 0x40], 0x40
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x4c]
jl 0x4ea080
xor edi, edi
push dword [esp + 0x48]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
add dword [esp + 0x30], 0x40
push edi
call dword [eax + 0x28]
lea ecx, [eax + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x1bc]
push edx
call dword [eax + 0x10]
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [eax + 4]
jl 0x4eabf1
inc dword [esp + 0x48]
mov dword [esp + 0x2c], edi
add dword [esp + 0x44], 0x40
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x50]
jl 0x4ea00f
mov ecx, dword [ebp + 8]
push 3
pop edi
call fcn.0045e475
jmp 0x4e9f90
xor al, al
mov ecx, dword [esp + 0xd98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc