Function at 0x46a3a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x58], edx
xor edx, edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x18], edx
mov dl, 8
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x48], eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 4]
dec eax
mov esi, dword [edi + 0x34]
mov ebx, dword [edi + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x2c]
dec eax
mov dword [ebp - 0x60], eax
mov eax, dword [edi]
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 0x14]
sub dl, byte [ebp - 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x30]
mov edi, dword [edi + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], ebx
mov eax, dword [eax + 0x20]
mov byte [ebp - 1], dl
mov edx, ecx
mov ecx, esi
and edx, dword [ebp - 0x5c]
shl ecx, 4
add ecx, edx
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x14]
movzx esi, word [edx + ecx*2]
lea ecx, [edx + ecx*2]
mov dword [ebp - 0x44], ecx
cmp edi, 0x1000000
jae 0x46a463
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov edx, edi
shr edx, 0xb
imul edx, esi
mov dword [ebp - 0x2c], edx
cmp eax, edx
jae 0x46ac4b
mov ecx, 0x800
mov edi, edx
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, dword [ebp - 0x44]
mov word [esi], cx
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add esi, 0xe6c
mov dword [ebp - 0xc], esi
test ecx, ecx
jne 0x46a4a2
cmp dword [ebp - 0x50], ecx
je 0x46a4db
mov edx, dword [ebp - 0x1c]
test edx, edx
mov ecx, edx
mov edx, dword [ebp - 0x30]
cmove ecx, dword [ebp - 0x34]
movzx esi, byte [ecx + edx - 1]
mov cl, byte [ebp - 1]
mov edx, dword [ebp - 0x24]
and edx, dword [ebp - 0x60]
shr esi, cl
mov ecx, dword [ebp - 0x54]
shl edx, cl
add esi, edx
mov edx, dword [ebp - 0x2c]
imul ecx, esi, 0x600
mov esi, dword [ebp - 0xc]
add esi, ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc], esi
inc ecx
cmp dword [ebp - 0x10], 7
mov dword [ebp - 0x24], ecx
jae 0x46a824
cmp dword [ebp - 0x10], 4
mov ecx, 3
movzx esi, word [esi + 2]
cmovb ecx, dword [ebp - 0x10]
sub dword [ebp - 0x10], ecx
cmp edx, 0x1000000
jae 0x46a516
movzx ecx, byte [ebx]
mov edi, edx
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x46a541
mov edi, ecx
mov dword [ebp - 0x44], 5
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, 4
movzx ecx, cx
jmp 0x46a55b
sub edi, ecx
mov dword [ebp - 0x44], 7
sub eax, ecx
mov ecx, esi
shr ecx, 5
sub esi, ecx
movzx ecx, si
mov esi, 6
mov ebx, dword [ebp - 0xc]
mov edx, esi
mov dword [ebp - 0x40], edx
mov word [ebx + 2], cx
mov ecx, ebx
mov ebx, dword [ebp - 8]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x46a587
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46a5a6
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x46a5b7
mov esi, dword [ebp - 0x44]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0xc]
mov word [edx + ebx], cx
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + esi*2]
lea ecx, [ecx + esi*2]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x40], ecx
cmp edi, 0x1000000
jae 0x46a5e8
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shl esi, 2
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46a60c
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx edx, cx
mov ecx, esi
jmp 0x46a61f
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
lea ecx, [esi + 2]
movzx edx, dx
mov esi, ecx
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov word [ebx], dx
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
movzx edx, word [ecx + edx]
cmp edi, 0x1000000
jae 0x46a649
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46a668
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx edx, cx
jmp 0x46a677
sub edi, ecx
sub eax, ecx
mov ecx, edx
inc esi
shr ecx, 5
sub edx, ecx
movzx edx, dx
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0xc]
mov word [ecx + ebx], dx
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + esi*2]
lea ecx, [ecx + esi*2]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x2c], ecx
cmp edi, 0x1000000
jae 0x46a6a8
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shl esi, 2
shr ecx, 0xb
imul ecx, edx
mov dword [ebp - 0x44], esi
cmp eax, ecx
jae 0x46a6cf
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx edx, cx
mov ecx, esi
jmp 0x46a6e5
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
lea ecx, [esi + 2]
movzx edx, dx
mov esi, ecx
mov dword [ebp - 0x44], ecx
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], ecx
mov word [ebx], dx
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
movzx edx, word [ecx + edx]
cmp edi, 0x1000000
jae 0x46a70f
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46a72e
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx edx, cx
jmp 0x46a740
sub edi, ecx
sub eax, ecx
mov ecx, edx
inc esi
shr ecx, 5
sub edx, ecx
mov dword [ebp - 0x44], esi
movzx edx, dx
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0xc]
mov word [ecx + ebx], dx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
lea ecx, [ecx + esi*2]
movzx esi, word [ecx]
mov dword [ebp - 0x40], ecx
cmp edi, 0x1000000
jae 0x46a770
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov edx, dword [ebp - 0x44]
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
shl edx, 2
cmp eax, ecx
jae 0x46a797
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx esi, cx
mov ecx, edx
jmp 0x46a7aa
sub edi, ecx
sub eax, ecx
mov ecx, esi
shr ecx, 5
sub esi, ecx
lea ecx, [edx + 2]
movzx esi, si
mov edx, ecx
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov word [ebx], si
mov ebx, dword [ebp - 0xc]
movzx esi, word [ecx + ebx]
mov ebx, dword [ebp - 8]
cmp edi, 0x1000000
jae 0x46a7d4
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x46a803
mov ebx, dword [ebp - 0xc]
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx esi, cx
mov ecx, dword [ebp - 0x44]
mov word [ecx + ebx], si
mov ebx, dword [ebp - 8]
jmp 0x46ac37
mov ebx, dword [ebp - 0xc]
sub edi, ecx
sub eax, ecx
inc edx
mov ecx, esi
shr ecx, 5
sub esi, ecx
mov ecx, dword [ebp - 0x44]
movzx esi, si
mov word [ecx + ebx], si
mov ebx, dword [ebp - 8]
jmp 0x46ac37
mov esi, dword [ebp - 0x10]
cmp esi, 0xa
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 6
sub esi, ecx
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x28]
sbb ecx, ecx
and ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x28]
add ecx, esi
mov esi, dword [ebp - 0x30]
movzx ecx, byte [ecx + esi]
add ecx, ecx
mov esi, ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0xc]
and esi, 0x100
lea ecx, [ecx + esi*2]
add ecx, 0x202
mov dword [ebp - 0x40], ecx
movzx ecx, word [ecx]
mov dword [ebp - 0x44], ecx
cmp edx, 0x1000000
jae 0x46a889
movzx ecx, byte [ebx]
mov edi, edx
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov edx, dword [ebp - 0x44]
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46a8ba
mov edi, ecx
mov dword [ebp - 0x44], 2
mov ecx, 0x800
not esi
sub ecx, edx
and esi, 0x100
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x46a8cf
sub edi, ecx
mov dword [ebp - 0x44], 3
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x40]
mov word [edx], cx
mov ecx, esi
mov edx, dword [ebp - 0x20]
add edx, edx
and ecx, edx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x40], ecx
add ecx, esi
add ecx, dword [ebp - 0x44]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x64], ecx
cmp edi, 0x1000000
jae 0x46a90c
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x44]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x46a93b
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx edx, cx
mov ecx, dword [ebp - 0x40]
not ecx
jmp 0x46a94f
inc dword [ebp - 0x2c]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
mov ecx, dword [ebp - 0x40]
movzx edx, dx
and ecx, esi
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x40], ecx
mov word [esi], dx
mov esi, ecx
mov edx, dword [ebp - 0x20]
add edx, edx
and esi, edx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0xc]
add ecx, esi
add ecx, dword [ebp - 0x2c]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x64], ecx
cmp edi, 0x1000000
jae 0x46a98e
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x2c]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x46a9ba
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx edx, cx
jmp 0x46a9cb
inc dword [ebp - 0x44]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx edx, dx
mov ecx, dword [ebp - 0x64]
and esi, dword [ebp - 0x40]
mov word [ecx], dx
mov ecx, esi
mov edx, dword [ebp - 0x20]
add edx, edx
and ecx, edx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
add ecx, esi
add ecx, dword [ebp - 0x44]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x64], ecx
cmp edi, 0x1000000
jae 0x46aa0b
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x44]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x46aa3a
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx edx, cx
mov ecx, dword [ebp - 0x2c]
not ecx
jmp 0x46aa4e
inc dword [ebp - 0x44]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
mov ecx, dword [ebp - 0x2c]
movzx edx, dx
and ecx, esi
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x2c], ecx
mov word [esi], dx
mov esi, ecx
mov edx, dword [ebp - 0x20]
add edx, edx
and esi, edx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0xc]
add ecx, esi
add ecx, dword [ebp - 0x44]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x64], ecx
cmp edi, 0x1000000
jae 0x46aa8d
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x44]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x46aab9
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx edx, cx
jmp 0x46aaca
inc dword [ebp - 0x44]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx edx, dx
mov ecx, dword [ebp - 0x2c]
and ecx, esi
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x2c], ecx
mov word [esi], dx
mov esi, ecx
mov edx, dword [ebp - 0x20]
add edx, edx
and esi, edx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0xc]
add ecx, esi
add ecx, dword [ebp - 0x44]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x64], ecx
cmp edi, 0x1000000
jae 0x46ab0c
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x44]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x46ab38
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x46ab49
inc dword [ebp - 0x44]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x64]
and esi, dword [ebp - 0x2c]
mov dword [ebp - 0x40], esi
mov word [edx], cx
mov edx, esi
mov ecx, dword [ebp - 0x20]
add ecx, ecx
and edx, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [esi + edx]
mov esi, dword [ebp - 0xc]
add ecx, dword [ebp - 0x44]
lea ecx, [esi + ecx*2]
movzx esi, word [ecx]
mov dword [ebp - 0x64], ecx
cmp edi, 0x1000000
jae 0x46ab8a
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x44]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, esi
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x46abb6
mov edi, ecx
not edx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x46abc7
inc dword [ebp - 0x44]
sub edi, ecx
sub eax, ecx
mov ecx, esi
shr ecx, 5
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x64]
and edx, dword [ebp - 0x40]
mov word [esi], cx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0xc]
add ecx, ecx
and ecx, edx
add ecx, edx
mov edx, dword [ebp - 0x44]
add ecx, edx
lea ecx, [esi + ecx*2]
movzx esi, word [ecx]
mov dword [ebp - 0x44], ecx
cmp edi, 0x1000000
jae 0x46ac01
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
add edx, edx
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x46ac25
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, dword [ebp - 0x44]
mov word [esi], cx
jmp 0x46ac37
sub edi, ecx
sub eax, ecx
mov ecx, esi
shr ecx, 5
sub esi, ecx
mov ecx, dword [ebp - 0x44]
inc edx
mov word [ecx], si
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov byte [ecx + esi], dl
mov edx, ecx
inc edx
mov dword [ebp - 0x1c], edx
jmp 0x46b925
mov ecx, esi
sub edi, edx
shr ecx, 5
sub eax, edx
sub esi, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], si
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + esi*2 + 0x180]
cmp edi, 0x1000000
jae 0x46ac87
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46acbc
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x14]
mov word [edx + esi*2 + 0x180], cx
add esi, 0xc
mov dword [ebp - 0x10], esi
mov ecx, 0x664
jmp 0x46aee4
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
cmp dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0x14]
mov word [ecx + esi*2 + 0x180], dx
jne 0x46ace2
cmp dword [ebp - 0x24], 0
je 0x46b9ad
movzx esi, word [ecx + esi*2 + 0x198]
cmp edi, 0x1000000
jae 0x46ad01
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov edx, edi
shr edx, 0xb
imul edx, esi
cmp eax, edx
jae 0x46adc9
mov ebx, dword [ebp - 0x14]
mov ecx, 0x800
sub ecx, esi
mov edi, edx
shr ecx, 5
add ecx, esi
mov esi, dword [ebp - 0x10]
mov word [ebx + esi*2 + 0x198], cx
lea ecx, [esi + 0xf]
shl ecx, 4
mov esi, ebx
add ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 8]
lea ecx, [esi + ecx*2]
movzx esi, word [ecx]
mov dword [ebp - 0x44], ecx
cmp edx, 0x1000000
jae 0x46ad5b
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov edx, dword [ebp - 0x44]
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x46adb3
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, dword [ebp - 0x30]
mov word [edx], cx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x28]
sbb ecx, ecx
and ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x28]
add ecx, edx
mov cl, byte [ecx + esi]
mov byte [edx + esi], cl
inc edx
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x10], 7
mov dword [ebp - 0x24], ecx
sbb esi, esi
and esi, 0xfffffffe
add esi, 0xb
mov dword [ebp - 0x10], esi
jmp 0x46b92b
sub eax, ecx
sub edi, ecx
mov ecx, esi
mov dword [ebp - 0xc], eax
shr ecx, 5
sub esi, ecx
mov word [edx], si
jmp 0x46aecd
mov ecx, esi
sub eax, edx
shr ecx, 5
sub edi, edx
mov edx, dword [ebp - 0x14]
sub esi, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov word [edx + ecx*2 + 0x198], si
mov esi, ecx
movzx edx, word [edx + esi*2 + 0x1b0]
cmp edi, 0x1000000
jae 0x46ae09
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46ae36
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x14]
mov word [edx + esi*2 + 0x1b0], cx
mov esi, dword [ebp - 0x38]
jmp 0x46aec4
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
sub edx, ecx
mov ecx, dword [ebp - 0x14]
mov word [ecx + esi*2 + 0x1b0], dx
movzx edx, word [ecx + esi*2 + 0x1c8]
cmp edi, 0x1000000
jae 0x46ae71
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46ae93
mov esi, dword [ebp - 0x3c]
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x46aead
mov esi, dword [ebp - 0x48]
sub eax, ecx
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x48], ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov word [ebx + edx*2 + 0x1c8], cx
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x10], 7
mov ecx, 0xa68
sbb edx, edx
and edx, 0xfffffffd
add edx, 0xb
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x14]
lea esi, [ecx + edx]
movzx ecx, word [esi]
mov dword [ebp - 0x44], ecx
cmp edi, 0x1000000
jae 0x46af0a
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
mov ecx, dword [ebp - 0x44]
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov edx, edi
shr edx, 0xb
imul edx, ecx
cmp eax, edx
jae 0x46b095
mov ecx, 0x800
mov edi, edx
sub ecx, dword [ebp - 0x44]
shr ecx, 5
add ecx, dword [ebp - 0x44]
mov word [esi], cx
mov ecx, dword [ebp - 0x40]
shl ecx, 4
add ecx, esi
mov dword [ebp - 0x44], ecx
movzx esi, word [ecx + 6]
cmp edx, 0x1000000
jae 0x46af56
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x46af88
mov edi, ecx
mov dword [ebp - 0x40], 8
mov ecx, 0x800
mov dword [ebp - 0x2c], 8
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, 4
movzx edx, cx
jmp 0x46afac
sub eax, ecx
mov dword [ebp - 0x40], 0xa
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, esi
mov dword [ebp - 0x2c], 0xa
shr ecx, 5
sub esi, ecx
movzx edx, si
mov esi, 6
mov ecx, dword [ebp - 0x44]
mov word [ecx + 6], dx
mov edx, dword [ebp - 0x40]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x46afd4
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x44]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x64]
cmp eax, ecx
jae 0x46b005
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x46b017
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
inc esi
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x40]
mov word [edx], cx
lea edx, [esi + esi]
mov esi, dword [ebp - 0x44]
add esi, edx
mov dword [ebp - 0x18], edx
movzx edx, word [esi + 4]
cmp edi, 0x1000000
jae 0x46b046
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46b072
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x18]
movzx ecx, cx
sub edx, 8
mov word [esi + 4], cx
jmp 0x46b2ee
inc dword [ebp - 0x18]
sub eax, ecx
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x18]
mov word [esi + 4], cx
sub edx, 8
jmp 0x46b2ee
sub eax, edx
sub edi, edx
mov edx, dword [ebp - 0x44]
mov ecx, edx
shr ecx, 5
sub edx, ecx
mov dword [ebp - 0xc], eax
mov word [esi], dx
movzx ecx, word [esi + 2]
mov dword [ebp - 0x44], ecx
cmp edi, 0x1000000
jae 0x46b0cd
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
mov ecx, dword [ebp - 0x44]
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov edx, edi
shr edx, 0xb
imul edx, ecx
cmp eax, edx
jae 0x46b262
mov ecx, 0x800
mov edi, edx
sub ecx, dword [ebp - 0x44]
shr ecx, 5
add ecx, dword [ebp - 0x44]
mov word [esi + 2], cx
mov ecx, dword [ebp - 0x40]
shl ecx, 4
add ecx, esi
mov dword [ebp - 0x44], ecx
movzx esi, word [ecx + 0x106]
cmp edx, 0x1000000
jae 0x46b11d
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x46b14f
mov edi, ecx
mov dword [ebp - 0x40], 0x108
mov ecx, 0x800
mov dword [ebp - 0x2c], 0x108
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, 4
movzx edx, cx
jmp 0x46b173
sub eax, ecx
mov dword [ebp - 0x40], 0x10a
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, esi
mov dword [ebp - 0x2c], 0x10a
shr ecx, 5
sub esi, ecx
movzx edx, si
mov esi, 6
mov ecx, dword [ebp - 0x44]
mov word [ecx + 0x106], dx
mov edx, dword [ebp - 0x40]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x46b19e
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x44]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x64]
cmp eax, ecx
jae 0x46b1cf
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x46b1e1
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
inc esi
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x40]
mov word [edx], cx
lea edx, [esi + esi]
mov esi, dword [ebp - 0x44]
add esi, edx
mov dword [ebp - 0x18], edx
movzx edx, word [esi + 0x104]
cmp edi, 0x1000000
jae 0x46b213
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46b23f
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x18]
movzx ecx, cx
mov word [esi + 0x104], cx
jmp 0x46b2f1
inc dword [ebp - 0x18]
sub eax, ecx
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x18]
mov word [esi + 0x104], cx
jmp 0x46b2f1
sub edi, edx
sub eax, edx
mov edx, dword [ebp - 0x44]
mov ecx, edx
shr ecx, 5
sub edx, ecx
lea ecx, [esi + 0x204]
mov word [esi + 2], dx
mov edx, 1
mov dword [ebp - 0x64], ecx
add edx, edx
mov dword [ebp - 0x18], edx
lea esi, [edx + ecx]
movzx edx, word [esi]
cmp edi, 0x1000000
jae 0x46b2a1
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46b2c0
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x46b2d1
inc dword [ebp - 0x18]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x18]
mov word [esi], cx
mov ecx, dword [ebp - 0x64]
cmp edx, 0x100
jb 0x46b282
mov dword [ebp - 8], ebx
sub edx, 0xf0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x10], 0xc
jb 0x46b89c
cmp edx, 4
mov ecx, 3
cmovb ecx, edx
shl ecx, 7
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
movzx edx, word [ecx + 0x362]
cmp edi, 0x1000000
jae 0x46b330
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46b359
mov edi, ecx
mov esi, 4
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, 0x364
movzx ecx, cx
jmp 0x46b374
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
mov esi, 6
sub edx, ecx
movzx ecx, dx
mov edx, 0x366
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov word [ebx + 0x362], cx
mov ecx, ebx
mov ebx, dword [ebp - 8]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x46b3a4
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x44]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x64]
cmp eax, ecx
jae 0x46b3d5
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x46b3e7
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
inc esi
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x44]
add esi, esi
mov word [edx], cx
mov ecx, dword [ebp - 0x20]
add ecx, 0x360
add ecx, esi
mov dword [ebp - 0x64], ecx
movzx edx, word [ecx]
cmp edi, 0x1000000
jae 0x46b41a
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46b439
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x46b44b
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
inc esi
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x64]
add esi, esi
mov word [edx], cx
mov ecx, dword [ebp - 0x20]
add ecx, 0x360
add ecx, esi
mov dword [ebp - 0x64], ecx
movzx edx, word [ecx]
cmp edi, 0x1000000
jae 0x46b47e
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46b49d
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x46b4af
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
inc esi
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x64]
add esi, esi
mov word [edx], cx
mov ecx, dword [ebp - 0x20]
add ecx, 0x360
add ecx, esi
mov dword [ebp - 0x64], ecx
movzx edx, word [ecx]
cmp edi, 0x1000000
jae 0x46b4e2
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x46b501
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x46b513
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
inc esi
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x64]
mov word [edx], cx
lea edx, [esi + esi]
mov ecx, dword [ebp - 0x20]
add ecx, 0x360
add ecx, edx
mov dword [ebp - 0x64], ecx
movzx esi, word [ecx]
cmp edi, 0x1000000
jae 0x46b547
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x46b566
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x46b578
sub eax, ecx
sub edi, ecx
mov ecx, esi
mov dword [ebp - 0xc], eax
shr ecx, 5
inc edx
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x64]
sub edx, 0x40
mov word [esi], cx
cmp edx, 4
jb 0x46b861
mov ecx, edx
mov esi, edx
shr esi, 1
and edx, 1
dec esi
mov dword [ebp - 0x64], ecx
or edx, 2
mov dword [ebp - 0x40], esi
cmp ecx, 0xe
jae 0x46b644
mov ecx, esi
mov dword [ebp - 0x48], 1
mov esi, dword [ebp - 0x14]
shl edx, cl
mov ecx, edx
sub ecx, dword [ebp - 0x64]
lea esi, [esi + ecx*2]
mov ecx, 1
add esi, 0x55e
mov dword [ebp - 0x2c], esi
nop word [eax + eax]
add ecx, ecx
mov dword [ebp - 0x44], ecx
add ecx, esi
mov dword [ebp - 0x64], ecx
movzx esi, word [ecx]
cmp edi, 0x1000000
jae 0x46b5f1
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x46b610
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x46b624
inc dword [ebp - 0x44]
sub edi, ecx
or edx, dword [ebp - 0x48]
sub eax, ecx
mov ecx, esi
shr ecx, 5
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x64]
shl dword [ebp - 0x48], 1
sub dword [ebp - 0x40], 1
mov word [esi], cx
mov ecx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x2c]
jne 0x46b5d0
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
jmp 0x46b861
sub esi, 4
cmp edi, 0x1000000
jae 0x46b65b
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
shr edi, 1
lea edx, [edx*2 + 1]
sub eax, edi
mov ecx, eax
shr ecx, 0x1f
neg ecx
add edx, ecx
and ecx, edi
add eax, ecx
sub esi, 1
jne 0x46b647
mov ecx, dword [ebp - 0x14]
shl edx, 4
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
movzx esi, word [ecx + 0x646]
cmp edi, 0x1000000
jae 0x46b6a5
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x46b6d7
mov edi, ecx
mov dword [ebp - 0x40], 4
mov ecx, 0x800
mov dword [ebp - 0x44], 4
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, 0x648
movzx ecx, cx
jmp 0x46b6fe
sub eax, ecx
mov dword [ebp - 0x40], 6
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, esi
mov dword [ebp - 0x44], 6
shr ecx, 5
or edx, 1
sub esi, ecx
movzx ecx, si
mov esi, 0x64a
mov ebx, dword [ebp - 0x14]
mov word [ebx + 0x646], cx
mov ecx, ebx
mov ebx, dword [ebp - 8]
movzx esi, word [esi + ecx]
cmp edi, 0x1000000
jae 0x46b72b
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x644
add ebx, ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x46b764
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x46b77b
inc dword [ebp - 0x44]
sub eax, ecx
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, esi
or edx, 2
shr ecx, 5
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x40]
mov word [esi], cx
mov ecx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x14]
add ecx, ecx
add esi, 0x644
mov dword [ebp - 0x44], ecx
add ecx, esi
mov dword [ebp - 0x64], ecx
movzx esi, word [ecx]
cmp edi, 0x1000000
jae 0x46b7b4
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x46b7d3
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x46b7ea
inc dword [ebp - 0x44]
sub eax, ecx
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, esi
or edx, 4
shr ecx, 5
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x64]
mov word [esi], cx
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x44]
add esi, 0x644
lea ecx, [esi + ecx*2]
movzx esi, word [ecx]
mov dword [ebp - 0x64], ecx
cmp edi, 0x1000000
jae 0x46b81f
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x46b83e
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x46b852
sub eax, ecx
sub edi, ecx
mov ecx, esi
mov dword [ebp - 0xc], eax
shr ecx, 5
or edx, 8
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x64]
mov word [esi], cx
cmp edx, 0xffffffff
je 0x46b993
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ecx
lea ecx, [edx + 1]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x50]
test ecx, ecx
jne 0x46b885
cmp edx, dword [ebp - 0x24]
jmp 0x46b887
cmp edx, ecx
jae 0x46b9a4
cmp dword [ebp - 0x10], 0x13
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 0xa
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x58]
add edx, 2
mov dword [ebp - 0x18], edx
sub ecx, dword [ebp - 0x1c]
je 0x46b9a4
cmp ecx, edx
mov esi, edx
cmovb esi, ecx
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x28]
mov dword [ebp - 0x64], esi
sbb edx, edx
add dword [ebp - 0x24], esi
and edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x28]
sub dword [ebp - 0x18], esi
add edx, ecx
mov ecx, dword [ebp - 0x34]
sub ecx, edx
cmp esi, ecx
ja 0x46b8fc
mov esi, dword [ebp - 0x30]
add esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x64]
sub edx, dword [ebp - 0x1c]
add dword [ebp - 0x1c], ecx
lea ebx, [esi + ecx]
nop dword [eax]
mov cl, byte [edx + esi]
mov byte [esi], cl
inc esi
cmp esi, ebx
jne 0x46b8f0
jmp 0x46b91f
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov cl, byte [edx + eax]
mov byte [ebx + eax], cl
lea ecx, [edx + 1]
xor edx, edx
inc ebx
cmp ecx, dword [ebp - 0x34]
cmovne edx, ecx
sub esi, 1
jne 0x46b902
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x58]
jae 0x46b939
cmp ebx, dword [ebp + 8]
jb 0x46a430
mov edx, dword [ebp - 0x18]
cmp edi, 0x1000000
jae 0x46b950
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x18], ebx
mov ebx, ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebx + 0x38], eax
xor eax, eax
mov dword [ebx + 0x44], ecx
pop edi
mov dword [ebx + 0x34], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
add edx, 0x112
sub esi, 0xc
jmp 0x46b93c
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x24], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4