Function at 0x857390
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 0x857407
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 0x8573bf
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 0x85748e
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 0x857435
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0xc0dec0df
je 0x8574b0
jmp 0x85930a
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 0x857516
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 0x8574e4
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 0x85753d
cmp dword [ebp - 0xcc], 0x280
jbe 0x857547
jmp 0x85930a
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 0x8575c5
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 0x85757d
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 0x857645
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 0x8575ec
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xe0], 0
jmp 0x857669
mov edx, dword [ebp - 0xe0]
add edx, 1
mov dword [ebp - 0xe0], edx
cmp dword [ebp - 0xe0], 0x22
jae 0x8576da
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
lea edx, [ebp + ecx - 0x840]
cmp dword [ebp - 0x3c], edx
jb 0x85768e
jmp 0x85930a
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 0x8576cf
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 0x8576cd
jmp 0x85930a
jmp 0x85769e
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
jmp 0x85765a
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
lea edx, [ebp + ecx - 0x840]
cmp dword [ebp - 0x3c], edx
je 0x8576f6
jmp 0x85930a
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 0x857863
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 0x857954
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 0x8578b3
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 0x857954
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 0x857909
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 0x857954
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 0x857954
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 0x857964
jmp 0x85930a
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 0x8579a4
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 0x857c9f
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x290], edx
mov eax, dword [ebp - 0x290]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x8579ca
mov dword [ebp - 0x2c], 0
jmp 0x857c83
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 0x8579f6
mov dword [ebp - 0x2c], 0
jmp 0x857c83
mov edx, dword [ebp - 0xe4]
movzx eax, word [edx + 4]
cmp eax, 0x14c
jne 0x857a27
mov ecx, dword [ebp - 0xe4]
movzx edx, word [ecx + 0x14]
cmp edx, 0xe0
je 0x857a25
mov dword [ebp - 0x2c], 0
jmp 0x857c83
jmp 0x857a33
mov dword [ebp - 0x2c], 0
jmp 0x857c83
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 0x857a63
mov dword [ebp - 0x2c], 0
jmp 0x857c83
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 0x857a83
mov edx, dword [ebp - 0x64]
cmp dword [edx + 0x14], 0
jne 0x857a8f
mov dword [ebp - 0x2c], 0
jmp 0x857c83
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 0x857af0
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 0x857c01
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 0x857ba6
mov ecx, dword [ebp - 0xb4]
movsx edx, byte [ecx]
test edx, edx
je 0x857ba6
mov eax, dword [ebp - 0x90]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0xb4]
movsx eax, byte [edx]
cmp ecx, eax
jge 0x857b64
mov dword [ebp - 0xbc], 0xffffffff
jmp 0x857be2
mov ecx, dword [ebp - 0x90]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0xb4]
movsx ecx, byte [eax]
cmp edx, ecx
jle 0x857b86
mov dword [ebp - 0xbc], 1
jmp 0x857be2
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 0x857b28
mov ecx, dword [ebp - 0xb4]
movsx edx, byte [ecx]
test edx, edx
je 0x857bbf
mov dword [ebp - 0xbc], 0xffffffff
jmp 0x857be2
mov eax, dword [ebp - 0x90]
movsx ecx, byte [eax]
test ecx, ecx
je 0x857bd8
mov dword [ebp - 0xbc], 1
jmp 0x857be2
mov dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0
jne 0x857bfc
mov edx, dword [ebp - 0x16c]
movzx eax, word [edx]
mov dword [ebp - 0xe8], eax
jmp 0x857c01
jmp 0x857ac3
cmp dword [ebp - 0xe8], 0xffffffff
jne 0x857c13
mov dword [ebp - 0x2c], 0
jmp 0x857c83
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0xe8]
cmp edx, dword [ecx + 0x14]
jbe 0x857c2a
mov dword [ebp - 0x2c], 0
jmp 0x857c83
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 0x857c77
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 0x857c77
mov dword [ebp - 0x2c], 0
jmp 0x857c83
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 0x857c9f
jmp 0x85930a
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 0x857cf5
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 0x857cf5
jmp 0x85930a
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 0x857d28
jmp 0x85930a
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 0x857d57
jmp 0x85930a
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xec], 0
jmp 0x857d7b
mov edx, dword [ebp - 0xec]
add edx, 1
mov dword [ebp - 0xec], edx
cmp dword [ebp - 0xec], 3
jae 0x857dc1
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 0x857db6
jmp 0x85930a
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x40], eax
jmp 0x857d6c
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xf0], 0
jmp 0x857de5
mov edx, dword [ebp - 0xf0]
add edx, 1
mov dword [ebp - 0xf0], edx
cmp dword [ebp - 0xf0], 0x10
jae 0x857e28
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 0x857e1d
jmp 0x85930a
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x40], eax
jmp 0x857dd6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
and edx, 0x20
jne 0x857e95
call fcn.00857380
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x857e7b
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 0xc4]
jne 0x857e7b
mov edx, dword [ebp - 0xc4]
cmp dword [edx + 0x30], 0
je 0x857e7b
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x30]
movzx edx, byte [ecx + 2]
test edx, edx
jne 0x857e7b
mov byte [ebp - 0x1d], 0
jmp 0x857e7f
mov byte [ebp - 0x1d], 1
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x857e95
mov byte [ebp - 1], 0x54
jmp 0x8593e5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xa8]
and edx, 1
je 0x857eff
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 0x857eff
jmp 0x859215
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 0x857f28
mov byte [ebp - 1], 0x57
jmp 0x8593e5
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 0x857fa3
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 0x857f5b
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 0x858005
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
cmp ecx, dword [ebp - 0x340]
jae 0x858157
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 0x858081
mov edx, dword [ebp - 0x180]
add edx, 1
mov dword [ebp - 0x180], edx
cmp dword [ebp - 0x180], 0x20
jae 0x858109
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 0x858072
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 0x857ff6
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 0x85819b
mov ecx, dword [ebp - 0xfc]
add ecx, 1
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0xfc]
cmp edx, dword [ebp - 0xcc]
jae 0x85820b
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 0x8581dc
mov edx, dword [ebp - 0x184]
sub edx, 1
mov dword [ebp - 0x184], edx
cmp dword [ebp - 0x184], 0
jle 0x858209
mov eax, dword [ebp - 0x44]
and eax, 0x80000000
je 0x8581ff
mov ecx, dword [ebp - 0x44]
shl ecx, 1
xor ecx, 0x488781ed
mov dword [ebp - 0x44], ecx
jmp 0x858207
mov edx, dword [ebp - 0x44]
shl edx, 1
mov dword [ebp - 0x44], edx
jmp 0x8581cd
jmp 0x85818c
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 0x85823e
mov eax, dword [ebp - 0x100]
add eax, 1
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0xf0
jae 0x8582ad
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 0x85827d
mov eax, dword [ebp - 0x188]
sub eax, 1
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
jle 0x8582ab
mov ecx, dword [ebp - 0x48]
and ecx, 0x80000000
je 0x8582a1
mov edx, dword [ebp - 0x48]
shl edx, 1
xor edx, 0x488781ed
mov dword [ebp - 0x48], edx
jmp 0x8582a9
mov eax, dword [ebp - 0x48]
shl eax, 1
mov dword [ebp - 0x48], eax
jmp 0x85826e
jmp 0x85822f
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 0x8582dd
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 0x858357
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 0x858324
mov eax, dword [ebp - 0x18c]
sub eax, 1
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jle 0x858352
mov ecx, dword [ebp - 0x4c]
and ecx, 0x80000000
je 0x858348
mov edx, dword [ebp - 0x4c]
shl edx, 1
xor edx, 0x488781ed
mov dword [ebp - 0x4c], edx
jmp 0x858350
mov eax, dword [ebp - 0x4c]
shl eax, 1
mov dword [ebp - 0x4c], eax
jmp 0x858315
jmp 0x8582ce
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 0x858387
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 0x8583f8
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 0x8583c8
mov eax, dword [ebp - 0x190]
sub eax, 1
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0
jle 0x8583f6
mov ecx, dword [ebp - 0x50]
and ecx, 0x80000000
je 0x8583ec
mov edx, dword [ebp - 0x50]
shl edx, 1
xor edx, 0x488781ed
mov dword [ebp - 0x50], edx
jmp 0x8583f4
mov eax, dword [ebp - 0x50]
shl eax, 1
mov dword [ebp - 0x50], eax
jmp 0x8583b9
jmp 0x858378
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 0x858423
mov byte [ebp - 1], 0x51
jmp 0x8593e5
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 0x858452
mov eax, dword [ebp - 0x98]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x85845e
mov dword [ebp - 0x10], 0
jmp 0x858cf8
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 0x85848f
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0x4550
je 0x85849b
mov dword [ebp - 0x10], 0
jmp 0x858cf8
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 0x8584d8
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 0x8584ea
mov dword [ebp - 0x10], 0
jmp 0x858cf8
mov dword [ebp - 0x198], 0xc
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x194], ecx
cmp dword [ebp - 0x198], 0
jbe 0x858532
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 0x858500
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 0x8585da
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 0x858592
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 0x858642
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 0x858797
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x10], 0
jne 0x8586f0
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
jbe 0x8586eb
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 0x8586eb
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 0x8586b9
jmp 0x85862a
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 0x858792
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 0x85874a
jmp 0x85862a
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x24]
sub edx, dword [ecx + 0x34]
mov dword [ebp - 0x1d0], edx
je 0x85891f
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 0x85891f
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 0x85891f
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 0x858844
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 0x85890e
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 0x8588ab
cmp dword [ebp - 0x1cc], 3
je 0x8588ad
cmp dword [ebp - 0x1cc], 0xa
je 0x8588d7
jmp 0x858908
jmp 0x858909
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 0x858909
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 0x858909
int3
jmp 0x858826
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
add eax, dword [edx + 4]
mov dword [ebp - 0x74], eax
jmp 0x8587f1
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 0x858a96
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [ebp - 0x7c]
add ecx, dword [eax]
mov dword [ebp - 0x30], ecx
jmp 0x858969
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 0x858a96
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0xc], 0
je 0x858a96
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 0x8589be
mov byte [ebp - 0x15], 0
jmp 0x858a9a
mov edx, dword [ebp - 0x30]
cmp dword [edx], 0
je 0x8589e2
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 0x8589fd
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 0x858a17
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 0x858a91
mov edx, dword [ebp - 0x78]
mov eax, dword [edx]
and eax, 0x80000000
je 0x858a4e
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 0x858a7b
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 0x858a8c
mov byte [ebp - 0x15], 0
jmp 0x858a9a
jmp 0x8589ff
jmp 0x858960
mov byte [ebp - 0x15], 1
movzx eax, byte [ebp - 0x15]
test eax, eax
jne 0x858aae
mov dword [ebp - 0x10], 0
jmp 0x858cf8
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 0x858ae9
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 0x858c9c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x24]
and ecx, 0x20000000
je 0x858b19
mov dword [ebp - 0x2d4], 1
jmp 0x858b23
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 0x858b46
mov dword [ebp - 0x2d8], 1
jmp 0x858b50
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 0x858b73
mov dword [ebp - 0x2dc], 1
jmp 0x858b7d
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 0x858bb8
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 0x858ad1
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x858bda
movzx ecx, byte [ebp - 0x1e]
test ecx, ecx
je 0x858bd1
mov dword [ebp - 0x5c], 4
jmp 0x858bd8
mov dword [ebp - 0x5c], 2
jmp 0x858bf2
movzx edx, byte [ebp - 0x1e]
test edx, edx
je 0x858beb
mov dword [ebp - 0x5c], 8
jmp 0x858bf2
mov dword [ebp - 0x5c], 1
movzx eax, byte [ebp - 0x5e]
test eax, eax
je 0x858c03
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 0x858c1c
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 0x858c69
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x24]
and edx, 0x40
je 0x858c4d
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x110], ecx
jmp 0x858c69
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x24]
and eax, 0x80
je 0x858c69
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x110], edx
cmp dword [ebp - 0x110], 0
jbe 0x858c97
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 0x858ad1
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x28], 0
je 0x858cf2
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + 0x28]
mov dword [ebp - 0x2e0], edx
jne 0x858cc5
mov dword [ebp - 0x10], 0
jmp 0x858cf8
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 0x858ceb
mov dword [ebp - 0x10], 0
jmp 0x858cf8
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 0x858d3f
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 0x858d0d
mov edx, dword [ebp - 0x34]
push edx
call dword [ebp - 0x474]
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x858d60
mov byte [ebp - 1], 0x42
jmp 0x8593e5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2e4]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x858d86
mov dword [ebp - 0x28], 0
jmp 0x85903f
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 0x858db2
mov dword [ebp - 0x28], 0
jmp 0x85903f
mov eax, dword [ebp - 0x138]
movzx ecx, word [eax + 4]
cmp ecx, 0x14c
jne 0x858de3
mov edx, dword [ebp - 0x138]
movzx eax, word [edx + 0x14]
cmp eax, 0xe0
je 0x858de1
mov dword [ebp - 0x28], 0
jmp 0x85903f
jmp 0x858def
mov dword [ebp - 0x28], 0
jmp 0x85903f
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 0x858e1f
mov dword [ebp - 0x28], 0
jmp 0x85903f
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 0x858e3f
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x14], 0
jne 0x858e4b
mov dword [ebp - 0x28], 0
jmp 0x85903f
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 0x858eac
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 0x858fbd
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 0x858f62
mov edx, dword [ebp - 0xa0]
movsx eax, byte [edx]
test eax, eax
je 0x858f62
mov ecx, dword [ebp - 0xa4]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0xa0]
movsx ecx, byte [eax]
cmp edx, ecx
jge 0x858f20
mov dword [ebp - 0xd0], 0xffffffff
jmp 0x858f9e
mov edx, dword [ebp - 0xa4]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0xa0]
movsx edx, byte [ecx]
cmp eax, edx
jle 0x858f42
mov dword [ebp - 0xd0], 1
jmp 0x858f9e
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 0x858ee4
mov edx, dword [ebp - 0xa0]
movsx eax, byte [edx]
test eax, eax
je 0x858f7b
mov dword [ebp - 0xd0], 0xffffffff
jmp 0x858f9e
mov ecx, dword [ebp - 0xa4]
movsx edx, byte [ecx]
test edx, edx
je 0x858f94
mov dword [ebp - 0xd0], 1
jmp 0x858f9e
mov dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0
jne 0x858fb8
mov eax, dword [ebp - 0x1ec]
movzx ecx, word [eax]
mov dword [ebp - 0x118], ecx
jmp 0x858fbd
jmp 0x858e7f
cmp dword [ebp - 0x118], 0xffffffff
jne 0x858fcf
mov dword [ebp - 0x28], 0
jmp 0x85903f
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x118]
cmp eax, dword [edx + 0x14]
jbe 0x858fe6
mov dword [ebp - 0x28], 0
jmp 0x85903f
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 0x859033
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 0x859033
mov dword [ebp - 0x28], 0
jmp 0x85903f
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 0x85905f
mov byte [ebp - 1], 0x43
jmp 0x8593e5
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 0x859088
jmp 0x8593e5
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x2ec], edx
mov eax, dword [ebp - 0x2ec]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x8590a7
jmp 0x859215
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 0x8590cc
jmp 0x859215
mov edx, dword [ebp - 0xa8]
movzx eax, word [edx + 4]
cmp eax, 0x14c
jne 0x8590f6
mov ecx, dword [ebp - 0xa8]
movzx edx, word [ecx + 0x14]
cmp edx, 0xe0
je 0x8590f4
jmp 0x859215
jmp 0x8590fb
jmp 0x859215
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0xa8]
cmp dword [ecx + 0x28], 0
je 0x85913d
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x11c]
add eax, dword [edx + 0x28]
mov dword [ebp - 0x2f0], eax
jne 0x85912c
jmp 0x859215
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 0x8591e9
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x11c]
add ecx, dword [eax]
mov dword [ebp - 0xd8], ecx
jmp 0x85918a
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 0x8591e9
mov ecx, dword [ebp - 0xd8]
cmp dword [ecx + 0xc], 0
je 0x8591e9
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 0x8591e7
mov edx, dword [ebp - 0x2f8]
push edx
call dword [ebp - 0x430]
jmp 0x85917b
push 0x8000
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [ebp - 0x440]
cmp eax, 1
jne 0x85920b
mov dword [ebp - 0x37c], 1
jmp 0x859215
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 0x85926f
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 0x85923d
mov dword [ebp - 0x200], 0xe8
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x1fc], ecx
cmp dword [ebp - 0x200], 0
jbe 0x8592b7
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 0x859285
mov dword [ebp - 0x208], 0x280
lea edx, [ebp - 0x840]
mov dword [ebp - 0x204], edx
cmp dword [ebp - 0x208], 0
jbe 0x8592ff
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 0x8592cd
mov eax, dword [ebp - 0x380]
jmp 0x859a7c
mov dword [ebp - 0x210], 0xf0
lea eax, [ebp - 0x5c0]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x210], 0
jbe 0x859352
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 0x859320
mov dword [ebp - 0x218], 0xe8
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x214], ecx
cmp dword [ebp - 0x218], 0
jbe 0x85939a
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 0x859368
mov dword [ebp - 0x220], 0x280
lea edx, [ebp - 0x840]
mov dword [ebp - 0x21c], edx
cmp dword [ebp - 0x220], 0
jbe 0x8593e2
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 0x8593b0
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 0x859418
movsx edx, byte [ebp - 1]
cmp edx, 0x30
je 0x859418
movsx eax, byte [ebp - 1]
cmp eax, 0x45
jne 0x859422
jmp 0x859995
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 0x859480
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 0x859443
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 0x8594e7
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 0x8594aa
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 0x859545
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 0x859518
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 0x859645
mov edx, dword [ebp - 0xb0]
movsx eax, byte [edx]
cmp eax, 0x3a
jne 0x859640
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 0x8595d7
mov edx, dword [ebp - 0x130]
add edx, 1
mov dword [ebp - 0x130], edx
cmp dword [ebp - 0x130], 0xa
jge 0x85963e
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 0x8595c8
jmp 0x859645
jmp 0x859558
mov edx, dword [ebp - 8]
mov dword [ebp - 0x300], edx
mov eax, dword [ebp - 0x300]
cmp dword [eax + 0x14], 0
ja 0x859666
mov ecx, dword [ebp - 0x300]
cmp dword [ecx + 0x10], 0xffffffff
jbe 0x85966f
mov byte [ebp - 9], 0x35
jmp 0x859834
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 0x8596c4
cmp dword [ebp - 0x238], 0
jne 0x8596cd
mov byte [ebp - 9], 0x35
jmp 0x859834
push 0x1388
mov edx, dword [ebp - 0x23c]
push edx
call dword [ebp - 0x458]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x8596f7
mov byte [ebp - 9], 0x47
jmp 0x859834
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 0x859724
mov byte [ebp - 9], 0x48
jmp 0x859834
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x90], 2
je 0x859742
mov byte [ebp - 9], 0x49
jmp 0x859834
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x94], 0
je 0x859757
mov byte [ebp - 9], 0x4a
jmp 0x859834
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 0x859830
mov byte [ebp - 9], 0x4c
jmp 0x859834
mov byte [ebp - 9], 0x30
movsx eax, byte [ebp - 9]
cmp eax, 0x30
je 0x859995
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
and edx, 0x40
jne 0x859995
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 0x859995
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 0x8598e4
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 0x8598b2
mov dword [ebp - 0x254], 0xe8
lea edx, [ebp - 0x478]
mov dword [ebp - 0x250], edx
cmp dword [ebp - 0x254], 0
jbe 0x85992c
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 0x8598fa
mov dword [ebp - 0x25c], 0x280
lea eax, [ebp - 0x840]
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x25c], 0
jbe 0x859974
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 0x859942
cmp dword [ebp - 0x308], 0
je 0x859995
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 0x8599dd
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 0x8599ab
mov dword [ebp - 0x26c], 0xe8
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x268], ecx
cmp dword [ebp - 0x26c], 0
jbe 0x859a25
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 0x8599f3
mov dword [ebp - 0x274], 0x280
lea edx, [ebp - 0x840]
mov dword [ebp - 0x270], edx
cmp dword [ebp - 0x274], 0
jbe 0x859a6d
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 0x859a3b
movsx eax, byte [ebp - 1]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x388]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret