Function at 0x4cfa82
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x54], edx
push edi
mov dword [ebp - 0x58], esi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x44], eax
xor eax, eax
inc eax
mov edx, dword [esi + 0x34]
shl eax, cl
mov ecx, dword [esi + 4]
dec eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov ebx, dword [esi + 0x18]
inc eax
mov edi, dword [esi + 0x1c]
shl eax, cl
mov ecx, dword [esi + 0x2c]
dec eax
mov dword [ebp - 0x60], eax
mov eax, dword [esi]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x30]
mov esi, dword [esi + 0x20]
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov al, 8
sub al, byte [ebp - 0x50]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], ebx
mov byte [ebp - 1], al
and ecx, dword [ebp - 0x5c]
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
movzx edx, word [ecx + eax*2]
cmp edi, 0x1000000
jae 0x4cfb39
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
mov dword [ebp - 0x24], ecx
cmp esi, ecx
jae 0x4d0325
mov ebx, dword [ebp - 0x10]
mov eax, 0x800
sub eax, edx
mov edi, ecx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x40]
mov word [ebx + edx*2], ax
mov edx, ebx
mov eax, dword [ebp - 0x28]
add edx, 0xe6c
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
test eax, eax
jne 0x4cfb7f
cmp dword [ebp - 0x4c], 0
je 0x4cfbb8
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
mov eax, ecx
mov ecx, dword [ebp - 0x30]
cmove eax, dword [ebp - 0x34]
movzx edx, byte [eax + ecx - 1]
mov cl, byte [ebp - 1]
mov eax, dword [ebp - 0x28]
and eax, dword [ebp - 0x60]
shr edx, cl
mov ecx, dword [ebp - 0x50]
shl eax, cl
mov ecx, dword [ebp - 0x24]
add edx, eax
imul eax, edx, 0x600
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], edx
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
cmp eax, 7
jae 0x4cfef7
cmp dword [ebp - 0x14], 4
movzx edx, word [edx + 2]
push 3
pop eax
cmovb eax, dword [ebp - 0x14]
sub dword [ebp - 0x14], eax
cmp ecx, 0x1000000
jae 0x4cfbf3
movzx eax, byte [ebx]
mov edi, ecx
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x4cfc1d
mov edi, eax
mov dword [ebp - 0x48], 5
mov eax, 0x800
sub eax, edx
shr eax, 5
push 4
add eax, edx
pop edx
movzx eax, ax
push edx
jmp 0x4cfc36
sub edi, eax
mov dword [ebp - 0x48], 7
sub esi, eax
mov eax, edx
shr eax, 5
sub edx, eax
push 6
movzx eax, dx
pop edx
push edx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x40], edx
pop ecx
mov dword [ebp - 0x24], ecx
mov word [ebx + 2], ax
mov eax, ebx
mov ebx, dword [ebp - 8]
movzx ecx, word [ecx + eax]
cmp edi, 0x1000000
jae 0x4cfc64
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4cfc83
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4cfc97
mov edx, dword [ebp - 0x48]
sub edi, eax
sub esi, eax
mov dword [ebp - 0x40], edx
mov eax, ecx
shr eax, 5
sub ecx, eax
movzx eax, cx
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0xc]
mov word [ecx + ebx], ax
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
movzx ecx, word [eax + edx*2]
cmp edi, 0x1000000
jae 0x4cfcc2
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov eax, edi
shl edx, 2
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4cfce7
mov edi, eax
mov dword [ebp - 0x24], edx
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4cfcfd
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
movzx eax, cx
lea ecx, [edx + 2]
mov dword [ebp - 0x24], ecx
mov edx, ecx
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov word [ecx + ebx*2], ax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
movzx ecx, word [ecx + eax]
cmp edi, 0x1000000
jae 0x4cfd2b
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4cfd4a
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4cfd59
sub edi, eax
sub esi, eax
mov eax, ecx
inc edx
shr eax, 5
sub ecx, eax
movzx eax, cx
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0xc]
mov word [ecx + ebx], ax
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
movzx ecx, word [eax + edx*2]
cmp edi, 0x1000000
jae 0x4cfd84
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov eax, edi
mov ebx, edx
shr eax, 0xb
imul eax, ecx
shl ebx, 2
mov dword [ebp - 0x24], ebx
cmp esi, eax
jae 0x4cfdb0
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx ecx, ax
mov eax, ebx
mov dword [ebp - 0x40], eax
jmp 0x4cfdcc
mov ebx, dword [ebp - 0x24]
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
add ebx, 2
movzx ecx, cx
mov eax, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0xc]
mov word [ebx + edx*2], cx
mov ecx, ebx
mov ebx, dword [ebp - 8]
movzx ecx, word [eax + ecx]
cmp edi, 0x1000000
jae 0x4cfdf3
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov edx, dword [ebp - 0x24]
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4cfe15
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4cfe27
sub edi, eax
sub esi, eax
mov eax, ecx
inc edx
shr eax, 5
sub ecx, eax
mov dword [ebp - 0x24], edx
movzx eax, cx
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0xc]
mov word [ecx + ebx], ax
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
movzx ecx, word [eax + edx*2]
cmp edi, 0x1000000
jae 0x4cfe52
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov eax, edi
shl edx, 2
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4cfe77
mov edi, eax
mov dword [ebp - 0x40], edx
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx ecx, ax
jmp 0x4cfe8d
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
lea eax, [edx + 2]
movzx ecx, cx
mov edx, eax
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov word [ebx + eax*2], cx
mov ecx, ebx
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 8]
movzx ecx, word [eax + ecx]
cmp edi, 0x1000000
jae 0x4cfeba
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4cfed9
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4cfee8
sub edi, eax
sub esi, eax
mov eax, ecx
inc edx
shr eax, 5
sub ecx, eax
movzx eax, cx
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0xc]
mov word [ecx + ebx], ax
jmp 0x4d0313
cmp eax, 0xa
mov ebx, dword [ebp - 0x30]
sbb eax, eax
and eax, 0xfffffffd
add eax, 6
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x1c], eax
sbb eax, eax
and eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x1c]
movzx eax, byte [eax + ebx]
mov ebx, dword [ebp - 8]
add eax, eax
mov dword [ebp - 0x24], eax
and eax, 0x100
mov dword [ebp - 0x48], eax
add eax, 0x101
lea eax, [edx + eax*2]
movzx edx, word [eax]
mov dword [ebp - 0x20], eax
cmp ecx, 0x1000000
jae 0x4cff54
movzx eax, byte [ebx]
mov edi, ecx
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 0x48]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x4cff85
mov edi, eax
mov dword [ebp - 0x40], 2
mov eax, 0x800
not ecx
sub eax, edx
and ecx, 0x100
shr eax, 5
add eax, edx
movzx eax, ax
jmp 0x4cff9a
sub edi, eax
mov dword [ebp - 0x40], 3
sub esi, eax
mov eax, edx
shr eax, 5
sub edx, eax
movzx eax, dx
mov edx, dword [ebp - 0x20]
mov word [edx], ax
mov eax, ecx
mov edx, dword [ebp - 0x24]
add edx, edx
and eax, edx
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
add eax, ecx
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
movzx edx, word [edx + eax*2]
cmp edi, 0x1000000
jae 0x4cffd5
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov eax, edi
shr eax, 0xb
add ebx, ebx
imul eax, edx
mov dword [ebp - 0x40], ebx
cmp esi, eax
jae 0x4d0001
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x20]
movzx eax, ax
not edx
jmp 0x4d0015
sub edi, eax
sub esi, eax
inc dword [ebp - 0x40]
mov eax, edx
shr eax, 5
sub edx, eax
movzx eax, dx
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0xc]
and edx, ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x20], edx
mov word [ebx + ecx*2], ax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
add eax, eax
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
add eax, edx
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
movzx ecx, word [ecx + eax*2]
cmp edi, 0x1000000
jae 0x4d005a
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov eax, edi
shr eax, 0xb
add ebx, ebx
imul eax, ecx
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp esi, eax
jae 0x4d0086
mov edi, eax
not edx
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d0097
sub edi, eax
sub esi, eax
inc dword [ebp - 0x40]
mov eax, ecx
shr eax, 5
sub ecx, eax
movzx eax, cx
and dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0xc]
mov word [edx + ecx*2], ax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
add ecx, ecx
mov edx, eax
mov dword [ebp - 0x24], ecx
and edx, ecx
mov ecx, dword [ebp - 0xc]
add eax, edx
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
movzx ecx, word [ecx + eax*2]
cmp edi, 0x1000000
jae 0x4d00d9
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov eax, edi
shr eax, 0xb
add ebx, ebx
imul eax, ecx
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp esi, eax
jae 0x4d0105
mov edi, eax
not edx
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d0116
sub edi, eax
sub esi, eax
inc dword [ebp - 0x40]
mov eax, ecx
shr eax, 5
sub ecx, eax
movzx eax, cx
and dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0xc]
mov word [edx + ecx*2], ax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
add ecx, ecx
mov edx, eax
mov dword [ebp - 0x24], ecx
and edx, ecx
mov ecx, dword [ebp - 0xc]
add eax, edx
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
movzx ecx, word [ecx + eax*2]
cmp edi, 0x1000000
jae 0x4d0158
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov eax, edi
shr eax, 0xb
add ebx, ebx
imul eax, ecx
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 8]
cmp esi, eax
jae 0x4d0184
mov edi, eax
not edx
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d0195
sub edi, eax
sub esi, eax
inc dword [ebp - 0x48]
mov eax, ecx
shr eax, 5
sub ecx, eax
movzx eax, cx
and dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0xc]
mov word [edx + ecx*2], ax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
add ecx, ecx
mov edx, eax
mov dword [ebp - 0x24], ecx
and edx, ecx
mov ecx, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x48]
add eax, edx
mov dword [ebp - 0x64], eax
movzx ecx, word [ecx + eax*2]
cmp edi, 0x1000000
jae 0x4d01dc
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov eax, edi
add edx, edx
shr eax, 0xb
imul eax, ecx
mov dword [ebp - 0x48], edx
cmp esi, eax
jae 0x4d0205
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx ecx, ax
mov eax, dword [ebp - 0x40]
not eax
jmp 0x4d021a
sub edi, eax
sub esi, eax
mov eax, ecx
inc edx
shr eax, 5
sub ecx, eax
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x40]
movzx ecx, cx
mov ebx, dword [ebp - 0x64]
mov edx, dword [ebp - 0xc]
and eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov word [edx + ebx*2], cx
mov ecx, eax
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
add ebx, ebx
and ecx, ebx
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 8]
add eax, ecx
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x64], eax
movzx edx, word [edx + eax*2]
cmp edi, 0x1000000
jae 0x4d025f
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x48]
mov eax, edi
shr eax, 0xb
add ebx, ebx
imul eax, edx
mov dword [ebp - 0x48], ebx
cmp esi, eax
jae 0x4d0288
mov edi, eax
not ecx
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
movzx eax, ax
jmp 0x4d0299
sub edi, eax
sub esi, eax
inc dword [ebp - 0x48]
mov eax, edx
shr eax, 5
sub edx, eax
movzx eax, dx
mov edx, dword [ebp - 0x64]
mov ebx, dword [ebp - 0xc]
and ecx, dword [ebp - 0x40]
mov word [ebx + edx*2], ax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x48]
add eax, eax
mov ebx, dword [ebp - 8]
and eax, ecx
add eax, ecx
mov ecx, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x48], eax
movzx ecx, word [ecx + eax*2]
cmp edi, 0x1000000
jae 0x4d02d8
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
mov eax, edi
shr eax, 0xb
add edx, edx
imul eax, ecx
cmp esi, eax
jae 0x4d0300
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov ecx, dword [ebp - 0x48]
mov word [ebx + ecx*2], ax
jmp 0x4d0313
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0x48]
inc edx
mov word [ebx + eax*2], cx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov byte [ecx + eax], dl
inc ecx
mov dword [ebp - 0x1c], ecx
jmp 0x4d0f63
mov eax, edx
sub esi, ecx
shr eax, 5
sub edi, ecx
mov ecx, dword [ebp - 0x10]
sub edx, eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], esi
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0x14]
movzx ecx, word [ecx + edx*2 + 0x180]
cmp edi, 0x1000000
jae 0x4d0362
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d0397
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov ecx, dword [ebp - 0x10]
mov word [ecx + edx*2 + 0x180], ax
add edx, 0xc
mov dword [ebp - 0x14], edx
mov eax, 0x664
jmp 0x4d05c1
sub edi, eax
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
cmp dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2 + 0x180], cx
jne 0x4d03bd
cmp dword [ebp - 0x28], 0
je 0x4d0fe6
movzx edx, word [eax + edx*2 + 0x198]
cmp edi, 0x1000000
jae 0x4d03dc
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp esi, ecx
jae 0x4d04a6
mov ebx, dword [ebp - 0x10]
mov eax, 0x800
sub eax, edx
mov edi, ecx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x14]
mov word [ebx + edx*2 + 0x198], ax
lea eax, [edx + 0xf]
shl eax, 4
mov edx, ebx
add eax, dword [ebp - 0x48]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x40], eax
movzx edx, word [edx + eax*2]
cmp ecx, 0x1000000
jae 0x4d0434
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 0x40]
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x4d048c
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x10]
mov word [edx + ecx*2], ax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
sbb eax, eax
and eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x2c]
add eax, ecx
mov al, byte [eax + edx]
mov byte [ecx + edx], al
inc ecx
inc dword [ebp - 0x28]
cmp dword [ebp - 0x14], 7
mov dword [ebp - 0x1c], ecx
sbb edx, edx
and edx, 0xfffffffe
add edx, 0xb
mov dword [ebp - 0x14], edx
jmp 0x4d0f69
sub esi, eax
sub edi, eax
mov eax, edx
mov dword [ebp - 0xc], esi
shr eax, 5
sub edx, eax
mov eax, dword [ebp - 0x10]
mov word [eax + ecx*2], dx
jmp 0x4d05aa
mov eax, edx
sub esi, ecx
shr eax, 5
sub edi, ecx
mov ecx, dword [ebp - 0x10]
sub edx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], esi
mov word [ecx + eax*2 + 0x198], dx
mov edx, eax
movzx ecx, word [ecx + edx*2 + 0x1b0]
cmp edi, 0x1000000
jae 0x4d04e6
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d0513
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov ecx, dword [ebp - 0x10]
mov word [ecx + edx*2 + 0x1b0], ax
mov edx, dword [ebp - 0x38]
jmp 0x4d05a1
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 0xc], esi
shr eax, 5
sub ecx, eax
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2 + 0x1b0], cx
movzx ecx, word [eax + edx*2 + 0x1c8]
cmp edi, 0x1000000
jae 0x4d054e
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d0570
mov edx, dword [ebp - 0x3c]
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d058a
mov edx, dword [ebp - 0x44]
sub esi, eax
mov ebx, dword [ebp - 0x3c]
sub edi, eax
mov eax, ecx
mov dword [ebp - 0xc], esi
shr eax, 5
sub ecx, eax
mov dword [ebp - 0x44], ebx
movzx eax, cx
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov word [ebx + ecx*2 + 0x1c8], ax
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x14], 7
mov eax, 0xa68
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 0xb
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
add eax, ecx
mov dword [ebp - 0x24], eax
movzx edx, word [eax]
cmp edi, 0x1000000
jae 0x4d05e3
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp esi, ecx
jae 0x4d0741
mov eax, 0x800
mov edi, ecx
sub eax, edx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x24]
mov word [edx], ax
mov eax, dword [ebp - 0x48]
shl eax, 4
add eax, edx
mov dword [ebp - 0x48], eax
movzx edx, word [eax + 6]
cmp ecx, 0x1000000
jae 0x4d0630
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x4d0654
mov edi, eax
mov eax, 0x800
sub eax, edx
shr eax, 5
push 4
add eax, edx
pop edx
movzx eax, ax
push 8
jmp 0x4d066a
sub esi, eax
sub edi, eax
mov eax, edx
mov dword [ebp - 0xc], esi
shr eax, 5
sub edx, eax
push 6
movzx eax, dx
pop edx
push 0xa
pop ebx
mov dword [ebp - 0x40], ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x48]
mov word [ebx + 6], ax
mov eax, ebx
mov ebx, dword [ebp - 8]
movzx ecx, word [ecx + eax]
cmp edi, 0x1000000
jae 0x4d069a
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d06b9
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d06cb
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 0xc], esi
shr eax, 5
inc edx
sub ecx, eax
movzx eax, cx
mov ecx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x40]
mov word [ecx + ebx], ax
lea eax, [edx + edx]
mov ebx, dword [ebp - 8]
lea edx, [eax + ecx]
movzx ecx, word [edx + 4]
mov dword [ebp - 0x18], eax
cmp edi, 0x1000000
jae 0x4d06ff
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d071e
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d0732
sub esi, eax
sub edi, eax
inc dword [ebp - 0x18]
mov eax, ecx
shr eax, 5
sub ecx, eax
mov dword [ebp - 0xc], esi
movzx eax, cx
mov ecx, dword [ebp - 0x18]
mov word [edx + 4], ax
sub ecx, 8
jmp 0x4d0968
mov eax, edx
sub edi, ecx
shr eax, 5
sub esi, ecx
sub edx, eax
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0x24]
mov word [eax], dx
movzx edx, word [eax + 2]
cmp edi, 0x1000000
jae 0x4d0773
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp esi, ecx
jae 0x4d08df
mov eax, 0x800
mov edi, ecx
sub eax, edx
shr eax, 5
add eax, edx
mov edx, dword [ebp - 0x24]
mov word [edx + 2], ax
mov eax, dword [ebp - 0x48]
shl eax, 4
add eax, edx
mov dword [ebp - 0x48], eax
movzx edx, word [eax + 0x106]
cmp ecx, 0x1000000
jae 0x4d07c4
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, edx
cmp esi, eax
jae 0x4d07ea
mov edi, eax
mov ebx, 0x108
mov eax, 0x800
sub eax, edx
shr eax, 5
add eax, edx
movzx eax, ax
push 4
jmp 0x4d0802
sub esi, eax
sub edi, eax
mov eax, edx
mov dword [ebp - 0xc], esi
shr eax, 5
mov ebx, 0x10a
sub edx, eax
movzx eax, dx
push 6
mov dword [ebp - 0x40], ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x48]
pop edx
mov word [ebx + 0x106], ax
mov eax, ebx
mov ebx, dword [ebp - 8]
movzx ecx, word [ecx + eax]
cmp edi, 0x1000000
jae 0x4d0835
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d0854
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d0866
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 0xc], esi
shr eax, 5
inc edx
sub ecx, eax
movzx eax, cx
mov ecx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x40]
mov word [ebx + ecx], ax
lea eax, [edx + edx]
mov ebx, dword [ebp - 8]
lea edx, [eax + ecx]
movzx ecx, word [edx + 0x104]
mov dword [ebp - 0x18], eax
cmp edi, 0x1000000
jae 0x4d089d
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d08bc
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d08d0
sub esi, eax
sub edi, eax
inc dword [ebp - 0x18]
mov eax, ecx
shr eax, 5
sub ecx, eax
mov dword [ebp - 0xc], esi
movzx eax, cx
mov ecx, dword [ebp - 0x18]
mov word [edx + 0x104], ax
jmp 0x4d096b
mov eax, edx
sub edi, ecx
shr eax, 5
sub esi, ecx
sub edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0x24]
inc ecx
mov word [eax + 2], dx
add ecx, ecx
mov dword [ebp - 0x18], ecx
lea edx, [ecx + eax]
movzx ecx, word [edx + 0x204]
cmp edi, 0x1000000
jae 0x4d0917
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d0936
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d0947
sub edi, eax
sub esi, eax
inc dword [ebp - 0x18]
mov eax, ecx
shr eax, 5
sub ecx, eax
movzx eax, cx
mov ecx, dword [ebp - 0x18]
mov word [edx + 0x204], ax
mov eax, dword [ebp - 0x24]
cmp ecx, 0x100
jb 0x4d08f4
mov dword [ebp - 8], ebx
sub ecx, 0xf0
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x14], 0xc
jb 0x4d0ee2
cmp ecx, 4
push 3
pop eax
cmovb eax, ecx
shl eax, 7
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax + 0x362]
cmp edi, 0x1000000
jae 0x4d09a8
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d09ce
mov edi, eax
mov ebx, 0x364
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
push 4
jmp 0x4d09e6
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 0xc], esi
shr eax, 5
mov ebx, 0x366
sub ecx, eax
movzx eax, cx
push 6
mov dword [ebp - 0x48], ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x24]
pop edx
mov word [ebx + 0x362], ax
mov eax, ebx
mov ebx, dword [ebp - 8]
movzx ecx, word [ecx + eax]
cmp edi, 0x1000000
jae 0x4d0a19
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d0a38
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d0a4a
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 0xc], esi
shr eax, 5
inc edx
sub ecx, eax
movzx eax, cx
mov ecx, dword [ebp - 0x48]
add edx, edx
mov ebx, dword [ebp - 0x24]
mov word [ecx + ebx], ax
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 8]
add eax, 0x360
add eax, edx
mov dword [ebp - 0x64], eax
movzx ecx, word [eax]
cmp edi, 0x1000000
jae 0x4d0a83
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d0aa2
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d0ab4
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 0xc], esi
shr eax, 5
inc edx
sub ecx, eax
movzx eax, cx
mov ecx, dword [ebp - 0x64]
add edx, edx
mov word [ecx], ax
mov eax, dword [ebp - 0x24]
add eax, 0x360
add eax, edx
mov dword [ebp - 0x64], eax
movzx ecx, word [eax]
cmp edi, 0x1000000
jae 0x4d0ae6
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d0b05
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d0b17
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 0xc], esi
shr eax, 5
inc edx
sub ecx, eax
movzx eax, cx
mov ecx, dword [ebp - 0x64]
add edx, edx
mov word [ecx], ax
mov eax, dword [ebp - 0x24]
add eax, 0x360
add eax, edx
mov dword [ebp - 0x64], eax
movzx ecx, word [eax]
cmp edi, 0x1000000
jae 0x4d0b49
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d0b68
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d0b7a
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 0xc], esi
shr eax, 5
inc edx
sub ecx, eax
movzx eax, cx
mov ecx, dword [ebp - 0x64]
add edx, edx
mov word [ecx], ax
mov eax, dword [ebp - 0x24]
add eax, 0x360
add eax, edx
mov dword [ebp - 0x64], eax
movzx ecx, word [eax]
cmp edi, 0x1000000
jae 0x4d0bac
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d0bcb
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d0bdd
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 0xc], esi
shr eax, 5
inc edx
sub ecx, eax
movzx eax, cx
mov ecx, dword [ebp - 0x64]
sub edx, 0x40
mov word [ecx], ax
cmp edx, 4
jb 0x4d0ea7
mov eax, edx
mov ecx, edx
shr ecx, 1
and edx, 1
dec ecx
mov dword [ebp - 0x64], eax
or edx, 2
cmp eax, 0xe
jae 0x4d0ca0
mov ebx, dword [ebp - 0x10]
shl edx, cl
add ebx, 0x55e
mov eax, edx
sub eax, dword [ebp - 0x64]
lea eax, [ebx + eax*2]
mov dword [ebp - 0x64], eax
xor eax, eax
inc eax
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 8]
add eax, eax
mov dword [ebp - 0x44], eax
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x40], eax
movzx eax, word [eax]
mov dword [ebp - 0x24], eax
cmp edi, 0x1000000
jae 0x4d0c4f
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, dword [ebp - 0x24]
cmp esi, eax
jae 0x4d0c6e
mov edi, eax
mov eax, 0x800
sub eax, dword [ebp - 0x24]
shr eax, 5
add eax, dword [ebp - 0x24]
jmp 0x4d0c84
or edx, dword [ebp - 0x48]
sub edi, eax
sub esi, eax
mov eax, dword [ebp - 0x24]
inc dword [ebp - 0x44]
shr eax, 5
sub dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x40]
shl dword [ebp - 0x48], 1
movzx eax, ax
mov word [ebx], ax
mov eax, dword [ebp - 0x44]
sub ecx, 1
jne 0x4d0c24
mov dword [ebp - 0xc], esi
jmp 0x4d0ea7
sub ecx, 4
cmp edi, 0x1000000
jae 0x4d0cb7
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc 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
sub ecx, 1
jne 0x4d0ca3
mov eax, dword [ebp - 0x10]
shl edx, 4
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esi
movzx ecx, word [eax + 0x646]
cmp edi, 0x1000000
jae 0x4d0d01
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d0d2e
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
push 4
pop ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], ecx
mov ecx, 0x648
movzx eax, ax
jmp 0x4d0d50
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 0xc], esi
shr eax, 5
or edx, 1
sub ecx, eax
movzx eax, cx
push 6
pop ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], ecx
mov ecx, 0x64a
mov ebx, dword [ebp - 0x10]
mov word [ebx + 0x646], ax
mov eax, ebx
mov ebx, dword [ebp - 8]
movzx ecx, word [ecx + eax]
cmp edi, 0x1000000
jae 0x4d0d7d
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d0d9c
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d0db3
sub esi, eax
sub edi, eax
inc dword [ebp - 0x40]
mov eax, ecx
shr eax, 5
or edx, 2
sub ecx, eax
mov dword [ebp - 0xc], esi
movzx eax, cx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x48]
mov word [ecx + ebx + 0x644], ax
mov ecx, ebx
mov eax, dword [ebp - 0x40]
add ecx, 0x644
mov ebx, dword [ebp - 8]
add eax, eax
mov dword [ebp - 0x40], eax
add eax, ecx
mov dword [ebp - 0x64], eax
movzx ecx, word [eax]
cmp edi, 0x1000000
jae 0x4d0df6
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d0e15
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d0e2c
sub esi, eax
sub edi, eax
inc dword [ebp - 0x40]
mov eax, ecx
shr eax, 5
or edx, 4
sub ecx, eax
mov dword [ebp - 0xc], esi
movzx eax, cx
mov ecx, dword [ebp - 0x64]
mov word [ecx], ax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
movzx ecx, word [ecx + eax*2 + 0x644]
cmp edi, 0x1000000
jae 0x4d0e5a
movzx eax, byte [ebx]
shl esi, 8
or esi, eax
shl edi, 8
inc ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov eax, edi
shr eax, 0xb
imul eax, ecx
cmp esi, eax
jae 0x4d0e79
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
movzx eax, ax
jmp 0x4d0e8d
sub esi, eax
sub edi, eax
mov eax, ecx
mov dword [ebp - 0xc], esi
shr eax, 5
or edx, 8
sub ecx, eax
movzx eax, cx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x40]
mov word [ebx + ecx*2 + 0x644], ax
mov ebx, dword [ebp - 8]
cmp edx, 0xffffffff
je 0x4d0f7b
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
lea eax, [edx + 1]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], ecx
test eax, eax
jne 0x4d0ecb
cmp edx, dword [ebp - 0x28]
jmp 0x4d0ecd
cmp edx, eax
jae 0x4d0fdd
cmp dword [ebp - 0x14], 0x13
sbb eax, eax
and eax, 0xfffffffd
add eax, 0xa
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x54]
add ecx, 2
mov dword [ebp - 0x18], ecx
sub eax, dword [ebp - 0x1c]
je 0x4d0fdd
cmp eax, ecx
mov edx, ecx
cmovb edx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
sbb ecx, ecx
add dword [ebp - 0x28], edx
and ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x2c]
sub dword [ebp - 0x18], edx
add ecx, eax
mov eax, dword [ebp - 0x34]
sub eax, ecx
cmp edx, eax
ja 0x4d0f3d
mov ebx, dword [ebp - 0x30]
add ebx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x1c]
add dword [ebp - 0x1c], edx
lea eax, [ebx + edx]
mov dword [ebp - 0x64], eax
mov edx, eax
mov al, byte [ecx + ebx]
mov byte [ebx], al
inc ebx
cmp ebx, edx
jne 0x4d0f31
jmp 0x4d0f60
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov al, byte [ecx + esi]
mov byte [ebx + esi], al
lea eax, [ecx + 1]
xor ecx, ecx
inc ebx
cmp eax, dword [ebp - 0x34]
cmovne ecx, eax
sub edx, 1
jne 0x4d0f43
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x54]
jae 0x4d0f8c
cmp ebx, dword [ebp + 8]
jae 0x4d0f8c
mov ecx, dword [ebp - 0x28]
jmp 0x4cfb0b
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add ecx, 0x112
sub edx, 0xc
jmp 0x4d0f8f
mov ecx, dword [ebp - 0x18]
cmp edi, 0x1000000
jae 0x4d0fa3
movzx eax, byte [ebx]
shl esi, 8
shl edi, 8
or esi, eax
inc ebx
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x48], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x18], ebx
mov ebx, dword [ebp - 0x3c]
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x40], ebx
mov ebx, dword [ebp - 0x44]
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], esi
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x44], ebx
mov dword [eax + 0x34], edx
xor eax, eax
jmp 0x4d0fe9
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x24], ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4