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

Disassembly:
sub esp, 0x1f0
mov eax, dword [esp + 0x1f8]
mov edx, dword [0x665f0c]
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 0x569cf4
mov eax, dword [0x66885c]
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.00595cd0
lea eax, [esp + 0x1c8]
lea ecx, [esp + 0x188]
push eax
push ecx
call fcn.0058f530
mov eax, dword [esi + 0x90]
lea edx, [esi + 0x90]
add esp, 0x10
cmp eax, edx
je 0x569d46
mov bl, byte [eax - 8]
lea ecx, [eax - 8]
cmp bl, 3
je 0x569e08
mov eax, dword [eax]
cmp eax, edx
jne 0x569d31
push esi
call fcn.0058e070
lea edx, [esp + 0x184]
add eax, 0x30
push edx
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.00591880
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 0x569de3
test word [eax + 0xc], di
je 0x569de3
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 0x569d90
xor ecx, ecx
mov al, byte [esp + ecx*8 + 0xf6]
test al, al
jne 0x569e05
mov al, byte [esp + ecx*8 + 0xf7]
test al, al
je 0x569e75
inc ecx
jmp 0x569def
test ecx, ecx
je 0x569d46
mov cl, byte [ecx + 1]
cmp cl, 1
je 0x569e26
cmp cl, 0x81
je 0x569e26
cmp cl, 0x82
jne 0x569d46
push esi
call fcn.0058e070
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.005918e0
jmp 0x569d65
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 0x569ec5
mov al, byte [esp + ecx*8 + 0xf7]
test al, al
je 0x569ed1
cmp byte [esp + ecx*8 + 0xf4], bl
je 0x569ed1
inc ecx
jmp 0x569eb0
mov dl, byte [esp + ecx*8 + 0xf4]
cmp dl, bl
je 0x569f16
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 0x569f1e
mov dword [esp + 0x5c], 0
xor ecx, ecx
mov al, 0xa
cmp byte [esp + ecx*8 + 0xf6], al
jne 0x569f36
mov dl, byte [esp + ecx*8 + 0xf7]
test dl, dl
je 0x569f42
cmp byte [esp + ecx*8 + 0xf4], bl
je 0x569f42
inc ecx
jmp 0x569f22
cmp byte [esp + ecx*8 + 0xf4], bl
je 0x569f7f
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 0x569f8a
mov dword [esp + 0x9c], 0
xor ecx, ecx
cmp byte [esp + ecx*8 + 0xf6], 5
jne 0x569fa1
mov al, byte [esp + ecx*8 + 0xf7]
test al, al
je 0x569fa4
inc ecx
jmp 0x569f8c
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 0x569ff6
mov dl, byte [esp + ecx*8 + 0xf7]
test dl, dl
je 0x56a002
cmp byte [esp + ecx*8 + 0xf4], bl
je 0x56a002
inc ecx
jmp 0x569fe2
mov dl, byte [esp + ecx*8 + 0xf4]
cmp dl, bl
je 0x56a335
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 0x56a335
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 0x56aeb7
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x8c]
cmp dword [esp + 0x54], 2
jne 0x56a09b
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 0x56a0bf
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.005b9670
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x50], 1
jne 0x56a0de
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 0x56a0fe
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.005b9a60
mov eax, dword [esp + 0x1c]
add esp, 0xc
test edi, edi
je 0x56a14a
cmp dword [esp + 0x7c], 2
jne 0x56a128
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 0x56a162
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.005b9670
mov eax, dword [esp + 0x1c]
add esp, 0xc
jmp 0x56a162
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x78], 2
jne 0x56a186
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 0x56a1a0
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.005b9670
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.00591820
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 0x56a2bb
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 0x56a2c3
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 0x56a2e5
mov edx, dword [esp + 0xc4]
imul edx, dword [esp + 0x10]
mov ecx, dword [edx + ecx]
mov dword [eax + 0x18], ecx
jmp 0x56a2ec
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 0x56a071
jmp 0x56aeb7
mov eax, dword [ebp + 8]
test eax, eax
je 0x56a959
mov esi, dword [esp + 0x208]
mov eax, dword [0x66885c]
push 0x30120
mov edx, dword [esi + 0x18]
push edx
call dword [eax + 0x134]
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 0x56a93a
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 0x56a91e
mov eax, dword [esp + 0x204]
mov eax, dword [eax + 0xc]
cmp eax, 4
jne 0x56a426
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 0x56a47b
cmp eax, 5
jne 0x56a481
cmp ecx, 2
jge 0x56a451
mov edx, ecx
and edx, 0x80000001
jns 0x56a43f
dec edx
or edx, 0xfffffffe
inc edx
je 0x56a449
lea eax, [ecx + 2]
lea edx, [ecx + 1]
jmp 0x56a46f
lea eax, [ecx + 1]
lea edx, [ecx + 2]
jmp 0x56a46f
mov eax, ecx
and eax, 0x80000001
jns 0x56a45f
dec eax
or eax, 0xfffffffe
inc eax
je 0x56a469
lea eax, [ecx - 1]
lea edx, [ecx - 2]
jmp 0x56a46f
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 0x56a4f5
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 0x56a54d
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.005b9670
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.005b9670
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.005b9670
add esp, 0x24
cmp dword [esp + 0x50], 1
jne 0x56a5a9
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 0x56a604
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.005b9a60
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.005b9a60
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.005b9a60
add esp, 0x24
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x56a654
cmp dword [esp + 0x7c], 2
jne 0x56a632
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 0x56a66c
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.005b9670
add esp, 0xc
jmp 0x56a66c
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.00591820
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.00591820
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 0x56a8b8
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 0x56a8c1
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x9c]
cmp ecx, edx
je 0x56a8de
mov edx, esi
imul edx, dword [esp + 0xc4]
mov ecx, dword [edx + ecx]
mov dword [eax + 0x18], ecx
jmp 0x56a8e5
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 0x56a3ca
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 [0x66885c]
push ebx
call dword [ecx + 0x138]
add esp, 4
jmp 0x56aeb7
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 0x56aeb7
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 0x56a9d1
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 0x56aa1c
cmp eax, 5
jne 0x56aa1c
cmp ecx, 2
mov ebx, ecx
jge 0x56a9fe
mov edx, ecx
and edx, 0x80000001
jns 0x56a9ec
dec edx
or edx, 0xfffffffe
inc edx
je 0x56a9f6
lea esi, [ecx + 2]
lea edi, [ecx + 1]
jmp 0x56aa1c
lea esi, [ecx + 1]
lea edi, [ecx + 2]
jmp 0x56aa1c
mov eax, ecx
and eax, 0x80000001
jns 0x56aa0c
dec eax
or eax, 0xfffffffe
inc eax
je 0x56aa16
lea esi, [ecx - 1]
lea edi, [ecx - 2]
jmp 0x56aa1c
lea esi, [ecx - 2]
lea edi, [ecx - 1]
cmp dword [esp + 0x54], 2
jne 0x56aa92
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 0x56aaf2
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.005b9670
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.005b9670
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.005b9670
add esp, 0x24
mov eax, dword [esp + 0x50]
mov edx, ebx
cmp eax, 1
jne 0x56ab49
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 0x56ab9b
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.005b9a60
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.005b9a60
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.005b9a60
add esp, 0x24
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x56abeb
cmp dword [esp + 0x7c], 2
jne 0x56abc9
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 0x56ac03
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.005b9670
add esp, 0xc
jmp 0x56ac03
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.00591820
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.00591820
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 0x56ae4d
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 0x56ae58
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 0x56ae75
mov edx, ebx
imul edx, dword [esp + 0xc4]
mov ecx, dword [edx + ecx]
mov dword [eax + 0x18], ecx
jmp 0x56ae7c
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 0x56a988
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 0x56aee3
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 0x56aec7
mov eax, 1
pop esi
add esp, 0x1f0
ret