Function at 0x4061e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push esi
push 0
push edi
call fcn.00444360
mov eax, dword [ebp + 8]
add esp, 0xc
mov ebx, edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40658d
nop dword [eax + eax]
push eax
mov dword [ebp - 0x24], ebx
call fcn.00402750
add esp, 4
test eax, eax
je 0x40657c
cmp dword [ebp - 0x14], 0
je 0x40625b
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406240
sub ecx, edx
lea eax, [esi - 2]
cmp ecx, eax
jae 0x40625b
mov word [ebx], 0xa0d
add ebx, 2
mov dword [ebp - 8], ebx
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0xc], 0
mov esi, dword [esi]
mov dword [ebp - 4], esi
mov dl, byte [esi]
test dl, dl
je 0x406556
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp - 0x1c], eax
nop dword [eax + eax]
mov ecx, edi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406285
sub ecx, edi
cmp ecx, dword [ebp - 0x1c]
jae 0x406553
cmp dl, 0x22
jne 0x4062b7
mov edi, dword [ebp + 0xc]
inc esi
mov dword [ebp - 4], esi
cmp byte [esi], dl
jne 0x4062ae
mov byte [ebx], dl
jmp 0x40653e
xor dword [ebp - 0xc], 1
jmp 0x406549
cmp dword [ebp - 0xc], 0
jne 0x406539
cmp dl, 0x7b
jne 0x4063b5
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4062d0
mov eax, dword [ebp + 0x10]
sub ecx, edx
sub eax, ecx
dec eax
mov dword [ebp - 0x10], eax
push 0xa
lea eax, [ebp - 4]
mov dword [ebp - 0x20], 0
push eax
lea edi, [esi + 1]
push edi
call fcn.00446b17
mov esi, dword [ebp - 4]
add esp, 0xc
mov bl, byte [esi]
cmp bl, 0x7c
je 0x40630e
test bl, bl
je 0x40630e
cmp bl, 0x7d
jne 0x406340
push eax
xor edi, edi
call fcn.00407030
mov ecx, eax
add esp, 4
cmp word [ecx], di
jne 0x406325
cmp bl, 0x7c
je 0x4062e2
mov edx, dword [ebp - 0x10]
mov al, byte [esi]
test al, al
je 0x406379
nop
cmp al, 0x7d
je 0x406370
inc esi
mov dword [ebp - 4], esi
mov al, byte [esi]
test al, al
jne 0x406330
jmp 0x406379
mov esi, edi
xor ecx, ecx
mov dword [ebp - 4], esi
mov al, byte [edi]
test al, al
je 0x406363
mov edx, edi
nop
cmp al, 0x7d
je 0x406363
lea esi, [edx + 1]
inc ecx
mov dword [ebp - 4], esi
mov edx, esi
mov al, byte [esi]
test al, al
jne 0x406350
mov edx, dword [ebp - 0x10]
cmp ecx, edx
cmovb edx, ecx
mov ecx, dword [ebp - 0x20]
jmp 0x406328
cmp byte [esi], 0
je 0x406379
inc esi
mov dword [ebp - 4], esi
test ecx, ecx
je 0x40638c
push ecx
lea eax, [edx + 1]
push eax
push dword [ebp - 8]
call fcn.0040df10
jmp 0x406396
push edx
push edi
push dword [ebp - 8]
call fcn.00445e70
mov edi, dword [ebp + 0xc]
add esp, 0xc
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4063a1
mov esi, dword [ebp - 4]
sub ecx, edx
lea ebx, [ecx + edi]
jmp 0x406546
cmp dl, 0x5b
jne 0x406539
inc esi
or edi, 0xffffffff
mov dword [ebp - 4], esi
movsx eax, byte [esi]
push eax
call fcn.00446faf
add esp, 4
cmp eax, 0x56
jne 0x4063fc
mov eax, dword [ebp - 4]
lea ecx, [ebp - 4]
push 0xa
inc eax
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.00446b17
mov ecx, dword [ebp - 4]
add esp, 0xc
mov edi, eax
cmp byte [ecx], 0x3a
jne 0x4063ff
inc ecx
mov dword [ebp - 4], ecx
jmp 0x4063ff
mov ecx, dword [ebp - 4]
push ecx
call fcn.004494ef
mov ecx, dword [ebp - 4]
mov esi, eax
add esp, 4
xor eax, eax
mov dl, byte [ecx]
test dl, dl
je 0x406440
cmp dl, 0x5d
je 0x406437
inc ecx
mov dword [ebp - 4], ecx
cmp dl, 0x3a
jne 0x40642f
push ecx
call fcn.004494ef
mov ecx, dword [ebp - 4]
add esp, 4
mov dl, byte [ecx]
test dl, dl
jne 0x406415
jmp 0x406440
cmp byte [ecx], 0
je 0x406440
inc ecx
mov dword [ebp - 4], ecx
cmp esi, 0x1869f
jne 0x4064b2
push 0
call fcn.0044600f
cdq
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x20], 0x174f
add esp, 4
mov dword [ebp - 0x28], edx
mov esi, 4
mov dx, word [ebp - 0x20]
mov dword [ebp - 0x2c], eax
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
xor al, 0x4c
mov byte [ecx - 1], al
movzx eax, al
add dx, ax
sub esi, 1
jne 0x406470
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
shld ecx, esi, 0x10
movzx eax, dx
cdq
shl esi, 0x10
add esi, eax
adc ecx, edx
push ecx
push esi
push str._012.12I64X
push 0x4714b0
call fcn.00415400
mov esi, 0x4714b0
jmp 0x4064bf
push edi
push eax
push esi
push dword [ebp + 8]
call fcn.004070a0
mov esi, eax
mov edi, dword [ebp + 0xc]
add esp, 0x10
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4064d0
sub ecx, edx
test esi, esi
je 0x406511
mov edx, esi
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4064e2
mov eax, dword [ebp + 0x10]
sub edx, edi
sar edx, 1
sub eax, ecx
push edx
push esi
dec eax
push eax
push ebx
call fcn.0041fb50
mov edi, dword [ebp + 0xc]
add esp, 0x10
cdq
xor eax, edx
sub eax, edx
mov byte [eax + ebx], 0
jmp 0x406523
mov eax, dword [ebp + 0x10]
sub eax, ecx
dec eax
push eax
push 0
push ebx
call fcn.00445e70
add esp, 0xc
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406528
mov esi, dword [ebp - 4]
sub eax, edx
lea ebx, [eax + edi]
jmp 0x406546
mov edi, dword [ebp + 0xc]
mov byte [ebx], dl
mov esi, dword [ebp - 4]
inc ebx
inc esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], ebx
mov dl, byte [esi]
test dl, dl
jne 0x406280
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
cmp ebx, ecx
je 0x406579
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x406575
lea eax, [ecx + 2]
cmp ebx, eax
ja 0x406575
mov ebx, ecx
mov byte [ecx], 0
mov dword [ebp - 8], ebx
jmp 0x406579
inc edx
mov dword [ebp - 0x14], edx
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x406220
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret