Function at 0x58f390
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 0x58f407
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 0x58f3bf
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 0x58f48e
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 0x58f435
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0xc0dec0df
je 0x58f4b0
jmp 0x59130a
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 0x58f516
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 0x58f4e4
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 0x58f53d
cmp dword [ebp - 0xcc], 0x280
jbe 0x58f547
jmp 0x59130a
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 0x58f5c5
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 0x58f57d
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 0x58f645
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 0x58f5ec
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xe0], 0
jmp 0x58f669
mov edx, dword [ebp - 0xe0]
add edx, 1
mov dword [ebp - 0xe0], edx
cmp dword [ebp - 0xe0], 0x22
jae 0x58f6da
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
lea edx, [ebp + ecx - 0x840]
cmp dword [ebp - 0x3c], edx
jb 0x58f68e
jmp 0x59130a
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 0x58f6cf
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 0x58f6cd
jmp 0x59130a
jmp 0x58f69e
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
jmp 0x58f65a
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
lea edx, [ebp + ecx - 0x840]
cmp dword [ebp - 0x3c], edx
je 0x58f6f6
jmp 0x59130a
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 0x58f863
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 0x58f954
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 0x58f8b3
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 0x58f954
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 0x58f909
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 0x58f954
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 0x58f954
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 0x58f964
jmp 0x59130a
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 0x58f9a4
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 0x58fc9f
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x290], edx
mov eax, dword [ebp - 0x290]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x58f9ca
mov dword [ebp - 0x2c], 0
jmp 0x58fc83
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 0x58f9f6
mov dword [ebp - 0x2c], 0
jmp 0x58fc83
mov edx, dword [ebp - 0xe4]
movzx eax, word [edx + 4]
cmp eax, 0x14c
jne 0x58fa27
mov ecx, dword [ebp - 0xe4]
movzx edx, word [ecx + 0x14]
cmp edx, 0xe0
je 0x58fa25
mov dword [ebp - 0x2c], 0
jmp 0x58fc83
jmp 0x58fa33
mov dword [ebp - 0x2c], 0
jmp 0x58fc83
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 0x58fa63
mov dword [ebp - 0x2c], 0
jmp 0x58fc83
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 0x58fa83
mov edx, dword [ebp - 0x64]
cmp dword [edx + 0x14], 0
jne 0x58fa8f
mov dword [ebp - 0x2c], 0
jmp 0x58fc83
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 0x58faf0
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 0x58fc01
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 0x58fba6
mov ecx, dword [ebp - 0xb4]
movsx edx, byte [ecx]
test edx, edx
je 0x58fba6
mov eax, dword [ebp - 0x90]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0xb4]
movsx eax, byte [edx]
cmp ecx, eax
jge 0x58fb64
mov dword [ebp - 0xbc], 0xffffffff
jmp 0x58fbe2
mov ecx, dword [ebp - 0x90]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0xb4]
movsx ecx, byte [eax]
cmp edx, ecx
jle 0x58fb86
mov dword [ebp - 0xbc], 1
jmp 0x58fbe2
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 0x58fb28
mov ecx, dword [ebp - 0xb4]
movsx edx, byte [ecx]
test edx, edx
je 0x58fbbf
mov dword [ebp - 0xbc], 0xffffffff
jmp 0x58fbe2
mov eax, dword [ebp - 0x90]
movsx ecx, byte [eax]
test ecx, ecx
je 0x58fbd8
mov dword [ebp - 0xbc], 1
jmp 0x58fbe2
mov dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0
jne 0x58fbfc
mov edx, dword [ebp - 0x16c]
movzx eax, word [edx]
mov dword [ebp - 0xe8], eax
jmp 0x58fc01
jmp 0x58fac3
cmp dword [ebp - 0xe8], 0xffffffff
jne 0x58fc13
mov dword [ebp - 0x2c], 0
jmp 0x58fc83
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0xe8]
cmp edx, dword [ecx + 0x14]
jbe 0x58fc2a
mov dword [ebp - 0x2c], 0
jmp 0x58fc83
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 0x58fc77
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 0x58fc77
mov dword [ebp - 0x2c], 0
jmp 0x58fc83
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 0x58fc9f
jmp 0x59130a
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 0x58fcf5
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 0x58fcf5
jmp 0x59130a
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 0x58fd28
jmp 0x59130a
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 0x58fd57
jmp 0x59130a
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xec], 0
jmp 0x58fd7b
mov edx, dword [ebp - 0xec]
add edx, 1
mov dword [ebp - 0xec], edx
cmp dword [ebp - 0xec], 3
jae 0x58fdc1
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 0x58fdb6
jmp 0x59130a
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x40], eax
jmp 0x58fd6c
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xf0], 0
jmp 0x58fde5
mov edx, dword [ebp - 0xf0]
add edx, 1
mov dword [ebp - 0xf0], edx
cmp dword [ebp - 0xf0], 0x10
jae 0x58fe28
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 0x58fe1d
jmp 0x59130a
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x40], eax
jmp 0x58fdd6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
and edx, 0x20
jne 0x58fe95
call fcn.0058f380
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x58fe7b
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 0xc4]
jne 0x58fe7b
mov edx, dword [ebp - 0xc4]
cmp dword [edx + 0x30], 0
je 0x58fe7b
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x30]
movzx edx, byte [ecx + 2]
test edx, edx
jne 0x58fe7b
mov byte [ebp - 0x1d], 0
jmp 0x58fe7f
mov byte [ebp - 0x1d], 1
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x58fe95
mov byte [ebp - 1], 0x54
jmp 0x5913e5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xa8]
and edx, 1
je 0x58feff
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 0x58feff
jmp 0x591215
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 0x58ff28
mov byte [ebp - 1], 0x57
jmp 0x5913e5
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 0x58ffa3
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 0x58ff5b
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 0x590005
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
cmp ecx, dword [ebp - 0x340]
jae 0x590157
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 0x590081
mov edx, dword [ebp - 0x180]
add edx, 1
mov dword [ebp - 0x180], edx
cmp dword [ebp - 0x180], 0x20
jae 0x590109
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 0x590072
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 0x58fff6
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 0x59019b
mov ecx, dword [ebp - 0xfc]
add ecx, 1
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0xfc]
cmp edx, dword [ebp - 0xcc]
jae 0x59020b
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 0x5901dc
mov edx, dword [ebp - 0x184]
sub edx, 1
mov dword [ebp - 0x184], edx
cmp dword [ebp - 0x184], 0
jle 0x590209
mov eax, dword [ebp - 0x44]
and eax, 0x80000000
je 0x5901ff
mov ecx, dword [ebp - 0x44]
shl ecx, 1
xor ecx, 0x488781ed
mov dword [ebp - 0x44], ecx
jmp 0x590207
mov edx, dword [ebp - 0x44]
shl edx, 1
mov dword [ebp - 0x44], edx
jmp 0x5901cd
jmp 0x59018c
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 0x59023e
mov eax, dword [ebp - 0x100]
add eax, 1
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0xf0
jae 0x5902ad
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 0x59027d
mov eax, dword [ebp - 0x188]
sub eax, 1
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
jle 0x5902ab
mov ecx, dword [ebp - 0x48]
and ecx, 0x80000000
je 0x5902a1
mov edx, dword [ebp - 0x48]
shl edx, 1
xor edx, 0x488781ed
mov dword [ebp - 0x48], edx
jmp 0x5902a9
mov eax, dword [ebp - 0x48]
shl eax, 1
mov dword [ebp - 0x48], eax
jmp 0x59026e
jmp 0x59022f
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 0x5902dd
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 0x590357
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 0x590324
mov eax, dword [ebp - 0x18c]
sub eax, 1
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jle 0x590352
mov ecx, dword [ebp - 0x4c]
and ecx, 0x80000000
je 0x590348
mov edx, dword [ebp - 0x4c]
shl edx, 1
xor edx, 0x488781ed
mov dword [ebp - 0x4c], edx
jmp 0x590350
mov eax, dword [ebp - 0x4c]
shl eax, 1
mov dword [ebp - 0x4c], eax
jmp 0x590315
jmp 0x5902ce
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 0x590387
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 0x5903f8
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 0x5903c8
mov eax, dword [ebp - 0x190]
sub eax, 1
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0
jle 0x5903f6
mov ecx, dword [ebp - 0x50]
and ecx, 0x80000000
je 0x5903ec
mov edx, dword [ebp - 0x50]
shl edx, 1
xor edx, 0x488781ed
mov dword [ebp - 0x50], edx
jmp 0x5903f4
mov eax, dword [ebp - 0x50]
shl eax, 1
mov dword [ebp - 0x50], eax
jmp 0x5903b9
jmp 0x590378
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 0x590423
mov byte [ebp - 1], 0x51
jmp 0x5913e5
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 0x590452
mov eax, dword [ebp - 0x98]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x59045e
mov dword [ebp - 0x10], 0
jmp 0x590cf8
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 0x59048f
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0x4550
je 0x59049b
mov dword [ebp - 0x10], 0
jmp 0x590cf8
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 0x5904d8
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 0x5904ea
mov dword [ebp - 0x10], 0
jmp 0x590cf8
mov dword [ebp - 0x198], 0xc
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x194], ecx
cmp dword [ebp - 0x198], 0
jbe 0x590532
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 0x590500
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 0x5905da
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 0x590592
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 0x590642
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 0x590797
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x10], 0
jne 0x5906f0
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
jbe 0x5906eb
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 0x5906eb
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 0x5906b9
jmp 0x59062a
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 0x590792
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 0x59074a
jmp 0x59062a
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x24]
sub edx, dword [ecx + 0x34]
mov dword [ebp - 0x1d0], edx
je 0x59091f
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 0x59091f
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 0x59091f
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 0x590844
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 0x59090e
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 0x5908ab
cmp dword [ebp - 0x1cc], 3
je 0x5908ad
cmp dword [ebp - 0x1cc], 0xa
je 0x5908d7
jmp 0x590908
jmp 0x590909
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 0x590909
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 0x590909
int3
jmp 0x590826
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
add eax, dword [edx + 4]
mov dword [ebp - 0x74], eax
jmp 0x5907f1
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 0x590a96
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [ebp - 0x7c]
add ecx, dword [eax]
mov dword [ebp - 0x30], ecx
jmp 0x590969
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 0x590a96
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0xc], 0
je 0x590a96
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 0x5909be
mov byte [ebp - 0x15], 0
jmp 0x590a9a
mov edx, dword [ebp - 0x30]
cmp dword [edx], 0
je 0x5909e2
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 0x5909fd
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 0x590a17
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 0x590a91
mov edx, dword [ebp - 0x78]
mov eax, dword [edx]
and eax, 0x80000000
je 0x590a4e
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 0x590a7b
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 0x590a8c
mov byte [ebp - 0x15], 0
jmp 0x590a9a
jmp 0x5909ff
jmp 0x590960
mov byte [ebp - 0x15], 1
movzx eax, byte [ebp - 0x15]
test eax, eax
jne 0x590aae
mov dword [ebp - 0x10], 0
jmp 0x590cf8
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 0x590ae9
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 0x590c9c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x24]
and ecx, 0x20000000
je 0x590b19
mov dword [ebp - 0x2d4], 1
jmp 0x590b23
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 0x590b46
mov dword [ebp - 0x2d8], 1
jmp 0x590b50
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 0x590b73
mov dword [ebp - 0x2dc], 1
jmp 0x590b7d
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 0x590bb8
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 0x590ad1
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x590bda
movzx ecx, byte [ebp - 0x1e]
test ecx, ecx
je 0x590bd1
mov dword [ebp - 0x5c], 4
jmp 0x590bd8
mov dword [ebp - 0x5c], 2
jmp 0x590bf2
movzx edx, byte [ebp - 0x1e]
test edx, edx
je 0x590beb
mov dword [ebp - 0x5c], 8
jmp 0x590bf2
mov dword [ebp - 0x5c], 1
movzx eax, byte [ebp - 0x5e]
test eax, eax
je 0x590c03
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 0x590c1c
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 0x590c69
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x24]
and edx, 0x40
je 0x590c4d
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x110], ecx
jmp 0x590c69
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x24]
and eax, 0x80
je 0x590c69
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x110], edx
cmp dword [ebp - 0x110], 0
jbe 0x590c97
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 0x590ad1
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x28], 0
je 0x590cf2
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + 0x28]
mov dword [ebp - 0x2e0], edx
jne 0x590cc5
mov dword [ebp - 0x10], 0
jmp 0x590cf8
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 0x590ceb
mov dword [ebp - 0x10], 0
jmp 0x590cf8
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 0x590d3f
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 0x590d0d
mov edx, dword [ebp - 0x34]
push edx
call dword [ebp - 0x474]
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x590d60
mov byte [ebp - 1], 0x42
jmp 0x5913e5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2e4]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x590d86
mov dword [ebp - 0x28], 0
jmp 0x59103f
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 0x590db2
mov dword [ebp - 0x28], 0
jmp 0x59103f
mov eax, dword [ebp - 0x138]
movzx ecx, word [eax + 4]
cmp ecx, 0x14c
jne 0x590de3
mov edx, dword [ebp - 0x138]
movzx eax, word [edx + 0x14]
cmp eax, 0xe0
je 0x590de1
mov dword [ebp - 0x28], 0
jmp 0x59103f
jmp 0x590def
mov dword [ebp - 0x28], 0
jmp 0x59103f
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 0x590e1f
mov dword [ebp - 0x28], 0
jmp 0x59103f
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 0x590e3f
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x14], 0
jne 0x590e4b
mov dword [ebp - 0x28], 0
jmp 0x59103f
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 0x590eac
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 0x590fbd
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 0x590f62
mov edx, dword [ebp - 0xa0]
movsx eax, byte [edx]
test eax, eax
je 0x590f62
mov ecx, dword [ebp - 0xa4]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0xa0]
movsx ecx, byte [eax]
cmp edx, ecx
jge 0x590f20
mov dword [ebp - 0xd0], 0xffffffff
jmp 0x590f9e
mov edx, dword [ebp - 0xa4]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0xa0]
movsx edx, byte [ecx]
cmp eax, edx
jle 0x590f42
mov dword [ebp - 0xd0], 1
jmp 0x590f9e
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 0x590ee4
mov edx, dword [ebp - 0xa0]
movsx eax, byte [edx]
test eax, eax
je 0x590f7b
mov dword [ebp - 0xd0], 0xffffffff
jmp 0x590f9e
mov ecx, dword [ebp - 0xa4]
movsx edx, byte [ecx]
test edx, edx
je 0x590f94
mov dword [ebp - 0xd0], 1
jmp 0x590f9e
mov dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0
jne 0x590fb8
mov eax, dword [ebp - 0x1ec]
movzx ecx, word [eax]
mov dword [ebp - 0x118], ecx
jmp 0x590fbd
jmp 0x590e7f
cmp dword [ebp - 0x118], 0xffffffff
jne 0x590fcf
mov dword [ebp - 0x28], 0
jmp 0x59103f
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x118]
cmp eax, dword [edx + 0x14]
jbe 0x590fe6
mov dword [ebp - 0x28], 0
jmp 0x59103f
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 0x591033
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 0x591033
mov dword [ebp - 0x28], 0
jmp 0x59103f
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 0x59105f
mov byte [ebp - 1], 0x43
jmp 0x5913e5
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 0x591088
jmp 0x5913e5
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x2ec], edx
mov eax, dword [ebp - 0x2ec]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x5910a7
jmp 0x591215
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 0x5910cc
jmp 0x591215
mov edx, dword [ebp - 0xa8]
movzx eax, word [edx + 4]
cmp eax, 0x14c
jne 0x5910f6
mov ecx, dword [ebp - 0xa8]
movzx edx, word [ecx + 0x14]
cmp edx, 0xe0
je 0x5910f4
jmp 0x591215
jmp 0x5910fb
jmp 0x591215
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0xa8]
cmp dword [ecx + 0x28], 0
je 0x59113d
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x11c]
add eax, dword [edx + 0x28]
mov dword [ebp - 0x2f0], eax
jne 0x59112c
jmp 0x591215
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 0x5911e9
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x11c]
add ecx, dword [eax]
mov dword [ebp - 0xd8], ecx
jmp 0x59118a
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 0x5911e9
mov ecx, dword [ebp - 0xd8]
cmp dword [ecx + 0xc], 0
je 0x5911e9
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 0x5911e7
mov edx, dword [ebp - 0x2f8]
push edx
call dword [ebp - 0x430]
jmp 0x59117b
push 0x8000
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [ebp - 0x440]
cmp eax, 1
jne 0x59120b
mov dword [ebp - 0x37c], 1
jmp 0x591215
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 0x59126f
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 0x59123d
mov dword [ebp - 0x200], 0xe8
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x1fc], ecx
cmp dword [ebp - 0x200], 0
jbe 0x5912b7
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 0x591285
mov dword [ebp - 0x208], 0x280
lea edx, [ebp - 0x840]
mov dword [ebp - 0x204], edx
cmp dword [ebp - 0x208], 0
jbe 0x5912ff
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 0x5912cd
mov eax, dword [ebp - 0x380]
jmp 0x591a7c
mov dword [ebp - 0x210], 0xf0
lea eax, [ebp - 0x5c0]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x210], 0
jbe 0x591352
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 0x591320
mov dword [ebp - 0x218], 0xe8
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x214], ecx
cmp dword [ebp - 0x218], 0
jbe 0x59139a
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 0x591368
mov dword [ebp - 0x220], 0x280
lea edx, [ebp - 0x840]
mov dword [ebp - 0x21c], edx
cmp dword [ebp - 0x220], 0
jbe 0x5913e2
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 0x5913b0
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 0x591418
movsx edx, byte [ebp - 1]
cmp edx, 0x30
je 0x591418
movsx eax, byte [ebp - 1]
cmp eax, 0x45
jne 0x591422
jmp 0x591995
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 0x591480
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 0x591443
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 0x5914e7
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 0x5914aa
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 0x591545
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 0x591518
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 0x591645
mov edx, dword [ebp - 0xb0]
movsx eax, byte [edx]
cmp eax, 0x3a
jne 0x591640
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 0x5915d7
mov edx, dword [ebp - 0x130]
add edx, 1
mov dword [ebp - 0x130], edx
cmp dword [ebp - 0x130], 0xa
jge 0x59163e
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 0x5915c8
jmp 0x591645
jmp 0x591558
mov edx, dword [ebp - 8]
mov dword [ebp - 0x300], edx
mov eax, dword [ebp - 0x300]
cmp dword [eax + 0x14], 0
ja 0x591666
mov ecx, dword [ebp - 0x300]
cmp dword [ecx + 0x10], 0xffffffff
jbe 0x59166f
mov byte [ebp - 9], 0x35
jmp 0x591834
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 0x5916c4
cmp dword [ebp - 0x238], 0
jne 0x5916cd
mov byte [ebp - 9], 0x35
jmp 0x591834
push 0x1388
mov edx, dword [ebp - 0x23c]
push edx
call dword [ebp - 0x458]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x5916f7
mov byte [ebp - 9], 0x47
jmp 0x591834
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 0x591724
mov byte [ebp - 9], 0x48
jmp 0x591834
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x90], 2
je 0x591742
mov byte [ebp - 9], 0x49
jmp 0x591834
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x94], 0
je 0x591757
mov byte [ebp - 9], 0x4a
jmp 0x591834
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 0x591830
mov byte [ebp - 9], 0x4c
jmp 0x591834
mov byte [ebp - 9], 0x30
movsx eax, byte [ebp - 9]
cmp eax, 0x30
je 0x591995
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
and edx, 0x40
jne 0x591995
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 0x591995
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 0x5918e4
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 0x5918b2
mov dword [ebp - 0x254], 0xe8
lea edx, [ebp - 0x478]
mov dword [ebp - 0x250], edx
cmp dword [ebp - 0x254], 0
jbe 0x59192c
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 0x5918fa
mov dword [ebp - 0x25c], 0x280
lea eax, [ebp - 0x840]
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x25c], 0
jbe 0x591974
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 0x591942
cmp dword [ebp - 0x308], 0
je 0x591995
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 0x5919dd
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 0x5919ab
mov dword [ebp - 0x26c], 0xe8
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x268], ecx
cmp dword [ebp - 0x26c], 0
jbe 0x591a25
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 0x5919f3
mov dword [ebp - 0x274], 0x280
lea edx, [ebp - 0x840]
mov dword [ebp - 0x270], edx
cmp dword [ebp - 0x274], 0
jbe 0x591a6d
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 0x591a3b
movsx eax, byte [ebp - 1]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x388]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret