Function at 0x10022b89
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, ecx
mov dword [ebp - 0x50], edx
xor edx, edx
mov dword [ebp - 0x3c], eax
inc edx
push ebx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x3c]
mov ebx, dword [eax + 0x34]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 8]
shl edx, cl
mov ecx, dword [eax + 4]
dec edx
mov dword [ebp - 0x54], edx
xor edx, edx
inc edx
mov dword [ebp - 0x10], ebx
shl edx, cl
mov ecx, dword [eax]
dec edx
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x44], edx
xor edx, edx
push esi
mov esi, dword [eax + 0x20]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [eax + 0x24]
push edi
mov edi, dword [eax + 0x1c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0x18]
mov al, 8
sub al, byte [ebp - 0x48]
movzx eax, al
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x58], eax
and ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0xc]
shl ebx, 4
add ebx, ecx
mov dword [ebp - 0x20], ecx
movzx ecx, word [eax + ebx*2]
cmp edi, 0x1000000
jae 0x10022c3e
movzx eax, byte [edx]
shl esi, 8
shl edi, 8
or esi, eax
inc edx
mov dword [ebp - 4], edx
mov edx, edi
shr edx, 0xb
imul edx, ecx
mov dword [ebp - 0x4c], edx
cmp esi, edx
jae 0x10023377
mov eax, 0x800
mov edi, edx
sub eax, ecx
shr eax, 5
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov word [ecx + ebx*2], ax
lea ebx, [ecx + 0xe6c]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10022c78
cmp dword [ebp - 0x44], eax
je 0x10022cab
mov ecx, dword [ebp - 0x14]
test ecx, ecx
mov eax, ecx
mov ecx, dword [ebp - 0x28]
cmove eax, dword [ebp - 0x2c]
movzx edx, byte [eax + ecx - 1]
mov cl, byte [ebp - 0x58]
mov eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x5c]
shr edx, cl
mov ecx, dword [ebp - 0x48]
shl eax, cl
add edx, eax
imul eax, edx, 0x600
mov edx, dword [ebp - 0x4c]
add ebx, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x1c], eax
cmp ecx, 7
jae 0x10022f4f
cmp ecx, 4
push 3
pop eax
cmovb eax, ecx
sub ecx, eax
mov dword [ebp - 0x10], ecx
movzx ecx, word [ebx + 2]
cmp edx, 0x1000000
jae 0x10022ce9
mov edi, edx
shl esi, 8
mov edx, dword [ebp - 4]
shl edi, 8
movzx eax, byte [edx]
or esi, eax
inc edx
mov dword [ebp - 4], edx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x10022d0b
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [ebx + 2], ax
push 2
jmp 0x10022d1c
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov word [ebx + 2], cx
push 3
pop edx
add edx, edx
movzx ecx, word [edx + ebx]
cmp edi, 0x1000000
jae 0x10022d3c
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x10022d5c
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx], ax
jmp 0x10022d6c
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov word [edx + ebx], cx
inc edx
add edx, edx
movzx ecx, word [edx + ebx]
cmp edi, 0x1000000
jae 0x10022d8b
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x10022dab
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx], ax
jmp 0x10022dbb
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov word [edx + ebx], cx
inc edx
add edx, edx
movzx ecx, word [edx + ebx]
cmp edi, 0x1000000
jae 0x10022dda
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x10022dfa
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx], ax
jmp 0x10022e0a
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov word [edx + ebx], cx
inc edx
add edx, edx
movzx ecx, word [edx + ebx]
cmp edi, 0x1000000
jae 0x10022e29
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x10022e49
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx], ax
jmp 0x10022e59
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov word [edx + ebx], cx
inc edx
add edx, edx
movzx ecx, word [edx + ebx]
cmp edi, 0x1000000
jae 0x10022e78
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x10022e98
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx], ax
jmp 0x10022ea8
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov word [edx + ebx], cx
inc edx
add edx, edx
movzx ecx, word [edx + ebx]
cmp edi, 0x1000000
jae 0x10022ec7
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x10022ee7
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx], ax
jmp 0x10022ef7
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov word [edx + ebx], cx
inc edx
lea ecx, [edx + edx]
movzx edx, word [ecx + ebx]
cmp edi, 0x1000000
jae 0x10022f17
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x10022f3a
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ecx + ebx], ax
jmp 0x10023365
sub edi, eax
sub esi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov word [ecx + ebx], dx
inc ecx
jmp 0x10023365
cmp ecx, 0xa
sbb eax, eax
and eax, 0xfffffffd
add eax, 6
sub ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x24]
sbb eax, eax
and eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x24]
add eax, ecx
mov ecx, dword [ebp - 0x28]
movzx eax, byte [eax + ecx]
add eax, eax
mov ecx, eax
mov dword [ebp - 8], eax
and ecx, 0x100
movzx eax, word [ebx + ecx*2 + 0x202]
mov dword [ebp - 0x4c], eax
cmp edx, 0x1000000
jae 0x10022faa
mov edi, edx
shl esi, 8
mov edx, dword [ebp - 4]
shl edi, 8
movzx eax, byte [edx]
or esi, eax
inc edx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x4c]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x10022fd5
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + ecx*2 + 0x202], ax
not ecx
push 2
jmp 0x10022fea
sub edi, eax
sub esi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov word [ebx + ecx*2 + 0x202], dx
push 3
shl dword [ebp - 8], 1
and ecx, 0x100
mov eax, ecx
and eax, dword [ebp - 8]
pop edx
mov dword [ebp - 0x4c], eax
add eax, ecx
add eax, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x40], eax
movzx edx, word [ebx + eax*2]
cmp edi, 0x1000000
jae 0x10023023
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x10023053
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x40]
mov word [ebx + edx*2], ax
mov eax, dword [ebp - 0x20]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x4c]
not eax
and ecx, eax
jmp 0x10023072
sub edi, eax
sub esi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov eax, dword [ebp - 0x40]
and ecx, dword [ebp - 0x4c]
mov word [ebx + eax*2], dx
mov eax, dword [ebp - 0x20]
lea edx, [eax*2 + 1]
shl dword [ebp - 8], 1
mov eax, ecx
and eax, dword [ebp - 8]
mov dword [ebp - 0x40], eax
add eax, ecx
add eax, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x4c], eax
movzx edx, word [ebx + eax*2]
cmp edi, 0x1000000
jae 0x100230a4
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x100230d4
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x4c]
mov word [ebx + edx*2], ax
mov eax, dword [ebp - 0x20]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x40]
not eax
and ecx, eax
jmp 0x100230f3
sub edi, eax
sub esi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov eax, dword [ebp - 0x4c]
and ecx, dword [ebp - 0x40]
mov word [ebx + eax*2], dx
mov eax, dword [ebp - 0x20]
lea edx, [eax*2 + 1]
shl dword [ebp - 8], 1
mov eax, ecx
and eax, dword [ebp - 8]
mov dword [ebp - 0x40], eax
add eax, ecx
add eax, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x4c], eax
movzx edx, word [ebx + eax*2]
cmp edi, 0x1000000
jae 0x10023125
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x10023155
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x4c]
mov word [ebx + edx*2], ax
mov eax, dword [ebp - 0x20]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x40]
not eax
and ecx, eax
jmp 0x10023174
sub edi, eax
sub esi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov eax, dword [ebp - 0x4c]
and ecx, dword [ebp - 0x40]
mov word [ebx + eax*2], dx
mov eax, dword [ebp - 0x20]
lea edx, [eax*2 + 1]
shl dword [ebp - 8], 1
mov eax, ecx
and eax, dword [ebp - 8]
mov dword [ebp - 0x40], eax
add eax, ecx
add eax, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x4c], eax
movzx edx, word [ebx + eax*2]
cmp edi, 0x1000000
jae 0x100231a6
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x100231d6
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x4c]
mov word [ebx + edx*2], ax
mov eax, dword [ebp - 0x20]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x40]
not eax
and ecx, eax
jmp 0x100231f5
sub edi, eax
sub esi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov eax, dword [ebp - 0x4c]
and ecx, dword [ebp - 0x40]
mov word [ebx + eax*2], dx
mov eax, dword [ebp - 0x20]
lea edx, [eax*2 + 1]
shl dword [ebp - 8], 1
mov eax, ecx
and eax, dword [ebp - 8]
mov dword [ebp - 0x40], eax
add eax, ecx
add eax, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x4c], eax
movzx edx, word [ebx + eax*2]
cmp edi, 0x1000000
jae 0x10023227
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x10023257
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x4c]
mov word [ebx + edx*2], ax
mov eax, dword [ebp - 0x20]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x40]
not eax
and ecx, eax
jmp 0x10023276
sub edi, eax
sub esi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov eax, dword [ebp - 0x4c]
and ecx, dword [ebp - 0x40]
mov word [ebx + eax*2], dx
mov eax, dword [ebp - 0x20]
lea edx, [eax*2 + 1]
shl dword [ebp - 8], 1
mov eax, ecx
and eax, dword [ebp - 8]
mov dword [ebp - 0x40], eax
add eax, ecx
add eax, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x4c], eax
movzx edx, word [ebx + eax*2]
cmp edi, 0x1000000
jae 0x100232a8
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x100232da
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x4c]
mov word [ebx + edx*2], ax
mov eax, dword [ebp - 0x20]
add eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x40]
not eax
and ecx, eax
jmp 0x100232fc
sub edi, eax
sub esi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov eax, dword [ebp - 0x4c]
and ecx, dword [ebp - 0x40]
mov word [ebx + eax*2], dx
mov eax, dword [ebp - 0x20]
lea eax, [eax*2 + 1]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
lea edx, [eax + eax]
and edx, ecx
add edx, ecx
add edx, dword [ebp - 0x20]
movzx ecx, word [ebx + edx*2]
cmp edi, 0x1000000
jae 0x10023326
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x1002334c
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [ebx + edx*2], ax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + eax]
jmp 0x10023365
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0x20]
mov word [ebx + edx*2], cx
lea ecx, [eax*2 + 1]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov byte [edx + eax], cl
inc edx
mov dword [ebp - 0x14], edx
jmp 0x10023f01
mov eax, ecx
sub esi, edx
shr eax, 5
sub edi, edx
mov edx, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], esi
mov word [eax + ebx*2], cx
movzx ecx, word [eax + edx*2 + 0x180]
mov ebx, dword [ebp - 4]
cmp edi, 0x1000000
jae 0x100233b4
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x100233e7
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov word [ecx + edx*2 + 0x180], ax
lea ebx, [ecx + 0x664]
add edx, 0xc
jmp 0x1002360c
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
cmp dword [ebp - 0x44], 0
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2 + 0x180], cx
jne 0x1002340d
cmp dword [ebp - 0x1c], 0
je 0x10023f86
movzx edx, word [eax + edx*2 + 0x198]
cmp edi, 0x1000000
jae 0x1002342c
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 4], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp esi, ecx
jae 0x100234f5
mov ebx, dword [ebp - 0xc]
mov eax, 0x800
sub eax, edx
mov edi, ecx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x10]
mov word [ebx + edx*2 + 0x198], ax
lea ebx, [edx + 0xf]
mov eax, dword [ebp - 0xc]
shl ebx, 4
add ebx, dword [ebp - 0x20]
movzx edx, word [eax + ebx*2]
cmp ecx, 0x1000000
jae 0x10023482
mov ecx, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [ecx]
or esi, eax
inc ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x100234db
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x24]
mov word [ecx + ebx*2], ax
mov ecx, dword [ebp - 0x28]
sbb eax, eax
and eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x24]
add eax, edx
mov al, byte [eax + ecx]
mov byte [edx + ecx], al
inc edx
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x10], 7
mov dword [ebp - 0x1c], ecx
sbb ebx, ebx
and ebx, 0xfffffffe
add ebx, 0xb
mov dword [ebp - 0x10], ebx
jmp 0x10023f07
sub esi, eax
sub edi, eax
mov eax, edx
mov dword [ebp - 8], esi
shr eax, 5
sub edx, eax
mov word [ecx + ebx*2], dx
mov edx, dword [ebp - 0x10]
jmp 0x100235fb
mov eax, edx
sub esi, ecx
shr eax, 5
sub edi, ecx
mov ecx, dword [ebp - 0xc]
sub edx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], esi
mov word [ecx + eax*2 + 0x198], dx
mov edx, eax
movzx ecx, word [ecx + edx*2 + 0x1b0]
cmp edi, 0x1000000
jae 0x10023535
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x10023562
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov word [ecx + edx*2 + 0x1b0], ax
mov eax, dword [ebp - 0x30]
jmp 0x100235f2
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 8], esi
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2 + 0x1b0], cx
movzx ecx, word [eax + edx*2 + 0x1c8]
cmp edi, 0x1000000
jae 0x1002359d
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x100235c7
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov word [ecx + edx*2 + 0x1c8], ax
mov eax, dword [ebp - 0x34]
jmp 0x100235ec
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 8], esi
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2 + 0x1c8], cx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], eax
cmp edx, 7
lea ebx, [ecx + 0xa68]
sbb edx, edx
and edx, 0xfffffffd
add edx, 0xb
mov dword [ebp - 0x10], edx
movzx edx, word [ebx]
cmp edi, 0x1000000
jae 0x1002362f
mov ecx, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [ecx]
or esi, eax
inc ecx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ecx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp esi, ecx
jae 0x1002376f
mov eax, 0x800
mov edi, ecx
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx], ax
mov eax, dword [ebp - 0x20]
shl eax, 4
add ebx, eax
movzx edx, word [ebx + 6]
cmp ecx, 0x1000000
jae 0x10023679
mov ecx, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [ecx]
or esi, eax
inc ecx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ecx
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x1002369b
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + 6], ax
push 2
jmp 0x100236af
sub esi, eax
sub edi, eax
mov eax, edx
mov dword [ebp - 8], esi
shr eax, 5
sub edx, eax
mov word [ebx + 6], dx
push 3
pop edx
add edx, edx
movzx ecx, word [edx + ebx + 4]
cmp edi, 0x1000000
jae 0x100236d3
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x100236f4
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx + 4], ax
jmp 0x10023708
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 8], esi
shr eax, 5
sub ecx, eax
mov word [edx + ebx + 4], cx
inc edx
add edx, edx
mov dword [ebp - 0x18], edx
movzx ecx, word [edx + ebx + 4]
cmp edi, 0x1000000
jae 0x10023732
mov edx, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [edx]
or esi, eax
inc edx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x10023753
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx + 4], ax
jmp 0x10023767
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 8], esi
shr eax, 5
sub ecx, eax
mov word [edx + ebx + 4], cx
inc edx
sub edx, 8
jmp 0x10023963
mov eax, edx
sub edi, ecx
shr eax, 5
sub esi, ecx
sub edx, eax
mov dword [ebp - 8], esi
mov word [ebx], dx
movzx edx, word [ebx + 2]
cmp edi, 0x1000000
jae 0x100237a1
mov ecx, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [ecx]
or esi, eax
inc ecx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ecx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp esi, ecx
jae 0x100238de
mov eax, 0x800
mov edi, ecx
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + 2], ax
mov eax, dword [ebp - 0x20]
shl eax, 4
add eax, 0x104
add ebx, eax
movzx edx, word [ebx + 2]
cmp ecx, 0x1000000
jae 0x100237f1
mov ecx, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [ecx]
or esi, eax
inc ecx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ecx
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x10023813
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + 2], ax
push 2
jmp 0x10023827
sub esi, eax
sub edi, eax
mov eax, edx
mov dword [ebp - 8], esi
shr eax, 5
sub edx, eax
mov word [ebx + 2], dx
push 3
pop edx
add edx, edx
movzx ecx, word [edx + ebx]
cmp edi, 0x1000000
jae 0x1002384a
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x1002386a
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx], ax
jmp 0x1002387d
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 8], esi
shr eax, 5
sub ecx, eax
mov word [edx + ebx], cx
inc edx
add edx, edx
mov dword [ebp - 0x18], edx
movzx ecx, word [edx + ebx]
cmp edi, 0x1000000
jae 0x100238a6
mov edx, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [edx]
or esi, eax
inc edx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x100238c9
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx], ax
jmp 0x10023966
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov word [edx + ebx], cx
inc edx
jmp 0x10023960
mov eax, edx
sub edi, ecx
shr eax, 5
sub esi, ecx
sub edx, eax
mov word [ebx + 2], dx
xor edx, edx
inc edx
add edx, edx
mov dword [ebp - 0x18], edx
movzx ecx, word [edx + ebx + 0x204]
cmp edi, 0x1000000
jae 0x1002391a
mov edx, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [edx]
or esi, eax
inc edx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x18]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x1002393e
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx + 0x204], ax
jmp 0x10023952
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov word [edx + ebx + 0x204], cx
inc edx
cmp edx, 0x100
jb 0x100238f0
sub edx, 0xf0
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x10], 0xc
mov dword [ebp - 0x20], edi
jb 0x10023e80
mov ecx, dword [ebp - 0xc]
cmp edx, 4
push 3
pop eax
cmovb eax, edx
add ecx, 0x360
shl eax, 7
add ecx, eax
movzx edx, word [ecx + 2]
cmp edi, 0x1000000
jae 0x100239ab
mov ebx, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [ebx]
or esi, eax
inc ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x100239cd
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ecx + 2], ax
push 2
jmp 0x100239e1
sub esi, eax
sub edi, eax
mov eax, edx
mov dword [ebp - 8], esi
shr eax, 5
sub edx, eax
mov word [ecx + 2], dx
push 3
pop ebx
add ebx, ebx
movzx edx, word [ebx + ecx]
cmp edi, 0x1000000
jae 0x10023a04
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x10023a24
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + ecx], ax
jmp 0x10023a37
sub esi, eax
sub edi, eax
mov eax, edx
mov dword [ebp - 8], esi
shr eax, 5
sub edx, eax
mov word [ebx + ecx], dx
inc ebx
add ebx, ebx
movzx edx, word [ebx + ecx]
cmp edi, 0x1000000
jae 0x10023a59
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x10023a79
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + ecx], ax
jmp 0x10023a8c
sub esi, eax
sub edi, eax
mov eax, edx
mov dword [ebp - 8], esi
shr eax, 5
sub edx, eax
mov word [ebx + ecx], dx
inc ebx
add ebx, ebx
movzx edx, word [ebx + ecx]
cmp edi, 0x1000000
jae 0x10023aae
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x10023ace
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + ecx], ax
jmp 0x10023ae1
sub esi, eax
sub edi, eax
mov eax, edx
mov dword [ebp - 8], esi
shr eax, 5
sub edx, eax
mov word [ebx + ecx], dx
inc ebx
add ebx, ebx
movzx edx, word [ebx + ecx]
cmp edi, 0x1000000
jae 0x10023b03
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x10023b23
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + ecx], ax
jmp 0x10023b36
sub esi, eax
sub edi, eax
mov eax, edx
mov dword [ebp - 8], esi
shr eax, 5
sub edx, eax
mov word [ebx + ecx], dx
inc ebx
lea edx, [ebx + ebx]
movzx ebx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x10023b59
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, ebx
cmp esi, eax
jae 0x10023b79
mov edi, eax
mov eax, 0x800
sub eax, ebx
shr eax, 5
add eax, ebx
mov word [edx + ecx], ax
jmp 0x10023b8c
sub esi, eax
sub edi, eax
mov eax, ebx
mov dword [ebp - 8], esi
shr eax, 5
sub ebx, eax
mov word [edx + ecx], bx
inc edx
sub edx, 0x40
mov dword [ebp - 0x20], edi
cmp edx, 4
jb 0x10023e45
mov ecx, edx
mov ebx, edx
shr ecx, 1
and edx, 1
dec ecx
or edx, 2
mov dword [ebp - 8], ecx
cmp ebx, 0xe
jae 0x10023c50
shl edx, cl
mov eax, edx
sub eax, ebx
mov ebx, dword [ebp - 0xc]
lea ebx, [ebx + eax*2]
xor eax, eax
add ebx, 0x55e
inc eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x20], eax
add eax, eax
mov dword [ebp - 0x38], eax
movzx ebx, word [eax + ebx]
cmp edi, 0x1000000
jae 0x10023bf1
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov ecx, dword [ebp - 0x40]
mov eax, edi
shr eax, 0xb
imul eax, ebx
cmp esi, eax
jae 0x10023c1c
mov edi, eax
mov eax, 0x800
sub eax, ebx
shr eax, 5
add eax, ebx
mov ebx, dword [ebp - 0x38]
mov word [ebx + ecx], ax
mov eax, ebx
mov ebx, dword [ebp - 0x20]
jmp 0x10023c34
sub edi, eax
sub esi, eax
mov eax, ebx
shr eax, 5
sub ebx, eax
mov eax, dword [ebp - 0x38]
mov word [eax + ecx], bx
inc eax
mov ebx, dword [ebp - 0x20]
or edx, ebx
mov ecx, dword [ebp - 8]
add ebx, ebx
dec ecx
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 8], ecx
jne 0x10023bcf
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], esi
jmp 0x10023e45
sub ecx, 4
mov ebx, dword [ebp - 4]
cmp edi, 0x1000000
jae 0x10023c6d
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 4], ebx
shr edi, 1
lea edx, [edx*2 + 1]
sub esi, edi
mov eax, esi
shr eax, 0x1f
neg eax
add edx, eax
and eax, edi
add esi, eax
dec ecx
jne 0x10023c53
mov eax, dword [ebp - 0xc]
shl edx, 4
mov dword [ebp - 8], esi
movzx ecx, word [eax + 0x646]
cmp edi, 0x1000000
jae 0x10023cb2
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x10023cdc
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov ecx, dword [ebp - 0xc]
push 2
mov word [ecx + 0x646], ax
mov eax, ecx
jmp 0x10023cf9
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 8], esi
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0xc]
push 3
or edx, 1
mov word [eax + 0x646], cx
pop ebx
add ebx, ebx
movzx ecx, word [ebx + eax + 0x644]
cmp edi, 0x1000000
jae 0x10023d20
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x10023d49
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov word [ebx + ecx + 0x644], ax
mov eax, ecx
jmp 0x10023d66
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 8], esi
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0xc]
mov word [ebx + eax + 0x644], cx
inc ebx
or edx, 2
add ebx, ebx
movzx ecx, word [ebx + eax + 0x644]
cmp edi, 0x1000000
jae 0x10023d8c
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x10023db5
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov word [ebx + ecx + 0x644], ax
mov eax, ecx
jmp 0x10023dd2
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 8], esi
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0xc]
mov word [ebx + eax + 0x644], cx
inc ebx
or edx, 4
movzx ecx, word [eax + ebx*2 + 0x644]
cmp edi, 0x1000000
jae 0x10023df6
mov eax, dword [ebp - 4]
shl esi, 8
shl edi, 8
movzx eax, byte [eax]
or esi, eax
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x10023e1d
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov word [ecx + ebx*2 + 0x644], ax
jmp 0x10023e39
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 8], esi
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0xc]
or edx, 8
mov word [eax + ebx*2 + 0x644], cx
mov dword [ebp - 0x20], edi
cmp edx, 0xffffffff
je 0x10023f6c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
lea eax, [edx + 1]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x10023e69
cmp edx, dword [ebp - 0x1c]
jmp 0x10023e6b
cmp edx, eax
jae 0x10023f7d
cmp dword [ebp - 0x10], 0x13
sbb eax, eax
and eax, 0xfffffffd
add eax, 0xa
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
add ebx, 2
mov ecx, dword [ebp - 0x14]
sub eax, ecx
je 0x10023f80
cmp eax, ebx
mov edx, ebx
cmovb edx, eax
cmp ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
sbb ecx, ecx
add dword [ebp - 0x1c], edx
and ecx, dword [ebp - 0x2c]
sub ebx, edx
sub ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x14]
sub eax, ecx
mov dword [ebp - 0x18], ebx
cmp edx, eax
ja 0x10023eda
mov ebx, dword [ebp - 0x28]
add ebx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x14]
add dword [ebp - 0x14], edx
lea eax, [ebx + edx]
mov dword [ebp - 0x4c], eax
mov edx, eax
mov al, byte [ecx + ebx]
mov byte [ebx], al
inc ebx
cmp ebx, edx
jne 0x10023ece
jmp 0x10023efe
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov al, byte [ecx + esi]
mov byte [ebx + esi], al
inc ebx
inc ecx
xor eax, eax
cmp ecx, edi
cmove ecx, eax
dec edx
jne 0x10023ee3
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x14], ebx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x50]
jae 0x10023f18
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 8]
jb 0x10022c15
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
cmp edi, 0x1000000
jae 0x10023f32
movzx eax, byte [ecx]
shl esi, 8
shl edi, 8
or esi, eax
inc ecx
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], esi
mov dword [eax + 0x48], edx
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x40], ecx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x44], ecx
mov dword [eax + 0x34], ebx
xor eax, eax
jmp 0x10023f89
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x10]
add edx, 0x112
sub ebx, 0xc
jmp 0x10023f1b
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x24], ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4