Function at 0x415080
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 0x415143
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 0x415934
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 0x415182
cmp dword [ebp - 0x4c], ecx
je 0x4151bb
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 0x415504
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 0x4151f6
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 0x415221
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 0x41523b
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 0x415267
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 0x415286
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x415297
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 0x4152c8
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 0x4152ec
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, esi
movzx ecx, cx
jmp 0x4152ff
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 0x415329
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 0x415348
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x415357
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 0x415388
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 0x4153af
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, esi
movzx ecx, cx
jmp 0x4153c5
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 0x4153ef
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 0x41540e
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x415420
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 0x415450
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 0x415477
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx esi, cx
mov ecx, edx
jmp 0x41548a
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 0x4154b4
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 0x4154e3
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 0x415920
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 0x415920
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 0x415569
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 0x41559a
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 0x4155af
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 0x4155ec
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 0x41561b
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 0x41562f
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 0x41566f
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 0x41569b
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x4156ac
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 0x4156ef
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 0x41571b
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x41572c
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 0x41576f
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 0x41579b
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x4157ac
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 0x4157ef
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 0x41581b
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x41582c
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 0x41586d
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 0x415899
mov edi, ecx
not edx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x4158aa
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 0x4158e4
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 0x41590e
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 0x415920
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 0x4165ea
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 0x415970
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 0x4159a5
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 0x415bcd
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 0x4159cb
cmp dword [ebp - 0x24], 0
je 0x416672
movzx esi, word [ecx + esi*2 + 0x198]
cmp edi, 0x1000000
jae 0x4159ea
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 0x415ab2
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 0x415a44
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 0x415a9c
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 0x4165f0
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 0x415bb6
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 0x415af2
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 0x415b1f
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 0x415bad
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 0x415b5a
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 0x415b7c
mov esi, dword [ebp - 0x3c]
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x415b96
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 0x415bf3
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 0x415d6f
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 0x415c3f
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 0x415c66
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 0x415c81
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 0x415cae
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 0x415cdf
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x415cf1
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 0x415d20
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 0x415d4c
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 0x415fbc
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 0x415fbc
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 0x415da7
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 0x415f2f
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 0x415df7
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 0x415e20
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 0x415e3b
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 0x415e6b
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 0x415e9c
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x415eae
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 0x415ee0
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 0x415f0c
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 0x415fbf
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 0x415fbf
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 0x415f6f
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 0x415f8e
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x415f9f
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 0x415f50
mov dword [ebp - 8], ebx
sub edx, 0xf0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x10], 0xc
jb 0x416565
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 0x415ffe
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 0x416027
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 0x416042
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 0x416072
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 0x4160a0
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x4160b2
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 0x4160e5
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 0x416104
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x416116
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 0x416149
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 0x416168
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x41617a
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 0x4161ad
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 0x4161cc
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x4161de
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 0x416212
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 0x416231
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x416243
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 0x41652a
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 0x416309
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 0x4162b6
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 0x4162d5
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x4162e9
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 0x416295
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
jmp 0x41652a
sub esi, 4
nop dword [eax]
cmp edi, 0x1000000
jae 0x416324
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 0x416310
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 0x41636e
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 0x4163a0
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 0x4163c7
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 0x4163f4
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 0x41642d
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x416444
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 0x41647d
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 0x41649c
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x4164b3
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 0x4164e8
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 0x416507
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x41651b
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 0x416658
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 0x41654e
cmp edx, dword [ebp - 0x24]
jmp 0x416550
cmp edx, ecx
jae 0x416669
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 0x416669
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 0x4165c1
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 0x4165b5
jmp 0x4165e4
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 0x4165c7
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 0x4165fe
cmp ebx, dword [ebp + 8]
jb 0x415110
mov edx, dword [ebp - 0x14]
cmp edi, 0x1000000
jae 0x416615
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 0x416601
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