Function at 0x7149d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ecx, dword [esp + 0x24]
mov dword [esp], 0
cmp dword [esp + 0x20], 0
sete dl
test ecx, ecx
sete dh
xor eax, eax
or dh, dl
jne 0x714caa
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
xor ebx, ebx
cmp byte [eax], 0x68
jne 0x714a21
cmp byte [eax + 1], 0x65
mov edx, 0
jne 0x714a23
xor ebx, ebx
cmp byte [eax + 2], 0x78
sete bl
lea edx, [ebx + ebx*2]
jmp 0x714a23
xor edx, edx
add eax, edx
push eax
push ecx
call fcn.005dfa30
add esp, 8
mov esi, eax
test ebp, ebp
je 0x714a3f
xor eax, eax
test esi, esi
setne al
mov dword [ebp], eax
test esi, esi
je 0x714c9d
mov edi, dword [esp + 0x2c]
mov edx, dword [esi + 4]
lea ecx, [edx - 1]
cmp ecx, 2
jb 0x714a86
cmp edx, 4
je 0x714a9f
xor eax, eax
cmp edx, 5
jne 0x714bf3
test ebx, ebx
je 0x714b2b
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test al, 1
jne 0x714b34
shr eax, 1
jmp 0x714bf3
mov eax, esp
test ebx, ebx
je 0x714ac8
push edi
push eax
call fcn.006ab6c0
add esp, 8
test eax, eax
jne 0x714ada
jmp 0x714c9d
test ebx, ebx
je 0x714b1c
call fcn.005b5560
push str.prepare_from_text
push 0x6f
push str.crypto_params_from_text.c
call fcn.005b5660
add esp, 0xc
push 0
push 0x80106
jmp 0x714bd8
push edi
push eax
call fcn.006aba00
add esp, 8
test eax, eax
je 0x714c9d
mov ecx, dword [esp]
test ecx, ecx
je 0x714c9d
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x714b5c
push ecx
call fcn.00589160
add esp, 4
test eax, eax
je 0x714b56
call fcn.005b5560
push str.prepare_from_text
push 0x3b
push str.crypto_params_from_text.c
call fcn.005b5660
add esp, 0xc
push 0
push 0x7a
jmp 0x714bd8
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
inc eax
jmp 0x714bf3
mov eax, dword [esp + 0x30]
jmp 0x714bf3
call fcn.005b5560
push str.prepare_from_text
push 0x79
push str.crypto_params_from_text.c
call fcn.005b5660
add esp, 0xc
push 0
push 0x67
jmp 0x714bd8
mov eax, dword [esi + 4]
mov ecx, dword [esp]
cmp eax, 1
jne 0x714b87
push ecx
call fcn.00589160
add esp, 4
mov ecx, dword [esp]
test eax, eax
je 0x714b87
push 1
push ecx
call fcn.0058da70
add esp, 8
test eax, eax
je 0x714c9d
mov ecx, dword [esp]
push ecx
call fcn.00587bd0
add esp, 4
mov ebp, eax
mov edx, dword [esi + 4]
mov edi, dword [esi + 0xc]
xor edx, 1
and eax, 7
lea ecx, [ebp + 8]
or eax, edx
cmovne ecx, ebp
test edi, edi
je 0x714be7
mov eax, edi
lea edx, [edi*8]
cmp ecx, edx
mov edi, dword [esp + 0x2c]
jbe 0x714bf3
call fcn.005b5560
push str.prepare_from_text
push 0x65
push str.crypto_params_from_text.c
call fcn.005b5660
add esp, 0xc
push 0
push 0x74
push 0xf
call fcn.005b5750
add esp, 0xc
jmp 0x714c9d
add ecx, 7
shr ecx, 3
mov eax, ecx
mov edi, dword [esp + 0x2c]
cmp eax, 1
mov ecx, eax
adc ecx, 0
push 0xdb
push str.crypto_params_from_text.c
push ecx
mov ebp, eax
call fcn.005dae80
add esp, 0xc
test eax, eax
je 0x714c9d
test ebp, ebp
je 0x714cb2
mov dword [esp + 4], ebp
mov ecx, dword [esi + 4]
lea edx, [ecx - 1]
cmp edx, 2
jb 0x714cb9
cmp ecx, 4
mov edx, dword [esp + 4]
je 0x714d39
cmp ecx, 5
jne 0x714d31
test ebx, ebx
je 0x714d4d
mov dword [esp + 8], 0
lea ecx, [esp + 8]
push 0x3a
push edi
push ecx
push edx
push eax
mov ebx, eax
mov ebp, edx
call fcn.005dcda0
add esp, 0x14
mov ecx, eax
mov eax, ebx
test ecx, ecx
jne 0x714dab
push dword [esp]
mov esi, eax
call fcn.00587df0
add esp, 4
push 0xe2
push str.crypto_params_from_text.c
push esi
call fcn.005db000
add esp, 0xc
jmp 0x714ca8
push dword [esp]
call fcn.00587df0
add esp, 4
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebp, ebp
jmp 0x714dab
mov ebp, dword [esp]
push dword [esp + 4]
mov ebx, eax
push eax
push ebp
call fcn.00588970
add esp, 0xc
cmp dword [esi + 4], 1
jne 0x714d35
push ebp
call fcn.00589160
add esp, 4
test eax, eax
je 0x714d35
mov ebp, dword [esp + 4]
mov edx, ebp
mov eax, ebx
cmp ebp, 8
jb 0x714d9d
xor ecx, ecx
cmp ebp, 0x20
mov edx, ebp
jb 0x714d65
mov ecx, edx
and ecx, 0xffffffe0
xor edx, edx
pcmpeqd xmm0, xmm0
movdqu xmm1, xmmword [eax + edx]
movdqu xmm2, xmmword [eax + edx + 0x10]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [eax + edx], xmm1
movdqu xmmword [eax + edx + 0x10], xmm2
add edx, 0x20
cmp ecx, edx
jne 0x714d04
mov edx, dword [esp + 4]
cmp edx, ecx
jne 0x714d60
mov ebp, edx
jmp 0x714dab
mov eax, ebx
jmp 0x714da7
push edx
push edi
push eax
mov ebx, eax
mov ebp, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strncpy
mov eax, ebx
add esp, 0xc
dec ebp
jmp 0x714dab
push edx
push edi
push eax
mov ebx, eax
mov ebp, edx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov eax, ebx
add esp, 0xc
jmp 0x714dab
test dl, 0x18
je 0x714d96
mov ebp, edx
and ebp, 0xfffffff8
and edx, 7
mov ebx, eax
mov edi, ebp
add ebx, ebp
pcmpeqd xmm0, xmm0
movq xmm1, qword [eax + ecx]
pxor xmm1, xmm0
movq qword [eax + ecx], xmm1
add ecx, 8
cmp edi, ecx
jne 0x714d77
mov ebp, dword [esp + 4]
cmp ebp, edi
jne 0x714d9d
jmp 0x714dab
mov ebx, eax
add ebx, ecx
and edx, 0x1f
xor ecx, ecx
not byte [ebx + ecx]
inc ecx
cmp edx, ecx
jne 0x714d9f
mov ebp, dword [esp + 4]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov esi, dword [esp + 0x20]
mov dword [esi + 4], edx
mov dword [esi], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], 0xffffffff
push dword [esp]
call fcn.00587df0
add esp, 4
mov eax, 1
jmp 0x714caa