Function at 0x10005c74
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006527c
call fcn.10064c08
sub esp, 0x60
mov byte [ebp - 0x18], cl
push ebx
mov ebx, edx
mov dword [ebp - 0x34], ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test cl, cl
je 0x10005e5e
mov dword [ebp - 0x24], 0x5f3c
xor esi, esi
cmp dword [ebp - 0x24], 0x61f9
jle 0x10005ce4
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0x22cc
mov eax, esi
mov ecx, 0x10081dd8
xor eax, edi
cdq
push edx
push eax
call fcn.1000c947
add esi, ebx
dec dword [ebp - 0x20]
jne 0x10005cb7
inc ebx
push 0
pop esi
cmp ebx, 0x49c6
jl 0x10005cad
inc edi
cmp edi, 0x1f79
jl 0x10005cab
push 3
lea ecx, [ebp - 0x40]
call fcn.100014bd
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], 0xfffffffa
mov dword [ebp - 0x20], 0x51cdcb36
mov dword [ebp - 0x20], 0x29dd
cmp dword [ebp - 0x20], 0x2a12
jle 0x10005d3f
mov edi, esi
mov ebx, esi
mov ecx, ebx
mov eax, edi
shl eax, cl
mov ecx, 0x10081dd8
cdq
push edx
push eax
call fcn.1000c947
inc ebx
cmp ebx, 0x6a32
jl 0x10005d13
inc edi
cmp edi, 0x3d45
jl 0x10005d11
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 0x28], 0x979b3895
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0x28a1
jge 0x10005d80
mov edx, str.ftfuwgby_llbf_bhejxqxao_hygyilfq_nvzn_xbb_bbzuu_xrkr
mov ecx, 0x10081dd8
call fcn.1000fdbf
jmp 0x10005d80
push esi
push 0x4853
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x40]
call fcn.100080bb
pop ecx
pop ecx
push 4
mov dword [ebp - 0x1c], esi
pop edi
jmp 0x10005da8
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x50], edi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x10005d9e
push 2
pop ebx
mov dword [ebp - 0x44], ebx
cmp dword [ebp - 0x44], esi
jl 0x10005e18
push 0x19de
push 0x1cf7
mov dword [ebp - 0x2c], 0xfffffff7
lea ecx, [ebp - 0x2c]
push 1
call fcn.10003abb
add esp, 0xc
mov dword [ebp - 0x20], esi
jmp 0x10005e0e
mov dword [ebp - 0x34], 0xa96950a4
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
cmp dword [eax + ecx*4], esi
jne 0x10005e05
mov eax, dword [ebp - 0x28]
xor edx, edx
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x30]
cmp ecx, eax
setge dl
add edx, edi
jne 0x10005e05
mov eax, esi
jmp 0x10005e08
xor eax, eax
inc eax
mov dword [ebp - 0x34], eax
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], ebx
jle 0x10005ddb
dec dword [ebp - 0x44]
jns 0x10005db8
lea ecx, [ebp - 0x40]
call fcn.10001540
mov dword [ebp - 4], 3
cmp dword [ebp - 0x24], 0x5d41
jge 0x10005e3f
mov edx, str.oqpl_ipmrkbtpb_ccxfrbb_yqraed_isk_jnaurhl_fpiuaw_bdsa_pwirffcx_jfmarhb_zizym_iczfgu_pojsryp_wudinuxfj
mov ecx, 0x10081dd8
call fcn.1000fdbf
jmp 0x10005ed4
mov dword [ebp - 0x20], 0x5591
cmp dword [ebp - 0x20], 0x5943
jle 0x10005ebb
xor esi, esi
mov edi, esi
mov dword [ebp - 0x24], esi
mov ebx, edi
mov edi, 0x2b1a
mov eax, ebx
lea ecx, [ebp - 0x68]
cdq
push edx
push eax
call fcn.10001301
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10005e93
mov eax, dword [eax]
push eax
call fcn.1004c2d0
pop ecx
push esi
push 1
lea ecx, [ebp - 0x68]
call fcn.1000168f
dec ebx
dec edi
jne 0x10005e7c
mov edi, dword [ebp - 0x24]
inc edi
mov dword [ebp - 0x24], edi
cmp edi, 0x225a
jl 0x10005e75
mov ebx, dword [ebp - 0x34]
cmp dword [ebp - 0x20], 0x51e7
jge 0x10005ecf
push str.vswcvlw_cjbas_vufvlkyfz
call fcn.1004c2d0
pop ecx
mov eax, dword [ebp + 0x24]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret