Function at 0x1003f280
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x3c], edx
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 4]
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x14]
sub edx, 1
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x24]
sub eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esi]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x18]
push edi
mov edi, dword [esi + 0x34]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x1c]
mov esi, dword [esi + 0x20]
mov dword [esp + 0x20], edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], 0
mov ebx, dword [esp + 0x28]
and ebx, edx
mov edx, dword [esp + 0x2c]
mov ecx, edi
shl ecx, 4
add ecx, ebx
cmp eax, 0x1000000
lea edx, [edx + ecx*2]
movzx ecx, word [edx]
jae 0x1003f348
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
shl eax, 8
or esi, ebp
add dword [esp + 0x10], 1
mov ebp, eax
shr ebp, 0xb
imul ebp, ecx
cmp esi, ebp
jae 0x1003fb08
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov word [edx], di
mov edi, dword [esp + 0x2c]
add edi, 0xe6c
cmp dword [esp + 0x28], 0
mov eax, ebp
jne 0x1003f381
cmp dword [esp + 0x4c], 0
je 0x1003f3b9
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x1003f38d
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
movzx edx, byte [ecx + edx - 1]
mov ebx, dword [esp + 0x28]
and ebx, dword [esp + 0x54]
mov ecx, 8
sub cl, byte [esp + 0x50]
shr edx, cl
mov ecx, dword [esp + 0x50]
shl ebx, cl
add edx, ebx
imul edx, edx, 0x600
add edi, edx
mov ecx, dword [esp + 0x20]
add dword [esp + 0x28], 1
cmp ecx, 7
mov ebx, dword [esp + 0x10]
jae 0x1003f6a0
cmp ecx, 4
mov edx, ecx
jb 0x1003f3db
mov edx, 3
sub ecx, edx
cmp ebp, 0x1000000
mov dword [esp + 0x20], ecx
movzx ecx, word [edi + 2]
jae 0x1003f401
movzx edx, byte [ebx]
shl esi, 8
shl ebp, 8
or esi, edx
add ebx, 1
mov eax, ebp
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x1003f426
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + 2], dx
mov ecx, 2
jmp 0x1003f43a
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + 2], cx
mov ecx, 3
cmp eax, 0x1000000
lea ebp, [ecx + ecx]
movzx ecx, word [edi + ebp]
jae 0x1003f45a
movzx edx, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edx
add ebx, 1
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x1003f47a
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebp], dx
jmp 0x1003f48c
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebp], cx
add ebp, 1
add ebp, ebp
cmp eax, 0x1000000
movzx ecx, word [edi + ebp]
jae 0x1003f4ab
movzx edx, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edx
add ebx, 1
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x1003f4cb
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebp], dx
jmp 0x1003f4dd
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebp], cx
add ebp, 1
add ebp, ebp
cmp eax, 0x1000000
movzx ecx, word [edi + ebp]
jae 0x1003f4fc
movzx edx, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edx
add ebx, 1
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x1003f51c
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebp], dx
jmp 0x1003f52e
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebp], cx
add ebp, 1
add ebp, ebp
cmp eax, 0x1000000
movzx ecx, word [edi + ebp]
jae 0x1003f54d
movzx edx, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edx
add ebx, 1
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x1003f56d
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebp], dx
jmp 0x1003f57f
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebp], cx
add ebp, 1
add ebp, ebp
cmp eax, 0x1000000
movzx ecx, word [edi + ebp]
jae 0x1003f59e
movzx edx, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edx
add ebx, 1
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x1003f5be
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebp], dx
jmp 0x1003f5d0
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebp], cx
add ebp, 1
add ebp, ebp
cmp eax, 0x1000000
movzx ecx, word [edi + ebp]
jae 0x1003f5ef
movzx edx, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edx
add ebx, 1
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x1003f60f
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebp], dx
jmp 0x1003f621
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebp], cx
add ebp, 1
add ebp, ebp
cmp eax, 0x1000000
movzx ecx, word [edi + ebp]
jae 0x1003f640
movzx edx, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edx
add ebx, 1
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x1003f677
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebp], dx
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
mov ecx, ebp
mov byte [edx + edi], cl
add edx, 1
mov dword [esp + 0x24], edx
jmp 0x1004066f
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov edx, dword [esp + 0x24]
mov word [edi + ebp], cx
mov edi, dword [esp + 0x38]
lea ecx, [ebp + 1]
mov byte [edx + edi], cl
add edx, 1
mov dword [esp + 0x24], edx
jmp 0x1004066f
mov ecx, dword [esp + 0x20]
cmp ecx, 0xa
sbb edx, edx
and edx, 0xfffffffd
add edx, 6
sub ecx, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
cmp ecx, edx
sbb ebx, ebx
and ebx, dword [esp + 0x3c]
sub ebx, edx
add ebx, ecx
mov ecx, dword [esp + 0x38]
movzx edx, byte [ebx + ecx]
add edx, edx
mov ecx, edx
and ecx, 0x100
cmp ebp, 0x1000000
movzx ebx, word [edi + ecx*2 + 0x202]
jae 0x1003f702
shl ebp, 8
mov eax, ebp
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
or esi, ebp
add dword [esp + 0x10], 1
mov ebp, eax
shr ebp, 0xb
imul ebp, ebx
cmp esi, ebp
jae 0x1003f72d
mov eax, ebp
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov word [edi + ecx*2 + 0x202], bp
mov ebp, 2
not ecx
jmp 0x1003f745
sub eax, ebp
sub esi, ebp
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov word [edi + ecx*2 + 0x202], bx
mov ebp, 3
and ecx, 0x100
add edx, edx
mov ebx, ecx
and ebx, edx
mov dword [esp + 0x1c], ebx
add ebx, ecx
add ebx, ebp
cmp eax, 0x1000000
lea ebx, [edi + ebx*2]
mov dword [esp + 0x18], ebx
movzx ebx, word [ebx]
mov dword [esp + 0x14], ebp
jae 0x1003f783
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
shl eax, 8
or esi, ebp
add dword [esp + 0x10], 1
mov ebp, eax
shr ebp, 0xb
imul ebp, ebx
cmp esi, ebp
jae 0x1003f7b4
mov eax, ebp
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov ebx, dword [esp + 0x18]
mov word [ebx], bp
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
not ebx
add ebp, ebp
and ecx, ebx
jmp 0x1003f7d3
sub eax, ebp
sub esi, ebp
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov ebp, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
mov word [ebp], bx
mov ebp, dword [esp + 0x14]
lea ebp, [ebp + ebp + 1]
add edx, edx
mov ebx, ecx
and ebx, edx
mov dword [esp + 0x1c], ebx
add ebx, ecx
add ebx, ebp
cmp eax, 0x1000000
lea ebx, [edi + ebx*2]
mov dword [esp + 0x18], ebx
movzx ebx, word [ebx]
mov dword [esp + 0x14], ebp
jae 0x1003f80b
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
shl eax, 8
or esi, ebp
add dword [esp + 0x10], 1
mov ebp, eax
shr ebp, 0xb
imul ebp, ebx
cmp esi, ebp
jae 0x1003f83c
mov eax, ebp
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov ebx, dword [esp + 0x18]
mov word [ebx], bp
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
not ebx
add ebp, ebp
and ecx, ebx
jmp 0x1003f85b
sub eax, ebp
sub esi, ebp
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov ebp, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
mov word [ebp], bx
mov ebp, dword [esp + 0x14]
lea ebp, [ebp + ebp + 1]
add edx, edx
mov ebx, ecx
and ebx, edx
mov dword [esp + 0x1c], ebx
add ebx, ecx
add ebx, ebp
cmp eax, 0x1000000
lea ebx, [edi + ebx*2]
mov dword [esp + 0x18], ebx
movzx ebx, word [ebx]
mov dword [esp + 0x14], ebp
jae 0x1003f893
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
shl eax, 8
or esi, ebp
add dword [esp + 0x10], 1
mov ebp, eax
shr ebp, 0xb
imul ebp, ebx
cmp esi, ebp
jae 0x1003f8c4
mov eax, ebp
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov ebx, dword [esp + 0x18]
mov word [ebx], bp
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
not ebx
add ebp, ebp
and ecx, ebx
jmp 0x1003f8e3
sub eax, ebp
sub esi, ebp
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov ebp, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
mov word [ebp], bx
mov ebp, dword [esp + 0x14]
lea ebp, [ebp + ebp + 1]
add edx, edx
mov ebx, ecx
and ebx, edx
mov dword [esp + 0x1c], ebx
add ebx, ecx
add ebx, ebp
cmp eax, 0x1000000
lea ebx, [edi + ebx*2]
mov dword [esp + 0x18], ebx
movzx ebx, word [ebx]
mov dword [esp + 0x14], ebp
jae 0x1003f91b
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
shl eax, 8
or esi, ebp
add dword [esp + 0x10], 1
mov ebp, eax
shr ebp, 0xb
imul ebp, ebx
cmp esi, ebp
jae 0x1003f94c
mov eax, ebp
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov ebx, dword [esp + 0x18]
mov word [ebx], bp
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
not ebx
add ebp, ebp
and ecx, ebx
jmp 0x1003f96b
sub eax, ebp
sub esi, ebp
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov ebp, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
mov word [ebp], bx
mov ebp, dword [esp + 0x14]
lea ebp, [ebp + ebp + 1]
add edx, edx
mov ebx, ecx
and ebx, edx
mov dword [esp + 0x1c], ebx
add ebx, ecx
add ebx, ebp
cmp eax, 0x1000000
lea ebx, [edi + ebx*2]
mov dword [esp + 0x18], ebx
movzx ebx, word [ebx]
mov dword [esp + 0x14], ebp
jae 0x1003f9a3
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
shl eax, 8
or esi, ebp
add dword [esp + 0x10], 1
mov ebp, eax
shr ebp, 0xb
imul ebp, ebx
cmp esi, ebp
jae 0x1003f9d4
mov eax, ebp
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov ebx, dword [esp + 0x18]
mov word [ebx], bp
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
not ebx
add ebp, ebp
and ecx, ebx
jmp 0x1003f9f3
sub eax, ebp
sub esi, ebp
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov ebp, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
mov word [ebp], bx
mov ebp, dword [esp + 0x14]
lea ebp, [ebp + ebp + 1]
add edx, edx
mov ebx, ecx
and ebx, edx
mov dword [esp + 0x1c], ebx
add ebx, ecx
add ebx, ebp
cmp eax, 0x1000000
lea ebx, [edi + ebx*2]
mov dword [esp + 0x18], ebx
movzx ebx, word [ebx]
mov dword [esp + 0x14], ebp
jae 0x1003fa2b
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
shl eax, 8
or esi, ebp
add dword [esp + 0x10], 1
mov ebp, eax
shr ebp, 0xb
imul ebp, ebx
cmp esi, ebp
jae 0x1003fa5c
mov eax, ebp
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov ebx, dword [esp + 0x18]
mov word [ebx], bp
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
not ebx
add ebp, ebp
and ecx, ebx
jmp 0x1003fa7b
sub eax, ebp
sub esi, ebp
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov ebp, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
mov word [ebp], bx
mov ebp, dword [esp + 0x14]
lea ebp, [ebp + ebp + 1]
add edx, edx
and edx, ecx
add edx, ecx
add edx, ebp
cmp eax, 0x1000000
movzx ecx, word [edi + edx*2]
lea edi, [edi + edx*2]
jae 0x1003faa7
mov edx, dword [esp + 0x10]
movzx ebx, byte [edx]
shl esi, 8
shl eax, 8
or esi, ebx
add edx, 1
mov dword [esp + 0x10], edx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x1003fadf
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi], dx
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
lea ecx, [ebp + ebp]
mov byte [edx + edi], cl
add edx, 1
mov dword [esp + 0x24], edx
jmp 0x1004066f
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov edx, dword [esp + 0x24]
mov word [edi], cx
mov edi, dword [esp + 0x38]
lea ecx, [ebp + ebp + 1]
mov byte [edx + edi], cl
add edx, 1
mov dword [esp + 0x24], edx
jmp 0x1004066f
sub eax, ebp
sub esi, ebp
mov ebp, ecx
shr ebp, 5
sub ecx, ebp
cmp eax, 0x1000000
mov word [edx], cx
mov ecx, dword [esp + 0x2c]
movzx ecx, word [ecx + edi*2 + 0x180]
jae 0x1003fb3f
mov edx, dword [esp + 0x10]
movzx ebp, byte [edx]
shl esi, 8
shl eax, 8
or esi, ebp
add edx, 1
mov dword [esp + 0x10], edx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x1003fb77
mov ebp, 0x800
sub ebp, ecx
shr ebp, 5
mov eax, edx
mov edx, dword [esp + 0x2c]
add ebp, ecx
mov word [edx + edi*2 + 0x180], bp
add edi, 0xc
mov dword [esp + 0x20], edi
add edx, 0x664
jmp 0x1003fd9a
mov ebp, dword [esp + 0x2c]
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
cmp dword [esp + 0x4c], 0
mov word [ebp + edi*2 + 0x180], cx
jne 0x1003fba0
cmp dword [esp + 0x28], 0
je 0x100405bf
cmp eax, 0x1000000
movzx edx, word [ebp + edi*2 + 0x198]
jae 0x1003fbc3
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx]
shl esi, 8
shl eax, 8
or esi, ecx
add dword [esp + 0x10], 1
mov ecx, eax
shr ecx, 0xb
imul ecx, edx
cmp esi, ecx
jae 0x1003fc8b
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov edx, edi
mov edi, ebp
mov ebp, dword [esp + 0x20]
mov word [edi + ebp*2 + 0x198], dx
lea edx, [ebp + 0xf]
shl edx, 4
add edx, ebx
cmp ecx, 0x1000000
lea edi, [edi + edx*2]
movzx edx, word [edi]
mov eax, ecx
jae 0x1003fc1d
shl ecx, 8
mov eax, ecx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx]
shl esi, 8
or esi, ecx
add dword [esp + 0x10], 1
mov ecx, eax
shr ecx, 0xb
imul ecx, edx
cmp esi, ecx
jae 0x1003fc78
mov eax, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [esp + 0x34]
mov word [edi], cx
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
cmp ecx, edx
sbb ebx, ebx
and ebx, dword [esp + 0x3c]
add dword [esp + 0x28], 1
sub ebx, edx
add ebx, ecx
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
add ecx, 1
mov dword [esp + 0x24], ecx
cmp ebp, 7
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 0xb
mov dword [esp + 0x20], ecx
jmp 0x1004066f
sub eax, ecx
sub esi, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
mov word [edi], dx
jmp 0x1003fd81
sub eax, ecx
sub esi, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
cmp eax, 0x1000000
mov word [ebp + edi*2 + 0x198], dx
movzx ecx, word [ebp + edi*2 + 0x1b0]
jae 0x1003fcc1
mov edx, dword [esp + 0x10]
movzx edx, byte [edx]
shl esi, 8
shl eax, 8
or esi, edx
add dword [esp + 0x10], 1
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x1003fcec
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov ecx, dword [esp + 0x40]
mov word [ebp + edi*2 + 0x1b0], dx
jmp 0x1003fd71
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
cmp eax, 0x1000000
mov word [ebp + edi*2 + 0x1b0], cx
movzx ecx, word [ebp + edi*2 + 0x1c8]
jae 0x1003fd22
mov edx, dword [esp + 0x10]
movzx edx, byte [edx]
shl esi, 8
shl eax, 8
or esi, edx
add dword [esp + 0x10], 1
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x1003fd4a
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov ecx, dword [esp + 0x44]
mov word [ebp + edi*2 + 0x1c8], dx
jmp 0x1003fd69
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov edx, dword [esp + 0x44]
mov word [ebp + edi*2 + 0x1c8], cx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x2c]
cmp ebp, 7
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 0xb
mov dword [esp + 0x20], ecx
add edx, 0xa68
cmp eax, 0x1000000
movzx edi, word [edx]
jae 0x1003fdba
mov ecx, dword [esp + 0x10]
movzx ebp, byte [ecx]
shl esi, 8
shl eax, 8
or esi, ebp
add ecx, 1
mov dword [esp + 0x10], ecx
mov ecx, eax
shr ecx, 0xb
imul ecx, edi
cmp esi, ecx
jae 0x1003fef9
mov ebp, 0x800
sub ebp, edi
shr ebp, 5
add ebp, edi
shl ebx, 4
cmp ecx, 0x1000000
mov word [edx], bp
movzx edi, word [ebx + edx + 6]
lea edx, [ebx + edx + 4]
mov eax, ecx
jae 0x1003fe07
shl ecx, 8
mov eax, ecx
mov ecx, dword [esp + 0x10]
movzx ebx, byte [ecx]
shl esi, 8
or esi, ebx
add ecx, 1
mov dword [esp + 0x10], ecx
mov ecx, eax
shr ecx, 0xb
imul ecx, edi
cmp esi, ecx
jae 0x1003fe2c
mov eax, ecx
mov ecx, 0x800
sub ecx, edi
shr ecx, 5
add ecx, edi
mov word [edx + 2], cx
mov ecx, 2
jmp 0x1003fe40
sub eax, ecx
sub esi, ecx
mov ecx, edi
shr ecx, 5
sub edi, ecx
mov word [edx + 2], di
mov ecx, 3
cmp eax, 0x1000000
lea ebp, [ecx + ecx]
movzx ecx, word [edx + ebp]
jae 0x1003fe64
mov edi, dword [esp + 0x10]
movzx ebx, byte [edi]
shl esi, 8
shl eax, 8
or esi, ebx
add edi, 1
mov dword [esp + 0x10], edi
mov edi, eax
shr edi, 0xb
imul edi, ecx
cmp esi, edi
jae 0x1003fe84
mov eax, edi
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov word [edx + ebp], di
jmp 0x1003fe96
sub eax, edi
sub esi, edi
mov edi, ecx
shr edi, 5
sub ecx, edi
mov word [edx + ebp], cx
add ebp, 1
add ebp, ebp
cmp eax, 0x1000000
movzx ecx, word [edx + ebp]
jae 0x1003feb9
mov edi, dword [esp + 0x10]
movzx ebx, byte [edi]
shl esi, 8
shl eax, 8
or esi, ebx
add edi, 1
mov dword [esp + 0x10], edi
mov edi, eax
shr edi, 0xb
imul edi, ecx
cmp esi, edi
jae 0x1003fedf
mov eax, edi
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov word [edx + ebp], di
sub ebp, 8
jmp 0x100400eb
sub eax, edi
sub esi, edi
mov edi, ecx
shr edi, 5
sub ecx, edi
mov word [edx + ebp], cx
add ebp, 1
sub ebp, 8
jmp 0x100400eb
sub eax, ecx
sub esi, ecx
mov ecx, edi
shr ecx, 5
sub edi, ecx
cmp eax, 0x1000000
mov word [edx], di
movzx edi, word [edx + 2]
jae 0x1003ff28
mov ecx, dword [esp + 0x10]
movzx ebp, byte [ecx]
shl esi, 8
shl eax, 8
or esi, ebp
add ecx, 1
mov dword [esp + 0x10], ecx
mov ecx, eax
shr ecx, 0xb
imul ecx, edi
cmp esi, ecx
jae 0x10040064
mov ebp, 0x800
sub ebp, edi
shr ebp, 5
add ebp, edi
shl ebx, 4
cmp ecx, 0x1000000
mov word [edx + 2], bp
movzx edi, word [ebx + edx + 0x106]
lea edx, [ebx + edx + 0x104]
mov eax, ecx
jae 0x1003ff7c
shl ecx, 8
mov eax, ecx
mov ecx, dword [esp + 0x10]
movzx ebx, byte [ecx]
shl esi, 8
or esi, ebx
add ecx, 1
mov dword [esp + 0x10], ecx
mov ecx, eax
shr ecx, 0xb
imul ecx, edi
cmp esi, ecx
jae 0x1003ffa1
mov eax, ecx
mov ecx, 0x800
sub ecx, edi
shr ecx, 5
add ecx, edi
mov word [edx + 2], cx
mov ecx, 2
jmp 0x1003ffb5
sub eax, ecx
sub esi, ecx
mov ecx, edi
shr ecx, 5
sub edi, ecx
mov word [edx + 2], di
mov ecx, 3
cmp eax, 0x1000000
mov ebx, dword [esp + 0x10]
lea ebp, [ecx + ecx]
movzx ecx, word [edx + ebp]
jae 0x1003ffd9
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
add ebx, 1
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, ecx
cmp esi, edi
jae 0x1003fff9
mov eax, edi
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov word [edx + ebp], di
jmp 0x1004000b
sub eax, edi
sub esi, edi
mov edi, ecx
shr edi, 5
sub ecx, edi
mov word [edx + ebp], cx
add ebp, 1
add ebp, ebp
cmp eax, 0x1000000
movzx ecx, word [edx + ebp]
jae 0x1004002a
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
add ebx, 1
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, ecx
cmp esi, edi
jae 0x1004004d
mov eax, edi
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov word [edx + ebp], di
jmp 0x100400ef
sub eax, edi
sub esi, edi
mov edi, ecx
shr edi, 5
sub ecx, edi
mov word [edx + ebp], cx
add ebp, 1
jmp 0x100400ef
mov ebx, dword [esp + 0x10]
sub eax, ecx
sub esi, ecx
mov ecx, edi
shr ecx, 5
sub edi, ecx
mov word [edx + 2], di
mov ebp, 1
lea esp, [esp]
add ebp, ebp
cmp eax, 0x1000000
movzx ecx, word [edx + ebp + 0x204]
jae 0x1004009f
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
add ebx, 1
mov edi, eax
shr edi, 0xb
imul edi, ecx
cmp esi, edi
jae 0x100400c3
mov eax, edi
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov word [edx + ebp + 0x204], di
jmp 0x100400d9
sub eax, edi
sub esi, edi
mov edi, ecx
shr edi, 5
sub ecx, edi
mov word [edx + ebp + 0x204], cx
add ebp, 1
cmp ebp, 0x100
jb 0x10040080
mov dword [esp + 0x10], ebx
sub ebp, 0xf0
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x20], 0xc
mov dword [esp + 0x30], ebp
jb 0x100405eb
cmp ebp, 4
mov ecx, ebp
jb 0x1004010a
mov ecx, 3
mov edx, dword [esp + 0x2c]
shl ecx, 7
cmp eax, 0x1000000
lea ecx, [ecx + edx + 0x360]
movzx edx, word [ecx + 2]
jae 0x10040135
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
add ebx, 1
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, edx
cmp esi, edi
jae 0x1004015a
mov eax, edi
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov word [ecx + 2], di
mov edx, 2
jmp 0x1004016e
sub eax, edi
sub esi, edi
mov edi, edx
shr edi, 5
sub edx, edi
mov word [ecx + 2], dx
mov edx, 3
cmp eax, 0x1000000
lea ebp, [edx + edx]
movzx edx, word [ecx + ebp]
jae 0x1004018e
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
add ebx, 1
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, edx
cmp esi, edi
jae 0x100401ae
mov eax, edi
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov word [ecx + ebp], di
jmp 0x100401c0
sub eax, edi
sub esi, edi
mov edi, edx
shr edi, 5
sub edx, edi
mov word [ecx + ebp], dx
add ebp, 1
add ebp, ebp
cmp eax, 0x1000000
movzx edx, word [ecx + ebp]
jae 0x100401df
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
add ebx, 1
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, edx
cmp esi, edi
jae 0x100401ff
mov eax, edi
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov word [ecx + ebp], di
jmp 0x10040211
sub eax, edi
sub esi, edi
mov edi, edx
shr edi, 5
sub edx, edi
mov word [ecx + ebp], dx
add ebp, 1
add ebp, ebp
cmp eax, 0x1000000
movzx edx, word [ecx + ebp]
jae 0x10040230
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
add ebx, 1
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, edx
cmp esi, edi
jae 0x10040250
mov eax, edi
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov word [ecx + ebp], di
jmp 0x10040262
sub eax, edi
sub esi, edi
mov edi, edx
shr edi, 5
sub edx, edi
mov word [ecx + ebp], dx
add ebp, 1
add ebp, ebp
cmp eax, 0x1000000
movzx edx, word [ecx + ebp]
jae 0x10040281
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
add ebx, 1
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, edx
cmp esi, edi
jae 0x100402a1
mov eax, edi
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov word [ecx + ebp], di
jmp 0x100402b3
sub eax, edi
sub esi, edi
mov edi, edx
shr edi, 5
sub edx, edi
mov word [ecx + ebp], dx
add ebp, 1
add ebp, ebp
cmp eax, 0x1000000
movzx edx, word [ecx + ebp]
jae 0x100402d2
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
add ebx, 1
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, edx
cmp esi, edi
jae 0x100402f2
mov eax, edi
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov word [ecx + ebp], di
jmp 0x10040304
sub eax, edi
sub esi, edi
mov edi, edx
shr edi, 5
sub edx, edi
mov word [ecx + ebp], dx
add ebp, 1
sub ebp, 0x40
cmp ebp, 4
jb 0x10040587
mov ecx, ebp
mov edx, ebp
shr ecx, 1
and ebp, 1
sub ecx, 1
or ebp, 2
cmp edx, 0xe
mov dword [esp + 0x1c], ecx
jae 0x100403b8
shl ebp, cl
mov edi, 1
mov dword [esp + 0x48], edi
mov ecx, ebp
sub ecx, edx
mov edx, dword [esp + 0x2c]
lea ebx, [edx + ecx*2 + 0x55e]
jmp 0x10040350
cmp eax, 0x1000000
movzx edx, word [ebx + edi*2]
jae 0x1004036f
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx]
shl esi, 8
shl eax, 8
or esi, ecx
add dword [esp + 0x10], 1
mov ecx, eax
shr ecx, 0xb
imul ecx, edx
cmp esi, ecx
jae 0x10040391
mov eax, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov word [ebx + edi*2], cx
add edi, edi
jmp 0x100403a8
sub eax, ecx
sub esi, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
or ebp, dword [esp + 0x48]
mov word [ebx + edi*2], dx
lea edi, [edi + edi + 1]
shl dword [esp + 0x48], 1
sub dword [esp + 0x1c], 1
jne 0x10040350
jmp 0x10040587
mov edi, dword [esp + 0x10]
sub ecx, 4
nop
cmp eax, 0x1000000
jae 0x100403d5
movzx edx, byte [edi]
shl esi, 8
shl eax, 8
or esi, edx
add edi, 1
shr eax, 1
sub esi, eax
mov edx, esi
shr edx, 0x1f
neg edx
lea ebp, [edx + ebp*2 + 1]
and edx, eax
add esi, edx
sub ecx, 1
jne 0x100403c0
mov ebx, dword [esp + 0x2c]
movzx ecx, word [ebx + 0x646]
shl ebp, 4
cmp eax, 0x1000000
mov dword [esp + 0x10], edi
jae 0x1004041a
mov edx, edi
movzx edi, byte [edx]
shl esi, 8
shl eax, 8
or esi, edi
add edx, 1
mov dword [esp + 0x10], edx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x10040442
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [ebx + 0x646], dx
mov ecx, 2
jmp 0x1004045c
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [ebx + 0x646], cx
mov ecx, 3
or ebp, 1
cmp eax, 0x1000000
lea edi, [ecx + ecx]
movzx ecx, word [edi + ebx + 0x644]
jae 0x10040482
mov edx, dword [esp + 0x10]
movzx edx, byte [edx]
shl esi, 8
shl eax, 8
or esi, edx
add dword [esp + 0x10], 1
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x100404a6
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebx + 0x644], dx
jmp 0x100404bf
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebx + 0x644], cx
add edi, 1
or ebp, 2
add edi, edi
cmp eax, 0x1000000
movzx ecx, word [edi + ebx + 0x644]
jae 0x100404e4
mov edx, dword [esp + 0x10]
movzx edx, byte [edx]
shl esi, 8
shl eax, 8
or esi, edx
add dword [esp + 0x10], 1
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x10040508
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebx + 0x644], dx
jmp 0x10040521
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebx + 0x644], cx
add edi, 1
or ebp, 4
cmp eax, 0x1000000
movzx ecx, word [ebx + edi*2 + 0x644]
jae 0x10040544
mov edx, dword [esp + 0x10]
movzx edx, byte [edx]
shl esi, 8
shl eax, 8
or esi, edx
add dword [esp + 0x10], 1
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x10040568
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [ebx + edi*2 + 0x644], dx
jmp 0x1004057e
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [ebx + edi*2 + 0x644], cx
or ebp, 8
cmp ebp, 0xffffffff
je 0x10040690
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov dword [esp + 0x44], edx
lea edx, [ebp + 1]
mov dword [esp + 0x34], edx
jne 0x100405ce
cmp ebp, dword [esp + 0x28]
jb 0x100405d6
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x24], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4c
ret 0xc
cmp ebp, ecx
jae 0x10040707
cmp dword [esp + 0x20], 0x13
mov ebp, dword [esp + 0x30]
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 0xa
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x24]
add ebp, 2
sub edi, ebx
je 0x10040721
cmp edi, ebp
jb 0x10040604
mov edi, ebp
cmp ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
sbb ecx, ecx
and ecx, dword [esp + 0x3c]
add dword [esp + 0x28], edi
sub ecx, dword [esp + 0x34]
sub ebp, edi
add ecx, ebx
sub edx, ecx
cmp edi, edx
mov dword [esp + 0x30], ebp
ja 0x1004064e
mov edx, dword [esp + 0x38]
sub ecx, ebx
add edx, ebx
add ebx, edi
mov ebp, ecx
lea ecx, [edx + edi]
mov dword [esp + 0x24], ebx
jmp 0x10040640
mov bl, byte [edx + ebp]
mov byte [edx], bl
add edx, 1
cmp edx, ecx
jne 0x10040640
jmp 0x1004066f
mov ebp, dword [esp + 0x38]
mov dl, byte [ecx + ebp]
mov byte [ebx + ebp], dl
add ecx, 1
add ebx, 1
cmp ecx, dword [esp + 0x3c]
jne 0x10040666
xor ecx, ecx
sub edi, 1
jne 0x10040652
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x64]
jae 0x1004069d
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x68]
jae 0x1004069d
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
jmp 0x1003f315
add dword [esp + 0x30], 0x112
sub dword [esp + 0x20], 0xc
cmp eax, 0x1000000
mov edx, dword [esp + 0x10]
jae 0x100406b6
movzx ecx, byte [edx]
shl esi, 8
shl eax, 8
or esi, ecx
add edx, 1
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x18], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x48], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x44]
pop edi
mov dword [ecx + 0x2c], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x20], esi
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x1c]
pop esi
mov dword [ecx + 0x3c], edx
mov edx, dword [esp + 0x40]
pop ebp
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x44], edx
xor eax, eax
pop ebx
add esp, 0x4c
ret 0xc
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax + 0x24], edx
mov eax, 1
pop ebx
add esp, 0x4c
ret 0xc
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword [ecx + 0x24], ebx
mov eax, 1
pop ebx
add esp, 0x4c
ret 0xc