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

Disassembly:
sub esp, 0x54
fld dword [0xa958d8]
push ebx
fmul qword [0x6f99e0]
push ebp
mov ebp, dword [esp + 0x60]
push esi
mov esi, eax
fmul dword [esi + 0x38]
mov eax, dword [esi]
fld dword [ebp + 0x34]
imul eax, eax, 0x70
fadd qword [0x6f9a08]
fmulp st(1)
fadd qword [0x6fa1a8]
push edi
add eax, 0xa9a0c0
fstp dword [esp + 0x68]
mov cx, word [eax]
fld dword [esp + 0x68]
mov dx, word [eax + 2]
fld st(0)
push 0
fmul dword [ebp + 0x1c]
sub esp, 8
lea edi, [esp + 0x50]
mov dword [esp + 0x38], 0
fstp dword [esp + 0x2c]
mov byte [esp + 0x54], 0
fld dword [ebp + 0x14]
mov byte [esp + 0x55], 0
fchs
mov dword [esp + 0x34], eax
fmulp st(1)
mov word [esp + 0x50], cx
mov word [esp + 0x52], dx
fstp dword [esp + 0x30]
fld dword [esi + 0x20]
fld dword [esp + 0x78]
fld st(0)
fmulp st(2)
fxch st(1)
fsubr dword [esi + 4]
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x28]
fld dword [esi + 0x28]
fmulp st(1)
fsubr dword [esi + 0xc]
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
fsub dword [esp + 0x30]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fst dword [esp + 0x58]
fld dword [esp + 0x24]
fst dword [esp + 0x5c]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.004e69d0
fld dword [esp + 0x30]
movsx eax, word [esp + 0x52]
fld qword [0x6f9af0]
movsx ebx, word [esp + 0x50]
fmul st(1), st(0)
fxch st(1)
add esp, 0xc
fst qword [esp + 0x30]
mov dword [esp + 0x6c], ebx
fld dword [esp + 0x20]
mov dword [esp + 0x14], eax
fmulp st(2)
mov dword [esp + 0x68], eax
fxch st(1)
push 0
fst qword [esp + 0x3c]
fld dword [esp + 0x1c]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
sub esp, 8
fstp dword [esp + 4]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.004e69d0
movsx eax, word [esp + 0x50]
add esp, 0xc
cmp eax, ebx
jle 0x4eaa8b
mov dword [esp + 0x6c], eax
cmovl ebx, eax
movsx eax, word [esp + 0x46]
cmp eax, dword [esp + 0x14]
jle 0x4eaa9d
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x68]
jge 0x4eaaa7
mov dword [esp + 0x68], eax
fld dword [ebp + 0x14]
push 0
fld qword [0x6fa1a8]
sub esp, 8
fmul st(1), st(0)
lea edi, [esp + 0x50]
fld dword [esi + 4]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x28]
fmul dword [ebp + 0x1c]
fadd dword [esi + 0xc]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fsub dword [esp + 0x30]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.004e69d0
mov ax, word [esp + 0x50]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x78]
mov cx, word [esp + 0x52]
mov word [ebp], ax
movsx eax, ax
add esp, 0xc
cmp eax, esi
mov word [ebp + 2], cx
jle 0x4eab26
mov dword [esp + 0x6c], eax
mov esi, eax
cmp eax, ebx
cmovl ebx, eax
movsx eax, cx
cmp eax, dword [esp + 0x14]
jle 0x4eab38
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x68]
jge 0x4eab42
mov dword [esp + 0x68], eax
fld dword [esp + 0x18]
push 0
fadd qword [esp + 0x34]
sub esp, 8
lea edi, [esp + 0x50]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fadd qword [esp + 0x44]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.004e69d0
movsx eax, word [esp + 0x50]
add esp, 0xc
cmp eax, esi
jle 0x4eab89
mov dword [esp + 0x6c], eax
mov esi, eax
cmp eax, ebx
cmovl ebx, eax
movsx eax, word [esp + 0x46]
cmp eax, dword [esp + 0x14]
jle 0x4eab9d
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x68]
jge 0x4eaba7
mov dword [esp + 0x68], eax
cmp dword [esp + 0x14], 0
jge 0x4eabbe
mov word [ebp], 0xffff
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
cmp dword [esp + 0x68], 0
jge 0x4eabcd
mov dword [esp + 0x68], 0
mov ecx, dword [0xa6f970]
mov eax, esi
sub eax, ebx
cmp eax, 0x64
jle 0x4eabeb
mov eax, ebx
lea edx, [eax + ecx + 1]
lea ebx, [esi - 1]
mov dword [esp + 0x6c], edx
mov esi, edx
cmp ebx, esi
mov ebp, ebx
jg 0x4eac98
mov eax, ebx
imul eax, eax, 0x88
sub ebx, ecx
imul ebx, ebx, 0x88
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
lea ecx, [ecx]
cmp ebp, dword [0xa6f970]
mov ecx, dword [0xa6f96c]
mov edi, eax
cmovge edi, ebx
movzx edx, byte [edi + ecx + 0x6c]
add edi, ecx
mov ecx, dword [esp + 0x14]
sub edx, 1
cmp ecx, edx
cmovl edx, ecx
mov ecx, dword [esp + 0x68]
cmp ecx, edx
jg 0x4eac76
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
sub esi, dword [esp + 0x70]
lea eax, [eax + ebx*4]
nop
cmp ebx, 0x80
jae 0x4eacd4
mov dword [eax], ecx
mov dword [esi + eax], edi
add ebx, 1
add ecx, 1
add eax, 4
cmp ecx, edx
mov dword [esp + 0x2c], ebx
jle 0x4eac50
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
add ebp, 1
add eax, 0x88
add ebx, 0x88
cmp ebp, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
jle 0x4eac10
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
mov ecx, dword [eax + 0x78]
movzx edx, byte [ecx + 0x13]
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
lea eax, [edx + eax + 1]
lea eax, [eax + eax*2]
shl eax, 4
mov dl, byte [eax + ecx + 0x19]
add eax, ecx
mov ecx, dword [esp + 0x28]
mov byte [ecx + 4], dl
mov al, byte [eax + 0x18]
mov byte [ecx + 5], al
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov word [ecx], 0xffff
xor eax, eax
pop ebx
add esp, 0x54
ret