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

Disassembly:
sub esp, 0xe4
push ebx
push esi
push edi
push ebp
mov edx, dword [esp + 0x108]
mov ebp, dword [esp + 0x118]
mov eax, dword [esp + 0xf8]
mov esi, dword [esp + 0x110]
mov edi, dword [edx]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x14], edi
mov edx, dword [edx]
mov dword [esp + 0x18], edx
mov edx, edi
shl edx, 5
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
add edx, 0x20
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
inc edx
imul edx, dword [esp + 0x20]
mov dword [esp + 0x24], edx
mov edx, edi
inc edx
inc ecx
imul edx, ecx
shl edx, 5
add edx, 8
cmp dword [ebp], 2
je 0x4e7df8
mov esi, dword [esi]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x20]
add esi, esi
sub eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
sub edx, 4
mov dword [esp + 0x38], esi
imul edx, dword [esp + 0x20]
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 8
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x18]
sub edx, 2
imul edx, dword [esp + 0x20]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x20]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x1c]
add edx, dword [esp + 0x40]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x1c]
add edx, dword [esp + 0x44]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x1c]
sub edx, 0x80
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x1c]
sub edx, 0x40
xor ebx, ebx
cmp dword [ebp], 3
mov dword [esp + 0x58], edx
sete bl
xor edx, edx
cmp dword [ebp], 4
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x5c], ebx
sete dl
mov dword [esp + 0x60], edx
xor edx, edx
cmp edi, 2
setne dl
dec ebp
xor eax, eax
cmp ebp, 8
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], edx
setle al
mov dword [esp + 0x6c], eax
xor eax, eax
cmp ebp, 7
mov ebp, edi
setle al
dec ebp
xor edx, edx
cmp ebp, 7
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x70], eax
setle dl
shl ebp, 2
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebp
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], edx
test edx, edx
mov edx, dword [esp + 0x7c]
jle 0x4e7dce
sub edx, dword [esp + 0x20]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x104]
add edx, edx
mov ebp, dword [esp + 0x104]
add edx, dword [esp + 0x30]
neg eax
add esi, eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x20]
lea esi, [esi + edx - 8]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x38]
add eax, dword [esp + 0x30]
neg esi
add ebp, esi
mov esi, dword [esp + 0x3c]
add esi, eax
add edx, dword [esp + 0x3c]
lea ebp, [ebp + eax - 8]
xor eax, eax
cmp dword [esp + 0x2c], 1
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x88], ebp
sete al
mov dword [esp + 0x8c], esi
and eax, dword [esp + 0x5c]
or eax, dword [esp + 0x60]
neg eax
mov dword [esp + 0x94], eax
add edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
add eax, eax
mov dword [esp + 0x98], edx
cdq
idiv dword [esp + 0x18]
mov dword [esp + 0x9c], eax
mov esi, dword [esp + 0x114]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
mov edi, dword [esp + 0x84]
lea esi, [esi + 0x90]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xa4], esi
mov esi, dword [esp + 0x84]
sub esi, eax
mov ebx, dword [esp + 0x10]
add esi, dword [esp + 0x8c]
sub edi, edx
mov edx, dword [esp + 0x20]
add edi, dword [esp + 0x90]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0xd0], edx
add edx, dword [esp + 0x20]
add eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xb0], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x30]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xa0], 2
mov dword [esp + 0xbc], esi
add ecx, eax
mov dword [esp + 0xc0], edi
mov dword [esp + 0xa8], 0x20
mov dword [esp + 0xd4], edx
mov dword [esp + 0xac], 0x40
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xc4], 0
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xb8]
mov ecx, dword [ecx + 8]
mov eax, dword [eax]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x4e7028
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0xa8]
test ecx, ecx
jle 0x4e74ed
add eax, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x20]
add eax, ebx
add ebp, dword [esp + 0x20]
add ebx, ebp
mov ebp, dword [esp + 0x20]
test edx, edx
jne 0x4e7016
fld qword [eax]
add eax, esi
fstp qword [ebx]
add ebx, ebp
fld qword [eax]
add eax, esi
fstp qword [ebx]
add ebx, ebp
fld qword [eax]
add eax, esi
fstp qword [ebx]
add ebx, ebp
fld qword [eax]
add eax, esi
fstp qword [ebx]
add ebx, ebp
fld qword [eax]
add eax, esi
fstp qword [ebx]
add ebx, ebp
fld qword [eax]
add eax, esi
fstp qword [ebx]
add ebx, ebp
fld qword [eax]
add eax, esi
fstp qword [ebx]
add ebx, ebp
fld qword [eax]
add eax, esi
fstp qword [ebx]
add ebx, ebp
fld qword [eax]
add eax, esi
fstp qword [ebx]
add ebx, ebp
sub ecx, 9
cmp ecx, 8
jg 0x4e6fbe
test ecx, ecx
jle 0x4e74ed
fld qword [eax]
add eax, esi
fstp qword [ebx]
add ebx, ebp
dec ecx
test ecx, ecx
jg 0x4e7016
jmp 0x4e74ed
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x68]
and edx, 1
je 0x4e720c
test esi, esi
jle 0x4e74ed
mov ecx, dword [esp + 0xac]
mov ebp, dword [esp + 0x100]
add ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x100]
mov ebx, dword [esp + 0xa8]
add ebp, ecx
mov ecx, dword [esp + 0xdc]
add ebp, dword [esp + 0x30]
mov edi, dword [esp + 0xb8]
add ebp, 0xfffffff8
add edx, dword [esp + 0x20]
add eax, edx
mov edx, dword [esp + 0xac]
add eax, dword [esp + 0x30]
add eax, 0xfffffff8
add ebx, dword [esp + 0x20]
add ebx, ecx
add edx, dword [esp + 0x20]
add edx, ecx
add edi, dword [esp + 0x20]
add edi, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xe4], ecx
test ecx, ecx
jne 0x4e71dd
fld qword [eax]
mov ecx, dword [esp + 0x20]
fadd qword [ebp]
add ebp, ecx
fdivr qword [eax]
add eax, ecx
fstp st(1)
fld qword [ebx]
add ebx, ecx
fstp st(2)
fld qword [edx]
add edx, ecx
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, ecx
fld qword [eax]
fadd qword [ebp]
add ebp, ecx
fdivr qword [eax]
add eax, ecx
fstp st(1)
fld qword [ebx]
add ebx, ecx
fstp st(2)
fld qword [edx]
add edx, ecx
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, ecx
fld qword [eax]
fadd qword [ebp]
add ebp, ecx
fdivr qword [eax]
add eax, ecx
fstp st(1)
fld qword [ebx]
add ebx, ecx
fstp st(2)
fld qword [edx]
add edx, ecx
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, ecx
fld qword [eax]
fadd qword [ebp]
add ebp, ecx
fdivr qword [eax]
add eax, ecx
fstp st(1)
fld qword [ebx]
add ebx, ecx
fstp st(2)
fld qword [edx]
add edx, ecx
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, ecx
fld qword [eax]
fadd qword [ebp]
add ebp, ecx
fdivr qword [eax]
add eax, ecx
fstp st(1)
fld qword [ebx]
add ebx, ecx
fstp st(2)
fld qword [edx]
add edx, ecx
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, ecx
fld qword [eax]
fadd qword [ebp]
add ebp, ecx
fdivr qword [eax]
add eax, ecx
fstp st(1)
fld qword [ebx]
add ebx, ecx
fstp st(2)
fld qword [edx]
add edx, ecx
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, ecx
fld qword [eax]
fadd qword [ebp]
add ebp, ecx
fdivr qword [eax]
add eax, ecx
fstp st(1)
fld qword [ebx]
add ebx, ecx
fstp st(2)
fld qword [edx]
add edx, ecx
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, ecx
fld qword [eax]
fadd qword [ebp]
add ebp, ecx
fdivr qword [eax]
add eax, ecx
fstp st(1)
fld qword [ebx]
add ebx, ecx
fstp st(2)
fld qword [edx]
add edx, ecx
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, ecx
sub esi, 8
cmp esi, 7
jg 0x4e70bd
test esi, esi
jle 0x4e74ed
fld qword [eax]
mov ecx, dword [esp + 0x20]
fadd qword [ebp]
add ebp, ecx
fdivr qword [eax]
add eax, ecx
fstp st(1)
fld qword [ebx]
add ebx, ecx
fstp st(2)
fld qword [edx]
add edx, ecx
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, ecx
dec esi
test esi, esi
jg 0x4e71dd
jmp 0x4e74ed
test eax, eax
jne 0x4e73d4
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0xa8]
test ebx, ebx
jle 0x4e74ed
add esi, dword [esp + 0x20]
mov edi, dword [esp + 0x100]
mov edx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x100]
add edi, esi
mov eax, dword [esp + 0xa8]
add edi, dword [esp + 0x30]
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0xb8]
add edi, 0xfffffff8
add edx, dword [esp + 0x20]
add ebp, edx
mov edx, dword [esp + 0x70]
add ebp, dword [esp + 0x30]
mov dword [esp + 0xe4], edx
add ebp, 0xfffffff8
add eax, dword [esp + 0x20]
add eax, ecx
add esi, dword [esp + 0x20]
add esi, ecx
mov ecx, dword [esp + 0x20]
test edx, edx
jne 0x4e73a6
fld qword [ebp]
mov edx, dword [esp + 0x20]
fadd qword [edi]
add edi, edx
fdivr qword [ebp]
add ebp, edx
fstp st(1)
fld qword [esi]
fstp st(2)
fld qword [eax]
add eax, ecx
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi]
add esi, edx
fld qword [ebp]
fadd qword [edi]
add edi, edx
fdivr qword [ebp]
add ebp, edx
fstp st(1)
fld qword [esi]
fstp st(2)
fld qword [eax]
add eax, ecx
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi]
add esi, edx
fld qword [ebp]
fadd qword [edi]
add edi, edx
fdivr qword [ebp]
add ebp, edx
fstp st(1)
fld qword [esi]
fstp st(2)
fld qword [eax]
add eax, ecx
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi]
add esi, edx
fld qword [ebp]
fadd qword [edi]
add edi, edx
fdivr qword [ebp]
add ebp, edx
fstp st(1)
fld qword [esi]
fstp st(2)
fld qword [eax]
add eax, ecx
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi]
add esi, edx
fld qword [ebp]
fadd qword [edi]
add edi, edx
fdivr qword [ebp]
add ebp, edx
fstp st(1)
fld qword [esi]
fstp st(2)
fld qword [eax]
add eax, ecx
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi]
add esi, edx
fld qword [ebp]
fadd qword [edi]
add edi, edx
fdivr qword [ebp]
add ebp, edx
fstp st(1)
fld qword [esi]
fstp st(2)
fld qword [eax]
add eax, ecx
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi]
add esi, edx
fld qword [ebp]
fadd qword [edi]
add edi, edx
fdivr qword [ebp]
add ebp, edx
fstp st(1)
fld qword [esi]
fstp st(2)
fld qword [eax]
add eax, ecx
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi]
add esi, edx
fld qword [ebp]
fadd qword [edi]
add edi, edx
fdivr qword [ebp]
add ebp, edx
fstp st(1)
fld qword [esi]
fstp st(2)
fld qword [eax]
add eax, ecx
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi]
add esi, edx
sub ebx, 8
cmp ebx, 7
jg 0x4e728e
test ebx, ebx
jle 0x4e74ed
fld qword [ebp]
mov edx, dword [esp + 0x20]
fadd qword [edi]
add edi, edx
fdivr qword [ebp]
add ebp, edx
fstp st(1)
fld qword [esi]
fstp st(2)
fld qword [eax]
add eax, ecx
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi]
add esi, edx
dec ebx
test ebx, ebx
jg 0x4e73a6
jmp 0x4e74ed
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0xb8]
test ebx, ebx
jle 0x4e74ed
add esi, dword [esp + 0x20]
mov edi, dword [esp + 0xac]
mov eax, dword [esp + 0x100]
mov ebp, dword [esp + 0xa8]
add esi, dword [esp + 0xfc]
mov edx, dword [esp + 0x100]
mov ecx, dword [esp + 0x30]
add esi, 8
add edi, dword [esp + 0x20]
mov dword [esp + 0xe4], esi
mov esi, dword [esp + 0xb8]
add eax, edi
add ebp, dword [esp + 0x20]
mov edi, dword [esp + 0xa8]
add edx, ebp
lea ecx, [eax + ecx - 8]
add edx, dword [esp + 0x30]
mov eax, dword [esp + 0xdc]
mov ebp, dword [esp + 0xac]
add edx, 0xfffffff8
add edi, dword [esp + 0x20]
add edi, eax
add ebp, dword [esp + 0x20]
add ebp, eax
add esi, dword [esp + 0x20]
add esi, eax
mov eax, dword [esp + 0xe4]
fld qword [eax]
fadd qword [0x57b0f8]
fnstcw word [esp + 0xec]
mov ax, word [esp + 0xec]
or ax, 0xc00
mov word [esp + 0xee], ax
fldcw word [esp + 0xee]
fistp dword [esp + 0xe8]
cmp dword [esp + 0xe8], 0
fldcw word [esp + 0xec]
je 0x4e74c4
fld qword [edx]
fadd qword [ecx]
fdivr qword [edx]
fstp st(1)
fld qword [edi]
fstp st(2)
fld qword [ebp]
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [esi]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0xe4]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x20]
add ecx, eax
add edx, eax
add edi, eax
add ebp, eax
add esi, eax
dec ebx
test ebx, ebx
jg 0x4e7461
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x68]
and eax, 1
je 0x4e761b
test esi, esi
jle 0x4e7909
mov ecx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb0]
mov edi, dword [esp + 0xb8]
mov eax, dword [esp + 0x70]
fld qword [ecx]
add edi, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
fst st(1)
fadd qword [ebp]
add edi, dword [esp + 0xdc]
test eax, eax
fdivp st(1)
jne 0x4e75f0
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xc0]
fld qword [ebx]
fstp st(2)
fld qword [ebp]
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, edx
fld qword [ebx]
fstp st(2)
fld qword [ebp]
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, edx
fld qword [ebx]
fstp st(2)
fld qword [ebp]
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, edx
fld qword [ebx]
fstp st(2)
fld qword [ebp]
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, edx
fld qword [ebx]
fstp st(2)
fld qword [ebp]
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, edx
fld qword [ebx]
fstp st(2)
fld qword [ebp]
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, edx
fld qword [ebx]
fstp st(2)
fld qword [ebp]
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, edx
fld qword [ebx]
fstp st(2)
fld qword [ebp]
fsub st(2)
fst st(3)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, edx
sub esi, 8
cmp esi, 7
jg 0x4e7544
test esi, esi
jle 0x4e7909
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xc0]
fld qword [ebx]
fstp st(2)
fld qword [ebp]
fsub st(2)
fst st(3)
fmul st(1)
fsubr st(2)
fstp qword [edi]
add edi, edx
dec esi
test esi, esi
jg 0x4e75f0
jmp 0x4e7909
cmp dword [esp + 0xe0], 0
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x104]
jne 0x4e7807
test ecx, ecx
jle 0x4e7909
add ebp, dword [esp + 0xcc]
mov eax, dword [esp + 0x104]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0xd4]
add ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x78]
lea edi, [esi + edi + 0x20]
add ebp, 0x18
add eax, dword [esp + 0xc4]
add eax, dword [esp + 0x30]
add eax, 0x18
add esi, dword [esp + 0xd0]
add esi, 0x20
test edx, edx
jne 0x4e77d6
fld qword [eax]
sub ecx, 8
lea eax, [eax + 0x100]
fadd qword [ebp]
add ebp, 0x100
cmp ecx, 7
lea edi, [edi + 0x100]
lea esi, [esi + 0x100]
fdivr qword [eax - 0x100]
fstp st(1)
fld qword [esi - 0x100]
fstp st(2)
fld qword [edi - 0x100]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 0x100]
fld qword [eax - 0xe0]
fadd qword [ebp - 0xe0]
fdivr qword [eax - 0xe0]
fstp st(1)
fld qword [esi - 0xe0]
fstp st(2)
fld qword [edi - 0xe0]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 0xe0]
fld qword [eax - 0xc0]
fadd qword [ebp - 0xc0]
fdivr qword [eax - 0xc0]
fstp st(1)
fld qword [esi - 0xc0]
fstp st(2)
fld qword [edi - 0xc0]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 0xc0]
fld qword [eax - 0xa0]
fadd qword [ebp - 0xa0]
fdivr qword [eax - 0xa0]
fstp st(1)
fld qword [esi - 0xa0]
fstp st(2)
fld qword [edi - 0xa0]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 0xa0]
fld qword [eax - 0x80]
fadd qword [ebp - 0x80]
fdivr qword [eax - 0x80]
fstp st(1)
fld qword [esi - 0x80]
fstp st(2)
fld qword [edi - 0x80]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 0x80]
fld qword [eax - 0x60]
fadd qword [ebp - 0x60]
fdivr qword [eax - 0x60]
fstp st(1)
fld qword [esi - 0x60]
fstp st(2)
fld qword [edi - 0x60]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 0x60]
fld qword [eax - 0x40]
fadd qword [ebp - 0x40]
fdivr qword [eax - 0x40]
fstp st(1)
fld qword [esi - 0x40]
fstp st(2)
fld qword [edi - 0x40]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 0x40]
fld qword [eax - 0x20]
fadd qword [ebp - 0x20]
fdivr qword [eax - 0x20]
fstp st(1)
fld qword [esi - 0x20]
fstp st(2)
fld qword [edi - 0x20]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 0x20]
jg 0x4e7689
test ecx, ecx
jle 0x4e7909
fld qword [eax]
dec ecx
fadd qword [ebp]
lea ebp, [ebp + 0x20]
test ecx, ecx
lea eax, [eax + 0x20]
lea edi, [edi + 0x20]
lea esi, [esi + 0x20]
fdivr qword [eax - 0x20]
fstp st(1)
fld qword [esi - 0x20]
fstp st(2)
fld qword [edi - 0x20]
fsub st(2)
fmul st(1)
fadd st(2)
fstp qword [esi - 0x20]
jg 0x4e77d6
jmp 0x4e7909
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0xc4]
test edx, edx
jle 0x4e7909
add esi, dword [esp + 0xfc]
mov edi, dword [esp + 0x104]
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x30]
add esi, 0x28
add edi, dword [esp + 0xc8]
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0xd4]
add edi, dword [esp + 0x30]
lea ebx, [ebp + ebx + 0x20]
add edi, 0x18
add eax, dword [esp + 0xcc]
lea ecx, [eax + ecx + 0x18]
mov eax, dword [esp + 0xd8]
lea eax, [ebp + eax + 0x20]
add ebp, dword [esp + 0xd0]
mov dword [esp + 0xe0], eax
add ebp, 0x20
fld qword [esi]
fadd qword [0x57b0f8]
fnstcw word [esp + 0xe8]
mov ax, word [esp + 0xe8]
or ax, 0xc00
mov word [esp + 0xea], ax
mov eax, dword [esp + 0xe0]
fldcw word [esp + 0xea]
fistp dword [esp + 0xe4]
cmp dword [esp + 0xe4], 0
fldcw word [esp + 0xe8]
je 0x4e78e0
fld qword [ecx]
fadd qword [edi]
fdivr qword [ecx]
fstp st(1)
fld qword [ebx]
fstp st(2)
fld qword [eax]
fsub st(2)
fmul st(1)
fsubr st(2)
fstp qword [ebp]
mov eax, dword [esp + 0xe0]
dec edx
lea esi, [esi + 0x20]
lea edi, [edi + 0x20]
lea eax, [eax + 0x20]
lea ecx, [ecx + 0x20]
lea ebx, [ebx + 0x20]
mov dword [esp + 0xe0], eax
lea ebp, [ebp + 0x20]
test edx, edx
jg 0x4e787d
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0xa4]
add ebx, dword [esp + 0xa8]
add edi, dword [esp + 0xac]
add eax, 4
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xa4], eax
mov ebp, dword [esp + 0x50]
add ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xac], edi
add ebp, dword [esp + 0xb4]
mov esi, dword [esp + 0x50]
add eax, dword [esp + 0xb8]
mov edi, dword [esp + 0x4c]
add esi, dword [esp + 0xbc]
add edi, dword [esp + 0xc0]
mov dword [esp + 0xb4], ebp
mov edx, dword [esp + 0x48]
mov dword [esp + 0xa8], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xc0], edi
add edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xb0], ecx
add ebp, dword [esp + 0xc8]
mov edi, dword [esp + 0x48]
mov dword [esp + 0xb8], eax
add ebx, dword [esp + 0xcc]
mov ecx, dword [esp + 0x44]
add edi, dword [esp + 0xd0]
mov eax, dword [esp + 0x40]
mov dword [esp + 0xbc], esi
add ecx, dword [esp + 0xd4]
add eax, dword [esp + 0xd8]
mov esi, dword [esp + 0xa0]
dec esi
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xa0], esi
test esi, esi
jg 0x4e6f5b
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x84]
mov dword [esp + 0xa0], edx
test edx, edx
mov edx, dword [esp + 0x14]
jle 0x4e7da5
add edx, edx
mov dword [esp + 0xa4], eax
mov eax, edx
cdq
mov dword [esp + 0xa8], 0xffffffff
idiv dword [esp + 0x14]
xor edx, edx
cmp eax, 6
mov dword [esp + 0xac], eax
setle dl
mov dword [esp + 0xb0], edx
mov eax, dword [esp + 0xac]
mov dword [esp + 0xb4], eax
test eax, eax
mov eax, dword [esp + 0xa8]
jle 0x4e7d6a
cmp eax, 1
jge 0x4e7a9a
mov eax, 1
mov ecx, dword [esp + 0xdc]
imul eax, dword [esp + 0x20]
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa4]
mov edi, dword [esp + 0x3c]
mov ebx, 0xffffffff
add ecx, eax
add esi, dword [esp + 0x98]
add ebp, dword [esp + 0x30]
mov dword [esp + 0xb8], esi
add edi, ebp
add eax, dword [esp + 0x84]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xbc], edi
add eax, dword [esp + 0x30]
add eax, ebp
cmp dword [esp + 0xb0], 0
mov dword [esp + 0xc0], eax
jne 0x4e7d05
mov ebp, ebx
cmp ebx, 1
jge 0x4e7b0c
mov ebp, 1
mov edi, ebp
mov eax, dword [esp + 0xbc]
shl edi, 5
mov esi, dword [esp + 0xb8]
shl ebp, 5
mov edx, dword [esp + 0x1c]
fld qword [eax + edi]
mov edi, dword [esp + 0xc0]
fadd qword [ecx]
fsub qword [edi + ebp]
mov ebp, dword [esp + 0x1c]
add ecx, ebp
mov ebp, dword [esp + 0x14]
fstp qword [esi]
add esi, edx
add ebx, ebp
mov dword [esp + 0xb8], esi
mov edx, ebx
cmp ebx, 1
jge 0x4e7b58
mov edx, 1
mov esi, dword [esp + 0x1c]
mov ebp, edx
shl ebp, 5
shl edx, 5
fld qword [eax + ebp]
mov ebp, dword [esp + 0xb8]
fadd qword [ecx]
fsub qword [edi + edx]
mov edx, dword [esp + 0x1c]
add ecx, edx
add esi, dword [esp + 0xb8]
fstp qword [ebp]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0xb8], esi
add ebx, ebp
mov edx, ebx
cmp ebx, 1
jge 0x4e7b9c
mov edx, 1
mov esi, edx
mov ebp, dword [esp + 0xb8]
shl esi, 5
shl edx, 5
fld qword [eax + esi]
mov esi, dword [esp + 0x1c]
fadd qword [ecx]
fsub qword [edi + edx]
mov edx, dword [esp + 0x1c]
add ecx, edx
add esi, dword [esp + 0xb8]
fstp qword [ebp]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0xb8], esi
add ebx, ebp
mov edx, ebx
cmp ebx, 1
jge 0x4e7be0
mov edx, 1
mov esi, edx
mov ebp, dword [esp + 0xb8]
shl esi, 5
shl edx, 5
fld qword [eax + esi]
mov esi, dword [esp + 0x1c]
fadd qword [ecx]
fsub qword [edi + edx]
mov edx, dword [esp + 0x1c]
add ecx, edx
add esi, dword [esp + 0xb8]
fstp qword [ebp]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0xb8], esi
add ebx, ebp
mov edx, ebx
cmp ebx, 1
jge 0x4e7c24
mov edx, 1
mov esi, edx
mov ebp, dword [esp + 0xb8]
shl esi, 5
shl edx, 5
fld qword [eax + esi]
mov esi, dword [esp + 0x1c]
fadd qword [ecx]
fsub qword [edi + edx]
mov edx, dword [esp + 0x1c]
add ecx, edx
add esi, dword [esp + 0xb8]
fstp qword [ebp]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0xb8], esi
add ebx, ebp
mov edx, ebx
cmp ebx, 1
jge 0x4e7c68
mov edx, 1
mov esi, edx
mov ebp, dword [esp + 0xb8]
shl esi, 5
shl edx, 5
fld qword [eax + esi]
mov esi, dword [esp + 0x1c]
fadd qword [ecx]
fsub qword [edi + edx]
mov edx, dword [esp + 0x1c]
add ecx, edx
add esi, dword [esp + 0xb8]
fstp qword [ebp]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0xb8], esi
add ebx, ebp
mov edx, ebx
cmp ebx, 1
jge 0x4e7cac
mov edx, 1
mov esi, edx
shl esi, 5
shl edx, 5
fld qword [eax + esi]
mov eax, dword [esp + 0xb8]
mov esi, dword [esp + 0x1c]
fadd qword [ecx]
add ecx, esi
fsub qword [edi + edx]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
add edi, dword [esp + 0xb8]
add ebx, edx
fstp qword [eax]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xb8], edi
sub eax, 7
mov dword [esp + 0xb4], eax
cmp eax, 6
jg 0x4e7b00
test eax, eax
jle 0x4e7d6a
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xc0]
mov edx, ebx
cmp ebx, 1
jge 0x4e7d1f
mov edx, 1
mov eax, edx
mov ebp, dword [esp + 0xb8]
shl eax, 5
shl edx, 5
fld qword [esi + eax]
mov eax, dword [esp + 0x1c]
fadd qword [ecx]
fsub qword [edi + edx]
mov edx, dword [esp + 0x1c]
add ecx, edx
add eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
fstp qword [ebp]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0xb8], eax
add ebx, ebp
dec edx
mov dword [esp + 0xb4], edx
test edx, edx
jg 0x4e7d13
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
add ebp, dword [esp + 0xa4]
add eax, dword [esp + 0xa8]
mov esi, dword [esp + 0xa0]
dec esi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa0], esi
test esi, esi
jg 0x4e7a71
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x80]
add ecx, dword [esp + 0x84]
dec edx
mov dword [esp + 0x80], edx
test edx, edx
mov dword [esp + 0x84], ecx
jg 0x4e6e70
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
inc ebx
mov ebp, dword [esp + 0x28]
add edi, 8
dec ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], ebp
test ebp, ebp
jg 0x4e6db3
jmp 0x4e8214
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
imul edi, dword [esp + 0x20]
sub ecx, 2
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x10], 2
mov dword [esp + 0x28], 0x10
imul ecx, dword [esp + 0x20]
sub ebp, 0x40
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x110]
mov dword [esp + 0x34], ebp
mov edi, dword [edi]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
xor ecx, ecx
cmp dword [esp + 0x14], 2
setne cl
dec edi
mov dword [esp + 0x3c], ecx
xor ecx, ecx
cmp edi, 8
mov dword [esp + 0x18], edi
setle cl
mov dword [esp + 0x40], ecx
xor ecx, ecx
cmp edi, 7
mov edi, dword [esp + 0x14]
setle cl
dec edi
mov dword [esp + 0x44], ecx
xor ecx, ecx
cmp edi, 7
mov dword [esp + 0x14], edi
setle cl
sub eax, edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
add esi, ebx
mov dword [esp + 0x50], 2
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], 0x20
mov dword [esp + 0x64], esi
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], 0
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x68], esi
test esi, esi
mov ecx, dword [esp + 0x60]
jle 0x4e81b5
add edx, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
add ecx, dword [esp + 0x24]
add eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x4c]
add eax, ebp
mov ebp, dword [esp + 0x58]
add ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
add edi, ebp
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x18]
test eax, eax
jne 0x4e7fb3
test ebp, ebp
jle 0x4e808c
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x20]
add eax, esi
mov ebx, dword [esp + 0x40]
add eax, dword [esp + 0x74]
add edi, esi
add edi, dword [esp + 0x78]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
test ebx, ebx
jne 0x4e7fa1
fld qword [eax]
add eax, ecx
fstp qword [edi]
add edi, edx
fld qword [eax]
add eax, ecx
fstp qword [edi]
add edi, edx
fld qword [eax]
add eax, ecx
fstp qword [edi]
add edi, edx
fld qword [eax]
add eax, ecx
fstp qword [edi]
add edi, edx
fld qword [eax]
add eax, ecx
fstp qword [edi]
add edi, edx
fld qword [eax]
add eax, ecx
fstp qword [edi]
add edi, edx
fld qword [eax]
add eax, ecx
fstp qword [edi]
add edi, edx
fld qword [eax]
add eax, ecx
fstp qword [edi]
add edi, edx
fld qword [eax]
add eax, ecx
fstp qword [edi]
add edi, edx
sub ebp, 9
cmp ebp, 8
jg 0x4e7f49
test ebp, ebp
jle 0x4e808c
fld qword [eax]
add eax, ecx
fstp qword [edi]
add edi, edx
dec ebp
test ebp, ebp
jg 0x4e7fa1
jmp 0x4e808c
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
test edi, edi
jle 0x4e808c
add eax, esi
mov edx, dword [esp + 0x20]
add eax, dword [esp + 0x74]
add edx, esi
mov ebx, dword [esp + 0x44]
add edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x20]
test ebx, ebx
jne 0x4e8077
fld qword [edx]
fmul qword [0x57b0f0]
fsub qword [eax]
add eax, ebp
fstp qword [edx]
add edx, ecx
fld qword [edx]
fmul qword [0x57b0f0]
fsub qword [eax]
add eax, ebp
fstp qword [edx]
add edx, ecx
fld qword [edx]
fmul qword [0x57b0f0]
fsub qword [eax]
add eax, ebp
fstp qword [edx]
add edx, ecx
fld qword [edx]
fmul qword [0x57b0f0]
fsub qword [eax]
add eax, ebp
fstp qword [edx]
add edx, ecx
fld qword [edx]
fmul qword [0x57b0f0]
fsub qword [eax]
add eax, ebp
fstp qword [edx]
add edx, ecx
fld qword [edx]
fmul qword [0x57b0f0]
fsub qword [eax]
add eax, ebp
fstp qword [edx]
add edx, ecx
fld qword [edx]
fmul qword [0x57b0f0]
fsub qword [eax]
add eax, ebp
fstp qword [edx]
add edx, ecx
fld qword [edx]
fmul qword [0x57b0f0]
fsub qword [eax]
add eax, ebp
fstp qword [edx]
add edx, ecx
sub edi, 8
cmp edi, 7
jg 0x4e7fe7
test edi, edi
jle 0x4e808c
fld qword [edx]
fmul qword [0x57b0f0]
fsub qword [eax]
add eax, ebp
fstp qword [edx]
add edx, ecx
dec edi
test edi, edi
jg 0x4e8077
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x64]
test edi, edi
jle 0x4e8186
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x48]
lea edx, [eax + edx + 0x20]
add eax, dword [esp + 0x70]
add eax, 0x20
test ecx, ecx
jne 0x4e816d
fld qword [eax]
sub edi, 8
lea edx, [edx + 0x100]
fmul qword [0x57b0f0]
cmp edi, 7
lea eax, [eax + 0x100]
fsub qword [edx - 0x100]
fstp qword [eax - 0x100]
fld qword [eax - 0xe0]
fmul qword [0x57b0f0]
fsub qword [edx - 0xe0]
fstp qword [eax - 0xe0]
fld qword [eax - 0xc0]
fmul qword [0x57b0f0]
fsub qword [edx - 0xc0]
fstp qword [eax - 0xc0]
fld qword [eax - 0xa0]
fmul qword [0x57b0f0]
fsub qword [edx - 0xa0]
fstp qword [eax - 0xa0]
fld qword [eax - 0x80]
fmul qword [0x57b0f0]
fsub qword [edx - 0x80]
fstp qword [eax - 0x80]
fld qword [eax - 0x60]
fmul qword [0x57b0f0]
fsub qword [edx - 0x60]
fstp qword [eax - 0x60]
fld qword [eax - 0x40]
fmul qword [0x57b0f0]
fsub qword [edx - 0x40]
fstp qword [eax - 0x40]
fld qword [eax - 0x20]
fmul qword [0x57b0f0]
fsub qword [edx - 0x20]
fstp qword [eax - 0x20]
jg 0x4e80b9
test edi, edi
jle 0x4e8186
fld qword [eax]
dec edi
lea edx, [edx + 0x20]
fmul qword [0x57b0f0]
test edi, edi
lea eax, [eax + 0x20]
fsub qword [edx - 0x20]
fstp qword [eax - 0x20]
jg 0x4e816d
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x24]
add esi, ebp
mov edi, dword [esp + 0x24]
add ebx, dword [esp + 0x6c]
add edi, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
dec edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x68], edx
test edx, edx
jg 0x4e7f0d
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
add ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
add edi, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
add edx, dword [esp + 0x5c]
add esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x54], ebx
dec ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x50], ecx
test ecx, ecx
mov eax, dword [esp + 0x28]
jg 0x4e7ebd
mov ebp, dword [esp + 0x10]
add eax, 8
dec ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ebp
test ebp, ebp
jg 0x4e7e87
pop ebp
ffree st(2)
ffree st(1)
ffree st(0)
pop edi
pop esi
pop ebx
add esp, 0xe4
ret 0x24