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

Disassembly:
sub esp, 0xd4
mov ecx, 0xfffffffc
push ebx
push esi
push edi
push ebp
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0xf0]
mov edi, dword [esp + 0xf4]
mov esi, dword [esp + 0x134]
mov edx, dword [edx]
mov eax, dword [eax]
mov dword [esp + 0x18], edx
mov edx, eax
shl edx, 3
mov edi, dword [edi]
mov dword [esp + 0x1c], edx
add edx, 0x18
mov dword [esp + 0x20], edx
mov edx, edi
add edx, 3
mov dword [esp + 0x14], edi
imul edx, dword [esp + 0x20]
mov esi, dword [esi]
mov dword [esp + 0x24], edx
mov edx, eax
add edx, 3
sub ecx, dword [esp + 0x14]
imul edx, ecx
mov ecx, edi
shl edx, 3
sub edx, 8
shl ecx, 2
mov dword [esp + 0x28], edx
sub ecx, 4
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
dec edx
imul edx, dword [esp + 0x2c]
mov ecx, edi
mov edi, 4
dec ecx
imul ecx, dword [esp + 0x18]
lea edi, [edi + ecx*4]
mov ecx, dword [esp + 0x1c]
imul ecx, dword [esp + 0x14]
mov dword [esp + 0x30], edi
mov edi, 8
mov dword [esp + 0x34], ecx
imul ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x18]
inc ecx
imul ecx, dword [esp + 0x14]
inc ecx
imul ecx, eax
lea edi, [edi + ecx*8]
mov ecx, eax
shl ecx, 2
mov dword [esp + 0x3c], edi
sub ecx, 4
mov edi, eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x18]
dec ecx
imul ecx, dword [esp + 0x40]
dec edi
imul edi, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov ecx, 4
lea edi, [ecx + edi*4]
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x48], edi
imul ecx, dword [esp + 0x40]
mov edi, 4
mov dword [esp + 0x4c], ecx
mov ecx, eax
dec ecx
imul ecx, dword [esp + 0x14]
lea edi, [edi + ecx*4]
mov ecx, eax
dec ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x18]
dec ecx
cmp esi, 2
mov dword [esp + 0x5c], ecx
jle 0x4c892c
mov esi, 2
cmp esi, 0xffffffff
jge 0x4c8936
mov esi, 0xffffffff
mov ecx, esi
mov dword [esp + 0x60], esi
test ecx, ecx
jge 0x4c8942
neg ecx
mov esi, ecx
mov dword [esp + 0x64], ecx
add esi, esi
mov ecx, 1
sub ecx, esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x68], ecx
xor ecx, ecx
fild dword [esp + 0x68]
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x68], esi
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
fstp st(1)
setle cl
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x6c], ecx
test ecx, ecx
mov ecx, dword [esp + 0x2c]
jne 0x4c8e95
add ecx, edx
add edx, edx
add edx, dword [esp + 0x2c]
add edi, dword [esp + 0x38]
add ebx, ebx
mov dword [esp + 0x70], ecx
add ebx, dword [esp + 0x34]
mov dword [esp + 0x74], edx
shl ebp, 2
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ebx
sub ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x124]
add ebp, dword [esp + 0x34]
sub ebx, dword [esp + 0x28]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x80], ebp
lea ebx, [ebx + eax*8]
mov eax, dword [esp + 0x10c]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x94], eax
test eax, eax
mov eax, dword [esp + 0x84]
jle 0x4c8e30
add eax, dword [esp + 0x20]
sub ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0xfc]
add ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x88]
mov dword [esp + 0xb4], eax
add ecx, 4
add ebp, eax
sub esi, dword [esp + 0x30]
lea edx, [edi + eax]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x98], edx
add esi, dword [esp + 0x74]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ebp
add esi, 4
add edi, dword [esp + 0x1c]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], edi
mov edi, dword [esp + 0x7c]
add edi, dword [esp + 0x1c]
mov dword [esp + 0xac], edi
mov edi, dword [esp + 0x80]
add edi, dword [esp + 0x1c]
mov dword [esp + 0xb0], edi
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x118]
mov dword [esp + 0xb8], 1
test esi, esi
mov edi, dword [esp + 0x128]
jle 0x4c8d89
sub eax, dword [esp + 0x28]
sub edi, dword [esp + 0x28]
mov edx, dword [esp + 0x12c]
mov ecx, dword [esp + 0xb4]
add edi, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb4]
lea ecx, [eax + ecx + 0x10]
mov eax, dword [esp + 0x88]
add edi, 8
sub edx, dword [esp + 0x28]
lea ebp, [eax + ebp + 8]
mov eax, dword [esp + 0x90]
add edx, dword [esp + 0xb4]
mov dword [esp + 0xc0], edi
mov ebx, dword [esp + 0xa8]
mov edi, dword [esp + 0xac]
add edx, 8
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0xb0]
lea ebx, [eax + ebx + 8]
lea edi, [eax + edi + 8]
lea edx, [eax + edx + 8]
mov eax, dword [esp + 0x130]
sub eax, dword [esp + 0x28]
mov dword [esp + 0xbc], ebx
add eax, dword [esp + 0xb4]
add eax, 8
mov dword [esp + 0xc8], eax
cmp dword [esp + 0xb8], 1
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 0x64]
jne 0x4c8c06
fld qword [eax]
cmp dword [esp + 0x60], 0
mov eax, dword [esp + 0x9c]
fstp st(2)
jle 0x4c8be6
mov eax, dword [eax]
shl eax, 2
mov ebx, dword [esp + 0xe8]
add eax, dword [esp + 0xec]
mov eax, dword [eax]
fld qword [ebx + eax*8 - 8]
fadd qword [0x57a438]
fnstcw word [esp + 0xd0]
mov ax, word [esp + 0xd0]
or ax, 0xc00
mov word [esp + 0xd2], ax
fldcw word [esp + 0xd2]
fistp dword [esp + 0xcc]
mov ebx, dword [esp + 0xcc]
fldcw word [esp + 0xd0]
test ebx, ebx
jle 0x4c8c0e
fld qword [ecx - 8]
fadd qword [ecx]
fdivr qword [ecx - 8]
fmul st(1)
fstp st(2)
fld qword [ebp]
fstp st(3)
fld qword [ebp + 8]
fsub st(3)
fmul st(2)
fadd st(3)
jmp 0x4c8c0c
fld qword [0x596968]
fstp st(2)
mov ebx, dword [esp + 0xb8]
mov eax, dword [esp + 0xa0]
cmp ebx, dword [esp + 0x54]
mov ebx, dword [esp + 0x64]
jne 0x4c8cac
fld qword [eax]
cmp dword [esp + 0x60], 0
mov eax, dword [esp + 0xa4]
fstp qword [0x596968]
jle 0x4c8c99
mov eax, dword [eax]
shl eax, 2
mov ebx, dword [esp + 0xe8]
add eax, dword [esp + 0xec]
mov eax, dword [eax]
fld qword [ebx + eax*8 - 8]
fadd qword [0x57a438]
fnstcw word [esp + 0xd0]
mov ax, word [esp + 0xd0]
or ax, 0xc00
mov word [esp + 0xd2], ax
fldcw word [esp + 0xd2]
fistp dword [esp + 0xcc]
mov ebx, dword [esp + 0xcc]
fldcw word [esp + 0xd0]
test ebx, ebx
jle 0x4c8cca
fld qword [ebp]
fstp st(3)
fld st(1)
fsub st(3)
fmul st(1)
fadd st(3)
jmp 0x4c8cc4
fld qword [ecx - 8]
fadd qword [ecx]
fdivr qword [ecx - 8]
fstp st(3)
fld qword [ebp]
fstp st(4)
fld qword [ebp + 8]
fsub st(4)
fmul st(3)
fadd st(4)
fstp qword [0x596968]
mov eax, dword [esp + 0xbc]
mov ebx, dword [esp + 0xbc]
fld st(1)
fmul qword [eax]
mov eax, dword [esp + 0xc0]
fstp st(3)
fld qword [0x596968]
fmul qword [ebx + 8]
mov ebx, dword [esp + 0xc4]
fsub st(3)
fstp qword [eax]
fld st(1)
fmul qword [edi]
fstp st(3)
fld qword [0x596968]
fmul qword [edi + 8]
fsub st(3)
fstp qword [ebx]
mov ebx, dword [esp + 0xc8]
fld qword [edx]
fmulp st(2)
fld qword [0x596968]
fmul qword [edx + 8]
fsub st(2)
fstp qword [ebx]
mov ebx, dword [esp + 0xb8]
inc ebx
add ecx, 8
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0xbc]
add ebp, 8
add ebx, 8
mov dword [esp + 0xbc], ebx
add eax, 8
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0xc0], eax
add edi, 8
add ebx, 8
mov eax, dword [esp + 0xc8]
add edx, 8
add eax, 8
dec esi
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], eax
test esi, esi
jg 0x4c8b62
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x9c]
add ebx, dword [esp + 0x98]
mov esi, dword [esp + 0x20]
add eax, 4
mov edi, dword [esp + 0xa4]
add esi, dword [esp + 0xa0]
add edi, 4
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xa4], edi
add edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x1c]
add ebp, dword [esp + 0xac]
mov edi, dword [esp + 0x20]
add eax, dword [esp + 0xb0]
add edi, dword [esp + 0xb4]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x98], ebx
dec ecx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edi
mov dword [esp + 0x94], ecx
test ecx, ecx
jg 0x4c8a9e
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x2c]
add ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
add esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x34]
add edx, dword [esp + 0x78]
mov eax, dword [esp + 0x34]
add ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x24]
add eax, dword [esp + 0x80]
add edi, dword [esp + 0x84]
mov ecx, dword [esp + 0x68]
dec ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x68], ecx
test ecx, ecx
jg 0x4c89f6
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x2c], ebx
mov edi, dword [esp + 0x14]
jne 0x4c9487
add eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
imul edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
add edi, dword [esp + 0x24]
add edx, edx
add edx, dword [esp + 0x40]
add ecx, dword [esp + 0x38]
add ebp, ebp
mov dword [esp + 0x14], edi
add ebp, dword [esp + 0x34]
mov dword [esp + 0x44], edx
shl eax, 2
mov dword [esp + 0x68], ecx
sub eax, dword [esp + 0x38]
mov dword [esp + 0x70], ebp
add eax, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x110]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x80], eax
test eax, eax
mov eax, dword [esp + 0x124]
jle 0x4c9422
sub eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
add edx, eax
mov eax, dword [esp + 0x100]
mov ecx, edx
mov dword [esp + 0x84], edx
add ecx, 8
sub eax, dword [esp + 0x48]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x98], 8
lea ebp, [eax + ebp + 4]
mov eax, dword [esp + 0x124]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x8c], ebp
lea ebx, [eax + ebx + 8]
mov eax, dword [esp + 0x100]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x68]
lea esi, [eax + esi + 4]
mov eax, dword [esp + 0x11c]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x94], esi
add eax, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x7c]
add ebx, eax
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0x70]
add ebx, eax
add eax, dword [esp + 0x74]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x98]
mov dword [esp + 0xac], eax
test eax, eax
mov dword [esp + 0xb0], 1
jle 0x4c93b4
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x84]
mov ecx, eax
mov esi, dword [esp + 0x20]
add ecx, dword [esp + 0x98]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
add ecx, ecx
add ecx, dword [esp + 0x10]
add ebp, dword [esp + 0x20]
add edx, ebp
mov dword [esp + 0xb4], ecx
lea edi, [eax + ebp]
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x98]
lea esi, [eax + esi*2]
mov eax, dword [esp + 0x1c]
add eax, eax
mov dword [esp + 0xb8], esi
add eax, dword [esp + 0x98]
mov esi, dword [esp + 0xa0]
lea ecx, [esi + eax]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x98]
add ecx, dword [esp + 0x1c]
add esi, ecx
mov dword [esp + 0xc0], esi
mov esi, dword [esp + 0x128]
sub esi, dword [esp + 0x28]
lea ebx, [esi + ebp]
mov esi, dword [esp + 0x78]
add esi, ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0xc4], esi
lea esi, [ebx + eax]
add ebx, ecx
mov dword [esp + 0xc8], esi
mov esi, dword [esp + 0x12c]
sub esi, dword [esp + 0x28]
mov dword [esp + 0xcc], ebx
lea ebx, [esi + ebp]
mov esi, dword [esp + 0x78]
add esi, ebx
mov ebx, dword [esp + 0xa8]
add eax, ebx
add ebx, ecx
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x130]
sub eax, dword [esp + 0x28]
lea ecx, [eax + ebp]
mov ebp, dword [esp + 0x78]
add ebp, ecx
cmp dword [esp + 0xb0], 1
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
jne 0x4c91ab
fld qword [eax]
cmp dword [esp + 0x60], 0
mov eax, dword [esp + 0x64]
fstp st(2)
jle 0x4c9181
mov ecx, dword [ecx]
shl ecx, 2
mov eax, dword [esp + 0xe8]
add ecx, dword [esp + 0xec]
mov ecx, dword [ecx]
fld qword [eax + ecx*8 - 8]
fadd qword [0x57a438]
fnstcw word [esp + 0xd8]
mov ax, word [esp + 0xd8]
or ax, 0xc00
mov word [esp + 0xda], ax
fldcw word [esp + 0xda]
fistp dword [esp + 0xd4]
mov eax, dword [esp + 0xd4]
fldcw word [esp + 0xd8]
test eax, eax
mov ecx, dword [esp + 0xb4]
jle 0x4c91b3
fld qword [edi]
fadd qword [ecx]
mov ecx, dword [esp + 0xb8]
fdivr qword [edi]
fmul st(1)
fstp st(2)
fld qword [edx]
fstp st(3)
fld qword [ecx]
fsub st(3)
fmul st(2)
fadd st(3)
jmp 0x4c91b1
fld qword [0x596960]
fstp st(2)
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x90]
cmp eax, dword [esp + 0x58]
mov eax, dword [esp + 0x64]
jne 0x4c9250
fld qword [ecx]
cmp dword [esp + 0x60], 0
mov ecx, dword [esp + 0x94]
fstp qword [0x596960]
jle 0x4c923e
mov ecx, dword [ecx]
shl ecx, 2
mov eax, dword [esp + 0xe8]
add ecx, dword [esp + 0xec]
mov ecx, dword [ecx]
fld qword [eax + ecx*8 - 8]
fadd qword [0x57a438]
fnstcw word [esp + 0xd8]
mov ax, word [esp + 0xd8]
or ax, 0xc00
mov word [esp + 0xda], ax
fldcw word [esp + 0xda]
fistp dword [esp + 0xd4]
mov eax, dword [esp + 0xd4]
fldcw word [esp + 0xd8]
test eax, eax
jle 0x4c9278
fld qword [edx]
fstp st(3)
fld st(1)
fsub st(3)
fmul st(1)
fadd st(3)
jmp 0x4c9272
fld qword [edi]
mov ecx, dword [esp + 0xb4]
fadd qword [ecx]
mov ecx, dword [esp + 0xb8]
fdivr qword [edi]
fstp st(3)
fld qword [edx]
fstp st(4)
fld qword [ecx]
fsub st(4)
fmul st(3)
fadd st(4)
fstp qword [0x596960]
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc4]
fld qword [0x596960]
fmul qword [ecx]
mov ecx, dword [esp + 0xc0]
fadd qword [eax]
fstp st(3)
fld st(1)
fmul qword [ecx]
mov ecx, dword [esp + 0xcc]
fsubr st(3)
fstp qword [eax]
mov eax, dword [esp + 0xc8]
fld qword [0x596960]
fmul qword [eax]
mov eax, dword [esp + 0x20]
fadd qword [esi]
fstp st(3)
fld st(1)
fmul qword [ecx]
mov ecx, dword [esp + 0xd0]
fsubr st(3)
fstp qword [esi]
fld qword [0x596960]
fmul qword [ecx]
mov ecx, dword [esp + 0xb0]
inc ecx
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x20]
fadd qword [ebp]
add ecx, dword [esp + 0xb4]
add edi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x20]
fstp st(3)
fld st(1)
add edx, ecx
mov ecx, dword [esp + 0x1c]
fmul qword [ebx]
add eax, dword [esp + 0xb8]
add ecx, dword [esp + 0xbc]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
fsubr st(3)
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add eax, dword [esp + 0xc0]
add ecx, dword [esp + 0xc4]
fstp qword [ebp]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
add eax, dword [esp + 0xc8]
add ecx, dword [esp + 0xcc]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add esi, eax
add ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xd0], ecx
add ebx, eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xac]
add ebp, ecx
dec eax
mov dword [esp + 0xac], eax
test eax, eax
jg 0x4c90fd
mov edi, dword [esp + 0x98]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
add edi, 8
mov ebx, dword [esp + 0x90]
add eax, 8
mov esi, dword [esp + 0x94]
add ecx, 4
mov ebp, dword [esp + 0x80]
add ebx, 8
add esi, 4
dec ebp
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], edi
mov dword [esp + 0x80], ebp
test ebp, ebp
jg 0x4c8fe6
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
add ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
add esi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
add edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x34]
add eax, dword [esp + 0x68]
mov edi, dword [esp + 0x34]
add ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
add edi, dword [esp + 0x74]
add ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
dec ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x2c], ecx
test ecx, ecx
jg 0x4c8f17
mov esi, dword [esp + 0x54]
cmp dword [esp + 0x18], 2
mov eax, dword [esp + 0x124]
mov ebx, dword [esp + 0x18]
je 0x4c9a1f
mov dword [esp + 0x14], esi
test esi, esi
mov esi, dword [esp + 0x104]
jle 0x4c9a1f
sub eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
imul ebx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], 8
add ebx, dword [esp + 0x44]
sub esi, dword [esp + 0x50]
add ecx, ecx
mov dword [esp + 0x48], esi
add ecx, dword [esp + 0x48]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x68], eax
test eax, eax
mov eax, dword [esp + 0x44]
jle 0x4c99f8
add ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
add ecx, eax
add esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
add edx, esi
mov esi, dword [esp + 0x4c]
add esi, edx
mov edx, dword [esp + 0x30]
add edx, dword [esp + 0x20]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x80], ebp
add edx, dword [esp + 0x18]
add edi, dword [esp + 0x40]
mov dword [esp + 0x84], esi
add edi, dword [esp + 0x50]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x120]
sub edi, dword [esp + 0x28]
add edi, dword [esp + 0x30]
add eax, dword [esp + 0x30]
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x30]
add edi, dword [esp + 0x38]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x3c]
add edi, eax
mov dword [esp + 0x90], edi
mov edi, eax
add edi, dword [esp + 0x30]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x38]
add edi, edi
add edi, dword [esp + 0x10]
mov dword [esp + 0x94], edi
mov edi, dword [esp + 0x38]
shl edi, 2
sub edi, dword [esp + 0x38]
add edi, dword [esp + 0x30]
add edi, eax
mov dword [esp + 0x98], edi
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x84]
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 1
jne 0x4c9993
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov ecx, eax
add ecx, dword [esp + 0x84]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x24]
add ecx, ecx
add ecx, dword [esp + 0x10]
add ebp, dword [esp + 0x24]
mov dword [esp + 0xa4], ecx
lea esi, [edx + ebp]
add edx, dword [esp + 0x84]
lea ebx, [eax + ebp]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x24]
add edx, edx
add edx, dword [esp + 0x10]
add eax, eax
add eax, dword [esp + 0x80]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x90]
lea ecx, [edx + eax]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x80]
add ecx, dword [esp + 0x34]
add edx, ecx
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x128]
sub edx, dword [esp + 0x28]
lea edi, [edx + ebp]
mov edx, dword [esp + 0x30]
add edx, edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0xb4], edx
lea edx, [edi + eax]
add edi, ecx
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0x12c]
sub edx, dword [esp + 0x28]
mov dword [esp + 0xbc], edi
lea edi, [edx + ebp]
mov edx, dword [esp + 0x30]
add edx, edi
mov edi, dword [esp + 0x98]
add eax, edi
add edi, ecx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x130]
sub eax, dword [esp + 0x28]
lea ecx, [eax + ebp]
mov ebp, dword [esp + 0x30]
add ebp, ecx
cmp dword [esp + 0xa0], 1
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
jne 0x4c979a
fld qword [eax]
cmp dword [esp + 0x60], 0
mov eax, dword [esp + 0x64]
fstp st(2)
jle 0x4c9770
mov ecx, dword [ecx]
shl ecx, 2
mov eax, dword [esp + 0xe8]
add ecx, dword [esp + 0xec]
mov ecx, dword [ecx]
fld qword [eax + ecx*8 - 8]
fadd qword [0x57a438]
fnstcw word [esp + 0xc8]
mov ax, word [esp + 0xc8]
or ax, 0xc00
mov word [esp + 0xca], ax
fldcw word [esp + 0xca]
fistp dword [esp + 0xc4]
mov eax, dword [esp + 0xc4]
fldcw word [esp + 0xc8]
test eax, eax
mov ecx, dword [esp + 0xa4]
jle 0x4c97a2
fld qword [ebx]
fadd qword [ecx]
mov ecx, dword [esp + 0xa8]
fdivr qword [ebx]
fmul st(1)
fstp st(2)
fld qword [esi]
fstp st(3)
fld qword [ecx]
fsub st(3)
fmul st(2)
fadd st(3)
jmp 0x4c97a0
fld qword [0x596958]
fstp st(2)
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x78]
cmp eax, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
jne 0x4c982f
fld qword [ecx]
cmp dword [esp + 0x60], 0
mov ecx, dword [esp + 0x7c]
fstp qword [0x596958]
jle 0x4c981d
mov ecx, dword [ecx]
shl ecx, 2
mov eax, dword [esp + 0xe8]
add ecx, dword [esp + 0xec]
mov ecx, dword [ecx]
fld qword [eax + ecx*8 - 8]
fadd qword [0x57a438]
fnstcw word [esp + 0xc4]
mov ax, word [esp + 0xc4]
or ax, 0xc00
mov word [esp + 0xc6], ax
fldcw word [esp + 0xc6]
fistp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
fldcw word [esp + 0xc4]
test eax, eax
jle 0x4c9857
fld qword [esi]
fstp st(3)
fld st(1)
fsub st(3)
fmul st(1)
fadd st(3)
jmp 0x4c9851
fld qword [ebx]
mov ecx, dword [esp + 0xa4]
fadd qword [ecx]
mov ecx, dword [esp + 0xa8]
fdivr qword [ebx]
fstp st(3)
fld qword [esi]
fstp st(4)
fld qword [ecx]
fsub st(4)
fmul st(3)
fadd st(4)
fstp qword [0x596958]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xb4]
fld qword [0x596958]
fmul qword [ecx]
mov ecx, dword [esp + 0xb0]
fadd qword [eax]
fstp st(3)
fld st(1)
fmul qword [ecx]
mov ecx, dword [esp + 0xbc]
fsubr st(3)
fstp qword [eax]
mov eax, dword [esp + 0xb8]
fld qword [0x596958]
fmul qword [eax]
mov eax, dword [esp + 0x24]
fadd qword [edx]
fstp st(3)
fld st(1)
fmul qword [ecx]
mov ecx, dword [esp + 0xc0]
fsubr st(3)
fstp qword [edx]
fld qword [0x596958]
fmul qword [ecx]
mov ecx, dword [esp + 0xa0]
inc ecx
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x24]
fadd qword [ebp]
add ecx, dword [esp + 0xa4]
add ebx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x24]
fstp st(3)
fld st(1)
add esi, ecx
mov ecx, dword [esp + 0x34]
fmul qword [edi]
add eax, dword [esp + 0xa8]
add ecx, dword [esp + 0xac]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
fsubr st(3)
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
add eax, dword [esp + 0xb0]
add ecx, dword [esp + 0xb4]
fstp qword [ebp]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
add eax, dword [esp + 0xb8]
add ecx, dword [esp + 0xbc]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
add edx, eax
add ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc0], ecx
add edi, eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x9c]
add ebp, ecx
dec eax
mov dword [esp + 0x9c], eax
test eax, eax
jg 0x4c96f2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
add eax, dword [esp + 0x70]
add ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x40]
add ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x1c]
add esi, dword [esp + 0x7c]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x74], ecx
add edi, dword [esp + 0x80]
add ebp, dword [esp + 0x84]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x70], eax
dec ecx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x68], ecx
test ecx, ecx
jg 0x4c95d7
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esi, 4
mov eax, dword [esp + 0x14]
add edx, 8
dec eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], eax
test eax, eax
jg 0x4c94fe
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
test ebx, ebx
jle 0x4c9c1e
xor edx, edx
cmp dword [esp + 0x5c], 6
mov dword [esp + 0x14], 8
setle dl
mov dword [esp + 0x18], edx
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], ebp
test ebp, ebp
jle 0x4c9c02
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x6c], 0
mov edx, dword [esp + 0x108]
mov esi, dword [esp + 0x2c]
jne 0x4c9be5
sub edx, dword [esp + 0x28]
add esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x5c]
lea edi, [edx + esi]
mov edx, dword [esp + 0x14]
add edx, edi
mov edi, dword [esp + 0x128]
sub edi, dword [esp + 0x28]
lea ebx, [edi + esi]
mov edi, dword [esp + 0x14]
add edi, ebx
mov ebx, dword [esp + 0x12c]
sub ebx, dword [esp + 0x28]
lea ecx, [ebx + esi]
mov ebx, dword [esp + 0x14]
add ebx, ecx
mov ecx, dword [esp + 0x130]
sub ecx, dword [esp + 0x28]
lea eax, [ecx + esi]
mov esi, dword [esp + 0x14]
add esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x4c9bbe
fld qword [edx]
mov eax, dword [esp + 0x24]
fstp st(1)
fld qword [edi]
add edx, eax
fdiv st(1)
fstp qword [edi]
add edi, eax
fld qword [ebx]
fdiv st(1)
fstp qword [ebx]
add ebx, ecx
fld qword [esi]
fdiv st(1)
fstp qword [esi]
add esi, eax
fld qword [edx]
add edx, eax
fstp st(1)
fld qword [edi]
fdiv st(1)
fstp qword [edi]
add edi, eax
fld qword [ebx]
fdiv st(1)
fstp qword [ebx]
add ebx, ecx
fld qword [esi]
fdiv st(1)
fstp qword [esi]
add esi, eax
fld qword [edx]
add edx, eax
fstp st(1)
fld qword [edi]
fdiv st(1)
fstp qword [edi]
add edi, eax
fld qword [ebx]
fdiv st(1)
fstp qword [ebx]
add ebx, ecx
fld qword [esi]
fdiv st(1)
fstp qword [esi]
add esi, eax
fld qword [edx]
add edx, eax
fstp st(1)
fld qword [edi]
fdiv st(1)
fstp qword [edi]
add edi, eax
fld qword [ebx]
fdiv st(1)
fstp qword [ebx]
add ebx, ecx
fld qword [esi]
fdiv st(1)
fstp qword [esi]
add esi, eax
fld qword [edx]
add edx, eax
fstp st(1)
fld qword [edi]
fdiv st(1)
fstp qword [edi]
add edi, eax
fld qword [ebx]
fdiv st(1)
fstp qword [ebx]
add ebx, ecx
fld qword [esi]
fdiv st(1)
fstp qword [esi]
add esi, eax
fld qword [edx]
add edx, eax
fstp st(1)
fld qword [edi]
fdiv st(1)
fstp qword [edi]
add edi, eax
fld qword [ebx]
fdiv st(1)
fstp qword [ebx]
add ebx, ecx
fld qword [esi]
fdiv st(1)
fstp qword [esi]
add esi, eax
fld qword [edx]
add edx, eax
fstp st(1)
fld qword [edi]
fdiv st(1)
fstp qword [edi]
add edi, eax
fld qword [ebx]
fdiv st(1)
fstp qword [ebx]
add ebx, ecx
fld qword [esi]
fdiv st(1)
fstp qword [esi]
add esi, eax
sub ebp, 7
cmp ebp, 6
jg 0x4c9ad8
test ebp, ebp
jle 0x4c9be5
fld qword [edx]
mov eax, dword [esp + 0x24]
fstp st(1)
fld qword [edi]
add edx, eax
fdiv st(1)
fstp qword [edi]
add edi, eax
fld qword [ebx]
fdiv st(1)
fstp qword [ebx]
add ebx, ecx
fld qword [esi]
fdiv st(1)
fstp qword [esi]
add esi, eax
dec ebp
test ebp, ebp
jg 0x4c9bbe
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
add eax, dword [esp + 0x2c]
dec esi
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0x2c], eax
jg 0x4c9a5d
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
add edx, 8
dec ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebp
test ebp, ebp
jg 0x4c9a45
ffree st(3)
ffree st(2)
ffree st(1)
ffree st(0)
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xd4
ret 0x50