Function at 0x52e200
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x54], edx
xor edx, edx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x14], edx
mov dl, 8
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], 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 - 0x44], 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 - 0x58], eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x2c]
dec eax
mov dword [ebp - 0x5c], eax
mov eax, dword [edi]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0x14]
sub dl, byte [ebp - 0x50]
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 - 0x4c], eax
mov eax, dword [ebp - 0x48]
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 - 0x58]
shl ecx, 4
add ecx, edx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x18]
movzx esi, word [edx + ecx*2]
lea ecx, [edx + ecx*2]
mov dword [ebp - 0x40], ecx
cmp edi, 0x1000000
jae 0x52e2c3
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 - 0x20], edx
cmp eax, edx
jae 0x52eab4
mov ecx, 0x800
mov edi, edx
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, dword [ebp - 0x40]
mov word [esi], cx
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add esi, 0xe6c
mov dword [ebp - 0xc], esi
test ecx, ecx
jne 0x52e302
cmp dword [ebp - 0x4c], ecx
je 0x52e33b
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 - 0x5c]
shr esi, cl
mov ecx, dword [ebp - 0x50]
shl edx, cl
add esi, edx
mov edx, dword [ebp - 0x20]
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 0x52e684
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 0x52e376
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 0x52e3a1
mov edi, ecx
mov dword [ebp - 0x40], 5
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, 4
movzx ecx, cx
jmp 0x52e3bb
sub edi, ecx
mov dword [ebp - 0x40], 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 - 0x28], edx
mov word [ebx + 2], cx
mov ecx, ebx
mov ebx, dword [ebp - 8]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x52e3e7
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 0x52e406
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52e417
mov esi, dword [ebp - 0x40]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x28]
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 - 0x28], ecx
cmp edi, 0x1000000
jae 0x52e448
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 0x52e46c
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, esi
movzx ecx, cx
jmp 0x52e47f
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
lea edx, [esi + 2]
mov esi, edx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x40], edx
mov word [ebx], cx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x52e4a9
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 0x52e4c8
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52e4d7
sub edi, ecx
sub eax, ecx
mov ecx, edx
inc esi
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 - 0x20], ecx
cmp edi, 0x1000000
jae 0x52e508
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 - 0x40], esi
cmp eax, ecx
jae 0x52e52f
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, esi
movzx ecx, cx
jmp 0x52e545
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
lea edx, [esi + 2]
mov esi, edx
mov dword [ebp - 0x40], edx
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov word [ebx], cx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x52e56f
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 0x52e58e
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52e5a0
sub edi, ecx
sub eax, ecx
mov ecx, edx
inc esi
shr ecx, 5
sub edx, ecx
mov dword [ebp - 0x40], esi
movzx ecx, dx
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0xc]
mov word [edx + ebx], cx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
lea ecx, [ecx + esi*2]
movzx esi, word [ecx]
mov dword [ebp - 0x28], ecx
cmp edi, 0x1000000
jae 0x52e5d0
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov edx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
shl edx, 2
cmp eax, ecx
jae 0x52e5f7
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx esi, cx
mov ecx, edx
jmp 0x52e60a
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 - 0x28]
mov dword [ebp - 0x40], ecx
mov word [ebx], si
mov ebx, dword [ebp - 0xc]
movzx esi, word [ecx + ebx]
mov ebx, dword [ebp - 8]
cmp edi, 0x1000000
jae 0x52e634
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 0x52e663
mov ebx, dword [ebp - 0xc]
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, dword [ebp - 0x40]
movzx ecx, cx
mov word [esi + ebx], cx
mov ebx, dword [ebp - 8]
jmp 0x52eaa0
mov ebx, dword [ebp - 0xc]
sub edi, ecx
sub eax, ecx
inc edx
mov ecx, esi
shr ecx, 5
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x40]
mov word [esi + ebx], cx
mov ebx, dword [ebp - 8]
jmp 0x52eaa0
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 - 0x2c]
sbb ecx, ecx
and ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x2c]
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 - 0x28], ecx
movzx ecx, word [ecx]
mov dword [ebp - 0x40], ecx
cmp edx, 0x1000000
jae 0x52e6e9
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 - 0x40]
mov ecx, edi
shr ecx, 0xb
imul ecx, edx
cmp eax, ecx
jae 0x52e71a
mov edi, ecx
mov dword [ebp - 0x40], 2
mov ecx, 0x800
not esi
sub ecx, edx
and esi, 0x100
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52e72f
sub edi, ecx
mov dword [ebp - 0x40], 3
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x28]
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 - 0x28], ecx
add ecx, esi
add ecx, dword [ebp - 0x40]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x60], ecx
cmp edi, 0x1000000
jae 0x52e76c
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x52e79b
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x28]
movzx ecx, cx
not edx
jmp 0x52e7af
inc dword [ebp - 0x40]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x28]
and edx, esi
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x28], edx
mov word [esi], cx
mov esi, edx
mov ecx, dword [ebp - 0x20]
add ecx, ecx
and esi, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [edx + esi]
mov edx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x40]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x60], ecx
cmp edi, 0x1000000
jae 0x52e7ef
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x52e81b
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52e82c
inc dword [ebp - 0x40]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x28]
and edx, esi
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x28], edx
mov word [esi], cx
mov esi, edx
mov ecx, dword [ebp - 0x20]
add ecx, ecx
and esi, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [edx + esi]
mov edx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x40]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x60], ecx
cmp edi, 0x1000000
jae 0x52e86f
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x52e89b
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52e8ac
inc dword [ebp - 0x40]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x28]
and edx, esi
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x28], edx
mov word [esi], cx
mov esi, edx
mov ecx, dword [ebp - 0x20]
add ecx, ecx
and esi, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [edx + esi]
mov edx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x40]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x60], ecx
cmp edi, 0x1000000
jae 0x52e8ef
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x52e91b
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52e92c
inc dword [ebp - 0x40]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x28]
and edx, esi
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x28], edx
mov word [esi], cx
mov esi, edx
mov ecx, dword [ebp - 0x20]
add ecx, ecx
and esi, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [edx + esi]
mov edx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x40]
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x60], ecx
cmp edi, 0x1000000
jae 0x52e96f
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, edx
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x52e99b
mov edi, ecx
not esi
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52e9ac
inc dword [ebp - 0x40]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x60]
and esi, dword [ebp - 0x28]
mov dword [ebp - 0x28], 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 - 0x40]
lea ecx, [esi + ecx*2]
movzx esi, word [ecx]
mov dword [ebp - 0x60], ecx
cmp edi, 0x1000000
jae 0x52e9ed
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
add ebx, ebx
imul ecx, esi
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x52ea19
mov edi, ecx
not edx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x52ea2a
inc dword [ebp - 0x40]
sub edi, ecx
sub eax, ecx
mov ecx, esi
shr ecx, 5
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x60]
and edx, dword [ebp - 0x28]
mov word [esi], cx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x40]
add ecx, ecx
and ecx, edx
add ecx, edx
mov edx, dword [ebp - 0xc]
add ecx, esi
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
mov dword [ebp - 0x40], ecx
cmp edi, 0x1000000
jae 0x52ea64
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov ecx, edi
add esi, esi
shr ecx, 0xb
imul ecx, edx
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x40]
cmp eax, ecx
jae 0x52ea8e
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x28]
mov word [esi], cx
jmp 0x52eaa0
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
mov word [esi], dx
mov edx, dword [ebp - 0x28]
inc edx
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 0x52f76a
mov ecx, esi
sub edi, edx
shr ecx, 5
sub eax, edx
sub esi, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], si
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + esi*2 + 0x180]
cmp edi, 0x1000000
jae 0x52eaf0
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 0x52eb25
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x18]
mov word [edx + esi*2 + 0x180], cx
add esi, 0xc
mov dword [ebp - 0x10], esi
mov ecx, 0x664
jmp 0x52ed4d
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
cmp dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x18]
mov word [ecx + esi*2 + 0x180], dx
jne 0x52eb4b
cmp dword [ebp - 0x24], 0
je 0x52f7f2
movzx esi, word [ecx + esi*2 + 0x198]
cmp edi, 0x1000000
jae 0x52eb6a
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 0x52ec32
mov ebx, dword [ebp - 0x18]
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 - 0x28]
mov ebx, dword [ebp - 8]
lea ecx, [esi + ecx*2]
movzx esi, word [ecx]
mov dword [ebp - 0x40], ecx
cmp edx, 0x1000000
jae 0x52ebc4
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov dword [ebp - 8], ebx
mov edx, dword [ebp - 0x40]
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
cmp eax, ecx
jae 0x52ec1c
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 - 0x2c]
sbb ecx, ecx
and ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x2c]
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 0x52f770
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 0x52ed36
mov ecx, esi
sub eax, edx
shr ecx, 5
sub edi, edx
mov edx, dword [ebp - 0x18]
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 0x52ec72
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 0x52ec9f
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x18]
mov word [edx + esi*2 + 0x1b0], cx
mov esi, dword [ebp - 0x38]
jmp 0x52ed2d
sub eax, ecx
sub edi, ecx
mov ecx, edx
mov dword [ebp - 0xc], eax
shr ecx, 5
sub edx, ecx
mov ecx, dword [ebp - 0x18]
mov word [ecx + esi*2 + 0x1b0], dx
movzx edx, word [ecx + esi*2 + 0x1c8]
cmp edi, 0x1000000
jae 0x52ecda
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 0x52ecfc
mov esi, dword [ebp - 0x3c]
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52ed16
mov esi, dword [ebp - 0x44]
sub eax, ecx
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov ebx, dword [ebp - 0x18]
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 - 0x2c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], 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 - 0x18]
lea esi, [ecx + edx]
movzx ecx, word [esi]
mov dword [ebp - 0x40], ecx
cmp edi, 0x1000000
jae 0x52ed73
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
mov ecx, dword [ebp - 0x40]
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 0x52eeef
mov ecx, 0x800
mov edi, edx
sub ecx, dword [ebp - 0x40]
shr ecx, 5
add ecx, dword [ebp - 0x40]
mov word [esi], cx
mov ecx, dword [ebp - 0x28]
shl ecx, 4
add ecx, esi
mov dword [ebp - 0x40], ecx
movzx esi, word [ecx + 6]
cmp edx, 0x1000000
jae 0x52edbf
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 0x52ede6
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, 4
movzx ecx, cx
lea edx, [esi + 4]
jmp 0x52ee01
sub eax, ecx
sub edi, ecx
mov ecx, esi
mov dword [ebp - 0xc], eax
shr ecx, 5
mov edx, 0xa
sub esi, ecx
movzx ecx, si
mov esi, 6
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x28], edx
mov word [ebx + 6], cx
mov ecx, ebx
mov ebx, dword [ebp - 8]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x52ee2e
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 - 0x60], ecx
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x60]
cmp eax, ecx
jae 0x52ee5f
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52ee71
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 - 0x28]
mov word [edx], cx
lea edx, [esi + esi]
mov esi, dword [ebp - 0x40]
add esi, edx
mov dword [ebp - 0x14], edx
movzx edx, word [esi + 4]
cmp edi, 0x1000000
jae 0x52eea0
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 0x52eecc
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x14]
movzx ecx, cx
sub edx, 8
mov word [esi + 4], cx
jmp 0x52f13c
inc dword [ebp - 0x14]
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 - 0x14]
mov word [esi + 4], cx
sub edx, 8
jmp 0x52f13c
sub eax, edx
sub edi, edx
mov edx, dword [ebp - 0x40]
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 - 0x40], ecx
cmp edi, 0x1000000
jae 0x52ef27
movzx ecx, byte [ebx]
shl eax, 8
or eax, ecx
shl edi, 8
mov ecx, dword [ebp - 0x40]
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 0x52f0af
mov ecx, 0x800
mov edi, edx
sub ecx, dword [ebp - 0x40]
shr ecx, 5
add ecx, dword [ebp - 0x40]
mov word [esi + 2], cx
mov ecx, dword [ebp - 0x28]
shl ecx, 4
add ecx, esi
mov dword [ebp - 0x40], ecx
movzx esi, word [ecx + 0x106]
cmp edx, 0x1000000
jae 0x52ef77
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 0x52efa0
mov edi, ecx
mov edx, 0x108
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, 4
movzx ecx, cx
jmp 0x52efbb
sub eax, ecx
sub edi, ecx
mov ecx, esi
mov dword [ebp - 0xc], eax
shr ecx, 5
mov edx, 0x10a
sub esi, ecx
movzx ecx, si
mov esi, 6
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x28], edx
mov word [ebx + 0x106], cx
mov ecx, ebx
mov ebx, dword [ebp - 8]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x52efeb
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 - 0x60], ecx
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x60]
cmp eax, ecx
jae 0x52f01c
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52f02e
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 - 0x28]
mov word [edx], cx
lea edx, [esi + esi]
mov esi, dword [ebp - 0x40]
add esi, edx
mov dword [ebp - 0x14], edx
movzx edx, word [esi + 0x104]
cmp edi, 0x1000000
jae 0x52f060
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 0x52f08c
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x14]
movzx ecx, cx
mov word [esi + 0x104], cx
jmp 0x52f13f
inc dword [ebp - 0x14]
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 - 0x14]
mov word [esi + 0x104], cx
jmp 0x52f13f
sub edi, edx
sub eax, edx
mov edx, dword [ebp - 0x40]
mov ecx, edx
shr ecx, 5
sub edx, ecx
lea ecx, [esi + 0x204]
mov word [esi + 2], dx
mov edx, 1
mov dword [ebp - 0x60], ecx
nop
add edx, edx
mov dword [ebp - 0x14], edx
lea esi, [edx + ecx]
movzx edx, word [esi]
cmp edi, 0x1000000
jae 0x52f0ef
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 0x52f10e
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52f11f
inc dword [ebp - 0x14]
sub edi, ecx
sub eax, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
movzx ecx, dx
mov edx, dword [ebp - 0x14]
mov word [esi], cx
mov ecx, dword [ebp - 0x60]
cmp edx, 0x100
jb 0x52f0d0
mov dword [ebp - 8], ebx
sub edx, 0xf0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x10], 0xc
jb 0x52f6e5
cmp edx, 4
mov ecx, 3
cmovb ecx, edx
shl ecx, 7
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
movzx edx, word [ecx + 0x362]
cmp edi, 0x1000000
jae 0x52f17e
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 0x52f1a7
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 0x52f1c2
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 - 0x28]
mov dword [ebp - 0x40], edx
mov word [ebx + 0x362], cx
mov ecx, ebx
mov ebx, dword [ebp - 8]
movzx edx, word [edx + ecx]
cmp edi, 0x1000000
jae 0x52f1f2
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
add ebx, dword [ebp - 0x28]
shr ecx, 0xb
imul ecx, edx
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x60], ecx
cmp eax, ecx
jae 0x52f220
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52f232
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]
add esi, esi
mov word [edx], cx
mov ecx, dword [ebp - 0x28]
add ecx, 0x360
add ecx, esi
mov dword [ebp - 0x60], ecx
movzx edx, word [ecx]
cmp edi, 0x1000000
jae 0x52f265
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 0x52f284
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52f296
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 - 0x60]
add esi, esi
mov word [edx], cx
mov ecx, dword [ebp - 0x28]
add ecx, 0x360
add ecx, esi
mov dword [ebp - 0x60], ecx
movzx edx, word [ecx]
cmp edi, 0x1000000
jae 0x52f2c9
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 0x52f2e8
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52f2fa
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 - 0x60]
add esi, esi
mov word [edx], cx
mov ecx, dword [ebp - 0x28]
add ecx, 0x360
add ecx, esi
mov dword [ebp - 0x60], ecx
movzx edx, word [ecx]
cmp edi, 0x1000000
jae 0x52f32d
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 0x52f34c
mov edi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
movzx ecx, cx
jmp 0x52f35e
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 - 0x60]
mov word [edx], cx
lea edx, [esi + esi]
mov ecx, dword [ebp - 0x28]
add ecx, 0x360
add ecx, edx
mov dword [ebp - 0x60], ecx
movzx esi, word [ecx]
cmp edi, 0x1000000
jae 0x52f392
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 0x52f3b1
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x52f3c3
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 - 0x60]
sub edx, 0x40
mov word [esi], cx
cmp edx, 4
jb 0x52f6aa
mov ecx, edx
mov esi, edx
shr esi, 1
and edx, 1
dec esi
mov dword [ebp - 0x60], ecx
or edx, 2
mov dword [ebp - 0x28], esi
cmp ecx, 0xe
jae 0x52f489
mov ecx, esi
mov dword [ebp - 0x44], 1
mov esi, dword [ebp - 0x18]
shl edx, cl
mov ecx, edx
sub ecx, dword [ebp - 0x60]
lea esi, [esi + ecx*2]
mov ecx, 1
add esi, 0x55e
mov dword [ebp - 0x20], esi
add ecx, ecx
mov dword [ebp - 0x40], ecx
add ecx, esi
mov dword [ebp - 0x60], ecx
movzx esi, word [ecx]
cmp edi, 0x1000000
jae 0x52f436
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 0x52f455
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x52f469
inc dword [ebp - 0x40]
sub edi, ecx
or edx, dword [ebp - 0x44]
sub eax, ecx
mov ecx, esi
shr ecx, 5
sub esi, ecx
movzx ecx, si
mov esi, dword [ebp - 0x60]
shl dword [ebp - 0x44], 1
sub dword [ebp - 0x28], 1
mov word [esi], cx
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x20]
jne 0x52f415
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
jmp 0x52f6aa
sub esi, 4
nop dword [eax]
cmp edi, 0x1000000
jae 0x52f4a4
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 0x52f490
mov ecx, dword [ebp - 0x18]
shl edx, 4
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
movzx esi, word [ecx + 0x646]
cmp edi, 0x1000000
jae 0x52f4ee
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 0x52f520
mov edi, ecx
mov dword [ebp - 0x28], 4
mov ecx, 0x800
mov dword [ebp - 0x40], 4
sub ecx, esi
shr ecx, 5
add ecx, esi
mov esi, 0x648
movzx ecx, cx
jmp 0x52f547
sub eax, ecx
mov dword [ebp - 0x28], 6
sub edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, esi
mov dword [ebp - 0x40], 6
shr ecx, 5
or edx, 1
sub esi, ecx
movzx ecx, si
mov esi, 0x64a
mov ebx, dword [ebp - 0x18]
mov word [ebx + 0x646], cx
mov ecx, ebx
mov ebx, dword [ebp - 8]
movzx esi, word [esi + ecx]
cmp edi, 0x1000000
jae 0x52f574
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 - 0x28]
mov ecx, edi
shr ecx, 0xb
imul ecx, esi
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x644
add ebx, ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 8]
cmp eax, ecx
jae 0x52f5ad
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x52f5c4
inc dword [ebp - 0x40]
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 - 0x28]
mov word [esi], cx
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x18]
add ecx, ecx
add esi, 0x644
mov dword [ebp - 0x40], ecx
add ecx, esi
mov dword [ebp - 0x60], ecx
movzx esi, word [ecx]
cmp edi, 0x1000000
jae 0x52f5fd
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 0x52f61c
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x52f633
inc dword [ebp - 0x40]
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 - 0x60]
mov word [esi], cx
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x40]
add esi, 0x644
lea ecx, [esi + ecx*2]
movzx esi, word [ecx]
mov dword [ebp - 0x60], ecx
cmp edi, 0x1000000
jae 0x52f668
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 0x52f687
mov edi, ecx
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
movzx ecx, cx
jmp 0x52f69b
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 - 0x60]
mov word [esi], cx
cmp edx, 0xffffffff
je 0x52f7d8
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], ecx
lea ecx, [edx + 1]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
jne 0x52f6ce
cmp edx, dword [ebp - 0x24]
jmp 0x52f6d0
cmp edx, ecx
jae 0x52f7e9
cmp dword [ebp - 0x10], 0x13
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 0xa
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x54]
add edx, 2
mov dword [ebp - 0x14], edx
sub ecx, dword [ebp - 0x1c]
je 0x52f7e9
cmp ecx, edx
mov esi, edx
cmovb esi, ecx
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x60], esi
sbb edx, edx
add dword [ebp - 0x24], esi
and edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x2c]
sub dword [ebp - 0x14], esi
add edx, ecx
mov ecx, dword [ebp - 0x34]
sub ecx, edx
cmp esi, ecx
ja 0x52f741
mov esi, dword [ebp - 0x30]
add esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x60]
sub edx, dword [ebp - 0x1c]
add dword [ebp - 0x1c], ecx
lea ebx, [esi + ecx]
mov cl, byte [edx + esi]
mov byte [esi], cl
inc esi
cmp esi, ebx
jne 0x52f735
jmp 0x52f764
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 0x52f747
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 - 0x54]
jae 0x52f77e
cmp ebx, dword [ebp + 8]
jb 0x52e290
mov edx, dword [ebp - 0x14]
cmp edi, 0x1000000
jae 0x52f795
movzx ecx, byte [ebx]
shl eax, 8
shl edi, 8
or eax, ecx
inc ebx
mov ecx, dword [ebp - 0x48]
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 + 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x2c]
pop edi
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x38], eax
xor eax, eax
pop esi
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x44], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
add edx, 0x112
sub esi, 0xc
jmp 0x52f781
mov ecx, dword [ebp - 0x48]
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