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

Disassembly:
sub esp, 0x5c
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
push ebx
push ebp
lea eax, [edx + eax*2]
push esi
lea esi, [edx + edx*2]
push edi
lea ecx, [eax + eax*4]
lea esi, [esi + esi*8]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x74]
shl esi, 6
mov ebp, dword [ecx + eax*8 + 0x64]
lea eax, [ecx + eax*8 + 0x60]
add esi, edx
mov dword [esp + 0x30], eax
mov edx, dword [eax]
sub edx, ebp
xor ebp, ebp
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0x4c]
shl esi, 2
inc edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], edx
mov edx, dword [eax + 8]
lea ebx, [esi + ecx + 0x58c]
mov esi, dword [eax + 0x40]
shl edx, 1
cmp edx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x7c], ebp
jbe 0x60f8ab
mov edi, dword [eax + 0x44]
mov dword [esp + 0x5c], esi
cmp edx, edi
jbe 0x60f899
sub edi, esi
mov esi, edx
mov dword [esp + 0x60], edi
mov edi, dword [eax + 0x44]
sub esi, edi
mov dword [esp + 0x64], esi
jmp 0x60f8b7
mov edi, edx
mov dword [esp + 0x64], 0
sub edi, esi
mov dword [esp + 0x60], edi
jmp 0x60f8b7
mov dword [esp + 0x5c], edx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebp
mov esi, 0x240
xor edi, edi
sub esi, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x68], esi
lea edx, [edx + ecx + 0x208c]
mov dword [esp + 0x2c], edx
mov dword [edx], edi
mov edx, dword [eax + 0x18]
cmp edx, 2
jne 0x610177
mov edx, dword [eax + 0xc]
mov esi, dword [0x655b38]
shl edx, 2
sub esi, edx
mov edx, dword [eax + 0x1c]
cmp edx, edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], ebx
je 0x60f946
mov edx, dword [ecx]
mov edi, dword [ecx + 0x10]
mov dword [esp + 0x2c], 8
mov dword [esp + 0x3c], 1
lea edx, [edx + edx*2]
mov dword [esp + 0x20], 0
add edx, edi
lea edi, [edx + edx*2]
shl edi, 3
sub edi, edx
lea edx, [edi + edi*2]
lea edi, [edx*4 + 0x6520b0]
lea edx, [eax + 0xf0]
mov dword [esp + 0x18], edx
jmp 0x60f97b
mov edi, dword [ecx]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 3
lea edi, [edi + edi*2]
mov dword [esp + 0x20], 1
add edi, edx
lea edx, [eax + 0x54]
imul edi, edi, 0x1e0
add edi, 0x652a68
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x584]
test edx, edx
je 0x60f98c
add esi, 8
mov dword [esp + 0x34], esi
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
shl ecx, 5
add ecx, esi
mov dword [esp + 0x4c], 2
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x34]
shl edx, 5
add edx, esi
shl ecx, 5
mov dword [esp + 0x54], edx
add ecx, esi
mov esi, dword [esp + 0x70]
lea edx, [esp + 0x5c]
add eax, 0x20
mov dword [esp + 0x58], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], eax
mov eax, dword [eax]
mov edx, dword [esp + 0x40]
lea ecx, [eax*8 + 0x65f1a8]
mov eax, dword [edx]
cdq
sub eax, edx
mov dword [esp + 0x70], ecx
sar eax, 1
je 0x60fc64
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
jmp 0x60f9ff
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
mov edx, ebp
dec ebp
test edx, edx
mov dword [esp + 0x10], ebp
jne 0x60fabf
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x60fa4c
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
cmp ebx, ebp
jne 0x60fa48
mov eax, dword [ecx]
mov ebx, dword [ecx + 0x10]
mov edx, 1
lea edi, [eax + eax*2]
mov eax, dword [esp + 0x30]
add edi, ebx
mov dword [esp + 0x20], edx
imul edi, edi, 0x1e0
add edi, 0x652ad4
add eax, 0x78
test edx, edx
je 0x60fa7e
mov edx, dword [eax]
mov ecx, dword [esp + 0x24]
shl edx, cl
mov ecx, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x18], eax
mov ebx, dword [esp + ecx*4 + 0x50]
inc ecx
cmp ecx, 3
mov dword [esp + 0x1c], ecx
fld dword [ebx + edx*4]
fstp dword [esp + 0x7c]
jne 0x60fa98
mov dword [esp + 0x1c], 0
jmp 0x60fa98
mov edx, dword [eax]
mov ecx, dword [esp + 0x24]
shl edx, cl
mov ecx, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x18], eax
fld dword [ecx + edx*4]
fstp dword [esp + 0x7c]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, dword [edi + 8]
sar eax, 1
dec eax
inc ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
add edi, 0xc
lea ebx, [eax + edx*4]
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 4]
mov bp, word [eax]
add eax, 2
test bp, bp
jge 0x60fb0b
mov ecx, dword [esi + 0x1c]
dec ecx
mov dword [esi + 0x1c], ecx
je 0x6108d9
mov edx, dword [esi + 8]
mov edx, dword [edx]
shr edx, cl
test dl, 1
je 0x60faf2
movsx ecx, bp
neg ecx
lea eax, [eax + ecx*2]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x78]
add eax, 2
dec ebp
mov dword [esp + 0x78], ebp
mov bp, word [eax - 2]
test bp, bp
jl 0x60fad1
movsx ecx, bp
mov eax, ecx
and ecx, 0xf
sar eax, 4
test eax, eax
mov ebp, ecx
je 0x60fba8
cmp eax, 0xf
jne 0x60fb48
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
push ecx
push esi
call fcn.0060ce70
mov edx, dword [esp + 0x78]
add esp, 8
add eax, 0xf
mov ecx, dword [edx]
mov edx, dword [esp + 0x78]
sub edx, ecx
mov dword [esp + 0x78], edx
mov ecx, dword [esi + 0x1c]
dec ecx
mov dword [esi + 0x1c], ecx
je 0x60fb77
mov edx, dword [esi + 8]
fld dword [eax*4 + 0x655b40]
mov edx, dword [edx]
shr edx, cl
fmul dword [esp + 0x7c]
test dl, 1
je 0x60fb9b
mov eax, dword [esp + 0x78]
fchs
fstp dword [ebx]
dec eax
mov dword [esp + 0x78], eax
jmp 0x60fbae
mov ecx, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov dl, byte [ecx]
lea ecx, [ecx + 4]
mov dword [esi + 8], ecx
fld dword [eax*4 + 0x655b40]
fmul dword [esp + 0x7c]
test dl, 1
je 0x60fb9b
fchs
mov eax, dword [esp + 0x78]
fstp dword [ebx]
dec eax
mov dword [esp + 0x78], eax
jmp 0x60fbae
mov dword [ebx], 0
mov eax, dword [esp + 0x3c]
shl eax, 2
add ebx, eax
mov dword [esp + 0x28], eax
test ebp, ebp
je 0x60fc45
cmp ebp, 0xf
jne 0x60fbed
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
push edx
push esi
call fcn.0060ce70
mov ebp, eax
mov eax, dword [esp + 0x78]
add esp, 8
add ebp, 0xf
mov ecx, dword [eax]
mov eax, dword [esp + 0x78]
sub eax, ecx
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x1c]
dec eax
mov dword [esi + 0x1c], eax
mov ecx, eax
je 0x60fc10
mov edx, dword [esi + 8]
fld dword [ebp*4 + 0x655b40]
mov eax, dword [edx]
shr eax, cl
fmul dword [esp + 0x7c]
test al, 1
je 0x60fc34
jmp 0x60fc32
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov cl, byte [eax]
lea eax, [eax + 4]
mov dword [esi + 8], eax
fld dword [ebp*4 + 0x655b40]
fmul dword [esp + 0x7c]
test cl, 1
je 0x60fc34
fchs
mov eax, dword [esp + 0x78]
fstp dword [ebx]
dec eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
jmp 0x60fc4b
mov dword [ebx], 0
mov ebp, dword [esp + 0x10]
add ebx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], ebx
dec eax
mov dword [esp + 0x44], eax
jne 0x60f9f7
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
add eax, 4
add edx, 4
dec ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], ecx
jne 0x60f9cb
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x50]
lea eax, [edx*8 + 0x65f2a8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x4c], eax
je 0x6100f7
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x6100f7
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 4]
movsx ecx, word [eax]
add eax, 2
mov dword [esp + 0x70], ecx
test ecx, ecx
jge 0x60fd31
mov ecx, dword [esi + 0x1c]
dec ecx
mov dword [esi + 0x1c], ecx
je 0x60fcf3
mov edx, dword [esi + 8]
mov edx, dword [edx]
shr edx, cl
test dl, 1
je 0x60fd15
mov ecx, dword [esp + 0x70]
neg ecx
lea eax, [eax + ecx*2]
jmp 0x60fd15
mov ecx, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov dl, byte [ecx]
lea ecx, [ecx + 4]
test dl, 1
mov dword [esi + 8], ecx
je 0x60fd19
mov ecx, dword [esp + 0x70]
neg ecx
lea eax, [eax + ecx*2]
jmp 0x60fd19
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
add eax, 2
dec ecx
mov dword [esp + 0x78], ecx
movsx ecx, word [eax - 2]
test ecx, ecx
mov dword [esp + 0x70], ecx
jl 0x60fcd3
mov eax, ebp
dec ebp
test eax, eax
jne 0x60fdeb
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x60fd7c
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jne 0x60fd7c
mov ecx, dword [esp + 0x74]
mov edx, 1
mov dword [esp + 0x20], edx
mov eax, dword [ecx]
mov ebx, dword [ecx + 0x10]
lea edi, [eax + eax*2]
mov eax, dword [esp + 0x30]
add edi, ebx
imul edi, edi, 0x1e0
add edi, 0x652ad4
add eax, 0x78
jmp 0x60fd80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
test edx, edx
mov edx, dword [eax]
je 0x60fdb6
shl edx, cl
mov ecx, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x18], eax
mov ebx, dword [esp + ecx*4 + 0x50]
inc ecx
cmp ecx, 3
mov dword [esp + 0x1c], ecx
fld dword [ebx + edx*4]
fstp dword [esp + 0x7c]
jne 0x60fdca
mov dword [esp + 0x1c], 0
jmp 0x60fdca
shl edx, cl
mov ecx, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x18], eax
fld dword [ecx + edx*4]
fstp dword [esp + 0x7c]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, dword [edi + 8]
mov ebp, eax
mov eax, dword [esp + 0x38]
sar ebp, 1
dec ebp
inc ecx
mov dword [esp + 0x14], ecx
lea ebx, [eax + edx*4]
add edi, 0xc
test byte [esp + 0x70], 8
je 0x60fe67
mov eax, dword [esi + 0x1c]
dec eax
mov dword [esi + 0x1c], eax
mov ecx, eax
je 0x60fe2c
mov edx, dword [esi + 8]
mov eax, dword [edx]
shr eax, cl
test al, 1
je 0x60fe1b
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
fchs
fstp dword [ebx]
dec eax
mov dword [esp + 0x78], eax
jmp 0x60fe6d
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
dec eax
mov dword [ebx], ecx
mov dword [esp + 0x78], eax
jmp 0x60fe6d
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov cl, byte [eax]
lea eax, [eax + 4]
test cl, 1
mov dword [esi + 8], eax
je 0x60fe56
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
fchs
fstp dword [ebx]
dec eax
mov dword [esp + 0x78], eax
jmp 0x60fe6d
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
dec eax
mov dword [ebx], edx
mov dword [esp + 0x78], eax
jmp 0x60fe6d
mov dword [ebx], 0
mov eax, dword [esp + 0x3c]
mov cl, byte [esp + 0x70]
shl eax, 2
add ebx, eax
mov dword [esp + 0x28], eax
test cl, 4
je 0x60ff0c
mov eax, dword [esi + 0x1c]
dec eax
mov dword [esi + 0x1c], eax
mov ecx, eax
je 0x60fec9
mov edx, dword [esi + 8]
mov eax, dword [edx]
shr eax, cl
test al, 1
je 0x60feb4
mov eax, dword [esp + 0x78]
fld dword [esp + 0x7c]
dec eax
fchs
fstp dword [ebx]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
jmp 0x60ff12
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
dec eax
mov dword [ebx], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
jmp 0x60ff12
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov cl, byte [eax]
lea eax, [eax + 4]
test cl, 1
mov dword [esi + 8], eax
je 0x60fef7
mov eax, dword [esp + 0x78]
fld dword [esp + 0x7c]
dec eax
fchs
fstp dword [ebx]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
jmp 0x60ff12
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
dec eax
mov dword [ebx], edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
jmp 0x60ff12
mov dword [ebx], 0
add ebx, eax
mov eax, ebp
dec ebp
test eax, eax
mov dword [esp + 0x10], ebp
jne 0x60ffd6
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x60ff63
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jne 0x60ff63
mov ecx, dword [esp + 0x74]
mov edx, 1
mov dword [esp + 0x20], edx
mov eax, dword [ecx]
mov ebx, dword [ecx + 0x10]
lea edi, [eax + eax*2]
mov eax, dword [esp + 0x30]
add edi, ebx
imul edi, edi, 0x1e0
add edi, 0x652ad4
add eax, 0x78
jmp 0x60ff67
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
test edx, edx
mov edx, dword [eax]
je 0x60ff9d
shl edx, cl
mov ecx, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x18], eax
mov ebx, dword [esp + ecx*4 + 0x50]
inc ecx
cmp ecx, 3
mov dword [esp + 0x1c], ecx
fld dword [ebx + edx*4]
fstp dword [esp + 0x7c]
jne 0x60ffb1
mov dword [esp + 0x1c], 0
jmp 0x60ffb1
shl edx, cl
mov ecx, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x18], eax
fld dword [ecx + edx*4]
fstp dword [esp + 0x7c]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, dword [edi + 8]
mov ebp, eax
mov eax, dword [esp + 0x38]
sar ebp, 1
dec ebp
inc ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ecx
lea ebx, [eax + edx*4]
add edi, 0xc
test byte [esp + 0x70], 2
je 0x610052
mov eax, dword [esi + 0x1c]
dec eax
mov dword [esi + 0x1c], eax
mov ecx, eax
je 0x610017
mov edx, dword [esi + 8]
mov eax, dword [edx]
shr eax, cl
test al, 1
je 0x610006
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
fchs
fstp dword [ebx]
dec eax
mov dword [esp + 0x78], eax
jmp 0x610058
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
dec eax
mov dword [ebx], ecx
mov dword [esp + 0x78], eax
jmp 0x610058
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov cl, byte [eax]
lea eax, [eax + 4]
test cl, 1
mov dword [esi + 8], eax
je 0x610041
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
fchs
fstp dword [ebx]
dec eax
mov dword [esp + 0x78], eax
jmp 0x610058
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
dec eax
mov dword [ebx], edx
mov dword [esp + 0x78], eax
jmp 0x610058
mov dword [ebx], 0
mov ecx, dword [esp + 0x28]
mov al, byte [esp + 0x70]
add ebx, ecx
test al, 1
je 0x6100dc
mov eax, dword [esi + 0x1c]
dec eax
mov dword [esi + 0x1c], eax
mov ecx, eax
je 0x6100a1
mov eax, dword [esi + 8]
mov edx, dword [eax]
shr edx, cl
test dl, 1
je 0x610090
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
fchs
fstp dword [ebx]
dec eax
mov dword [esp + 0x78], eax
jmp 0x6100e2
mov eax, dword [esp + 0x7c]
mov dword [ebx], eax
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jmp 0x6100e2
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov cl, byte [eax]
lea eax, [eax + 4]
test cl, 1
mov dword [esi + 8], eax
je 0x6100cb
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
fchs
fstp dword [ebx]
dec eax
mov dword [esp + 0x78], eax
jmp 0x6100e2
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
dec eax
mov dword [ebx], ecx
mov dword [esp + 0x78], eax
jmp 0x6100e2
mov dword [ebx], 0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
add ebx, ecx
dec eax
mov dword [esp + 0x4c], eax
jne 0x60fcb2
mov edx, ebp
dec ebp
test edx, edx
jne 0x61015e
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x610134
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jne 0x610134
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], 1
mov edi, dword [eax]
mov ecx, dword [eax + 0x10]
lea edi, [edi + edi*2]
add edi, ecx
imul edi, edi, 0x1e0
add edi, 0x652ad4
cmp dword [edi], 0
jl 0x610865
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
mov ebp, eax
sar ebp, 1
dec ebp
inc ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 8]
add edi, 0xc
lea ebx, [edx + ecx*4]
mov eax, dword [esp + 0x3c]
mov dword [ebx], 0
shl eax, 2
add ebx, eax
mov dword [ebx], 0
add ebx, eax
jmp 0x6100f7
mov edx, dword [eax + 0x48]
mov dword [esp + 0x20], 0x653b48
cmp edx, edi
jne 0x61018e
mov dword [esp + 0x20], 0x653ba0
lea edx, [eax + 0xf0]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xc]
shl edx, 2
mov esi, edx
mov edx, dword [0x655b38]
sub edx, esi
mov esi, dword [ecx + 0x584]
cmp esi, edi
mov dword [esp + 0x38], edx
je 0x6101bd
add edx, 8
mov dword [esp + 0x38], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 0x10]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x44], 3
lea edx, [edx + edx*2]
add ecx, edx
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
add eax, 0x20
mov dword [esp + 0x48], eax
lea ecx, [edx + edx*2]
lea edx, [ecx*4 + 0x6520b0]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov edx, dword [eax]
mov ecx, dword [esp + 0x40]
lea eax, [edx*8 + 0x65f1a8]
mov dword [esp + 0x70], eax
mov eax, dword [ecx]
cdq
sub eax, edx
sar eax, 1
je 0x61042e
mov dword [esp + 0x4c], eax
mov edx, ebp
dec ebp
test edx, edx
mov dword [esp + 0x10], ebp
jne 0x61026a
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 4]
add ecx, 0xc
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
mov edi, dword [edx]
dec eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax]
add eax, 4
add edi, ecx
mov ecx, dword [esp + 0x24]
shl edi, cl
mov ecx, dword [esp + 0x38]
add edx, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
fld dword [ecx + edi*4]
fstp dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 4]
mov di, word [eax]
add eax, 2
test di, di
jge 0x6102d3
mov ecx, dword [esi + 0x1c]
dec ecx
mov dword [esi + 0x1c], ecx
mov ebp, ecx
je 0x61029f
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov ecx, ebp
shr edx, cl
test dl, 1
je 0x6102be
movsx ecx, di
neg ecx
lea eax, [eax + ecx*2]
jmp 0x6102be
mov ecx, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov dl, byte [ecx]
lea ecx, [ecx + 4]
test dl, 1
mov dword [esi + 8], ecx
je 0x6102be
movsx edx, di
neg edx
lea eax, [eax + edx*2]
mov edi, dword [esp + 0x78]
add eax, 2
dec edi
mov dword [esp + 0x78], edi
mov di, word [eax - 2]
test di, di
jl 0x61027c
movsx ecx, di
mov eax, ecx
and ecx, 0xf
sar eax, 4
test eax, eax
mov edi, ecx
je 0x610373
cmp eax, 0xf
jne 0x610311
mov ebp, dword [esp + 0x70]
mov eax, dword [ebp]
push eax
push esi
call fcn.0060ce70
mov ecx, dword [ebp]
mov edx, dword [esp + 0x80]
add esp, 8
add eax, 0xf
sub edx, ecx
mov dword [esp + 0x78], edx
mov ecx, dword [esi + 0x1c]
dec ecx
mov dword [esi + 0x1c], ecx
mov ebp, ecx
je 0x610342
mov edx, dword [esi + 8]
fld dword [eax*4 + 0x655b40]
mov edx, dword [edx]
shr edx, cl
fmul dword [esp + 0x7c]
test dl, 1
je 0x610366
mov eax, dword [esp + 0x78]
fchs
fstp dword [ebx]
dec eax
mov dword [esp + 0x78], eax
jmp 0x610379
mov ecx, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov dl, byte [ecx]
lea ecx, [ecx + 4]
mov dword [esi + 8], ecx
fld dword [eax*4 + 0x655b40]
fmul dword [esp + 0x7c]
test dl, 1
je 0x610366
fchs
mov eax, dword [esp + 0x78]
fstp dword [ebx]
dec eax
mov dword [esp + 0x78], eax
jmp 0x610379
mov dword [ebx], 0
add ebx, 4
test edi, edi
je 0x610412
cmp edi, 0xf
jne 0x6103af
mov ebp, dword [esp + 0x70]
mov eax, dword [ebp]
push eax
push esi
call fcn.0060ce70
mov ecx, dword [ebp]
mov edi, eax
mov eax, dword [esp + 0x80]
add esp, 8
add edi, 0xf
sub eax, ecx
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x1c]
dec eax
mov dword [esi + 0x1c], eax
mov ebp, eax
je 0x6103e1
mov edx, dword [esi + 8]
mov ecx, ebp
fld dword [edi*4 + 0x655b40]
mov eax, dword [edx]
shr eax, cl
fmul dword [esp + 0x7c]
test al, 1
je 0x610405
mov eax, dword [esp + 0x78]
fchs
fstp dword [ebx]
dec eax
mov dword [esp + 0x78], eax
jmp 0x610418
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov cl, byte [eax]
lea eax, [eax + 4]
mov dword [esi + 8], eax
fld dword [edi*4 + 0x655b40]
fmul dword [esp + 0x7c]
test cl, 1
je 0x610405
fchs
mov eax, dword [esp + 0x78]
fstp dword [ebx]
dec eax
mov dword [esp + 0x78], eax
jmp 0x610418
mov dword [ebx], 0
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x10]
add ebx, 4
dec eax
mov dword [esp + 0x4c], eax
jne 0x61021a
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
add eax, 4
add edx, 4
dec ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
jne 0x6101f8
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x50]
lea eax, [edx*8 + 0x65f2a8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x4c], eax
je 0x610814
mov ecx, dword [esp + 0x3c]
add ecx, 4
mov dword [esp + 0x3c], ecx
mov edi, dword [esp + 0x78]
test edi, edi
jle 0x610818
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 4]
movsx edx, word [eax]
add eax, 2
mov dword [esp + 0x70], edx
test edx, edx
jge 0x610506
mov ecx, dword [esi + 0x1c]
dec ecx
mov dword [esi + 0x1c], ecx
mov edi, ecx
je 0x6104cc
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov ecx, edi
shr edx, cl
test dl, 1
je 0x6104e8
mov ecx, dword [esp + 0x70]
neg ecx
lea eax, [eax + ecx*2]
jmp 0x6104e8
mov ecx, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
test byte [ecx], 1
lea ecx, [ecx + 4]
mov dword [esi + 8], ecx
je 0x6104ec
neg edx
lea eax, [eax + edx*2]
jmp 0x6104ec
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
add eax, 2
dec ecx
mov dword [esp + 0x78], ecx
movsx ecx, word [eax - 2]
test ecx, ecx
mov dword [esp + 0x70], ecx
mov edx, ecx
jl 0x6104a8
mov eax, ebp
dec ebp
test eax, eax
jne 0x610553
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
add ecx, 0xc
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x20]
mov edi, dword [edx]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax]
add eax, 4
add edi, ecx
mov ecx, dword [esp + 0x24]
shl edi, cl
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
sar ebp, 1
dec ebp
add edx, 4
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x70]
fld dword [ecx + edi*4]
fstp dword [esp + 0x7c]
test dl, 8
je 0x6105e1
mov eax, dword [esi + 0x1c]
dec eax
mov dword [esi + 0x1c], eax
mov edi, eax
je 0x61059f
mov eax, dword [esi + 8]
mov ecx, edi
mov eax, dword [eax]
shr eax, cl
test al, 1
je 0x61058b
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
add ebx, 4
fchs
fstp dword [ebx - 4]
dec eax
mov dword [esp + 0x78], eax
jmp 0x6105ea
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [ebx], ecx
add ebx, 4
dec eax
mov dword [esp + 0x78], eax
jmp 0x6105ea
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov cl, byte [eax]
lea eax, [eax + 4]
test cl, 1
mov dword [esi + 8], eax
je 0x6105cd
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
add ebx, 4
fchs
fstp dword [ebx - 4]
dec eax
mov dword [esp + 0x78], eax
jmp 0x6105ea
mov eax, dword [esp + 0x7c]
mov dword [ebx], eax
mov eax, dword [esp + 0x78]
add ebx, 4
dec eax
mov dword [esp + 0x78], eax
jmp 0x6105ea
mov dword [ebx], 0
add ebx, 4
test dl, 4
je 0x610678
mov eax, dword [esi + 0x1c]
dec eax
mov dword [esi + 0x1c], eax
mov edi, eax
je 0x610636
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov ecx, edi
shr eax, cl
test al, 1
je 0x610622
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
add ebx, 4
fchs
fstp dword [ebx - 4]
dec eax
mov dword [esp + 0x78], eax
jmp 0x610681
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [ebx], ecx
add ebx, 4
dec eax
mov dword [esp + 0x78], eax
jmp 0x610681
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov cl, byte [eax]
lea eax, [eax + 4]
test cl, 1
mov dword [esi + 8], eax
je 0x610664
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
add ebx, 4
fchs
fstp dword [ebx - 4]
dec eax
mov dword [esp + 0x78], eax
jmp 0x610681
mov eax, dword [esp + 0x7c]
mov dword [ebx], eax
mov eax, dword [esp + 0x78]
add ebx, 4
dec eax
mov dword [esp + 0x78], eax
jmp 0x610681
mov dword [ebx], 0
add ebx, 4
mov ecx, ebp
dec ebp
test ecx, ecx
mov dword [esp + 0x10], ebp
jne 0x6106d6
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
add ecx, 0xc
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x20]
mov edi, dword [edx]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax]
add eax, 4
add edi, ecx
mov ecx, dword [esp + 0x24]
shl edi, cl
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
sar ebp, 1
dec ebp
add edx, 4
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x70]
fld dword [ecx + edi*4]
mov dword [esp + 0x10], ebp
fstp dword [esp + 0x7c]
test dl, 2
je 0x610764
mov eax, dword [esi + 0x1c]
dec eax
mov dword [esi + 0x1c], eax
mov edi, eax
je 0x610722
mov eax, dword [esi + 8]
mov ecx, edi
mov eax, dword [eax]
shr eax, cl
test al, 1
je 0x61070e
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
add ebx, 4
fchs
fstp dword [ebx - 4]
dec eax
mov dword [esp + 0x78], eax
jmp 0x61076d
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [ebx], ecx
add ebx, 4
dec eax
mov dword [esp + 0x78], eax
jmp 0x61076d
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov cl, byte [eax]
lea eax, [eax + 4]
test cl, 1
mov dword [esi + 8], eax
je 0x610750
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
add ebx, 4
fchs
fstp dword [ebx - 4]
dec eax
mov dword [esp + 0x78], eax
jmp 0x61076d
mov eax, dword [esp + 0x7c]
mov dword [ebx], eax
mov eax, dword [esp + 0x78]
add ebx, 4
dec eax
mov dword [esp + 0x78], eax
jmp 0x61076d
mov dword [ebx], 0
add ebx, 4
test dl, 1
je 0x6107fc
mov eax, dword [esi + 0x1c]
dec eax
mov dword [esi + 0x1c], eax
mov edi, eax
je 0x6107ba
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov ecx, edi
shr edx, cl
test dl, 1
je 0x6107a6
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
add ebx, 4
fchs
fstp dword [ebx - 4]
dec eax
mov dword [esp + 0x78], eax
jmp 0x610805
mov eax, dword [esp + 0x7c]
mov dword [ebx], eax
mov eax, dword [esp + 0x78]
add ebx, 4
dec eax
mov dword [esp + 0x78], eax
jmp 0x610805
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov cl, byte [eax]
lea eax, [eax + 4]
test cl, 1
mov dword [esi + 8], eax
je 0x6107e8
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
add ebx, 4
fchs
fstp dword [ebx - 4]
dec eax
mov dword [esp + 0x78], eax
jmp 0x610805
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [ebx], ecx
add ebx, 4
dec eax
mov dword [esp + 0x78], eax
jmp 0x610805
mov dword [ebx], 0
add ebx, 4
mov eax, dword [esp + 0x4c]
dec eax
mov dword [esp + 0x4c], eax
jne 0x610487
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
sub ecx, ebx
mov eax, 0x38e38e39
lea ecx, [ecx + edx + 0xe8c]
sar ecx, 2
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x2c]
mov dword [eax], edx
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x610869
mov dword [ebx], 0
add ebx, 4
mov dword [ebx], 0
add ebx, 4
dec eax
jne 0x61084e
jmp 0x610869
mov edi, dword [esp + 0x78]
test edi, edi
je 0x6108d1
jle 0x6108a0
cmp edi, 0x20
jl 0x61088a
mov ebx, edi
shr ebx, 5
push 0x20
push esi
call fcn.0060ce70
add esp, 8
sub edi, 0x20
dec ebx
jne 0x610879
test edi, edi
je 0x6108d1
push edi
push esi
call fcn.0060ce70
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp edi, 0xffffffe0
jg 0x6108c1
mov ebx, edi
neg ebx
shr ebx, 5
mov ecx, ebx
shl ecx, 5
add edi, ecx
push 0x20
push esi
call fcn.0060ce40
add esp, 8
dec ebx
jne 0x6108b3
test edi, edi
je 0x6108d1
neg edi
push edi
push esi
call fcn.0060ce40
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov ecx, dword [esi + 8]
mov dword [esi + 0x1c], 0x20
mov dl, byte [ecx]
lea ecx, [ecx + 4]
test dl, 1
mov dword [esi + 8], ecx
je 0x60faf6
movsx edx, bp
neg edx
lea eax, [eax + edx*2]
jmp 0x60faf6