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

Disassembly:
sub esp, 0x1f0
mov eax, dword [esp + 0x1f8]
mov edx, dword [0x73ad0c]
push esi
mov ecx, dword [eax + 8]
mov eax, dword [edx + ecx]
fld dword [eax + 0x10]
fmul dword [eax + 0xc]
mov esi, dword [eax]
test esi, esi
fstp dword [esp + 0x64]
jne 0x617a24
mov eax, dword [0x73b0d8]
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
push ebx
push ebp
lea edx, [esp + 0x1bc]
push edi
push edx
push 0x100
call fcn.0062cf40
lea eax, [esp + 0x1c8]
lea ecx, [esp + 0x188]
push eax
push ecx
call fcn.006346c0
mov eax, dword [esi + 0x90]
lea edx, [esi + 0x90]
add esp, 0x10
cmp eax, edx
je 0x617a76
mov bl, byte [eax - 8]
lea ecx, [eax - 8]
cmp bl, 3
je 0x617b38
mov eax, dword [eax]
cmp eax, edx
jne 0x617a61
push esi
call fcn.00633270
lea edx, [esp + 0x184]
add eax, 0x30
push edx
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.00623720
mov ebp, dword [esp + 0x214]
add esp, 0x10
lea edx, [esp + 0x10]
mov eax, dword [ebp + 0x34]
push edx
lea edx, [esp + 0xf4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
xor edx, edx
mov edi, 0xff6
mov dword [esp + 0x10], edx
lea eax, [edx + 1]
lea esi, [esp + edx*4 + 0xdc]
shl eax, 4
add eax, ebp
mov dword [esi], 0
mov ecx, dword [eax]
test ecx, ecx
je 0x617b13
test word [eax + 0xc], di
je 0x617b13
mov edx, dword [eax + 8]
push 0x800
push esi
mov esi, dword [esp + 0x210]
mov ebx, dword [ecx]
mov esi, dword [esi + 0x18]
imul esi, edx
push esi
mov esi, dword [esp + 0x214]
mov esi, dword [esi + 4]
imul esi, edx
add esi, dword [eax + 4]
push esi
push ecx
call dword [ebx + 0x2c]
mov edx, dword [esp + 0x10]
inc edx
cmp edx, 2
mov dword [esp + 0x10], edx
jl 0x617ac0
xor ecx, ecx
mov al, byte [esp + ecx*8 + 0xf6]
test al, al
jne 0x617b35
mov al, byte [esp + ecx*8 + 0xf7]
test al, al
je 0x617ba5
inc ecx
jmp 0x617b1f
test ecx, ecx
je 0x617a76
mov cl, byte [ecx + 1]
cmp cl, 1
je 0x617b56
cmp cl, 0x81
je 0x617b56
cmp cl, 0x82
jne 0x617a76
push esi
call fcn.00633270
fld dword [eax + 0x20]
add eax, 0x20
lea edx, [esp + 0x184]
fchs
fstp dword [esp + 0x94]
fld dword [eax + 4]
fchs
fstp dword [esp + 0x98]
fld dword [eax + 8]
lea eax, [esp + 0x94]
push edx
lea ecx, [esp + 0xd8]
push eax
fchs
fstp dword [esp + 0xa4]
push ecx
call fcn.00623780
jmp 0x617a95
xor eax, eax
xor edx, edx
mov ax, word [esp + ecx*8 + 0xf0]
mov dx, word [esp + ecx*8 + 0xf2]
mov bl, 0x11
add edx, dword [esp + eax*4 + 0xdc]
mov dword [esp + 0x60], edx
xor edx, edx
mov dl, byte [esp + ecx*8 + 0xf4]
shl eax, 4
mov dword [esp + 0x54], edx
xor ecx, ecx
mov eax, dword [eax + ebp + 0x18]
mov dword [esp + 0x38], eax
cmp byte [esp + ecx*8 + 0xf6], 3
jne 0x617bf5
mov al, byte [esp + ecx*8 + 0xf7]
test al, al
je 0x617c01
cmp byte [esp + ecx*8 + 0xf4], bl
je 0x617c01
inc ecx
jmp 0x617be0
mov dl, byte [esp + ecx*8 + 0xf4]
cmp dl, bl
je 0x617c46
xor eax, eax
xor esi, esi
mov ax, word [esp + ecx*8 + 0xf0]
mov si, word [esp + ecx*8 + 0xf2]
mov ecx, esi
and edx, 0xff
mov edi, dword [esp + eax*4 + 0xdc]
mov dword [esp + 0x7c], edx
add ecx, edi
shl eax, 4
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + ebp + 0x18]
mov dword [esp + 0x74], ecx
jmp 0x617c4e
mov dword [esp + 0x5c], 0
xor ecx, ecx
mov al, 0xa
cmp byte [esp + ecx*8 + 0xf6], al
jne 0x617c66
mov dl, byte [esp + ecx*8 + 0xf7]
test dl, dl
je 0x617c72
cmp byte [esp + ecx*8 + 0xf4], bl
je 0x617c72
inc ecx
jmp 0x617c52
cmp byte [esp + ecx*8 + 0xf4], bl
je 0x617caf
xor eax, eax
xor edx, edx
mov ax, word [esp + ecx*8 + 0xf0]
mov dx, word [esp + ecx*8 + 0xf2]
mov ecx, edx
add ecx, dword [esp + eax*4 + 0xdc]
shl eax, 4
mov dword [esp + 0x9c], ecx
mov eax, dword [eax + ebp + 0x18]
mov dword [esp + 0xc4], eax
jmp 0x617cba
mov dword [esp + 0x9c], 0
xor ecx, ecx
cmp byte [esp + ecx*8 + 0xf6], 5
jne 0x617cd1
mov al, byte [esp + ecx*8 + 0xf7]
test al, al
je 0x617cd4
inc ecx
jmp 0x617cbc
xor eax, eax
xor edx, edx
mov ax, word [esp + ecx*8 + 0xf0]
mov dx, word [esp + ecx*8 + 0xf2]
add edx, dword [esp + eax*4 + 0xdc]
shl eax, 4
mov dword [esp + 0x8c], edx
xor edx, edx
mov eax, dword [eax + ebp + 0x18]
mov dl, byte [esp + ecx*8 + 0xf4]
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], edx
xor ecx, ecx
mov al, 6
cmp byte [esp + ecx*8 + 0xf6], al
jne 0x617d26
mov dl, byte [esp + ecx*8 + 0xf7]
test dl, dl
je 0x617d32
cmp byte [esp + ecx*8 + 0xf4], bl
je 0x617d32
inc ecx
jmp 0x617d12
mov dl, byte [esp + ecx*8 + 0xf4]
cmp dl, bl
je 0x618065
xor eax, eax
xor esi, esi
mov ax, word [esp + ecx*8 + 0xf0]
mov si, word [esp + ecx*8 + 0xf2]
and edx, 0xff
mov ebx, dword [esp + eax*4 + 0xdc]
mov dword [esp + 0x78], edx
add esi, ebx
shl eax, 4
test esi, esi
mov ebx, dword [eax + ebp + 0x18]
je 0x618065
mov ecx, dword [esp + 0x208]
xor eax, eax
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + 0x18]
test ecx, ecx
mov dword [esp + 0xa0], ecx
jle 0x618be7
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x8c]
cmp dword [esp + 0x54], 2
jne 0x617dcb
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
imul edx, eax
add edx, ecx
mov ecx, dword [edx]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x34], edx
jmp 0x617def
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x2c]
imul ecx, eax
mov eax, dword [esp + 0x60]
add ecx, eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
call fcn.00654880
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x50], 1
jne 0x617e0e
mov ecx, dword [esp + 0x58]
imul ecx, eax
mov edx, dword [ecx + ebp]
mov dword [esp + 0x3c], edx
mov ecx, dword [ecx + ebp + 4]
mov dword [esp + 0x40], ecx
jmp 0x617e2e
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
imul edx, eax
add edx, ebp
lea eax, [esp + 0x3c]
push edx
push eax
push ecx
call fcn.00654c70
mov eax, dword [esp + 0x1c]
add esp, 0xc
test edi, edi
je 0x617e7a
cmp dword [esp + 0x7c], 2
jne 0x617e58
mov edx, dword [esp + 0x74]
imul edx, eax
add edx, edi
mov ecx, dword [edx]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x1c], edx
jmp 0x617e92
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x14]
imul ecx, eax
mov eax, dword [esp + 0x7c]
add ecx, edi
push ecx
push edx
push eax
call fcn.00654880
mov eax, dword [esp + 0x1c]
add esp, 0xc
jmp 0x617e92
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x78], 2
jne 0x617eb6
mov ecx, ebx
imul ecx, eax
add ecx, esi
mov edx, dword [ecx]
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x28], ecx
jmp 0x617ed0
mov edx, ebx
mov ecx, dword [esp + 0x78]
imul edx, eax
add edx, esi
lea eax, [esp + 0x20]
push edx
push eax
push ecx
call fcn.00654880
add esp, 0xc
fld dword [esp + 0xd0]
fsub dword [esp + 0x2c]
push ecx
fstp dword [esp + 0x48]
fld dword [esp + 0xd8]
fsub dword [esp + 0x34]
fstp dword [esp + 0x4c]
fld dword [esp + 0xdc]
fsub dword [esp + 0x38]
fstp dword [esp + 0x50]
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
fld dword [esp + 0x48]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [esp + 0x50]
faddp st(1)
fstp dword [esp]
call fcn.006235c0
fld dword [esp + 0x48]
fmul st(1)
fld st(1)
fmul dword [esp + 0x4c]
fxch st(2)
fmul dword [esp + 0x50]
fld dword [esp + 0x28]
fmul dword [esp + 0x20]
add esp, 4
fld dword [esp + 0x28]
fmul dword [esp + 0x18]
fsubp st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
fld dword [esp + 0x20]
fmul dword [esp + 0x1c]
fsubp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x18]
fld dword [esp + 0x24]
fmul dword [esp + 0x14]
fsubp st(1)
fstp dword [esp + 0xec]
fld dword [esp + 0x24]
fmul st(5)
fld dword [esp + 0x20]
fmul st(5)
faddp st(1)
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20c]
test edi, edi
fld dword [esp + 0x28]
fmul st(4)
lea edx, [eax + eax*4]
faddp st(1)
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x2c]
fstp dword [esp + 0x68]
lea eax, [ecx + eax*4]
fmul st(4)
mov dword [eax], edx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x34]
fxch st(1)
fmul st(3)
mov dword [eax + 8], edx
faddp st(1)
fld dword [esp + 0xec]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x6c]
fstp st(0)
fstp st(1)
fstp st(0)
je 0x617feb
mov ecx, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x18]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x1c]
jmp 0x617ff3
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x618015
mov edx, dword [esp + 0xc4]
imul edx, dword [esp + 0x10]
mov ecx, dword [edx + ecx]
mov dword [eax + 0x18], ecx
jmp 0x61801c
mov dword [eax + 0x18], 0xffffffff
fld dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
fmul dword [esp + 0x70]
mov dword [eax + 0x1c], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0xa0]
fadd dword [esp + 0x3c]
fstp dword [eax + 0x24]
fld dword [esp + 0x6c]
fmul dword [esp + 0x70]
fadd dword [esp + 0x40]
fstp dword [eax + 0x28]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x617da1
jmp 0x618be7
mov eax, dword [ebp + 8]
test eax, eax
je 0x618689
mov esi, dword [esp + 0x208]
mov eax, dword [0x73b0d8]
push 0x30120
mov edx, dword [esi + 0x18]
push edx
call dword [eax + 0x108]
mov ecx, dword [esi + 0x18]
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea edx, [esp + 0xa0]
and ecx, 3
push 0x800
rep stosb byte es:[edi], al
mov esi, dword [esi]
mov eax, dword [ebp + 8]
push edx
mov dword [esp + 0x80], ebx
lea edx, [esi + esi]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x214]
mov dword [esp + 0x74], esi
mov edx, dword [edx + 0x1c]
add edx, edx
push edx
push eax
call dword [ecx + 0x2c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x10], ecx
jle 0x61866a
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x68]
mov edx, dword [esp + 0x78]
xor eax, eax
mov ax, word [ebx + ecx*2]
cmp byte [eax + edx], 0
jne 0x61864e
mov eax, dword [esp + 0x204]
mov eax, dword [eax + 0xc]
cmp eax, 4
jne 0x618156
mov eax, 0x55555556
mov edi, 3
imul ecx
mov eax, edx
xor esi, esi
shr eax, 0x1f
add edx, eax
lea eax, [ecx + 1]
mov si, word [ebx + ecx*2]
lea ebp, [edx + edx*2]
cdq
idiv edi
xor edi, edi
lea eax, [ecx + 2]
mov ecx, 3
add edx, ebp
mov di, word [ebx + edx*2]
cdq
idiv ecx
add edx, ebp
jmp 0x6181ab
cmp eax, 5
jne 0x6181b1
cmp ecx, 2
jge 0x618181
mov edx, ecx
and edx, 0x80000001
jns 0x61816f
dec edx
or edx, 0xfffffffe
inc edx
je 0x618179
lea eax, [ecx + 2]
lea edx, [ecx + 1]
jmp 0x61819f
lea eax, [ecx + 1]
lea edx, [ecx + 2]
jmp 0x61819f
mov eax, ecx
and eax, 0x80000001
jns 0x61818f
dec eax
or eax, 0xfffffffe
inc eax
je 0x618199
lea eax, [ecx - 1]
lea edx, [ecx - 2]
jmp 0x61819f
lea eax, [ecx - 2]
lea edx, [ecx - 1]
xor esi, esi
xor edi, edi
mov si, word [ebx + ecx*2]
mov di, word [ebx + eax*2]
xor ebp, ebp
mov bp, word [ebx + edx*2]
cmp dword [esp + 0x54], 2
jne 0x618225
mov ecx, dword [esp + 0x38]
mov edx, esi
imul edx, ecx
mov eax, dword [esp + 0x60]
add edx, eax
mov ebx, dword [edx]
mov dword [esp + 0x2c], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0x30], ebx
mov edx, dword [edx + 8]
mov dword [esp + 0x34], edx
mov edx, edi
imul edx, ecx
add edx, eax
mov ebx, dword [edx]
mov dword [esp + 0xa4], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0xa8], ebx
mov edx, dword [edx + 8]
mov dword [esp + 0xac], edx
mov edx, ebp
imul edx, ecx
add edx, eax
mov eax, dword [edx]
mov dword [esp + 0xb0], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0xb4], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0xb8], edx
jmp 0x61827d
mov eax, esi
mov ebx, dword [esp + 0x60]
imul eax, dword [esp + 0x38]
mov edx, dword [esp + 0x54]
add eax, ebx
lea ecx, [esp + 0x2c]
push eax
push ecx
push edx
call fcn.00654880
mov eax, edi
mov edx, dword [esp + 0x60]
imul eax, dword [esp + 0x44]
add eax, ebx
lea ecx, [esp + 0xb0]
push eax
push ecx
push edx
call fcn.00654880
mov eax, ebp
mov edx, dword [esp + 0x6c]
imul eax, dword [esp + 0x50]
add eax, ebx
lea ecx, [esp + 0xc8]
push eax
push ecx
push edx
call fcn.00654880
add esp, 0x24
cmp dword [esp + 0x50], 1
jne 0x6182d9
mov ecx, dword [esp + 0x58]
mov edx, esi
imul edx, ecx
mov eax, dword [esp + 0x8c]
mov ebx, dword [edx + eax]
mov dword [esp + 0x3c], ebx
mov edx, dword [edx + eax + 4]
mov dword [esp + 0x40], edx
mov edx, edi
imul edx, ecx
mov ebx, dword [edx + eax]
mov dword [esp + 0xbc], ebx
mov edx, dword [edx + eax + 4]
mov dword [esp + 0xc0], edx
mov edx, ebp
imul edx, ecx
mov ecx, dword [edx + eax]
mov dword [esp + 0xc8], ecx
mov edx, dword [edx + eax + 4]
mov dword [esp + 0xcc], edx
jmp 0x618334
mov eax, esi
mov ebx, dword [esp + 0x8c]
imul eax, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
add eax, ebx
lea ecx, [esp + 0x3c]
push eax
push ecx
push edx
call fcn.00654c70
mov eax, edi
mov edx, dword [esp + 0x5c]
imul eax, dword [esp + 0x64]
add eax, ebx
lea ecx, [esp + 0xc8]
push eax
push ecx
push edx
call fcn.00654c70
mov eax, ebp
mov edx, dword [esp + 0x68]
imul eax, dword [esp + 0x70]
add eax, ebx
lea ecx, [esp + 0xe0]
push eax
push ecx
push edx
call fcn.00654c70
add esp, 0x24
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x618384
cmp dword [esp + 0x7c], 2
jne 0x618362
mov ecx, esi
imul ecx, dword [esp + 0x74]
add ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x28], ecx
jmp 0x61839c
mov edx, esi
mov ecx, dword [esp + 0x5c]
imul edx, dword [esp + 0x74]
add edx, ecx
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
call fcn.00654880
add esp, 0xc
jmp 0x61839c
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
fld dword [esp + 0xd0]
fsub dword [esp + 0x2c]
push ecx
fstp dword [esp + 0x18]
fld dword [esp + 0xd8]
fsub dword [esp + 0x34]
fstp dword [esp + 0x1c]
fld dword [esp + 0xdc]
fsub dword [esp + 0x38]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fstp dword [esp]
call fcn.006235c0
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x1c]
fmul dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0xa8]
fsub dword [esp + 0x30]
fld dword [esp + 0xac]
fsub dword [esp + 0x34]
fld dword [esp + 0xb0]
fsub dword [esp + 0x38]
fstp dword [esp + 0xf0]
fld dword [esp + 0xb4]
fsub dword [esp + 0x30]
fstp dword [esp + 0x84]
fld dword [esp + 0xb8]
fsub dword [esp + 0x34]
fstp dword [esp + 0x88]
fld dword [esp + 0xbc]
fsub dword [esp + 0x38]
fstp dword [esp + 0x8c]
fld dword [esp + 0xd0]
fsub dword [esp + 0x44]
fstp dword [esp + 0x68]
fxch st(1)
fmul dword [esp + 0x68]
fstp dword [esp + 0xe8]
fmul dword [esp + 0x68]
fld dword [esp + 0xf0]
fmul dword [esp + 0x68]
fld dword [esp + 0xc4]
fsub dword [esp + 0x44]
fld dword [esp + 0x84]
fmul st(1)
fld dword [esp + 0x88]
fmul st(2)
fstp dword [esp + 0x88]
fld dword [esp + 0x8c]
fmul st(2)
fstp dword [esp + 0x8c]
fld dword [esp + 0xe8]
fsub st(1)
fstp dword [esp + 0x48]
fstp st(0)
fstp st(0)
fxch st(1)
fsub dword [esp + 0x88]
fstp dword [esp + 0x4c]
fsub dword [esp + 0x8c]
fstp dword [esp + 0x50]
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
fld dword [esp + 0x48]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [esp + 0x50]
faddp st(1)
fstp dword [esp]
call fcn.006235c0
fld dword [esp + 0x48]
fmul st(1)
fld dword [esp + 0x4c]
fmul st(2)
fld dword [esp + 0x50]
fmul st(3)
fld st(1)
fmul dword [esp + 0x2c]
add esp, 4
fld st(1)
fmul dword [esp + 0x24]
fsubp st(1)
fstp dword [esp + 0x90]
fld dword [esp + 0x20]
fmul st(1)
fld st(3)
fmul dword [esp + 0x28]
fsubp st(1)
fstp dword [esp + 0x94]
fld st(2)
fmul dword [esp + 0x24]
fld st(2)
fmul dword [esp + 0x20]
mov ecx, dword [esp + 0x20c]
lea edx, [esi + esi*4]
fsubp st(1)
lea eax, [esi + edx*2]
mov edx, dword [esp + 0x2c]
fstp dword [esp + 0x98]
fxch st(1)
fmul dword [esp + 0x18]
lea eax, [ecx + eax*4]
fxch st(2)
fmul dword [esp + 0x14]
mov dword [eax], edx
mov ecx, dword [esp + 0x30]
faddp st(2)
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
fmul dword [esp + 0x1c]
xor edx, edx
faddp st(1)
cmp ecx, edx
fstp st(1)
fld dword [esp + 0x94]
fmul dword [esp + 0x18]
fld dword [esp + 0x90]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x98]
fmul dword [esp + 0x1c]
faddp st(1)
je 0x6185e8
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x14], ecx
jmp 0x6185f1
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x9c]
cmp ecx, edx
je 0x61860e
mov edx, esi
imul edx, dword [esp + 0xc4]
mov ecx, dword [edx + ecx]
mov dword [eax + 0x18], ecx
jmp 0x618615
mov dword [eax + 0x18], 0xffffffff
mov edx, dword [esp + 0x3c]
fxch st(1)
fmul dword [esp + 0x70]
mov dword [eax + 0x1c], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x78]
fsubr dword [esp + 0x3c]
fstp dword [eax + 0x24]
fmul dword [esp + 0x70]
fsubr dword [esp + 0x40]
fstp dword [eax + 0x28]
mov byte [esi + edx], 1
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0xa0]
mov eax, dword [esp + 0x68]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x6180fa
mov ebp, dword [esp + 0x204]
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebp + 8]
push ebp
mov eax, dword [ebp]
call dword [eax + 0x30]
mov ecx, dword [0x73b0d8]
push ebx
call dword [ecx + 0x10c]
add esp, 4
jmp 0x618be7
mov edx, dword [esp + 0x208]
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [edx + 0x18]
test eax, eax
mov dword [esp + 0x68], eax
jle 0x618be7
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x204]
mov eax, dword [eax + 0xc]
cmp eax, 4
jne 0x618701
mov eax, 0x55555556
mov esi, 3
imul ecx
mov eax, edx
mov ebx, ecx
shr eax, 0x1f
add edx, eax
lea eax, [ecx + 1]
lea ebp, [edx + edx*2]
cdq
idiv esi
lea eax, [ecx + 2]
mov ecx, 3
mov esi, edx
cdq
idiv ecx
add esi, ebp
mov edi, edx
add edi, ebp
mov ebp, dword [esp + 0x8c]
jmp 0x61874c
cmp eax, 5
jne 0x61874c
cmp ecx, 2
mov ebx, ecx
jge 0x61872e
mov edx, ecx
and edx, 0x80000001
jns 0x61871c
dec edx
or edx, 0xfffffffe
inc edx
je 0x618726
lea esi, [ecx + 2]
lea edi, [ecx + 1]
jmp 0x61874c
lea esi, [ecx + 1]
lea edi, [ecx + 2]
jmp 0x61874c
mov eax, ecx
and eax, 0x80000001
jns 0x61873c
dec eax
or eax, 0xfffffffe
inc eax
je 0x618746
lea esi, [ecx - 1]
lea edi, [ecx - 2]
jmp 0x61874c
lea esi, [ecx - 2]
lea edi, [ecx - 1]
cmp dword [esp + 0x54], 2
jne 0x6187c2
mov ecx, ebx
mov eax, dword [esp + 0x60]
imul ecx, dword [esp + 0x38]
add ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x30], edx
mov edx, esi
imul edx, dword [esp + 0x38]
mov ecx, dword [ecx + 8]
add edx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [edx]
mov dword [esp + 0xa4], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0xa8], ecx
mov ecx, edi
imul ecx, dword [esp + 0x38]
mov edx, dword [edx + 8]
add ecx, eax
mov dword [esp + 0xac], edx
mov edx, dword [ecx]
mov dword [esp + 0xb0], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0xb4], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0xb8], ecx
jmp 0x618822
mov edx, ebx
mov ecx, dword [esp + 0x60]
imul edx, dword [esp + 0x38]
add edx, ecx
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x2c]
push edx
push eax
push ecx
call fcn.00654880
mov edx, esi
mov ecx, dword [esp + 0x6c]
imul edx, dword [esp + 0x44]
add edx, ecx
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0xb0]
push edx
push eax
push ecx
call fcn.00654880
mov edx, edi
mov ecx, dword [esp + 0x78]
imul edx, dword [esp + 0x50]
add edx, ecx
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0xc8]
push edx
push eax
push ecx
call fcn.00654880
add esp, 0x24
mov eax, dword [esp + 0x50]
mov edx, ebx
cmp eax, 1
jne 0x618879
mov eax, dword [esp + 0x58]
imul edx, eax
mov ecx, dword [edx + ebp]
mov dword [esp + 0x3c], ecx
mov ecx, esi
imul ecx, eax
mov edx, dword [edx + ebp + 4]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + ebp]
mov dword [esp + 0xbc], edx
mov edx, edi
imul edx, eax
mov ecx, dword [ecx + ebp + 4]
mov dword [esp + 0xc0], ecx
mov eax, dword [edx + ebp]
mov dword [esp + 0xc8], eax
mov ecx, dword [edx + ebp + 4]
mov dword [esp + 0xcc], ecx
jmp 0x6188cb
imul edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
add edx, ebp
lea eax, [esp + 0x3c]
push edx
push eax
push ecx
call fcn.00654c70
mov edx, esi
mov ecx, dword [esp + 0x5c]
imul edx, dword [esp + 0x64]
add edx, ebp
lea eax, [esp + 0xc8]
push edx
push eax
push ecx
call fcn.00654c70
mov edx, edi
mov ecx, dword [esp + 0x68]
imul edx, dword [esp + 0x70]
add edx, ebp
lea eax, [esp + 0xe0]
push edx
push eax
push ecx
call fcn.00654c70
add esp, 0x24
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x61891b
cmp dword [esp + 0x7c], 2
jne 0x6188f9
mov edx, ebx
imul edx, dword [esp + 0x74]
add edx, eax
mov eax, dword [edx]
mov dword [esp + 0x20], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x24], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x28], edx
jmp 0x618933
mov eax, ebx
mov edx, dword [esp + 0x5c]
imul eax, dword [esp + 0x74]
add eax, edx
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x20]
push eax
push ecx
push edx
call fcn.00654880
add esp, 0xc
jmp 0x618933
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
fld dword [esp + 0xd0]
fsub dword [esp + 0x2c]
push ecx
fstp dword [esp + 0x18]
fld dword [esp + 0xd8]
fsub dword [esp + 0x34]
fstp dword [esp + 0x1c]
fld dword [esp + 0xdc]
fsub dword [esp + 0x38]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fstp dword [esp]
call fcn.006235c0
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x1c]
fmul dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0xa8]
fsub dword [esp + 0x30]
fld dword [esp + 0xac]
fsub dword [esp + 0x34]
fld dword [esp + 0xb0]
fsub dword [esp + 0x38]
fstp dword [esp + 0xf0]
fld dword [esp + 0xb4]
fsub dword [esp + 0x30]
fstp dword [esp + 0x84]
fld dword [esp + 0xb8]
fsub dword [esp + 0x34]
fstp dword [esp + 0x88]
fld dword [esp + 0xbc]
fsub dword [esp + 0x38]
fstp dword [esp + 0x8c]
fld dword [esp + 0xd0]
fsub dword [esp + 0x44]
fstp dword [esp + 0x68]
fxch st(1)
fmul dword [esp + 0x68]
fstp dword [esp + 0xe8]
fmul dword [esp + 0x68]
fld dword [esp + 0xf0]
fmul dword [esp + 0x68]
fld dword [esp + 0xc4]
fsub dword [esp + 0x44]
fld dword [esp + 0x84]
fmul st(1)
fld dword [esp + 0x88]
fmul st(2)
fstp dword [esp + 0x88]
fld dword [esp + 0x8c]
fmul st(2)
fstp dword [esp + 0x8c]
fld dword [esp + 0xe8]
fsub st(1)
fstp dword [esp + 0x48]
fstp st(0)
fstp st(0)
fxch st(1)
fsub dword [esp + 0x88]
fstp dword [esp + 0x4c]
fsub dword [esp + 0x8c]
fstp dword [esp + 0x50]
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
fld dword [esp + 0x48]
fmul dword [esp + 0x48]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [esp + 0x50]
faddp st(1)
fstp dword [esp]
call fcn.006235c0
fld dword [esp + 0x48]
fmul st(1)
fld dword [esp + 0x4c]
fmul st(2)
fld dword [esp + 0x50]
fmul st(3)
fld st(1)
fmul dword [esp + 0x2c]
add esp, 4
fld st(1)
fmul dword [esp + 0x24]
fsubp st(1)
fstp dword [esp + 0x90]
fld dword [esp + 0x20]
fmul st(1)
fld st(3)
fmul dword [esp + 0x28]
fsubp st(1)
fstp dword [esp + 0x94]
fld st(2)
fmul dword [esp + 0x24]
fld st(2)
fmul dword [esp + 0x20]
mov edx, dword [esp + 0x20c]
lea eax, [ebx + ebx*4]
fsubp st(1)
lea ecx, [ebx + eax*2]
fstp dword [esp + 0x98]
fxch st(1)
fmul dword [esp + 0x18]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
fxch st(2)
fmul dword [esp + 0x14]
mov dword [eax], ecx
mov edx, dword [esp + 0x30]
faddp st(2)
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
fmul dword [esp + 0x1c]
test ecx, ecx
faddp st(1)
fstp st(1)
fld dword [esp + 0x94]
fmul dword [esp + 0x18]
fld dword [esp + 0x90]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x98]
fmul dword [esp + 0x1c]
faddp st(1)
je 0x618b7d
mov edx, dword [esp + 0x20]
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x28]
mov dword [eax + 0x14], edx
jmp 0x618b88
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x618ba5
mov edx, ebx
imul edx, dword [esp + 0xc4]
mov ecx, dword [edx + ecx]
mov dword [eax + 0x18], ecx
jmp 0x618bac
mov dword [eax + 0x18], 0xffffffff
mov edx, dword [esp + 0x3c]
fxch st(1)
fmul dword [esp + 0x70]
mov dword [eax + 0x1c], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x20], ecx
fsubr dword [esp + 0x3c]
fstp dword [eax + 0x24]
fmul dword [esp + 0x70]
fsubr dword [esp + 0x40]
fstp dword [eax + 0x28]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x6186b8
mov esi, dword [esp + 0x204]
xor eax, eax
pop edi
pop ebp
mov dword [esp + 8], eax
pop ebx
mov ecx, dword [esp + eax*4 + 0xd0]
test ecx, ecx
je 0x618c13
inc eax
shl eax, 4
mov eax, dword [eax + esi]
push eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov eax, dword [esp + 4]
inc eax
cmp eax, 2
mov dword [esp + 4], eax
jl 0x618bf7
mov eax, 1
pop esi
add esp, 0x1f0
ret