Function at 0x4074c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x54], edx
xor edx, edx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x14], edx
mov dl, 8
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x44], eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 4]
dec eax
mov esi, dword [edi + 0x34]
mov ebx, dword [edi + 0x18]
mov dword [ebp - 0x58], eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x2c]
dec eax
mov dword [ebp - 0x5c], eax
mov eax, dword [edi]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0x14]
sub dl, byte [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x30]
mov edi, dword [edi + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], ebx
mov eax, dword [eax + 0x20]
mov byte [ebp - 1], dl
mov edx, ecx
mov ecx, esi
and edx, dword [ebp - 0x58]
shl ecx, 4
add ecx, edx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x18]
movzx esi, word [edx + ecx*2]
lea ecx, [edx + ecx*2]
mov dword [ebp - 0x40], ecx
cmp edi, 0x1000000
jae 0x407583
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov edx, edi
shr edx, 0xb
imul edx, esi
mov dword [ebp - 0x20], edx
cmp eax, edx
jae 0x407d74
mov ecx, 0x800
mov edi, edx
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, dword [ebp - 0x40]
mov word [esi], cx
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add esi, 0xe6c
mov dword [ebp - 0xc], esi
test ecx, ecx
jne 0x4075c2
cmp dword [ebp - 0x4c], ecx
je 0x4075fb
mov edx, dword [ebp - 0x1c]
test edx, edx
mov ecx, edx
mov edx, dword [ebp - 0x30]
cmove ecx, dword [ebp - 0x34]
movzx esi, byte [ecx + edx - 1]
mov cl, byte [ebp - 1]
mov edx, dword [ebp - 0x24]
and edx, dword [ebp - 0x5c]
shr esi, cl
mov ecx, dword [ebp - 0x50]
shl edx, cl
add esi, edx
mov edx, dword [ebp - 0x20]
imul ecx, esi, 0x600
mov esi, dword [ebp - 0xc]
add esi, ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc], esi
inc ecx
cmp dword [ebp - 0x10], 7
mov dword [ebp - 0x24], ecx
jae 0x407944
cmp dword [ebp - 0x10], 4
mov ecx, 3
movzx esi, word [esi + 2]
cmovb ecx, dword [ebp - 0x10]
sub dword [ebp - 0x10], ecx
cmp edx, 0x1000000
jae 0x407636
movzx ecx, byte [ebx]
mov edi, edx
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x407661
mov edi, ecx
mov dword [ebp - 0x40], 5
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, 4
movzx ecx, cx
jmp 0x40767b
sub edi, ecx
mov dword [ebp - 0x40], 7
sub eax, ecx
mov ecx, esi
shr ecx, 5
sub esi, ecx
movzx ecx, si
mov esi, 6
mov ebx, dword [ebp - 0xc]
mov edx, esi
mov dword [ebp - 0x28], edx
mov word [ebx + 2], cx
mov ecx, ebx
mov ebx, dword [ebp - 8]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x4076a7
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x4076c6
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x4076d7
mov esi, dword [ebp - 0x40]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0xc]
mov word [edx + ebx], cx
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + esi*2]
lea ecx, [ecx + esi*2]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x28], ecx
cmp edi, 0x1000000
jae 0x407708
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shl esi, 2
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x40772c
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, esi
movzx ecx, cx
jmp 0x40773f
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
lea edx, [esi + 2]
mov esi, edx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x40], edx
mov word [ebx], cx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x407769
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x407788
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x407797
sub edi, ecx
sub eax, ecx
mov ecx, edx
inc esi
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0xc]
mov word [edx + ebx], cx
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + esi*2]
lea ecx, [ecx + esi*2]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
cmp edi, 0x1000000
jae 0x4077c8
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shl esi, 2
shr ecx, 0xb
imul ecx, edx
mov dword [ebp - 0x40], esi
cmp eax, ecx
jae 0x4077ef
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, esi
movzx ecx, cx
jmp 0x407805
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
lea edx, [esi + 2]
mov esi, edx
mov dword [ebp - 0x40], edx
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov word [ebx], cx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x40782f
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x40784e
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x407860
sub edi, ecx
sub eax, ecx
mov ecx, edx
inc esi
shr ecx, 5
sub edx, ecx
mov dword [ebp - 0x40], esi
movzx ecx, dx
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0xc]
mov word [edx + ebx], cx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
lea ecx, [ecx + esi*2]
movzx esi, word [ecx]
mov dword [ebp - 0x28], ecx
cmp edi, 0x1000000
jae 0x407890
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov edx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
shl edx, 2
cmp eax, ecx
jae 0x4078b7
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx esi, cx
mov ecx, edx
jmp 0x4078ca
sub edi, ecx
sub eax, ecx
mov ecx, esi
shr ecx, 5
sub esi, ecx
lea ecx, [edx + 2]
movzx esi, si
mov edx, ecx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x40], ecx
mov word [ebx], si
mov ebx, dword [ebp - 0xc]
movzx esi, word [ecx + ebx]
mov ebx, dword [ebp - 8]
cmp edi, 0x1000000
jae 0x4078f4
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x407923
mov ebx, dword [ebp - 0xc]
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, dword [ebp - 0x40]
movzx ecx, cx
mov word [esi + ebx], cx
mov ebx, dword [ebp - 8]
jmp 0x407d60
mov ebx, dword [ebp - 0xc]
sub edi, ecx
sub eax, ecx
inc edx
mov ecx, esi
shr ecx, 5
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x40]
mov word [esi + ebx], cx
mov ebx, dword [ebp - 8]
jmp 0x407d60
mov esi, dword [ebp - 0x10]
cmp esi, 0xa
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 6
sub esi, ecx
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x2c]
sbb ecx, ecx
and ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x2c]
add ecx, esi
mov esi, dword [ebp - 0x30]
movzx ecx, byte [ecx + esi]
add ecx, ecx
mov esi, ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0xc]
and esi, 0x100
lea ecx, [ecx + esi*2]
add ecx, 0x202
mov dword [ebp - 0x28], ecx
movzx ecx, word [ecx]
mov dword [ebp - 0x40], ecx
cmp edx, 0x1000000
jae 0x4079a9
movzx ecx, byte [ebx]
mov edi, edx
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov edx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x4079da
mov edi, ecx
mov dword [ebp - 0x40], 2
mov ecx, 0x800
not esi
sub ecx, edx
and esi, 0x100
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x4079ef
sub edi, ecx
mov dword [ebp - 0x40], 3
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x28]
mov word [edx], cx
mov ecx, esi
mov edx, dword [ebp - 0x20]
add edx, edx
and ecx, edx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x28], ecx
add ecx, esi
add ecx, dword [ebp - 0x40]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x60], ecx
cmp edi, 0x1000000
jae 0x407a2c
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x407a5b
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x28]
movzx ecx, cx
not edx
jmp 0x407a6f
inc dword [ebp - 0x40]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x28]
and edx, esi
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x28], edx
mov word [esi], cx
mov esi, edx
mov ecx, dword [ebp - 0x20]
add ecx, ecx
and esi, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [edx + esi]
mov edx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x40]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x60], ecx
cmp edi, 0x1000000
jae 0x407aaf
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x407adb
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x407aec
inc dword [ebp - 0x40]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x28]
and edx, esi
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x28], edx
mov word [esi], cx
mov esi, edx
mov ecx, dword [ebp - 0x20]
add ecx, ecx
and esi, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [edx + esi]
mov edx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x40]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x60], ecx
cmp edi, 0x1000000
jae 0x407b2f
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x407b5b
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x407b6c
inc dword [ebp - 0x40]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x28]
and edx, esi
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x28], edx
mov word [esi], cx
mov esi, edx
mov ecx, dword [ebp - 0x20]
add ecx, ecx
and esi, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [edx + esi]
mov edx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x40]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x60], ecx
cmp edi, 0x1000000
jae 0x407baf
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x407bdb
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x407bec
inc dword [ebp - 0x40]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x28]
and edx, esi
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x28], edx
mov word [esi], cx
mov esi, edx
mov ecx, dword [ebp - 0x20]
add ecx, ecx
and esi, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [edx + esi]
mov edx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x40]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x60], ecx
cmp edi, 0x1000000
jae 0x407c2f
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x407c5b
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x407c6c
inc dword [ebp - 0x40]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x60]
and esi, dword [ebp - 0x28]
mov dword [ebp - 0x28], esi
mov word [edx], cx
mov edx, esi
mov ecx, dword [ebp - 0x20]
add ecx, ecx
and edx, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [esi + edx]
mov esi, dword [ebp - 0xc]
add ecx, dword [ebp - 0x40]
lea ecx, [esi + ecx*2]
movzx esi, word [ecx]
mov dword [ebp - 0x60], ecx
cmp edi, 0x1000000
jae 0x407cad
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, esi
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x407cd9
mov edi, ecx
not edx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x407cea
inc dword [ebp - 0x40]
sub edi, ecx
sub eax, ecx
mov ecx, esi
shr ecx, 5
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x60]
and edx, dword [ebp - 0x28]
mov word [esi], cx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x40]
add ecx, ecx
and ecx, edx
add ecx, edx
mov edx, dword [ebp - 0xc]
add ecx, esi
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x40], ecx
cmp edi, 0x1000000
jae 0x407d24
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
add esi, esi
shr ecx, 0xb
imul ecx, edx
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x40]
cmp eax, ecx
jae 0x407d4e
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x28]
mov word [esi], cx
jmp 0x407d60
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
mov word [esi], dx
mov edx, dword [ebp - 0x28]
inc edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov byte [ecx + esi], dl
mov edx, ecx
inc edx
mov dword [ebp - 0x1c], edx
jmp 0x408a2a
mov ecx, esi
sub edi, edx
shr ecx, 5
sub eax, edx
sub esi, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], si
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + esi*2 + 0x180]
cmp edi, 0x1000000
jae 0x407db0
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x407de5
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x18]
mov word [edx + esi*2 + 0x180], cx
add esi, 0xc
mov dword [ebp - 0x10], esi
mov ecx, 0x664
jmp 0x40800d
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
cmp dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x18]
mov word [ecx + esi*2 + 0x180], dx
jne 0x407e0b
cmp dword [ebp - 0x24], 0
je 0x408ab2
movzx esi, word [ecx + esi*2 + 0x198]
cmp edi, 0x1000000
jae 0x407e2a
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov edx, edi
shr edx, 0xb
imul edx, esi
cmp eax, edx
jae 0x407ef2
mov ebx, dword [ebp - 0x18]
mov ecx, 0x800
sub ecx, esi
mov edi, edx
shr ecx, 5
add ecx, esi
mov esi, dword [ebp - 0x10]
mov word [ebx + esi*2 + 0x198], cx
lea ecx, [esi + 0xf]
shl ecx, 4
mov esi, ebx
add ecx, dword [ebp - 0x28]
mov ebx, dword [ebp - 8]
lea ecx, [esi + ecx*2]
movzx esi, word [ecx]
mov dword [ebp - 0x40], ecx
cmp edx, 0x1000000
jae 0x407e84
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov edx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x407edc
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, dword [ebp - 0x30]
mov word [edx], cx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x2c]
sbb ecx, ecx
and ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x2c]
add ecx, edx
mov cl, byte [ecx + esi]
mov byte [edx + esi], cl
inc edx
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x10], 7
mov dword [ebp - 0x24], ecx
sbb esi, esi
and esi, 0xfffffffe
add esi, 0xb
mov dword [ebp - 0x10], esi
jmp 0x408a30
sub eax, ecx
sub edi, ecx
mov ecx, esi
mov dword [ebp - 0xc], eax
shr ecx, 5
sub esi, ecx
mov word [edx], si
jmp 0x407ff6
mov ecx, esi
sub eax, edx
shr ecx, 5
sub edi, edx
mov edx, dword [ebp - 0x18]
sub esi, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov word [edx + ecx*2 + 0x198], si
mov esi, ecx
movzx edx, word [edx + esi*2 + 0x1b0]
cmp edi, 0x1000000
jae 0x407f32
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x407f5f
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x18]
mov word [edx + esi*2 + 0x1b0], cx
mov esi, dword [ebp - 0x38]
jmp 0x407fed
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
sub edx, ecx
mov ecx, dword [ebp - 0x18]
mov word [ecx + esi*2 + 0x1b0], dx
movzx edx, word [ecx + esi*2 + 0x1c8]
cmp edi, 0x1000000
jae 0x407f9a
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x407fbc
mov esi, dword [ebp - 0x3c]
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x407fd6
mov esi, dword [ebp - 0x44]
sub eax, ecx
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov word [ebx + edx*2 + 0x1c8], cx
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x10], 7
mov ecx, 0xa68
sbb edx, edx
and edx, 0xfffffffd
add edx, 0xb
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
lea esi, [ecx + edx]
movzx ecx, word [esi]
mov dword [ebp - 0x40], ecx
cmp edi, 0x1000000
jae 0x408033
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
mov ecx, dword [ebp - 0x40]
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov edx, edi
shr edx, 0xb
imul edx, ecx
cmp eax, edx
jae 0x4081af
mov ecx, 0x800
mov edi, edx
sub ecx, dword [ebp - 0x40]
shr ecx, 5
add ecx, dword [ebp - 0x40]
mov word [esi], cx
mov ecx, dword [ebp - 0x28]
shl ecx, 4
add ecx, esi
mov dword [ebp - 0x40], ecx
movzx esi, word [ecx + 6]
cmp edx, 0x1000000
jae 0x40807f
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x4080a6
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, 4
movzx ecx, cx
lea edx, [esi + 4]
jmp 0x4080c1
sub eax, ecx
sub edi, ecx
mov ecx, esi
mov dword [ebp - 0xc], eax
shr ecx, 5
mov edx, 0xa
sub esi, ecx
movzx ecx, si
mov esi, 6
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x28], edx
mov word [ebx + 6], cx
mov ecx, ebx
mov ebx, dword [ebp - 8]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x4080ee
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x60]
cmp eax, ecx
jae 0x40811f
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x408131
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
inc esi
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x28]
mov word [edx], cx
lea edx, [esi + esi]
mov esi, dword [ebp - 0x40]
add esi, edx
mov dword [ebp - 0x14], edx
movzx edx, word [esi + 4]
cmp edi, 0x1000000
jae 0x408160
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x40818c
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x14]
movzx ecx, cx
sub edx, 8
mov word [esi + 4], cx
jmp 0x4083fc
inc dword [ebp - 0x14]
sub eax, ecx
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x14]
mov word [esi + 4], cx
sub edx, 8
jmp 0x4083fc
sub eax, edx
sub edi, edx
mov edx, dword [ebp - 0x40]
mov ecx, edx
shr ecx, 5
sub edx, ecx
mov dword [ebp - 0xc], eax
mov word [esi], dx
movzx ecx, word [esi + 2]
mov dword [ebp - 0x40], ecx
cmp edi, 0x1000000
jae 0x4081e7
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
mov ecx, dword [ebp - 0x40]
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov edx, edi
shr edx, 0xb
imul edx, ecx
cmp eax, edx
jae 0x40836f
mov ecx, 0x800
mov edi, edx
sub ecx, dword [ebp - 0x40]
shr ecx, 5
add ecx, dword [ebp - 0x40]
mov word [esi + 2], cx
mov ecx, dword [ebp - 0x28]
shl ecx, 4
add ecx, esi
mov dword [ebp - 0x40], ecx
movzx esi, word [ecx + 0x106]
cmp edx, 0x1000000
jae 0x408237
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x408260
mov edi, ecx
mov edx, 0x108
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, 4
movzx ecx, cx
jmp 0x40827b
sub eax, ecx
sub edi, ecx
mov ecx, esi
mov dword [ebp - 0xc], eax
shr ecx, 5
mov edx, 0x10a
sub esi, ecx
movzx ecx, si
mov esi, 6
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x28], edx
mov word [ebx + 0x106], cx
mov ecx, ebx
mov ebx, dword [ebp - 8]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x4082ab
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x60]
cmp eax, ecx
jae 0x4082dc
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x4082ee
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
inc esi
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x28]
mov word [edx], cx
lea edx, [esi + esi]
mov esi, dword [ebp - 0x40]
add esi, edx
mov dword [ebp - 0x14], edx
movzx edx, word [esi + 0x104]
cmp edi, 0x1000000
jae 0x408320
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x40834c
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x14]
movzx ecx, cx
mov word [esi + 0x104], cx
jmp 0x4083ff
inc dword [ebp - 0x14]
sub eax, ecx
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x14]
mov word [esi + 0x104], cx
jmp 0x4083ff
sub edi, edx
sub eax, edx
mov edx, dword [ebp - 0x40]
mov ecx, edx
shr ecx, 5
sub edx, ecx
lea ecx, [esi + 0x204]
mov word [esi + 2], dx
mov edx, 1
mov dword [ebp - 0x60], ecx
nop
add edx, edx
mov dword [ebp - 0x14], edx
lea esi, [edx + ecx]
movzx edx, word [esi]
cmp edi, 0x1000000
jae 0x4083af
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x4083ce
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x4083df
inc dword [ebp - 0x14]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x14]
mov word [esi], cx
mov ecx, dword [ebp - 0x60]
cmp edx, 0x100
jb 0x408390
mov dword [ebp - 8], ebx
sub edx, 0xf0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x10], 0xc
jb 0x4089a5
cmp edx, 4
mov ecx, 3
cmovb ecx, edx
shl ecx, 7
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
movzx edx, word [ecx + 0x362]
cmp edi, 0x1000000
jae 0x40843e
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x408467
mov edi, ecx
mov esi, 4
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, 0x364
movzx ecx, cx
jmp 0x408482
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
mov esi, 6
sub edx, ecx
movzx ecx, dx
mov edx, 0x366
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x40], edx
mov word [ebx + 0x362], cx
mov ecx, ebx
mov ebx, dword [ebp - 8]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x4084b2
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov ecx, edi
add ebx, dword [ebp - 0x28]
shr ecx, 0xb
imul ecx, edx
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x60], ecx
cmp eax, ecx
jae 0x4084e0
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x4084f2
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
inc esi
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x40]
add esi, esi
mov word [edx], cx
mov ecx, dword [ebp - 0x28]
add ecx, 0x360
add ecx, esi
mov dword [ebp - 0x60], ecx
movzx edx, word [ecx]
cmp edi, 0x1000000
jae 0x408525
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x408544
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x408556
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
inc esi
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x60]
add esi, esi
mov word [edx], cx
mov ecx, dword [ebp - 0x28]
add ecx, 0x360
add ecx, esi
mov dword [ebp - 0x60], ecx
movzx edx, word [ecx]
cmp edi, 0x1000000
jae 0x408589
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x4085a8
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x4085ba
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
inc esi
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x60]
add esi, esi
mov word [edx], cx
mov ecx, dword [ebp - 0x28]
add ecx, 0x360
add ecx, esi
mov dword [ebp - 0x60], ecx
movzx edx, word [ecx]
cmp edi, 0x1000000
jae 0x4085ed
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x40860c
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x40861e
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
inc esi
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x60]
mov word [edx], cx
lea edx, [esi + esi]
mov ecx, dword [ebp - 0x28]
add ecx, 0x360
add ecx, edx
mov dword [ebp - 0x60], ecx
movzx esi, word [ecx]
cmp edi, 0x1000000
jae 0x408652
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x408671
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x408683
sub eax, ecx
sub edi, ecx
mov ecx, esi
mov dword [ebp - 0xc], eax
shr ecx, 5
inc edx
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x60]
sub edx, 0x40
mov word [esi], cx
cmp edx, 4
jb 0x40896a
mov ecx, edx
mov esi, edx
shr esi, 1
and edx, 1
dec esi
mov dword [ebp - 0x60], ecx
or edx, 2
mov dword [ebp - 0x28], esi
cmp ecx, 0xe
jae 0x408749
mov ecx, esi
mov dword [ebp - 0x44], 1
mov esi, dword [ebp - 0x18]
shl edx, cl
mov ecx, edx
sub ecx, dword [ebp - 0x60]
lea esi, [esi + ecx*2]
mov ecx, 1
add esi, 0x55e
mov dword [ebp - 0x20], esi
add ecx, ecx
mov dword [ebp - 0x40], ecx
add ecx, esi
mov dword [ebp - 0x60], ecx
movzx esi, word [ecx]
cmp edi, 0x1000000
jae 0x4086f6
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x408715
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x408729
inc dword [ebp - 0x40]
sub edi, ecx
or edx, dword [ebp - 0x44]
sub eax, ecx
mov ecx, esi
shr ecx, 5
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x60]
shl dword [ebp - 0x44], 1
sub dword [ebp - 0x28], 1
mov word [esi], cx
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x20]
jne 0x4086d5
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
jmp 0x40896a
sub esi, 4
nop dword [eax]
cmp edi, 0x1000000
jae 0x408764
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
shr edi, 1
lea edx, [edx*2 + 1]
sub eax, edi
mov ecx, eax
shr ecx, 0x1f
neg ecx
add edx, ecx
and ecx, edi
add eax, ecx
sub esi, 1
jne 0x408750
mov ecx, dword [ebp - 0x18]
shl edx, 4
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
movzx esi, word [ecx + 0x646]
cmp edi, 0x1000000
jae 0x4087ae
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x4087e0
mov edi, ecx
mov dword [ebp - 0x28], 4
mov ecx, 0x800
mov dword [ebp - 0x40], 4
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, 0x648
movzx ecx, cx
jmp 0x408807
sub eax, ecx
mov dword [ebp - 0x28], 6
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, esi
mov dword [ebp - 0x40], 6
shr ecx, 5
or edx, 1
sub esi, ecx
movzx ecx, si
mov esi, 0x64a
mov ebx, dword [ebp - 0x18]
mov word [ebx + 0x646], cx
mov ecx, ebx
mov ebx, dword [ebp - 8]
movzx esi, word [esi + ecx]
cmp edi, 0x1000000
jae 0x408834
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x28]
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x644
add ebx, ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x40886d
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x408884
inc dword [ebp - 0x40]
sub eax, ecx
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, esi
or edx, 2
shr ecx, 5
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x28]
mov word [esi], cx
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x18]
add ecx, ecx
add esi, 0x644
mov dword [ebp - 0x40], ecx
add ecx, esi
mov dword [ebp - 0x60], ecx
movzx esi, word [ecx]
cmp edi, 0x1000000
jae 0x4088bd
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x4088dc
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x4088f3
inc dword [ebp - 0x40]
sub eax, ecx
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, esi
or edx, 4
shr ecx, 5
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x60]
mov word [esi], cx
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x40]
add esi, 0x644
lea ecx, [esi + ecx*2]
movzx esi, word [ecx]
mov dword [ebp - 0x60], ecx
cmp edi, 0x1000000
jae 0x408928
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x408947
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x40895b
sub eax, ecx
sub edi, ecx
mov ecx, esi
mov dword [ebp - 0xc], eax
shr ecx, 5
or edx, 8
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x60]
mov word [esi], cx
cmp edx, 0xffffffff
je 0x408a98
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], ecx
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
jne 0x40898e
cmp edx, dword [ebp - 0x24]
jmp 0x408990
cmp edx, ecx
jae 0x408aa9
cmp dword [ebp - 0x10], 0x13
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 0xa
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x54]
add edx, 2
mov dword [ebp - 0x14], edx
sub ecx, dword [ebp - 0x1c]
je 0x408aa9
cmp ecx, edx
mov esi, edx
cmovb esi, ecx
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x60], esi
sbb edx, edx
add dword [ebp - 0x24], esi
and edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x2c]
sub dword [ebp - 0x14], esi
add edx, ecx
mov ecx, dword [ebp - 0x34]
sub ecx, edx
cmp esi, ecx
ja 0x408a01
mov esi, dword [ebp - 0x30]
add esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x60]
sub edx, dword [ebp - 0x1c]
add dword [ebp - 0x1c], ecx
lea ebx, [esi + ecx]
mov cl, byte [edx + esi]
mov byte [esi], cl
inc esi
cmp esi, ebx
jne 0x4089f5
jmp 0x408a24
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov cl, byte [edx + eax]
mov byte [ebx + eax], cl
lea ecx, [edx + 1]
xor edx, edx
inc ebx
cmp ecx, dword [ebp - 0x34]
cmovne edx, ecx
sub esi, 1
jne 0x408a07
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x54]
jae 0x408a3e
cmp ebx, dword [ebp + 8]
jb 0x407550
mov edx, dword [ebp - 0x14]
cmp edi, 0x1000000
jae 0x408a55
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x18], ebx
mov ebx, ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x2c]
pop edi
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x38], eax
xor eax, eax
pop esi
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x44], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
add edx, 0x112
sub esi, 0xc
jmp 0x408a41
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x24], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4