Function at 0x10044330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x10072f40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov ebx, ecx
mov dword [ebp - 0x98], esi
push 0x1388
movlpd qword [ebp - 0x3f], xmm0
movlpd qword [ebp - 0x37], xmm0
push dword [ebx + 0xc]
movlpd qword [ebp - 0x2f], xmm0
movlpd qword [ebp - 0x27], xmm0
movlpd qword [ebp - 0x1f], xmm0
movlpd qword [ebp - 0x17], xmm0
movlpd qword [ebp - 0xf], xmm0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1004439f
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005078e
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp + 0xc]
mov edx, 0x80
mov cl, byte [ebx + 0x14]
cmp al, 0xff
jne 0x100443ba
test cl, cl
setne cl
dec cl
and ecx, 0xffffff80
jmp 0x100443c2
cmp al, 0x80
movzx ecx, cl
cmove ecx, edx
push edi
or ecx, 0x1f
mov dword [ebp - 0x94], 0
lea edi, [esi + 3]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x9c], edi
nop
mov al, byte [ebx + 4]
mov byte [ebp - 0x48], al
xor eax, eax
mov byte [ebp - 0x46], cl
mov cl, byte [esi + 2]
mov word [ebp - 0x45], ax
movzx eax, cl
mov word [ebp - 0x43], ax
mov eax, edx
or ax, word [esi]
mov byte [ebp - 0x47], 0
mov word [ebp - 0x41], ax
movzx esi, cl
test cl, cl
je 0x1004445f
test edi, edi
je 0x10044426
cmp esi, 0x36
ja 0x10044426
push esi
lea eax, [ebp - 0x3f]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x1004445f
push 0x36
lea eax, [ebp - 0x3f]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
jne 0x10044448
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
jmp 0x10044459
cmp esi, 0x36
jbe 0x1004445f
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 - 0x43]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x30]
push dword [ebp - 0x41]
mov word [ebp - 0x43], ax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x30]
xorps xmm2, xmm2
mov word [ebp - 0x41], ax
movups xmm0, xmmword [ebp - 0x45]
mov eax, 0x23
xorps xmm1, xmm1
pxor xmm2, xmm0
movups xmm0, xmmword [ebp - 0x35]
pxor xmm1, xmm0
pxor xmm2, xmm1
movaps xmm0, xmm2
psrldq xmm0, 8
pxor xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
pxor xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
pxor xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
pxor xmm2, xmm0
movd ecx, xmm2
nop dword [eax]
xor cl, byte [ebp + eax - 0x48]
inc eax
cmp eax, 0x3e
jle 0x100444d0
push dword [ebx + 0x10]
mov byte [ebp - 9], cl
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebx + 8]
lea edx, [ebp - 0x48]
push 0x41
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
js 0x100445c5
xor edi, edi
push dword [ebx + 0x10]
xorps xmm0, xmm0
movlpd qword [ebp - 0x8b], xmm0
movlpd qword [ebp - 0x83], xmm0
movlpd qword [ebp - 0x7b], xmm0
movlpd qword [ebp - 0x73], xmm0
movlpd qword [ebp - 0x6b], xmm0
movlpd qword [ebp - 0x63], xmm0
movlpd qword [ebp - 0x5b], xmm0
movlpd qword [ebp - 0x53], xmm0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebx + 8]
lea edx, [ebp - 0x8c]
mov al, byte [ebx + 4]
mov byte [ebp - 0x8c], al
push 0x41
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
mov esi, eax
test esi, esi
js 0x10044587
mov al, byte [ebp - 0x8a]
mov ecx, dword [ebp - 0x90]
and al, 0x9f
cmp cl, al
jne 0x100445be
mov ax, word [ebp - 0x85]
cmp ax, word [ebp - 0x41]
jne 0x10044582
cmp byte [ebp - 0x8b], 2
je 0x10044593
mov esi, 0x80004005
inc edi
cmp edi, 5
jl 0x10044500
jmp 0x100445d1
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebx]
shr eax, 8
push eax
push ebx
call dword [ecx + 0x30]
movzx ecx, ax
mov eax, dword [ebp - 0x98]
mov dl, byte [eax + 2]
movzx eax, dl
cmp ax, cx
jae 0x10044607
mov esi, 0x80004005
jmp 0x100445d9
mov esi, 0x80004005
jmp 0x100445df
cmp esi, 0x8000ffff
je 0x1004465f
test esi, esi
jns 0x1004465f
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x94]
inc edx
mov dword [ebp - 0x94], edx
cmp edx, 5
jge 0x1004465f
mov edi, dword [ebp - 0x9c]
mov edx, 0x80
mov esi, dword [ebp - 0x98]
jmp 0x100443e0
mov eax, ecx
movzx edx, dl
test eax, eax
je 0x1004465d
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
jne 0x10044628
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
jmp 0x10044657
cmp edx, eax
jb 0x1004463f
push eax
lea eax, [ebp - 0x83]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x1004465d
push edx
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
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]
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 8