Function at 0x3e5127
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [ebp + 0x10]
and dword [ebp - 0xc], 0
and dword [ebp - 0x28], 0
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
mov byte [ebp - 4], 0
mov byte [ebp - 1], 0
mov byte [ebp - 3], 0xff
mov byte [ebp - 5], 0xff
mov byte [ebp - 2], 0
cmp edi, eax
ja 0x3e5b65
cmp eax, dword [ebp + 0x20]
ja 0x3e5b65
push esi
mov esi, dword [ebp + 0x1c]
push edi
push dword [ebp + 8]
push esi
call fcn.00363a00
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
sub ecx, edi
add esp, 0xc
add eax, edi
mov dword [ebp + 0x20], ecx
lea edx, [edi + esi]
cmp ecx, 8
jb 0x3e51c7
mov ecx, eax
sub ecx, edi
mov edi, dword [ebp + 0x20]
shr edi, 3
mov dword [ebp - 0x1c], edi
mov edi, dword [eax]
xor edi, dword [ecx]
sub dword [ebp + 0x20], 8
mov dword [edx], edi
add eax, 4
mov edi, dword [eax]
add ecx, 4
xor edi, dword [ecx]
add edx, 4
mov dword [edx], edi
add edx, 4
add eax, 4
add ecx, 4
dec dword [ebp - 0x1c]
jne 0x3e519a
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x3e51d5
mov ecx, eax
sub ecx, edi
mov ecx, dword [ecx]
xor ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edi
mov byte [ebp + 0x23], 0xff
mov byte [ebp - 7], 0
mov byte [ebp - 0x30], 0
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x20], edi
mov edx, 0x1010101
mov byte [ebp - 0x3c], 0
mov ecx, dword [ebp + 0x10]
cmp edi, ecx
jb 0x3e5569
cmp dword [ebp - 0x20], 0
jne 0x3e56ec
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x20], 1
jmp 0x3e5201
mov al, byte [edi + esi]
mov byte [ebp - 6], al
test al, al
jne 0x3e52e7
lea eax, [edi + 1]
cmp eax, ecx
jae 0x3e52d0
cmp byte [edi + esi + 1], 0
jne 0x3e52d0
lea eax, [edi + 2]
cmp eax, ecx
jae 0x3e52c7
cmp byte [edi + esi + 2], 0
jne 0x3e52c7
lea eax, [edi + 3]
cmp eax, ecx
jae 0x3e52be
cmp byte [edi + esi + 3], 0
jne 0x3e52be
lea ecx, [ecx + esi - 4]
lea eax, [edi + esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
jae 0x3e5283
mov ecx, dword [eax]
cmp ecx, dword [eax - 4]
jne 0x3e5283
add eax, 4
cmp eax, dword [ebp - 0x18]
jb 0x3e5274
add dword [ebp - 0x18], 4
jmp 0x3e5291
mov cl, byte [eax]
cmp cl, byte [eax - 1]
jne 0x3e5296
inc eax
cmp eax, dword [ebp - 0x18]
jb 0x3e5289
sub eax, edi
sub eax, esi
mov dword [ebp - 0x18], eax
je 0x3e52af
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 1
cmp eax, 0x14
jae 0x3e558f
cmp byte [ebp - 4], 0
je 0x3e5585
jmp 0x3e5349
mov dword [ebp - 0xc], 3
jmp 0x3e52d7
mov dword [ebp - 0xc], 2
jmp 0x3e52d7
mov dword [ebp - 0xc], 1
cmp byte [ebp - 4], 0
mov byte [ebp - 1], 1
je 0x3e558f
jmp 0x3e5349
cmp al, byte [edi + esi + 1]
jne 0x3e5349
mov ax, word [edi + esi]
cmp ax, word [edi + esi + 2]
jne 0x3e5349
lea ecx, [ecx + esi - 4]
lea eax, [edi + esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
jae 0x3e5316
mov ecx, dword [eax]
cmp ecx, dword [eax - 4]
jne 0x3e5316
add eax, 4
cmp eax, dword [ebp - 0x18]
jb 0x3e5307
add dword [ebp - 0x18], 4
jmp 0x3e5324
mov cl, byte [eax]
cmp cl, byte [eax - 1]
jne 0x3e5329
inc eax
cmp eax, dword [ebp - 0x18]
jb 0x3e531c
sub eax, edi
sub eax, esi
mov dword [ebp - 0x18], eax
cmp eax, 5
jb 0x3e5349
test eax, eax
jbe 0x3e5349
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 3
cmp eax, 0x14
jae 0x3e558f
mov eax, dword [ebp + 8]
mov cl, byte [edi + eax]
cmp cl, byte [edi + eax + 2]
jne 0x3e5433
mov cl, byte [edi + eax + 1]
cmp cl, byte [edi + eax + 3]
jne 0x3e5433
mov cl, byte [edi + eax]
cmp cl, byte [edi + eax + 1]
jne 0x3e53c8
cmp edi, dword [ebp + 0x14]
jb 0x3e5433
lea ecx, [edi + eax + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x10]
lea ecx, [eax + ecx - 4]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
jae 0x3e53a0
mov ecx, dword [eax]
cmp ecx, dword [eax - 4]
jne 0x3e53a0
add eax, 4
cmp eax, dword [ebp - 0x14]
jb 0x3e5391
add dword [ebp - 0x14], 4
jmp 0x3e53ae
mov cl, byte [eax]
cmp cl, byte [eax - 1]
jne 0x3e53b3
inc eax
cmp eax, dword [ebp - 0x14]
jb 0x3e53a6
sub eax, edi
sub eax, dword [ebp + 8]
cmp eax, 5
jb 0x3e5433
cmp eax, dword [ebp - 0xc]
jbe 0x3e5433
mov byte [ebp - 1], 4
jmp 0x3e5427
mov eax, dword [ebp + 0x10]
sub eax, edi
mov dword [ebp - 0x24], eax
cmp eax, 8
jbe 0x3e5433
mov eax, dword [ebp + 8]
mov ecx, dword [edi + eax]
cmp ecx, dword [edi + eax + 4]
jne 0x3e5433
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff8
mov dword [ebp - 0x1c], ecx
lea ecx, [edi + eax + 8]
movzx eax, word [edi + eax + 6]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 2
jmp 0x3e5412
mov ax, word [ebp - 0x24]
cmp word [ecx], ax
jne 0x3e5418
add dword [ebp - 0x14], 2
inc ecx
inc ecx
sub dword [ebp - 0x1c], 2
cmp dword [ebp - 0x1c], 1
jg 0x3e53ff
mov eax, dword [ebp - 0x14]
add eax, 6
cmp eax, dword [ebp - 0xc]
jbe 0x3e5433
mov byte [ebp - 1], 5
mov dword [ebp - 0xc], eax
cmp eax, 0x14
jae 0x3e558f
cmp dword [ebp - 0xc], 5
jae 0x3e5525
cmp dword [edi + esi + 1], 0
jne 0x3e549e
mov al, byte [ebp - 3]
cmp byte [ebp - 6], al
jne 0x3e549e
cmp byte [ebp - 0x30], 1
jne 0x3e549e
cmp edi, dword [ebp + 0x14]
je 0x3e549e
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx + esi - 4]
lea eax, [edi + esi + 5]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
jae 0x3e5478
mov ecx, dword [eax]
cmp ecx, dword [eax - 4]
jne 0x3e5478
add eax, 4
cmp eax, dword [ebp - 0x14]
jb 0x3e5469
add dword [ebp - 0x14], 4
jmp 0x3e5486
mov cl, byte [eax]
cmp cl, byte [eax - 1]
jne 0x3e548b
inc eax
cmp eax, dword [ebp - 0x14]
jb 0x3e547e
sub eax, edi
sub eax, esi
cmp eax, dword [ebp - 0xc]
jbe 0x3e5525
mov byte [ebp - 1], 2
jmp 0x3e551d
lea eax, [edi + esi]
mov cl, byte [eax]
mov byte [ebp - 5], cl
mov ecx, dword [ebp + 0x10]
inc eax
add ecx, esi
mov dword [ebp - 0x14], 1
cmp eax, ecx
jae 0x3e5503
mov cl, byte [eax]
cmp cl, byte [ebp - 5]
je 0x3e54c2
test cl, cl
jne 0x3e54fe
test byte [ebp - 0x14], 7
jne 0x3e54f1
cmp cl, byte [eax + 1]
jne 0x3e54f1
mov cx, word [eax]
cmp cx, word [eax + 2]
jne 0x3e54f1
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
jne 0x3e54f1
cmp ecx, dword [eax + 8]
jne 0x3e54f1
cmp ecx, dword [eax + 0xc]
jne 0x3e54f1
cmp ecx, dword [eax + 0x10]
jne 0x3e54f1
cmp ecx, dword [eax + 0x14]
je 0x3e54fe
mov ecx, dword [ebp + 0x10]
inc eax
inc dword [ebp - 0x14]
add ecx, esi
cmp eax, ecx
jb 0x3e54b7
mov edx, 0x1010101
mov al, byte [ebp - 3]
cmp byte [ebp - 5], al
je 0x3e5511
cmp dword [ebp - 0x14], 8
jb 0x3e5525
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jbe 0x3e5525
mov byte [ebp - 1], 6
mov dword [ebp - 0xc], eax
cmp eax, 0x14
jae 0x3e558f
cmp byte [ebp - 4], 0
jne 0x3e55fc
cmp dword [ebp - 0xc], 5
jae 0x3e5585
cmp dword [ebp - 0x18], 5
jb 0x3e55ed
mov al, byte [ebp - 3]
cmp byte [ebp - 6], al
jne 0x3e55ed
cmp byte [ebp - 0x30], 3
jne 0x3e55e1
cmp edi, dword [ebp + 0x14]
je 0x3e55e1
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x10]
add edi, eax
and dword [ebp - 0xc], 0
and dword [ebp - 0x18], 0
lea eax, [edi + 5]
cmp eax, ecx
jb 0x3e5225
sub ecx, edi
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], 7
cmp byte [ebp - 1], 7
je 0x3e56bb
mov byte [ebp - 4], 0
cmp edi, dword [ebp + 0x14]
je 0x3e569c
movzx eax, byte [ebp - 1]
add edi, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0x1c], edi
je 0x3e565a
dec eax
je 0x3e5666
dec eax
je 0x3e5640
sub eax, 3
jne 0x3e56f0
cmp byte [ebp - 0x30], 6
mov al, byte [ebp - 5]
mov byte [ebp - 3], al
jne 0x3e5614
movzx eax, al
cmp dword [ebp - 0x38], eax
jne 0x3e56f0
jmp 0x3e5691
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 3
jmp 0x3e558f
cmp dword [ebp - 0xc], 0
jne 0x3e5585
mov dword [ebp - 0xc], 1
jmp 0x3e5581
xor eax, eax
cmp byte [ebp - 1], 1
setne al
lea eax, [eax + eax + 5]
cmp dword [ebp - 0xc], eax
jae 0x3e5585
jmp 0x3e55f3
cmp byte [ebp - 0x30], 1
jne 0x3e56f0
mov eax, dword [ebp - 0x34]
cmp eax, 8
jae 0x3e56f0
add eax, dword [ebp - 0xc]
mov byte [ebp - 0x30], 6
mov dword [ebp - 0x34], eax
movzx eax, byte [ebp - 5]
mov dword [ebp - 0x38], eax
jmp 0x3e5201
mov eax, edi
sub eax, dword [ebp - 0xc]
cmp byte [ebp - 0x30], 3
mov al, byte [eax + esi]
mov byte [ebp - 3], al
jne 0x3e56f0
jmp 0x3e55d0
cmp byte [ebp - 0x30], 1
je 0x3e5691
cmp byte [ebp - 0x30], 2
je 0x3e5691
cmp byte [ebp - 0x30], 6
jne 0x3e56f0
mov ecx, dword [ebp - 0x34]
and ecx, 7
je 0x3e56f0
push 8
pop eax
sub eax, ecx
cmp eax, dword [ebp - 0xc]
jbe 0x3e5685
mov eax, dword [ebp - 0xc]
sub dword [ebp - 0xc], eax
add dword [ebp - 0x34], eax
cmp dword [ebp - 0xc], 8
ja 0x3e56f0
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x34], eax
jmp 0x3e5201
cmp byte [ebp - 1], 3
jne 0x3e56a7
mov al, byte [edi + esi]
jmp 0x3e56b0
cmp byte [ebp - 1], 6
jne 0x3e56b3
mov al, byte [ebp - 5]
mov byte [ebp - 3], al
add edi, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edi
jmp 0x3e56f0
mov eax, dword [ebp - 0xc]
add edi, eax
cmp byte [ebp - 0x30], 7
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], edi
je 0x3e5691
cmp byte [ebp - 0x3c], 7
jne 0x3e56f0
cmp dword [ebp - 0x34], 1
jne 0x3e56f0
mov ecx, dword [ebp - 0x40]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 7
jmp 0x3e51fd
mov byte [ebp - 7], 1
mov edi, dword [ebp + 0x18]
mov eax, ebx
sub eax, dword [ebp + 0xc]
add eax, 4
cmp eax, edi
ja 0x3e5b64
mov al, byte [ebp - 0x3c]
test al, al
jbe 0x3e5b15
cmp al, 2
jbe 0x3e5ae3
cmp al, 3
je 0x3e5a53
cmp al, 4
je 0x3e5a13
cmp al, 5
je 0x3e59bd
cmp al, 6
je 0x3e57c1
cmp al, 7
jne 0x3e5b15
mov ecx, dword [ebp - 0x40]
cmp ecx, 1
jne 0x3e5768
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov al, byte [edx + eax]
test al, al
jne 0x3e575f
mov byte [ebx], 0xfe
inc ebx
inc dword [ebp - 0x10]
jmp 0x3e5b15
cmp al, 0xff
jne 0x3e576d
mov byte [ebx], 0xfd
jmp 0x3e5756
cmp ecx, 0x1f
ja 0x3e5774
mov al, byte [ebp - 0x40]
or al, 0x80
jmp 0x3e5785
cmp ecx, 0x11f
ja 0x3e578a
mov al, byte [ebp - 0x40]
mov byte [ebx], 0x80
inc ebx
sub al, 0x20
mov byte [ebx], al
inc ebx
jmp 0x3e5797
mov ax, word [ebp - 0x40]
mov byte [ebx], 0xf4
inc ebx
mov word [ebx], ax
inc ebx
inc ebx
sub ecx, dword [ebp + 0xc]
add ecx, ebx
cmp ecx, edi
ja 0x3e5b64
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
push esi
add ecx, eax
push ecx
push ebx
call fcn.00363a00
add esp, 0xc
add ebx, esi
jmp 0x3e5ade
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
add eax, 7
shr eax, 3
sub eax, dword [ebp + 0xc]
lea eax, [eax + ebx + 4]
cmp eax, edi
ja 0x3e5b64
movzx eax, byte [ebp + 0x23]
cmp eax, dword [ebp - 0x44]
je 0x3e5895
mov cl, byte [ebp - 0x44]
mov byte [ebp + 0x23], cl
mov byte [ebp - 6], cl
mov byte [ebp - 2], 0
test cl, 1
jne 0x3e5807
shr byte [ebp - 6], 1
inc byte [ebp - 2]
test byte [ebp - 6], 1
je 0x3e57fb
mov al, byte [ebp - 0x40]
mov edi, dword [ebp - 0x40]
test al, 7
jne 0x3e581f
cmp edi, 0x78
ja 0x3e581f
mov eax, edi
shr eax, 3
or al, 0xd0
jmp 0x3e582d
cmp edi, 0xff
ja 0x3e5832
mov byte [ebx], 0xd0
inc ebx
dec al
mov byte [ebx], al
inc ebx
jmp 0x3e583f
mov ax, word [ebp - 0x40]
mov byte [ebx], 0xf7
inc ebx
mov word [ebx], ax
inc ebx
inc ebx
mov byte [ebx], cl
inc ebx
cmp edi, 8
jb 0x3e5974
movzx eax, byte [ebp - 2]
shr edi, 3
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + esi + 4]
mov ecx, dword [ebp - 0x18]
mov edi, dword [edi + esi]
shr eax, cl
add dword [ebp - 0x10], 8
sub dword [ebp - 0x14], 8
shr edi, cl
and eax, edx
shl eax, 4
and edi, edx
or eax, edi
mov ecx, eax
shr ecx, 0xe
or ecx, eax
mov eax, ecx
shr eax, 7
or al, cl
mov byte [ebx], al
inc ebx
dec dword [ebp - 0x24]
jne 0x3e5858
jmp 0x3e5974
mov edi, dword [ebp - 0x40]
cmp edi, 8
jne 0x3e58f2
movzx ecx, byte [ebp - 2]
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + esi + 4]
mov esi, dword [edi + esi]
shr eax, cl
movzx ecx, byte [ebp - 2]
shr esi, cl
and eax, edx
shl eax, 4
and esi, edx
or eax, esi
mov ecx, eax
shr ecx, 0xe
or ecx, eax
mov eax, ecx
shr eax, 7
or al, cl
movzx ecx, al
sub ecx, 3
je 0x3e58e3
dec ecx
dec ecx
je 0x3e58de
mov byte [ebx], 0x41
inc ebx
mov byte [ebx], al
jmp 0x3e58e6
mov byte [ebx], 0xfa
jmp 0x3e58e6
mov byte [ebx], 0xf9
inc ebx
add edi, 8
mov dword [ebp - 0x10], edi
jmp 0x3e5b15
mov al, byte [ebp - 0x40]
test al, 7
jne 0x3e590a
cmp edi, 0xf8
ja 0x3e590a
mov eax, edi
shr eax, 3
or al, 0x40
jmp 0x3e5918
cmp edi, 0xff
ja 0x3e591d
mov byte [ebx], 0x40
inc ebx
dec al
mov byte [ebx], al
inc ebx
jmp 0x3e592a
mov ax, word [ebp - 0x40]
mov byte [ebx], 0xf2
inc ebx
mov word [ebx], ax
inc ebx
inc ebx
cmp edi, 8
jb 0x3e5974
movzx eax, byte [ebp - 2]
shr edi, 3
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + esi + 4]
mov ecx, dword [ebp - 0x18]
mov edi, dword [edi + esi]
shr eax, cl
add dword [ebp - 0x10], 8
sub dword [ebp - 0x14], 8
shr edi, cl
and eax, edx
shl eax, 4
and edi, edx
or eax, edi
mov ecx, eax
shr ecx, 0xe
or ecx, eax
mov eax, ecx
shr eax, 7
or al, cl
mov byte [ebx], al
inc ebx
dec dword [ebp - 0x24]
jne 0x3e593c
cmp dword [ebp - 0x14], 0
je 0x3e5b15
movzx ecx, byte [ebp - 2]
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + esi + 4]
mov esi, dword [edi + esi]
shr eax, cl
movzx ecx, byte [ebp - 2]
shr esi, cl
and eax, edx
shl eax, 4
and esi, edx
or eax, esi
mov esi, dword [ebp - 0x14]
mov ecx, eax
shr ecx, 0xe
or ecx, eax
mov eax, ecx
shr eax, 7
or al, cl
mov dl, 1
mov ecx, esi
shl dl, cl
dec dl
and al, dl
jmp 0x3e5acc
mov eax, dword [ebp - 0x40]
shr eax, 1
cmp eax, 0xf
ja 0x3e59cb
or al, 0xe0
jmp 0x3e59d8
cmp eax, 0x10f
ja 0x3e59dd
mov byte [ebx], pe_nt_image_headers32
inc ebx
sub al, 0x10
mov byte [ebx], al
inc ebx
jmp 0x3e59e6
mov byte [ebx], 0xf8
inc ebx
mov word [ebx], ax
inc ebx
inc ebx
mov eax, ebx
sub eax, dword [ebp + 0xc]
inc eax
inc eax
cmp eax, edi
ja 0x3e5b64
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov cl, byte [eax + esi]
mov byte [ebx], cl
mov cl, byte [eax + esi + 1]
inc ebx
mov byte [ebx], cl
inc ebx
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
jmp 0x3e5b15
mov eax, dword [ebp - 0x40]
cmp eax, 0x1f
ja 0x3e5a22
mov cl, al
or cl, 0x60
jmp 0x3e5a33
cmp eax, 0x11f
ja 0x3e5a38
mov cl, byte [ebp - 0x40]
mov byte [ebx], 0x60
inc ebx
sub cl, 0x20
mov byte [ebx], cl
inc ebx
jmp 0x3e5a45
mov cx, word [ebp - 0x40]
mov byte [ebx], 0xf3
inc ebx
mov word [ebx], cx
inc ebx
inc ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + ecx]
jmp 0x3e5b00
movzx eax, byte [ebp + 0x23]
cmp eax, dword [ebp - 0x44]
je 0x3e5aac
mov cl, byte [ebp - 0x44]
mov byte [ebp + 0x23], cl
mov al, cl
mov byte [ebp - 2], 0
test cl, 1
jne 0x3e5a76
inc byte [ebp - 2]
shr al, 1
test al, 1
je 0x3e5a6d
mov esi, dword [ebp - 0x40]
cmp esi, 0xf
ja 0x3e5a85
mov al, byte [ebp - 0x40]
or al, 0xc0
jmp 0x3e5a96
cmp esi, 0x10f
ja 0x3e5a9b
mov al, byte [ebp - 0x40]
mov byte [ebx], 0xc0
inc ebx
sub al, 0x10
mov byte [ebx], al
inc ebx
jmp 0x3e5aa8
mov ax, word [ebp - 0x40]
mov byte [ebx], 0xf6
inc ebx
mov word [ebx], ax
inc ebx
inc ebx
mov byte [ebx], cl
jmp 0x3e5ace
mov esi, dword [ebp - 0x40]
cmp esi, 0x1f
ja 0x3e5abb
mov al, byte [ebp - 0x40]
or al, 0x20
jmp 0x3e5acc
cmp esi, 0x11f
ja 0x3e5ad1
mov al, byte [ebp - 0x40]
mov byte [ebx], 0x20
inc ebx
sub al, 0x20
mov byte [ebx], al
inc ebx
jmp 0x3e5ade
mov ax, word [ebp - 0x40]
mov byte [ebx], 0xf1
inc ebx
mov word [ebx], ax
inc ebx
inc ebx
add dword [ebp - 0x10], esi
jmp 0x3e5b15
mov eax, dword [ebp - 0x40]
cmp eax, 0x1f
ja 0x3e5aef
mov cl, al
jmp 0x3e5b00
cmp eax, 0x11f
ja 0x3e5b05
mov cl, byte [ebp - 0x40]
mov byte [ebx], 0
inc ebx
sub cl, 0x20
mov byte [ebx], cl
inc ebx
jmp 0x3e5b12
mov cx, word [ebp - 0x40]
mov byte [ebx], 0xf0
inc ebx
mov word [ebx], cx
inc ebx
inc ebx
add dword [ebp - 0x10], eax
cmp byte [ebp - 7], 0
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x3e5b3b
cmp byte [ebp - 0x30], 0
je 0x3e5b5e
mov esi, dword [ebp + 0x1c]
mov byte [ebp - 0x30], 0
mov edx, 0x1010101
jmp 0x3e56f0
mov al, byte [ebp - 1]
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
movzx eax, byte [ebp - 3]
mov dword [ebp - 0x38], eax
mov edx, 0x1010101
jmp 0x3e5201
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ebx
pop esi
mov eax, dword [ebp - 0x28]
pop edi
pop ebx
leave
ret 0x1c