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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x60
mov ecx, dword [0xa72140]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [0xa72144]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ebx, edx
mov eax, dword [0xa72148]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, dword [eax]
mov esi, ecx
mov eax, dword [0xa7214c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ebp, dword [eax]
mov eax, 0x3e8
movzx edx, byte [esi]
add eax, 0xffffffff
cmp edx, 0x29
je 0x4e8406
cmp edx, 0x2c
jne 0x4e83e8
mov edx, 4
mov dword [esp + 0x5c], edx
jmp 0x4e840f
cmp edx, 0xff
jne 0x4e83fb
mov edx, 0xffffffff
mov dword [esp + 0x5c], edx
jmp 0x4e840f
mov edx, 0xfffffffe
mov dword [esp + 0x5c], edx
jmp 0x4e840f
mov edx, 3
mov dword [esp + 0x5c], edx
test edx, edx
jl 0x4e86d3
movzx edx, word [esi + 6]
add esi, 8
add ebx, 8
add edi, 8
add ebp, 8
test edx, edx
jle 0x4e86cb
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
lea ecx, [ecx - 3]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], esi
mov eax, 3
mov esi, eax
mov ecx, ebx
push dword [ecx]
add ebx, 4
call fcn.007a908c
fstp dword [esp + 0x48]
mov ecx, edi
push dword [ecx]
add edi, 4
call fcn.007a908c
fstp dword [esp + 0x50]
mov ecx, ebp
push dword [ecx]
add ebp, 4
call fcn.007a908c
add esp, 0xc
fld dword [0xa72134]
fmul dword [esp + 0x44]
fld dword [0xa72138]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [0xa7213c]
fmulp st(2)
faddp st(1)
fstp dword [esp]
call fcn.007a909c
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x4c], ecx
add esi, 0xffffffff
test esi, esi
jg 0x4e844d
mov esi, ecx
mov ecx, dword [esp + 0x5c]
cmp ecx, 3
jl 0x4e8623
lea eax, [ebx + 4]
mov dword [esp + 0x50], eax
push dword [ebx]
call fcn.007a908c
fstp dword [esp + 0x48]
lea eax, [edi + 4]
mov dword [esp + 0x58], eax
push dword [edi]
call fcn.007a908c
fstp dword [esp + 0x50]
lea eax, [ebp + 4]
mov dword [esp + 0x60], eax
push dword [ebp]
call fcn.007a908c
fld dword [0xa72134]
fmul dword [esp + 0x50]
fld dword [0xa72138]
fmul dword [esp + 0x54]
faddp st(1)
fld dword [0xa7213c]
fmulp st(2)
faddp st(1)
mov eax, dword [esp + 0x5c]
fstp dword [esp + 0x10]
push dword [eax]
call fcn.007a908c
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x64]
push dword [eax]
call fcn.007a908c
fstp dword [esp + 0x5c]
mov eax, dword [esp + 0x6c]
push dword [eax]
call fcn.007a908c
fld dword [0xa72134]
fmul dword [esp + 0x5c]
fld dword [0xa72138]
fmul dword [esp + 0x60]
faddp st(1)
fld dword [0xa7213c]
fmulp st(2)
faddp st(1)
mov eax, dword [esp + 0x68]
fstp dword [esp + 0x20]
push dword [eax + 4]
lea ebx, [eax + 8]
call fcn.007a908c
fstp dword [esp + 0x60]
mov eax, dword [esp + 0x70]
push dword [eax + 4]
lea edi, [eax + 8]
call fcn.007a908c
fstp dword [esp + 0x68]
mov eax, dword [esp + 0x78]
push dword [eax + 4]
lea ebp, [eax + 8]
call fcn.007a908c
add esp, 0x24
fld dword [0xa72134]
fmul dword [esp + 0x44]
fld dword [0xa72138]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [0xa7213c]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0xc]
lea ecx, [esp + 4]
call fcn.0083173c
fcomp dword [0x90a460]
fnstsw ax
sahf
je 0x4e85e6
lea ecx, [esp + 4]
call fcn.0082df08
fstp st(0)
push dword [esp + 4]
call fcn.007a909c
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [esp + 0x5c], eax
push dword [esp + 0xc]
call fcn.007a909c
mov ecx, dword [esp + 0x60]
mov dword [ecx], eax
push dword [esp + 0x14]
call fcn.007a909c
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
lea esi, [eax + 8]
mov dword [eax + 4], edx
test ecx, ecx
jle 0x4e86a4
mov eax, ebx
movzx eax, word [eax + 2]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
add ebx, 4
fmul dword [0xa72134]
mov eax, edi
movzx eax, word [eax + 2]
add edi, 4
add ecx, 0xffffffff
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0xa72138]
faddp st(1)
mov eax, ebp
movzx eax, word [eax + 2]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
add ebp, 4
fmul dword [0xa7213c]
faddp st(1)
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp dword [esp + 0x30]
fldcw word [esp + 0x20]
movzx eax, word [esi]
mov edx, dword [esp + 0x30]
shl edx, 0x10
or edx, eax
mov eax, esi
add esi, 4
mov dword [eax], edx
test ecx, ecx
jle 0x4e86b4
add ecx, ecx
add ecx, ecx
add esi, ecx
add ebx, ecx
add edi, ecx
add ebp, ecx
mov eax, dword [esp + 0x3c]
add eax, 0xffffffff
mov dword [esp + 0x3c], eax
test eax, eax
jg 0x4e8442
mov eax, dword [esp + 0x38]
test eax, eax
jg 0x4e83cd
mov eax, 1
add esp, 0x60
pop ebx
pop ebp
pop esi
pop edi
ret