Function at 0x65f390
Capabilities:
Encrypt data using xtea
Inspect section memory permissions
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
push esi
mov dword [ebp - 0x140], 0xf0
lea eax, [ebp - 0x5c0]
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp + 8]
sub ecx, 0xf0
mov dword [ebp - 0x13c], ecx
cmp dword [ebp - 0x140], 0
jbe 0x65f407
mov edx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x278]
add edx, 1
mov dword [ebp - 0x278], edx
mov eax, dword [ebp - 0x13c]
add eax, 1
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x140]
sub ecx, 1
mov dword [ebp - 0x140], ecx
jmp 0x65f3bf
lea edx, [ebp - 0x5c0]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0x148], ecx
lea edx, [ebp - 0x5bc]
mov dword [ebp - 0xdc], edx
mov eax, 0xec
shr eax, 2
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jbe 0x65f48e
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx]
mov dword [ebp - 0x38c], edx
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
xor ecx, dword [ebp - 0x148]
mov edx, dword [ebp - 0xdc]
mov dword [edx], ecx
mov eax, dword [ebp - 0xdc]
add eax, 4
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0x38c]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp - 0x144]
sub edx, 1
mov dword [ebp - 0x144], edx
jmp 0x65f435
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0xc0dec0df
je 0x65f4b0
jmp 0x66130a
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
sub eax, dword [edx + 0x10]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 0x29c], edx
mov dword [ebp - 0x150], 0xe8
lea eax, [ebp - 0x478]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x150], 0
jbe 0x65f516
mov ecx, dword [ebp - 0x14c]
mov byte [ecx], 0
mov edx, dword [ebp - 0x14c]
add edx, 1
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x150]
sub eax, 1
mov dword [ebp - 0x150], eax
jmp 0x65f4e4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x2c]
add edx, 0xf
and edx, 0xfffffff0
mov dword [ebp - 0xcc], edx
cmp dword [ebp - 0xcc], 1
jb 0x65f53d
cmp dword [ebp - 0xcc], 0x280
jbe 0x65f547
jmp 0x66130a
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x29c]
add edx, dword [ecx + 0x28]
mov dword [ebp - 0x390], edx
lea eax, [ebp - 0x840]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x390]
mov dword [ebp - 0x158], ecx
cmp dword [ebp - 0x15c], 0
jbe 0x65f5c5
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x158]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x154]
add edx, 1
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x158]
add eax, 1
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x15c]
sub ecx, 1
mov dword [ebp - 0x15c], ecx
jmp 0x65f57d
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x30c], edx
lea eax, [ebp - 0x840]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xcc]
shr ecx, 2
mov dword [ebp - 0x160], ecx
cmp dword [ebp - 0x160], 0
jbe 0x65f645
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx]
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
xor edx, dword [ebp - 0x30c]
mov eax, dword [ebp - 0xb8]
mov dword [eax], edx
mov ecx, dword [ebp - 0xb8]
add ecx, 4
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0x330]
mov dword [ebp - 0x30c], edx
mov eax, dword [ebp - 0x160]
sub eax, 1
mov dword [ebp - 0x160], eax
jmp 0x65f5ec
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xe0], 0
jmp 0x65f669
mov edx, dword [ebp - 0xe0]
add edx, 1
mov dword [ebp - 0xe0], edx
cmp dword [ebp - 0xe0], 0x22
jae 0x65f6da
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
lea edx, [ebp + ecx - 0x840]
cmp dword [ebp - 0x3c], edx
jb 0x65f68e
jmp 0x66130a
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x418], ecx
mov edx, dword [ebp - 0x3c]
movsx eax, byte [edx]
test eax, eax
je 0x65f6cf
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2c]
lea ecx, [ebp + eax - 0x840]
cmp dword [ebp - 0x3c], ecx
jb 0x65f6cd
jmp 0x66130a
jmp 0x65f69e
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
jmp 0x65f65a
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
lea edx, [ebp + ecx - 0x840]
cmp dword [ebp - 0x3c], edx
je 0x65f6f6
jmp 0x66130a
mov dword [ebp - 0x14], 0
mov eax, 2
imul ecx, eax, 0
mov edx, 0x6b
mov word [ebp + ecx - 0x328], dx
mov eax, 2
shl eax, 0
mov ecx, 0x65
mov word [ebp + eax - 0x328], cx
mov edx, 2
shl edx, 1
mov eax, 0x72
mov word [ebp + edx - 0x328], ax
mov ecx, 2
imul edx, ecx, 3
mov eax, 0x6e
mov word [ebp + edx - 0x328], ax
mov ecx, 2
shl ecx, 2
mov edx, 0x65
mov word [ebp + ecx - 0x328], dx
mov eax, 2
imul ecx, eax, 5
mov edx, 0x6c
mov word [ebp + ecx - 0x328], dx
mov eax, 2
imul ecx, eax, 6
mov edx, 0x33
mov word [ebp + ecx - 0x328], dx
mov eax, 2
imul ecx, eax, 7
mov edx, 0x32
mov word [ebp + ecx - 0x328], dx
mov eax, 2
shl eax, 3
mov ecx, 0x2e
mov word [ebp + eax - 0x328], cx
mov edx, 2
imul eax, edx, 9
mov ecx, 0x64
mov word [ebp + eax - 0x328], cx
mov edx, 2
imul eax, edx, 0xa
mov ecx, 0x6c
mov word [ebp + eax - 0x328], cx
mov edx, 2
imul eax, edx, 0xb
mov ecx, 0x6c
mov word [ebp + eax - 0x328], cx
mov edx, 2
imul eax, edx, 0xc
xor ecx, ecx
mov word [ebp + eax - 0x328], cx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x27c], edx
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x27c]
mov edx, dword [eax + 0xc8]
or edx, dword [ecx + 0xcc]
je 0x65f863
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x42c], eax
mov ecx, 4
imul edx, ecx, 0x14
mov eax, dword [ebp + edx - 0x418]
push eax
call dword [ebp - 0x42c]
mov dword [ebp - 0x14], eax
jmp 0x65f954
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x280], ecx
mov edx, dword [ebp - 0x280]
mov eax, dword [ebp - 0x280]
mov ecx, dword [edx + 0xd0]
or ecx, dword [eax + 0xd4]
je 0x65f8b3
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xd0]
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x428], edx
lea eax, [ebp - 0x328]
push eax
call dword [ebp - 0x428]
mov dword [ebp - 0x14], eax
jmp 0x65f954
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x284]
mov ecx, dword [edx + 0xd8]
or ecx, dword [eax + 0xdc]
je 0x65f909
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xd8]
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x424], edx
mov eax, 4
imul ecx, eax, 0x14
mov edx, dword [ebp + ecx - 0x418]
push edx
call dword [ebp - 0x424]
mov dword [ebp - 0x14], eax
jmp 0x65f954
mov eax, dword [ebp - 8]
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x288]
mov edx, dword [ebp - 0x288]
mov eax, dword [ecx + 0xe0]
or eax, dword [edx + 0xe4]
je 0x65f954
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xe0]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x420], ecx
lea edx, [ebp - 0x328]
push edx
call dword [ebp - 0x420]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x65f964
jmp 0x66130a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
mov edx, dword [ebp - 0x28c]
mov eax, dword [ecx + 0xe8]
or eax, dword [edx + 0xec]
je 0x65f9a4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xe8]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x41c], ecx
jmp 0x65fc9f
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x290], edx
mov eax, dword [ebp - 0x290]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x65f9ca
mov dword [ebp - 0x2c], 0
jmp 0x65fc83
mov edx, dword [ebp - 0x290]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
cmp dword [ecx], 0x4550
je 0x65f9f6
mov dword [ebp - 0x2c], 0
jmp 0x65fc83
mov edx, dword [ebp - 0xe4]
movzx eax, word [edx + 4]
cmp eax, 0x14c
jne 0x65fa27
mov ecx, dword [ebp - 0xe4]
movzx edx, word [ecx + 0x14]
cmp edx, 0xe0
je 0x65fa25
mov dword [ebp - 0x2c], 0
jmp 0x65fc83
jmp 0x65fa33
mov dword [ebp - 0x2c], 0
jmp 0x65fc83
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0xe4]
lea eax, [edx + ecx + 0x78]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
cmp dword [ecx + 4], 0
jne 0x65fa63
mov dword [ebp - 0x2c], 0
jmp 0x65fc83
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x14]
add eax, dword [edx]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
cmp dword [ecx + 0x18], 0
je 0x65fa83
mov edx, dword [ebp - 0x64]
cmp dword [edx + 0x14], 0
jne 0x65fa8f
mov dword [ebp - 0x2c], 0
jmp 0x65fc83
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0xe8], 0xffffffff
mov dword [ebp - 0x164], 0
jmp 0x65faf0
mov ecx, dword [ebp - 0x164]
add ecx, 1
mov dword [ebp - 0x164], ecx
mov edx, dword [ebp - 0x168]
add edx, 4
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 0x16c]
add eax, 2
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x164]
cmp edx, dword [ecx + 0x18]
jae 0x65fc01
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax]
mov dword [ebp - 0xb4], ecx
mov edx, 4
imul eax, edx, 0x17
mov ecx, dword [ebp + eax - 0x418]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
movsx eax, byte [edx]
test eax, eax
je 0x65fba6
mov ecx, dword [ebp - 0xb4]
movsx edx, byte [ecx]
test edx, edx
je 0x65fba6
mov eax, dword [ebp - 0x90]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0xb4]
movsx eax, byte [edx]
cmp ecx, eax
jge 0x65fb64
mov dword [ebp - 0xbc], 0xffffffff
jmp 0x65fbe2
mov ecx, dword [ebp - 0x90]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0xb4]
movsx ecx, byte [eax]
cmp edx, ecx
jle 0x65fb86
mov dword [ebp - 0xbc], 1
jmp 0x65fbe2
mov edx, dword [ebp - 0x90]
add edx, 1
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0xb4]
add eax, 1
mov dword [ebp - 0xb4], eax
jmp 0x65fb28
mov ecx, dword [ebp - 0xb4]
movsx edx, byte [ecx]
test edx, edx
je 0x65fbbf
mov dword [ebp - 0xbc], 0xffffffff
jmp 0x65fbe2
mov eax, dword [ebp - 0x90]
movsx ecx, byte [eax]
test ecx, ecx
je 0x65fbd8
mov dword [ebp - 0xbc], 1
jmp 0x65fbe2
mov dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0
jne 0x65fbfc
mov edx, dword [ebp - 0x16c]
movzx eax, word [edx]
mov dword [ebp - 0xe8], eax
jmp 0x65fc01
jmp 0x65fac3
cmp dword [ebp - 0xe8], 0xffffffff
jne 0x65fc13
mov dword [ebp - 0x2c], 0
jmp 0x65fc83
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0xe8]
cmp edx, dword [ecx + 0x14]
jbe 0x65fc2a
mov dword [ebp - 0x2c], 0
jmp 0x65fc83
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0xe8]
lea eax, [ecx + edx*4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x170], edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x170]
cmp ecx, dword [eax]
jb 0x65fc77
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc0]
add eax, dword [ecx + 4]
cmp dword [ebp - 0x170], eax
jae 0x65fc77
mov dword [ebp - 0x2c], 0
jmp 0x65fc83
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x170]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x65fc9f
jmp 0x66130a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x294], ecx
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x294]
mov ecx, dword [edx + 0xc8]
or ecx, dword [eax + 0xcc]
jne 0x65fcf5
mov edx, 4
imul eax, edx, 0x18
mov ecx, dword [ebp + eax - 0x418]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [ebp - 0x41c]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x65fcf5
jmp 0x66130a
mov eax, 4
imul ecx, eax, 0x19
mov edx, dword [ebp + ecx - 0x418]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [ebp - 0x41c]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jne 0x65fd28
jmp 0x66130a
mov ecx, 4
imul edx, ecx, 0x15
mov eax, dword [ebp + edx - 0x418]
push eax
call dword [ebp - 0x424]
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0
jne 0x65fd57
jmp 0x66130a
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xec], 0
jmp 0x65fd7b
mov edx, dword [ebp - 0xec]
add edx, 1
mov dword [ebp - 0xec], edx
cmp dword [ebp - 0xec], 3
jae 0x65fdc1
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp + eax*4 - 0x418]
push ecx
mov edx, dword [ebp - 0x298]
push edx
call dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov edx, dword [ebp - 0x40]
cmp dword [edx], 0
jne 0x65fdb6
jmp 0x66130a
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x40], eax
jmp 0x65fd6c
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xf0], 0
jmp 0x65fde5
mov edx, dword [ebp - 0xf0]
add edx, 1
mov dword [ebp - 0xf0], edx
cmp dword [ebp - 0xf0], 0x10
jae 0x65fe28
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp + eax*4 - 0x40c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov edx, dword [ebp - 0x40]
cmp dword [edx], 0
jne 0x65fe1d
jmp 0x66130a
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x40], eax
jmp 0x65fdd6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
and edx, 0x20
jne 0x65fe95
call fcn.0065f380
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x65fe7b
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 0xc4]
jne 0x65fe7b
mov edx, dword [ebp - 0xc4]
cmp dword [edx + 0x30], 0
je 0x65fe7b
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x30]
movzx edx, byte [ecx + 2]
test edx, edx
jne 0x65fe7b
mov byte [ebp - 0x1d], 0
jmp 0x65fe7f
mov byte [ebp - 0x1d], 1
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x65fe95
mov byte [ebp - 1], 0x54
jmp 0x6613e5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xa8]
and edx, 1
je 0x65feff
lea eax, [ebp + 4]
add eax, 4
mov dword [ebp - 0xc8], eax
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + ecx]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x24
mov dword [ebp - 0xc8], ecx
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x334], ecx
cmp dword [ebp - 0x334], 1
je 0x65feff
jmp 0x661215
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x34]
push eax
push 1
call dword [ebp - 0x478]
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x65ff28
mov byte [ebp - 1], 0x57
jmp 0x6613e5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x17c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x29c]
add ecx, dword [eax + 0x30]
mov dword [ebp - 0x338], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x17c], 0
jbe 0x65ffa3
mov ecx, dword [ebp - 0x174]
mov edx, dword [ebp - 0x178]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x174]
add ecx, 1
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x178]
add edx, 1
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x17c]
sub eax, 1
mov dword [ebp - 0x17c], eax
jmp 0x65ff5b
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x33c], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 8]
add ecx, 0x98
mov dword [ebp - 0x2a0], ecx
mov edx, dword [ebp - 0x33c]
shr edx, 3
mov dword [ebp - 0x340], edx
mov dword [ebp - 0x2a4], 0x55555555
mov dword [ebp - 0x2a8], 0x55555555
mov dword [ebp - 0x114], 0
jmp 0x660005
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
cmp ecx, dword [ebp - 0x340]
jae 0x660157
mov edx, dword [ebp - 0x114]
shl edx, 1
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x344], eax
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx + ecx*4 + 4]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x348], ecx
mov dword [ebp - 0x94], 0xc6ef3720
mov dword [ebp - 0x180], 0
jmp 0x660081
mov edx, dword [ebp - 0x180]
add edx, 1
mov dword [ebp - 0x180], edx
cmp dword [ebp - 0x180], 0x20
jae 0x660109
mov eax, dword [ebp - 0x68]
shl eax, 4
mov ecx, dword [ebp - 0x68]
shr ecx, 5
xor eax, ecx
add eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x94]
shr edx, 0xb
and edx, 3
mov ecx, dword [ebp - 0x2a0]
mov esi, dword [ebp - 0x94]
add esi, dword [ecx + edx*4]
xor eax, esi
mov edx, dword [ebp - 0x6c]
sub edx, eax
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x94]
add eax, 0x61c88647
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x6c]
shl ecx, 4
mov edx, dword [ebp - 0x6c]
shr edx, 5
xor ecx, edx
add ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x94]
and eax, 3
mov edx, dword [ebp - 0x2a0]
mov esi, dword [ebp - 0x94]
add esi, dword [edx + eax*4]
xor ecx, esi
mov eax, dword [ebp - 0x68]
sub eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x660072
mov ecx, dword [ebp - 0x68]
xor ecx, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf8]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x6c]
xor ecx, dword [ebp - 0x2a8]
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf8]
mov dword [eax + edx*4 + 4], ecx
mov ecx, dword [ebp - 0x344]
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 0x348]
mov dword [ebp - 0x2a8], edx
jmp 0x65fff6
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x35c], ecx
mov edx, dword [ebp - 8]
mov dword [edx + 0x44], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x840]
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0xfc], 0
jmp 0x66019b
mov ecx, dword [ebp - 0xfc]
add ecx, 1
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0xfc]
cmp edx, dword [ebp - 0xcc]
jae 0x66020b
mov eax, dword [ebp - 0x34c]
add eax, dword [ebp - 0xfc]
movzx ecx, byte [eax]
shl ecx, 0x18
xor ecx, dword [ebp - 0x44]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x184], 8
jmp 0x6601dc
mov edx, dword [ebp - 0x184]
sub edx, 1
mov dword [ebp - 0x184], edx
cmp dword [ebp - 0x184], 0
jle 0x660209
mov eax, dword [ebp - 0x44]
and eax, 0x80000000
je 0x6601ff
mov ecx, dword [ebp - 0x44]
shl ecx, 1
xor ecx, 0x488781ed
mov dword [ebp - 0x44], ecx
jmp 0x660207
mov edx, dword [ebp - 0x44]
shl edx, 1
mov dword [ebp - 0x44], edx
jmp 0x6601cd
jmp 0x66018c
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x48], ecx
lea edx, [ebp - 0x5c0]
mov dword [ebp - 0x350], edx
mov dword [ebp - 0x100], 0
jmp 0x66023e
mov eax, dword [ebp - 0x100]
add eax, 1
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0xf0
jae 0x6602ad
mov ecx, dword [ebp - 0x350]
add ecx, dword [ebp - 0x100]
movzx edx, byte [ecx]
shl edx, 0x18
xor edx, dword [ebp - 0x48]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x188], 8
jmp 0x66027d
mov eax, dword [ebp - 0x188]
sub eax, 1
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
jle 0x6602ab
mov ecx, dword [ebp - 0x48]
and ecx, 0x80000000
je 0x6602a1
mov edx, dword [ebp - 0x48]
shl edx, 1
xor edx, 0x488781ed
mov dword [ebp - 0x48], edx
jmp 0x6602a9
mov eax, dword [ebp - 0x48]
shl eax, 1
mov dword [ebp - 0x48], eax
jmp 0x66026e
jmp 0x66022f
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x104], 0
jmp 0x6602dd
mov ecx, dword [ebp - 0x104]
add ecx, 1
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
add eax, 0xf
and eax, 0xfffffff0
cmp dword [ebp - 0x104], eax
jae 0x660357
mov ecx, dword [ebp - 0x354]
add ecx, dword [ebp - 0x104]
movzx edx, byte [ecx]
shl edx, 0x18
xor edx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x18c], 8
jmp 0x660324
mov eax, dword [ebp - 0x18c]
sub eax, 1
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jle 0x660352
mov ecx, dword [ebp - 0x4c]
and ecx, 0x80000000
je 0x660348
mov edx, dword [ebp - 0x4c]
shl edx, 1
xor edx, 0x488781ed
mov dword [ebp - 0x4c], edx
jmp 0x660350
mov eax, dword [ebp - 0x4c]
shl eax, 1
mov dword [ebp - 0x4c], eax
jmp 0x660315
jmp 0x6602ce
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x108], 0
jmp 0x660387
mov ecx, dword [ebp - 0x108]
add ecx, 1
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x108]
cmp eax, dword [edx + 0x34]
jae 0x6603f8
mov ecx, dword [ebp - 0x358]
add ecx, dword [ebp - 0x108]
movzx edx, byte [ecx]
shl edx, 0x18
xor edx, dword [ebp - 0x50]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x190], 8
jmp 0x6603c8
mov eax, dword [ebp - 0x190]
sub eax, 1
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0
jle 0x6603f6
mov ecx, dword [ebp - 0x50]
and ecx, 0x80000000
je 0x6603ec
mov edx, dword [ebp - 0x50]
shl edx, 1
xor edx, 0x488781ed
mov dword [ebp - 0x50], edx
jmp 0x6603f4
mov eax, dword [ebp - 0x50]
shl eax, 1
mov dword [ebp - 0x50], eax
jmp 0x6603b9
jmp 0x660378
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x35c]
mov dword [edx + 0x44], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x70]
cmp edx, dword [ecx + 0x44]
je 0x660423
mov byte [ebp - 1], 0x51
jmp 0x6613e5
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x2ac], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x2ac], 0x40
jb 0x660452
mov eax, dword [ebp - 0x98]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x66045e
mov dword [ebp - 0x10], 0
jmp 0x660cf8
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 0x3c]
add edx, 0xf8
cmp dword [ebp - 0x2ac], edx
jb 0x66048f
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0x4550
je 0x66049b
mov dword [ebp - 0x10], 0
jmp 0x660cf8
push 4
push 0x2000
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x50]
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x34]
push ecx
call dword [ebp - 0x444]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x6604d8
push 4
push 0x2000
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x50]
push eax
push 0
call dword [ebp - 0x444]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x6604ea
mov dword [ebp - 0x10], 0
jmp 0x660cf8
mov dword [ebp - 0x198], 0xc
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x194], ecx
cmp dword [ebp - 0x198], 0
jbe 0x660532
mov edx, dword [ebp - 0x194]
mov byte [edx], 0
mov eax, dword [ebp - 0x194]
add eax, 1
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x198]
sub ecx, 1
mov dword [ebp - 0x198], ecx
jmp 0x660500
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x88], edx
push 4
push 0x1000
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [ebp - 0x444]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x58]
add ecx, dword [edx + 0x54]
mov dword [ebp - 0x360], ecx
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x1a0], edx
cmp dword [ebp - 0x1a4], 0
jbe 0x6605da
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1a0]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x19c]
add eax, 1
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x1a0]
add ecx, 1
mov dword [ebp - 0x1a0], ecx
mov edx, dword [ebp - 0x1a4]
sub edx, 1
mov dword [ebp - 0x1a4], edx
jmp 0x660592
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x2b0]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x2b4], ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x84]
movzx ecx, word [eax + 0x14]
lea edx, [edx + ecx + 0x18]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x1a8], 0
jmp 0x660642
mov eax, dword [ebp - 0x1a8]
add eax, 1
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x28
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x84]
movzx eax, word [edx + 6]
cmp dword [ebp - 0x1a8], eax
jge 0x660797
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x10], 0
jne 0x6606f0
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
jbe 0x6606eb
push 4
push 0x1000
mov ecx, dword [ebp - 0x1ac]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x2b4]
add eax, dword [edx + 0xc]
push eax
call dword [ebp - 0x444]
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b4], ecx
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1b0], edx
cmp dword [ebp - 0x1b4], 0
jbe 0x6606eb
mov eax, dword [ebp - 0x1b0]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1b0]
add ecx, 1
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x1b4]
sub edx, 1
mov dword [ebp - 0x1b4], edx
jmp 0x6606b9
jmp 0x66062a
push 4
push 0x1000
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x2b4]
add eax, dword [edx + 0xc]
push eax
call dword [ebp - 0x444]
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x14]
mov dword [ebp - 0x364], ecx
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], edx
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c4], 0
jbe 0x660792
mov ecx, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x1c0]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x1bc]
add ecx, 1
mov dword [ebp - 0x1bc], ecx
mov edx, dword [ebp - 0x1c0]
add edx, 1
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x1c4]
sub eax, 1
mov dword [ebp - 0x1c4], eax
jmp 0x66074a
jmp 0x66062a
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x24]
sub edx, dword [ecx + 0x34]
mov dword [ebp - 0x1d0], edx
je 0x66091f
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x84]
mov edx, 8
imul eax, edx, 5
lea ecx, [ecx + eax + 0x78]
mov dword [ebp - 0x2b8], ecx
mov edx, dword [ebp - 0x2b8]
cmp dword [edx + 4], 0
jbe 0x66091f
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2bc]
add ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
cmp dword [edx], 0
jbe 0x66091f
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x2bc]
add ecx, dword [eax]
mov dword [ebp - 0x2c4], ecx
mov edx, dword [ebp - 0x74]
add edx, 8
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x1c8], 0
jmp 0x660844
mov eax, dword [ebp - 0x1c8]
add eax, 1
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x10c]
add ecx, 2
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0x1c8], eax
jae 0x66090e
mov ecx, dword [ebp - 0x10c]
movzx edx, word [ecx]
sar edx, 0xc
mov dword [ebp - 0x368], edx
mov eax, dword [ebp - 0x10c]
movzx ecx, word [eax]
and ecx, 0xfff
mov dword [ebp - 0x2c8], ecx
mov edx, dword [ebp - 0x368]
mov dword [ebp - 0x1cc], edx
cmp dword [ebp - 0x1cc], 0
je 0x6608ab
cmp dword [ebp - 0x1cc], 3
je 0x6608ad
cmp dword [ebp - 0x1cc], 0xa
je 0x6608d7
jmp 0x660908
jmp 0x660909
mov eax, dword [ebp - 0x2c4]
add eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2c0]
mov edx, dword [ecx]
add edx, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x2c0]
mov dword [eax], edx
jmp 0x660909
mov ecx, dword [ebp - 0x2c4]
add ecx, dword [ebp - 0x2c8]
mov dword [ebp - 0x2cc], ecx
mov eax, dword [ebp - 0x1d0]
cdq
mov ecx, dword [ebp - 0x2cc]
add eax, dword [ecx]
adc edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x2cc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x660909
int3
jmp 0x660826
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
add eax, dword [edx + 4]
mov dword [ebp - 0x74], eax
jmp 0x6607f1
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x84]
mov eax, 8
shl eax, 0
lea ecx, [edx + eax + 0x78]
mov dword [ebp - 0x2d0], ecx
mov edx, dword [ebp - 0x2d0]
cmp dword [edx + 4], 0
jbe 0x660a96
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [ebp - 0x7c]
add ecx, dword [eax]
mov dword [ebp - 0x30], ecx
jmp 0x660969
mov edx, dword [ebp - 0x30]
add edx, 0x14
mov dword [ebp - 0x30], edx
push 0x14
mov eax, dword [ebp - 0x30]
push eax
call dword [ebp - 0x438]
test eax, eax
jne 0x660a96
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0xc], 0
je 0x660a96
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x7c]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x36c], eax
mov ecx, dword [ebp - 0x36c]
push ecx
call dword [ebp - 0x424]
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 0
jne 0x6609be
mov byte [ebp - 0x15], 0
jmp 0x660a9a
mov edx, dword [ebp - 0x30]
cmp dword [edx], 0
je 0x6609e2
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x7c]
add ecx, dword [eax]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x7c]
add eax, dword [edx + 0x10]
mov dword [ebp - 0x9c], eax
jmp 0x6609fd
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x7c]
add edx, dword [ecx + 0x10]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x7c]
add ecx, dword [eax + 0x10]
mov dword [ebp - 0x9c], ecx
jmp 0x660a17
mov edx, dword [ebp - 0x78]
add edx, 4
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x9c]
add eax, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x78]
cmp dword [ecx], 0
je 0x660a91
mov edx, dword [ebp - 0x78]
mov eax, dword [edx]
and eax, 0x80000000
je 0x660a4e
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x1d4]
push eax
call dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x9c]
mov dword [ecx], eax
jmp 0x660a7b
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
add eax, dword [edx]
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x370]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x1d4]
push edx
call dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x9c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x9c]
cmp dword [edx], 0
jne 0x660a8c
mov byte [ebp - 0x15], 0
jmp 0x660a9a
jmp 0x6609ff
jmp 0x660960
mov byte [ebp - 0x15], 1
movzx eax, byte [ebp - 0x15]
test eax, eax
jne 0x660aae
mov dword [ebp - 0x10], 0
jmp 0x660cf8
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x84]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x1d8], 0
jmp 0x660ae9
mov edx, dword [ebp - 0x1d8]
add edx, 1
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp - 0x1c]
add eax, 0x28
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x84]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x1d8], edx
jge 0x660c9c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x24]
and ecx, 0x20000000
je 0x660b19
mov dword [ebp - 0x2d4], 1
jmp 0x660b23
mov dword [ebp - 0x2d4], 0
mov dl, byte [ebp - 0x2d4]
mov byte [ebp - 0x5e], dl
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x24]
and ecx, 0x40000000
je 0x660b46
mov dword [ebp - 0x2d8], 1
jmp 0x660b50
mov dword [ebp - 0x2d8], 0
mov dl, byte [ebp - 0x2d8]
mov byte [ebp - 0x5d], dl
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x24]
and ecx, 0x80000000
je 0x660b73
mov dword [ebp - 0x2dc], 1
jmp 0x660b7d
mov dword [ebp - 0x2dc], 0
mov dl, byte [ebp - 0x2dc]
mov byte [ebp - 0x1e], dl
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x24]
and ecx, 0x2000000
je 0x660bb8
push 0x4000
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x1c]
add ecx, dword [edx + 0xc]
push ecx
call dword [ebp - 0x440]
jmp 0x660ad1
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x660bda
movzx ecx, byte [ebp - 0x1e]
test ecx, ecx
je 0x660bd1
mov dword [ebp - 0x5c], 4
jmp 0x660bd8
mov dword [ebp - 0x5c], 2
jmp 0x660bf2
movzx edx, byte [ebp - 0x1e]
test edx, edx
je 0x660beb
mov dword [ebp - 0x5c], 8
jmp 0x660bf2
mov dword [ebp - 0x5c], 1
movzx eax, byte [ebp - 0x5e]
test eax, eax
je 0x660c03
mov ecx, dword [ebp - 0x5c]
shl ecx, 4
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x24]
and eax, 0x4000000
je 0x660c1c
mov ecx, dword [ebp - 0x5c]
or ecx, 0x200
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x660c69
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x24]
and edx, 0x40
je 0x660c4d
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x110], ecx
jmp 0x660c69
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x24]
and eax, 0x80
je 0x660c69
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x110], edx
cmp dword [ebp - 0x110], 0
jbe 0x660c97
lea eax, [ebp - 0x47c]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x1c]
add ecx, dword [edx + 0xc]
push ecx
call dword [ebp - 0x43c]
jmp 0x660ad1
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x28], 0
je 0x660cf2
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + 0x28]
mov dword [ebp - 0x2e0], edx
jne 0x660cc5
mov dword [ebp - 0x10], 0
jmp 0x660cf8
push 0
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [ebp - 0x2e0]
mov dword [ebp - 0x374], eax
cmp dword [ebp - 0x374], 0
jne 0x660ceb
mov dword [ebp - 0x10], 0
jmp 0x660cf8
mov byte [ebp - 0x8c], 1
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1dc], ecx
cmp dword [ebp - 0x1e0], 0
jbe 0x660d3f
mov edx, dword [ebp - 0x1dc]
mov byte [edx], 0
mov eax, dword [ebp - 0x1dc]
add eax, 1
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1e0]
sub ecx, 1
mov dword [ebp - 0x1e0], ecx
jmp 0x660d0d
mov edx, dword [ebp - 0x34]
push edx
call dword [ebp - 0x474]
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x660d60
mov byte [ebp - 1], 0x42
jmp 0x6613e5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2e4]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x660d86
mov dword [ebp - 0x28], 0
jmp 0x66103f
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x138]
cmp dword [edx], 0x4550
je 0x660db2
mov dword [ebp - 0x28], 0
jmp 0x66103f
mov eax, dword [ebp - 0x138]
movzx ecx, word [eax + 4]
cmp ecx, 0x14c
jne 0x660de3
mov edx, dword [ebp - 0x138]
movzx eax, word [edx + 0x14]
cmp eax, 0xe0
je 0x660de1
mov dword [ebp - 0x28], 0
jmp 0x66103f
jmp 0x660def
mov dword [ebp - 0x28], 0
jmp 0x66103f
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x138]
lea ecx, [eax + edx + 0x78]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xd4]
cmp dword [edx + 4], 0
jne 0x660e1f
mov dword [ebp - 0x28], 0
jmp 0x66103f
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
cmp dword [edx + 0x18], 0
je 0x660e3f
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x14], 0
jne 0x660e4b
mov dword [ebp - 0x28], 0
jmp 0x66103f
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x1e8], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x118], 0xffffffff
mov dword [ebp - 0x1e4], 0
jmp 0x660eac
mov edx, dword [ebp - 0x1e4]
add edx, 1
mov dword [ebp - 0x1e4], edx
mov eax, dword [ebp - 0x1e8]
add eax, 4
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1ec]
add ecx, 2
mov dword [ebp - 0x1ec], ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x1e4]
cmp eax, dword [edx + 0x18]
jae 0x660fbd
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx]
mov dword [ebp - 0xa0], edx
mov eax, 4
imul ecx, eax, 0x21
mov edx, dword [ebp + ecx - 0x418]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x660f62
mov edx, dword [ebp - 0xa0]
movsx eax, byte [edx]
test eax, eax
je 0x660f62
mov ecx, dword [ebp - 0xa4]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0xa0]
movsx ecx, byte [eax]
cmp edx, ecx
jge 0x660f20
mov dword [ebp - 0xd0], 0xffffffff
jmp 0x660f9e
mov edx, dword [ebp - 0xa4]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0xa0]
movsx edx, byte [ecx]
cmp eax, edx
jle 0x660f42
mov dword [ebp - 0xd0], 1
jmp 0x660f9e
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 1
mov dword [ebp - 0xa0], ecx
jmp 0x660ee4
mov edx, dword [ebp - 0xa0]
movsx eax, byte [edx]
test eax, eax
je 0x660f7b
mov dword [ebp - 0xd0], 0xffffffff
jmp 0x660f9e
mov ecx, dword [ebp - 0xa4]
movsx edx, byte [ecx]
test edx, edx
je 0x660f94
mov dword [ebp - 0xd0], 1
jmp 0x660f9e
mov dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0
jne 0x660fb8
mov eax, dword [ebp - 0x1ec]
movzx ecx, word [eax]
mov dword [ebp - 0x118], ecx
jmp 0x660fbd
jmp 0x660e7f
cmp dword [ebp - 0x118], 0xffffffff
jne 0x660fcf
mov dword [ebp - 0x28], 0
jmp 0x66103f
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x118]
cmp eax, dword [edx + 0x14]
jbe 0x660fe6
mov dword [ebp - 0x28], 0
jmp 0x66103f
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x118]
lea ecx, [edx + eax*4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0x1f0]
cmp edx, dword [ecx]
jb 0x661033
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xd4]
add ecx, dword [edx + 4]
cmp dword [ebp - 0x1f0], ecx
jae 0x661033
mov dword [ebp - 0x28], 0
jmp 0x66103f
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2e8], ecx
cmp dword [ebp - 0x2e8], 0
jne 0x66105f
mov byte [ebp - 1], 0x43
jmp 0x6613e5
push 0xf0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x2e8]
mov byte [ebp - 1], al
movsx ecx, byte [ebp - 1]
cmp ecx, 0x30
je 0x661088
jmp 0x6613e5
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x2ec], edx
mov eax, dword [ebp - 0x2ec]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x6610a7
jmp 0x661215
mov edx, dword [ebp - 0x2ec]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
cmp dword [ecx], 0x4550
je 0x6610cc
jmp 0x661215
mov edx, dword [ebp - 0xa8]
movzx eax, word [edx + 4]
cmp eax, 0x14c
jne 0x6610f6
mov ecx, dword [ebp - 0xa8]
movzx edx, word [ecx + 0x14]
cmp edx, 0xe0
je 0x6610f4
jmp 0x661215
jmp 0x6610fb
jmp 0x661215
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0xa8]
cmp dword [ecx + 0x28], 0
je 0x66113d
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x11c]
add eax, dword [edx + 0x28]
mov dword [ebp - 0x2f0], eax
jne 0x66112c
jmp 0x661215
push 0
push 0
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [ebp - 0x2f0]
mov edx, 8
shl edx, 0
mov eax, dword [ebp - 0xa8]
lea ecx, [eax + edx + 0x78]
mov dword [ebp - 0x2f4], ecx
mov edx, dword [ebp - 0x2f4]
cmp dword [edx + 4], 0
jbe 0x6611e9
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x11c]
add ecx, dword [eax]
mov dword [ebp - 0xd8], ecx
jmp 0x66118a
mov edx, dword [ebp - 0xd8]
add edx, 0x14
mov dword [ebp - 0xd8], edx
push 0x14
mov eax, dword [ebp - 0xd8]
push eax
call dword [ebp - 0x438]
test eax, eax
jne 0x6611e9
mov ecx, dword [ebp - 0xd8]
cmp dword [ecx + 0xc], 0
je 0x6611e9
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x11c]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x378]
push ecx
call dword [ebp - 0x42c]
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
je 0x6611e7
mov edx, dword [ebp - 0x2f8]
push edx
call dword [ebp - 0x430]
jmp 0x66117b
push 0x8000
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [ebp - 0x440]
cmp eax, 1
jne 0x66120b
mov dword [ebp - 0x37c], 1
jmp 0x661215
mov dword [ebp - 0x37c], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
add edx, dword [ebp - 0xac]
mov dword [ebp - 0x380], edx
mov dword [ebp - 0x1f8], 0xf0
lea eax, [ebp - 0x5c0]
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0x1f8], 0
jbe 0x66126f
mov ecx, dword [ebp - 0x1f4]
mov byte [ecx], 0
mov edx, dword [ebp - 0x1f4]
add edx, 1
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x1f8]
sub eax, 1
mov dword [ebp - 0x1f8], eax
jmp 0x66123d
mov dword [ebp - 0x200], 0xe8
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x1fc], ecx
cmp dword [ebp - 0x200], 0
jbe 0x6612b7
mov edx, dword [ebp - 0x1fc]
mov byte [edx], 0
mov eax, dword [ebp - 0x1fc]
add eax, 1
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x200]
sub ecx, 1
mov dword [ebp - 0x200], ecx
jmp 0x661285
mov dword [ebp - 0x208], 0x280
lea edx, [ebp - 0x840]
mov dword [ebp - 0x204], edx
cmp dword [ebp - 0x208], 0
jbe 0x6612ff
mov eax, dword [ebp - 0x204]
mov byte [eax], 0
mov ecx, dword [ebp - 0x204]
add ecx, 1
mov dword [ebp - 0x204], ecx
mov edx, dword [ebp - 0x208]
sub edx, 1
mov dword [ebp - 0x208], edx
jmp 0x6612cd
mov eax, dword [ebp - 0x380]
jmp 0x661a7c
mov dword [ebp - 0x210], 0xf0
lea eax, [ebp - 0x5c0]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x210], 0
jbe 0x661352
mov ecx, dword [ebp - 0x20c]
mov byte [ecx], 0
mov edx, dword [ebp - 0x20c]
add edx, 1
mov dword [ebp - 0x20c], edx
mov eax, dword [ebp - 0x210]
sub eax, 1
mov dword [ebp - 0x210], eax
jmp 0x661320
mov dword [ebp - 0x218], 0xe8
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x214], ecx
cmp dword [ebp - 0x218], 0
jbe 0x66139a
mov edx, dword [ebp - 0x214]
mov byte [edx], 0
mov eax, dword [ebp - 0x214]
add eax, 1
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x218]
sub ecx, 1
mov dword [ebp - 0x218], ecx
jmp 0x661368
mov dword [ebp - 0x220], 0x280
lea edx, [ebp - 0x840]
mov dword [ebp - 0x21c], edx
cmp dword [ebp - 0x220], 0
jbe 0x6613e2
mov eax, dword [ebp - 0x21c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x21c]
add ecx, 1
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp - 0x220]
sub edx, 1
mov dword [ebp - 0x220], edx
jmp 0x6613b0
int3
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x388], eax
call dword [ebp - 0x468]
mov dword [ebp - 0x22c], eax
movsx ecx, byte [ebp - 1]
cmp ecx, 0x35
je 0x661418
movsx edx, byte [ebp - 1]
cmp edx, 0x30
je 0x661418
movsx eax, byte [ebp - 1]
cmp eax, 0x45
jne 0x661422
jmp 0x661995
mov ecx, 4
imul edx, ecx, 0x1d
mov eax, dword [ebp + edx - 0x418]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x4d0]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x120]
movsx eax, byte [edx]
test eax, eax
je 0x661480
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x120]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x124]
add ecx, 1
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
jmp 0x661443
mov eax, dword [ebp - 0x124]
mov byte [eax], 0
mov ecx, 4
imul edx, ecx, 0x1e
mov eax, dword [ebp + edx - 0x418]
mov dword [ebp - 0x128], eax
lea ecx, [ebp - 0x4b0]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x128]
movsx eax, byte [edx]
test eax, eax
je 0x6614e7
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x128]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x12c]
add ecx, 1
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x128]
add edx, 1
mov dword [ebp - 0x128], edx
jmp 0x6614aa
mov eax, dword [ebp - 0x12c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x22c]
add ecx, 0xff98
mov dword [ebp - 0x22c], ecx
lea edx, [ebp - 0x4b0]
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x224]
movsx ecx, byte [eax]
test ecx, ecx
je 0x661545
mov edx, dword [ebp - 0x228]
add edx, 1
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
jmp 0x661518
mov ecx, dword [ebp - 0x228]
lea edx, [ebp + ecx - 0x4b0]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
sub eax, 1
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0x4b0]
cmp dword [ebp - 0xb0], ecx
jbe 0x661645
mov edx, dword [ebp - 0xb0]
movsx eax, byte [edx]
cmp eax, 0x3a
jne 0x661640
mov ecx, dword [ebp - 0xb0]
mov dl, byte [ebp - 1]
mov byte [ecx - 1], dl
mov eax, dword [ebp - 0xb0]
add eax, 1
mov dword [ebp - 0x384], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x134], 0x3b9aca00
mov dword [ebp - 0x130], 0
jmp 0x6615d7
mov edx, dword [ebp - 0x130]
add edx, 1
mov dword [ebp - 0x130], edx
cmp dword [ebp - 0x130], 0xa
jge 0x66163e
mov eax, dword [ebp - 0x230]
xor edx, edx
div dword [ebp - 0x134]
mov dword [ebp - 0x2fc], eax
movsx eax, byte [ebp - 0x2fc]
add eax, 0x30
mov ecx, dword [ebp - 0x384]
add ecx, dword [ebp - 0x130]
mov byte [ecx], al
mov edx, dword [ebp - 0x2fc]
imul edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x230]
sub eax, edx
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x134]
xor edx, edx
mov ecx, 0xa
div ecx
mov dword [ebp - 0x134], eax
jmp 0x6615c8
jmp 0x661645
jmp 0x661558
mov edx, dword [ebp - 8]
mov dword [ebp - 0x300], edx
mov eax, dword [ebp - 0x300]
cmp dword [eax + 0x14], 0
ja 0x661666
mov ecx, dword [ebp - 0x300]
cmp dword [ecx + 0x10], 0xffffffff
jbe 0x66166f
mov byte [ebp - 9], 0x35
jmp 0x661834
mov edx, 4
imul eax, edx, 0x1c
mov ecx, dword [ebp + eax - 0x418]
push ecx
push 0
push 0x100000
call dword [ebp - 0x464]
mov dword [ebp - 0x23c], eax
mov edx, 4
imul eax, edx, 0x1b
mov ecx, dword [ebp + eax - 0x418]
push ecx
push 0
push 2
call dword [ebp - 0x460]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x23c], 0
je 0x6616c4
cmp dword [ebp - 0x238], 0
jne 0x6616cd
mov byte [ebp - 9], 0x35
jmp 0x661834
push 0x1388
mov edx, dword [ebp - 0x23c]
push edx
call dword [ebp - 0x458]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x6616f7
mov byte [ebp - 9], 0x47
jmp 0x661834
push 0
push 0
push 0
push 2
mov eax, dword [ebp - 0x238]
push eax
call dword [ebp - 0x45c]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
jne 0x661724
mov byte [ebp - 9], 0x48
jmp 0x661834
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x90], 2
je 0x661742
mov byte [ebp - 9], 0x49
jmp 0x661834
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x94], 0
je 0x661757
mov byte [ebp - 9], 0x4a
jmp 0x661834
push 0
push 0
push 0
push 0
call dword [ebp - 0x454]
mov dword [ebp - 0x240], eax
call dword [ebp - 0x448]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x98], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0xa0], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x44]
mov dword [edx + 0xa4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
sub eax, 0xf0
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0xac], eax
movsx edx, byte [ebp - 1]
mov eax, dword [ebp - 0x38]
mov dword [eax + 0xa8], edx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x240]
mov dword [ecx + 0x9c], edx
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x94], 2
push 0x1388
mov ecx, dword [ebp - 0x240]
push ecx
call dword [ebp - 0x458]
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x234]
push edx
call dword [ebp - 0x450]
mov eax, dword [ebp - 0x238]
push eax
call dword [ebp - 0x44c]
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [ebp - 0x44c]
mov edx, dword [ebp - 0x240]
push edx
call dword [ebp - 0x44c]
cmp dword [ebp - 0x244], 0
je 0x661830
mov byte [ebp - 9], 0x4c
jmp 0x661834
mov byte [ebp - 9], 0x30
movsx eax, byte [ebp - 9]
cmp eax, 0x30
je 0x661995
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
and edx, 0x40
jne 0x661995
mov eax, 4
imul ecx, eax, 0x16
mov edx, dword [ebp + ecx - 0x418]
push edx
call dword [ebp - 0x424]
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0x304], 0
je 0x661995
mov eax, 4
imul ecx, eax, 0x1a
mov edx, dword [ebp + ecx - 0x418]
push edx
mov eax, dword [ebp - 0x304]
push eax
call dword [ebp - 0x41c]
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x24c], 0xf0
lea ecx, [ebp - 0x5c0]
mov dword [ebp - 0x248], ecx
cmp dword [ebp - 0x24c], 0
jbe 0x6618e4
mov edx, dword [ebp - 0x248]
mov byte [edx], 0
mov eax, dword [ebp - 0x248]
add eax, 1
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x24c]
sub ecx, 1
mov dword [ebp - 0x24c], ecx
jmp 0x6618b2
mov dword [ebp - 0x254], 0xe8
lea edx, [ebp - 0x478]
mov dword [ebp - 0x250], edx
cmp dword [ebp - 0x254], 0
jbe 0x66192c
mov eax, dword [ebp - 0x250]
mov byte [eax], 0
mov ecx, dword [ebp - 0x250]
add ecx, 1
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x254]
sub edx, 1
mov dword [ebp - 0x254], edx
jmp 0x6618fa
mov dword [ebp - 0x25c], 0x280
lea eax, [ebp - 0x840]
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x25c], 0
jbe 0x661974
mov ecx, dword [ebp - 0x258]
mov byte [ecx], 0
mov edx, dword [ebp - 0x258]
add edx, 1
mov dword [ebp - 0x258], edx
mov eax, dword [ebp - 0x25c]
sub eax, 1
mov dword [ebp - 0x25c], eax
jmp 0x661942
cmp dword [ebp - 0x308], 0
je 0x661995
push 0x10
lea ecx, [ebp - 0x4d0]
push ecx
lea edx, [ebp - 0x4b0]
push edx
push 0
call dword [ebp - 0x308]
mov dword [ebp - 0x264], 0xf0
lea eax, [ebp - 0x5c0]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x264], 0
jbe 0x6619dd
mov ecx, dword [ebp - 0x260]
mov byte [ecx], 0
mov edx, dword [ebp - 0x260]
add edx, 1
mov dword [ebp - 0x260], edx
mov eax, dword [ebp - 0x264]
sub eax, 1
mov dword [ebp - 0x264], eax
jmp 0x6619ab
mov dword [ebp - 0x26c], 0xe8
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x268], ecx
cmp dword [ebp - 0x26c], 0
jbe 0x661a25
mov edx, dword [ebp - 0x268]
mov byte [edx], 0
mov eax, dword [ebp - 0x268]
add eax, 1
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x26c]
sub ecx, 1
mov dword [ebp - 0x26c], ecx
jmp 0x6619f3
mov dword [ebp - 0x274], 0x280
lea edx, [ebp - 0x840]
mov dword [ebp - 0x270], edx
cmp dword [ebp - 0x274], 0
jbe 0x661a6d
mov eax, dword [ebp - 0x270]
mov byte [eax], 0
mov ecx, dword [ebp - 0x270]
add ecx, 1
mov dword [ebp - 0x270], ecx
mov edx, dword [ebp - 0x274]
sub edx, 1
mov dword [ebp - 0x274], edx
jmp 0x661a3b
movsx eax, byte [ebp - 1]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x388]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret