Function at 0x10044cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x10072f40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x57]
push 0x52
push 0
push eax
mov ebx, ecx
mov dword [ebp - 0xcc], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1388
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10044d29
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005078e
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [ebp + 0x10]
mov cl, byte [ebx + 0x14]
cmp al, 0xff
jne 0x10044d3f
test cl, cl
setne cl
dec cl
and ecx, 0xffffff80
jmp 0x10044d4c
mov edx, 0x80
movzx ecx, cl
cmp al, dl
cmove ecx, edx
push edi
or ecx, 0x1f
mov dword [ebp - 0xc4], 0
lea edi, [esi + 3]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xc8], edi
nop dword [eax]
mov al, byte [ebx + 4]
mov byte [ebp - 0x60], al
xor eax, eax
mov byte [ebp - 0x5e], cl
mov cl, byte [esi + 2]
mov word [ebp - 0x5d], ax
movzx eax, cl
mov word [ebp - 0x5b], ax
mov ax, word [esi]
mov byte [ebp - 0x5f], 0
mov word [ebp - 0x59], ax
movzx esi, cl
test cl, cl
je 0x10044ded
test edi, edi
je 0x10044db4
cmp esi, 0x50
ja 0x10044db4
push esi
lea eax, [ebp - 0x57]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x10044ded
push 0x50
lea eax, [ebp - 0x57]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
jne 0x10044dd6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
jmp 0x10044de7
cmp esi, 0x50
jbe 0x10044ded
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x22
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
push dword [ebp - 0x5b]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x30]
push dword [ebp - 0x59]
mov word [ebp - 0x5b], ax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x30]
mov word [ebp - 0x59], ax
lea ecx, [ebp - 0x60]
mov eax, 2
xorps xmm1, xmm1
xorps xmm2, xmm2
nop word [eax + eax]
movups xmm0, xmmword [ecx + eax]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x50]
add eax, 0x20
pxor xmm2, xmm0
cmp eax, 0x41
jle 0x10044e20
pxor xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 2
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 1
pxor xmm1, xmm0
movd ecx, xmm1
cmp eax, 0x58
jg 0x10044e80
xor cl, byte [ebp + eax - 0x60]
inc eax
cmp eax, 0x58
jle 0x10044e76
push dword [ebx + 0x10]
mov byte [ebp - 7], cl
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebx + 8]
lea edx, [ebp - 0x60]
push 0x5b
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
js 0x10044f28
cmp dword [ebp + 0xc], 1
jne 0x10044f5f
xor edi, edi
push 0x5a
lea eax, [ebp - 0xbb]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebx + 8]
lea edx, [ebp - 0xbc]
mov al, byte [ebx + 4]
mov byte [ebp - 0xbc], al
push 0x5b
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
mov esi, eax
test esi, esi
js 0x10044f19
mov al, byte [ebp - 0xba]
mov ecx, dword [ebp - 0xc0]
and al, 0x9f
cmp cl, al
jne 0x10044f21
mov ax, word [ebp - 0xb5]
cmp ax, word [ebp - 0x59]
jne 0x10044f14
cmp byte [ebp - 0xbb], 2
je 0x10044f5d
mov esi, 0x80004005
inc edi
cmp edi, 5
jl 0x10044eb0
jmp 0x10044f30
mov esi, 0x80004005
jmp 0x10044f3a
cmp esi, 0x8000ffff
je 0x10044f5f
test esi, esi
jns 0x10044f5f
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xc4]
inc edx
mov dword [ebp - 0xc4], edx
cmp edx, 5
jge 0x10044f5f
mov edi, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xcc]
jmp 0x10044d70
xor esi, esi
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005078e
mov esp, ebp
pop ebp
ret 0xc