Function at 0x4155f1
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x50], edx
mov eax, ecx
mov dword [ebp - 0x3c], eax
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 dword [ebp - 0x30], ecx
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 0x44]
xor edx, edx
inc edx
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 8]
shl edx, cl
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 0x34]
dec edx
mov dword [ebp - 0x54], edx
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax + 0x14]
dec edx
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x44], edx
xor edx, edx
mov esi, dword [eax + 0x20]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0x18]
mov edi, dword [eax + 0x1c]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], edx
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 0x41569b
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 0x415dd7
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov edi, edx
mov word [ecx + ebx*2], ax
mov eax, dword [ebp - 0x1c]
lea ebx, [ecx + 0xe6c]
test eax, eax
jne 0x4156d5
cmp dword [ebp - 0x44], eax
je 0x41570b
mov ecx, dword [ebp - 0x14]
test ecx, ecx
mov eax, ecx
cmove eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
push 8
movzx edx, byte [eax + ecx - 1]
mov eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x58]
pop ecx
sub cl, byte [ebp - 0x48]
shr edx, cl
mov ecx, dword [ebp - 0x48]
shl eax, cl
add edx, eax
mov eax, dword [ebp - 0x1c]
imul edx, edx, 0x600
add ebx, edx
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x1c], eax
cmp ecx, 7
jae 0x4159af
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 0x415749
mov edi, edx
mov edx, dword [ebp - 4]
shl esi, 8
movzx eax, byte [edx]
shl edi, 8
or esi, eax
inc edx
mov dword [ebp - 4], edx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x41576b
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [ebx + 2], ax
push 2
jmp 0x41577c
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 0x41579c
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4157bc
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx], ax
jmp 0x4157cc
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 0x4157eb
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x41580b
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx], ax
jmp 0x41581b
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 0x41583a
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x41585a
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx], ax
jmp 0x41586a
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 0x415889
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4158a9
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx], ax
jmp 0x4158b9
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 0x4158d8
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4158f8
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx], ax
jmp 0x415908
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 0x415927
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x415947
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx], ax
jmp 0x415957
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 0x415977
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x41599a
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ecx + ebx], ax
jmp 0x415dc5
sub edi, eax
sub esi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov word [ecx + ebx], dx
inc ecx
jmp 0x415dc5
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
and ecx, 0x100
mov dword [ebp - 8], eax
movzx eax, word [ebx + ecx*2 + 0x202]
mov dword [ebp - 0x4c], eax
cmp edx, 0x1000000
jae 0x415a0a
mov edi, edx
mov edx, dword [ebp - 4]
shl esi, 8
movzx eax, byte [edx]
shl edi, 8
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 0x415a35
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + ecx*2 + 0x202], ax
push 2
not ecx
jmp 0x415a4a
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
movzx edx, word [ebx + eax*2]
mov dword [ebp - 0x40], eax
cmp edi, 0x1000000
jae 0x415a83
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x415ab3
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 0x415ad2
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 - 0x20], edx
mov dword [ebp - 0x40], eax
add eax, ecx
add eax, edx
mov dword [ebp - 0x4c], eax
movzx edx, word [ebx + eax*2]
cmp edi, 0x1000000
jae 0x415b04
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x415b34
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 0x415b53
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 - 0x20], edx
mov dword [ebp - 0x40], eax
add eax, ecx
add eax, edx
mov dword [ebp - 0x4c], eax
movzx edx, word [ebx + eax*2]
cmp edi, 0x1000000
jae 0x415b85
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x415bb5
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 0x415bd4
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 - 0x20], edx
mov dword [ebp - 0x40], eax
add eax, ecx
add eax, edx
mov dword [ebp - 0x4c], eax
movzx edx, word [ebx + eax*2]
cmp edi, 0x1000000
jae 0x415c06
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x415c36
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 0x415c55
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 - 0x20], edx
mov dword [ebp - 0x40], eax
add eax, ecx
add eax, edx
mov dword [ebp - 0x4c], eax
movzx edx, word [ebx + eax*2]
cmp edi, 0x1000000
jae 0x415c87
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x415cb7
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 0x415cd6
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 - 0x20], edx
mov dword [ebp - 0x40], eax
add eax, ecx
add eax, edx
mov dword [ebp - 0x4c], eax
movzx edx, word [ebx + eax*2]
cmp edi, 0x1000000
jae 0x415d08
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x415d3a
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 0x415d5c
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 0x415d86
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
or esi, eax
inc dword [ebp - 4]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x415dac
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 0x415dc5
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 0x41696b
mov eax, ecx
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0xc]
sub esi, edx
sub edi, edx
mov edx, dword [ebp - 0x10]
mov word [eax + ebx*2], cx
movzx ecx, word [eax + edx*2 + 0x180]
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], esi
cmp edi, 0x1000000
jae 0x415e14
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 0x415e4a
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov ecx, dword [ebp - 0xc]
add edx, 0xc
mov word [ecx + edx*2 + 0x168], ax
mov dword [ebp - 0x10], edx
lea edx, [ecx + 0x664]
jmp 0x416072
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 0x415e70
cmp dword [ebp - 0x1c], 0
je 0x4169f0
movzx edx, word [eax + edx*2 + 0x198]
cmp edi, 0x1000000
jae 0x415e8f
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 0x415f58
mov ebx, dword [ebp - 0xc]
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x10]
mov edi, ecx
mov word [ebx + edx*2 + 0x198], ax
mov eax, dword [ebp - 0xc]
lea ebx, [edx + 0xf]
shl ebx, 4
add ebx, dword [ebp - 0x20]
movzx edx, word [eax + ebx*2]
cmp ecx, 0x1000000
jae 0x415ee5
mov ecx, dword [ebp - 4]
shl esi, 8
movzx eax, byte [ecx]
shl edi, 8
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 0x415f3e
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
mov ecx, dword [ebp - 0x1c]
inc edx
inc ecx
cmp dword [ebp - 0x10], 7
mov dword [ebp - 0x14], edx
sbb ebx, ebx
and ebx, 0xfffffffe
add ebx, 0xb
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], ebx
jmp 0x416971
sub esi, eax
sub edi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov word [ecx + ebx*2], dx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], esi
jmp 0x41605e
mov eax, edx
shr eax, 5
sub esi, ecx
sub edx, eax
mov eax, dword [ebp - 0x10]
sub edi, ecx
mov ecx, dword [ebp - 0xc]
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 0x415f98
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 0x415fc5
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 0x416055
sub esi, eax
sub edi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], esi
mov word [eax + edx*2 + 0x1b0], cx
movzx ecx, word [eax + edx*2 + 0x1c8]
cmp edi, 0x1000000
jae 0x416000
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 0x41602a
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 0x41604f
sub esi, eax
sub edi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], esi
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
sbb edx, edx
and edx, 0xfffffffd
add edx, 0xb
mov dword [ebp - 0x10], edx
lea edx, [ecx + 0xa68]
movzx ebx, word [edx]
cmp edi, 0x1000000
jae 0x416092
mov ecx, dword [ebp - 4]
shl esi, 8
movzx eax, byte [ecx]
or esi, eax
shl edi, 8
inc ecx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ecx
mov ecx, edi
shr ecx, 0xb
imul ecx, ebx
cmp esi, ecx
jae 0x4161d2
mov eax, 0x800
sub eax, ebx
shr eax, 5
add eax, ebx
mov ebx, dword [ebp - 0x20]
shl ebx, 4
add ebx, edx
mov word [edx], ax
movzx edx, word [ebx + 6]
mov edi, ecx
cmp ecx, 0x1000000
jae 0x4160dc
mov ecx, dword [ebp - 4]
shl esi, 8
movzx eax, byte [ecx]
or esi, eax
shl edi, 8
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 0x4160fe
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + 6], ax
push 2
jmp 0x416112
sub esi, eax
sub edi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov dword [ebp - 8], esi
mov word [ebx + 6], dx
push 3
pop edx
add edx, edx
movzx ecx, word [ebx + edx + 4]
cmp edi, 0x1000000
jae 0x416136
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
or esi, eax
shl edi, 8
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x416157
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [ebx + edx + 4], ax
jmp 0x41616b
sub esi, eax
sub edi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov word [ebx + edx + 4], cx
mov dword [ebp - 8], esi
inc edx
add edx, edx
mov dword [ebp - 0x18], edx
movzx ecx, word [ebx + edx + 4]
cmp edi, 0x1000000
jae 0x416195
mov edx, dword [ebp - 4]
shl esi, 8
movzx eax, byte [edx]
or esi, eax
shl edi, 8
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 0x4161b6
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [ebx + edx + 4], ax
jmp 0x4161ca
sub esi, eax
sub edi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov word [ebx + edx + 4], cx
mov dword [ebp - 8], esi
inc edx
sub edx, 8
jmp 0x4163cd
mov eax, ebx
shr eax, 5
sub ebx, eax
sub edi, ecx
sub esi, ecx
mov word [edx], bx
movzx ebx, word [edx + 2]
mov dword [ebp - 8], esi
cmp edi, 0x1000000
jae 0x416204
mov ecx, dword [ebp - 4]
shl esi, 8
movzx eax, byte [ecx]
or esi, eax
shl edi, 8
inc ecx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ecx
mov ecx, edi
shr ecx, 0xb
imul ecx, ebx
cmp esi, ecx
jae 0x416342
mov eax, 0x800
sub eax, ebx
shr eax, 5
add eax, ebx
mov ebx, dword [ebp - 0x20]
shl ebx, 4
add ebx, 0x104
add ebx, edx
mov word [edx + 2], ax
movzx edx, word [ebx + 2]
mov edi, ecx
cmp ecx, 0x1000000
jae 0x416255
mov ecx, dword [ebp - 4]
shl esi, 8
movzx eax, byte [ecx]
or esi, eax
shl edi, 8
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 0x416277
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + 2], ax
push 2
jmp 0x41628b
sub esi, eax
sub edi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov dword [ebp - 8], esi
mov word [ebx + 2], dx
push 3
pop edx
add edx, edx
movzx ecx, word [ebx + edx]
cmp edi, 0x1000000
jae 0x4162ae
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
or esi, eax
shl edi, 8
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4162ce
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [ebx + edx], ax
jmp 0x4162e1
sub esi, eax
sub edi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov word [ebx + edx], cx
mov dword [ebp - 8], esi
inc edx
add edx, edx
mov dword [ebp - 0x18], edx
movzx ecx, word [ebx + edx]
cmp edi, 0x1000000
jae 0x41630a
mov edx, dword [ebp - 4]
shl esi, 8
movzx eax, byte [edx]
or esi, eax
shl edi, 8
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 0x41632d
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [ebx + edx], ax
jmp 0x4163d0
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov word [ebx + edx], cx
inc edx
jmp 0x4163ca
mov eax, ebx
shr eax, 5
sub ebx, eax
mov word [edx + 2], bx
xor ebx, ebx
sub edi, ecx
sub esi, ecx
inc ebx
add ebx, ebx
mov dword [ebp - 0x18], ebx
movzx ecx, word [edx + ebx + 0x204]
cmp edi, 0x1000000
jae 0x41637e
mov ebx, dword [ebp - 4]
shl esi, 8
movzx eax, byte [ebx]
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x18]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4163a2
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov word [edx + ebx + 0x204], ax
jmp 0x4163b9
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov word [edx + ebx + 0x204], cx
inc ebx
mov dword [ebp - 0x18], ebx
cmp ebx, 0x100
jb 0x416354
mov edx, dword [ebp - 0x18]
sub edx, 0xf0
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x10], 0xc
mov dword [ebp - 0x20], edi
jb 0x4168ea
mov ecx, dword [ebp - 0xc]
push 3
cmp edx, 4
pop eax
cmovb eax, edx
shl eax, 7
add ecx, 0x360
add ecx, eax
movzx edx, word [ecx + 2]
cmp edi, 0x1000000
jae 0x416415
mov ebx, dword [ebp - 4]
shl esi, 8
movzx eax, byte [ebx]
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, edx
cmp esi, eax
jae 0x416437
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ecx + 2], ax
push 2
jmp 0x41644b
sub esi, eax
sub edi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov dword [ebp - 8], esi
mov word [ecx + 2], dx
push 3
pop ebx
add ebx, ebx
movzx edx, word [ebx + ecx]
cmp edi, 0x1000000
jae 0x41646e
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
or esi, eax
shl edi, 8
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x41648e
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + ecx], ax
jmp 0x4164a1
sub esi, eax
sub edi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov word [ebx + ecx], dx
mov dword [ebp - 8], esi
inc ebx
add ebx, ebx
movzx edx, word [ebx + ecx]
cmp edi, 0x1000000
jae 0x4164c3
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
or esi, eax
shl edi, 8
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x4164e3
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + ecx], ax
jmp 0x4164f6
sub esi, eax
sub edi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov word [ebx + ecx], dx
mov dword [ebp - 8], esi
inc ebx
add ebx, ebx
movzx edx, word [ebx + ecx]
cmp edi, 0x1000000
jae 0x416518
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
or esi, eax
shl edi, 8
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x416538
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + ecx], ax
jmp 0x41654b
sub esi, eax
sub edi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov word [ebx + ecx], dx
mov dword [ebp - 8], esi
inc ebx
add ebx, ebx
movzx edx, word [ebx + ecx]
cmp edi, 0x1000000
jae 0x41656d
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
or esi, eax
shl edi, 8
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x41658d
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov word [ebx + ecx], ax
jmp 0x4165a0
sub esi, eax
sub edi, eax
mov eax, edx
shr eax, 5
sub edx, eax
mov word [ebx + ecx], dx
mov dword [ebp - 8], esi
inc ebx
lea edx, [ebx + ebx]
movzx ebx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x4165c3
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
or esi, eax
shl edi, 8
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, ebx
cmp esi, eax
jae 0x4165e3
mov edi, eax
mov eax, 0x800
sub eax, ebx
shr eax, 5
add eax, ebx
mov word [edx + ecx], ax
jmp 0x4165f6
sub esi, eax
sub edi, eax
mov eax, ebx
shr eax, 5
sub ebx, eax
mov word [edx + ecx], bx
mov dword [ebp - 8], esi
inc edx
sub edx, 0x40
mov dword [ebp - 0x20], edi
cmp edx, 4
jb 0x4168af
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 0x4166ba
shl edx, cl
mov eax, edx
sub eax, ebx
mov ebx, dword [ebp - 0xc]
lea ebx, [ebx + eax*2]
add ebx, 0x55e
xor eax, eax
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 0x41665b
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
shl edi, 8
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 0x416686
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 0x41669e
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
mov ebx, dword [ebp - 0x20]
inc eax
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 0x416639
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], esi
jmp 0x4168af
sub ecx, 4
mov ebx, dword [ebp - 4]
cmp edi, 0x1000000
jae 0x4166d7
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 4], ebx
shr edi, 1
sub esi, edi
mov eax, esi
shr eax, 0x1f
neg eax
lea edx, [edx*2 + 1]
add edx, eax
and eax, edi
add esi, eax
dec ecx
jne 0x4166bd
mov eax, dword [ebp - 0xc]
shl edx, 4
movzx ecx, word [eax + 0x646]
mov dword [ebp - 8], esi
cmp edi, 0x1000000
jae 0x41671c
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 0x416746
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 0x416763
sub esi, eax
sub edi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], esi
mov word [eax + 0x646], cx
push 3
or edx, 1
pop ebx
add ebx, ebx
movzx ecx, word [ebx + eax + 0x644]
cmp edi, 0x1000000
jae 0x41678a
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
or esi, eax
shl edi, 8
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4167b3
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 0x4167d0
sub esi, eax
sub edi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0xc]
inc ebx
mov word [ebx + eax + 0x643], cx
mov dword [ebp - 8], esi
or edx, 2
add ebx, ebx
movzx ecx, word [ebx + eax + 0x644]
cmp edi, 0x1000000
jae 0x4167f6
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
or esi, eax
shl edi, 8
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x41681f
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 0x41683c
sub esi, eax
sub edi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0xc]
inc ebx
mov word [ebx + eax + 0x643], cx
mov dword [ebp - 8], esi
or edx, 4
movzx ecx, word [eax + ebx*2 + 0x644]
cmp edi, 0x1000000
jae 0x416860
mov eax, dword [ebp - 4]
shl esi, 8
movzx eax, byte [eax]
or esi, eax
shl edi, 8
inc dword [ebp - 4]
mov dword [ebp - 8], esi
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x416887
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 0x4168a3
sub esi, eax
sub edi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], esi
mov word [eax + ebx*2 + 0x644], cx
or edx, 8
mov dword [ebp - 0x20], edi
cmp edx, 0xffffffff
je 0x4169d6
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 0x4168d3
cmp edx, dword [ebp - 0x1c]
jmp 0x4168d5
cmp edx, eax
jae 0x4169e7
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]
mov ecx, dword [ebp - 0x14]
add ebx, 2
sub eax, ecx
je 0x4169ea
cmp eax, ebx
mov edx, ebx
cmovb edx, eax
cmp ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
sbb ecx, ecx
and ecx, dword [ebp - 0x2c]
add dword [ebp - 0x1c], edx
sub ecx, dword [ebp - 0x24]
sub ebx, edx
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
sub eax, ecx
cmp edx, eax
ja 0x416944
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 0x416938
jmp 0x416968
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 0x41694d
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 0x416982
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 8]
jb 0x415672
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
cmp edi, 0x1000000
jae 0x41699c
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 0x4169f3
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x10]
add edx, 0x112
sub ebx, 0xc
jmp 0x416985
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
leave
ret 4