Function at 0x100446a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x10072f40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov edi, ecx
mov dword [ebp - 0xa0], esi
push 0x1388
mov dword [ebp - 0x90], edi
movlpd qword [ebp - 0x3f], xmm0
push dword [edi + 0xc]
movlpd qword [ebp - 0x37], xmm0
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 0x10044715
pop edi
mov eax, 0x80004005
pop esi
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 [edi + 0x14]
cmp al, 0xff
jne 0x1004472b
test cl, cl
setne cl
dec cl
and ecx, 0xffffff80
jmp 0x10044738
mov edx, 0x80
movzx ecx, cl
cmp al, dl
cmove ecx, edx
or ecx, 0x1f
mov dword [ebp - 0x98], 0
lea edx, [esi + 3]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x9c], edx
mov al, byte [edi + 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 ax, word [esi]
mov byte [ebp - 0x47], 0
mov word [ebp - 0x41], ax
movzx esi, cl
test cl, cl
je 0x100447d6
test edx, edx
je 0x10044798
cmp esi, 0x36
ja 0x10044798
push esi
push edx
lea eax, [ebp - 0x3f]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x100447d6
push 0x36
lea eax, [ebp - 0x3f]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebp - 0x9c], 0
jne 0x100447bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
jmp 0x100447d0
cmp esi, 0x36
jbe 0x100447d6
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 [edi]
push edi
call dword [eax + 0x30]
push dword [ebp - 0x41]
mov word [ebp - 0x43], ax
mov eax, dword [edi]
push edi
call dword [eax + 0x30]
xorps xmm1, xmm1
mov word [ebp - 0x41], ax
movups xmm0, xmmword [ebp - 0x45]
mov eax, 0x23
xorps xmm2, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0x35]
pxor xmm0, xmm2
pxor xmm1, xmm0
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
xor cl, byte [ebp + eax - 0x48]
inc eax
cmp eax, 0x3e
jle 0x10044843
push dword [edi + 0x10]
mov byte [ebp - 9], cl
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [edi + 8]
lea edx, [ebp - 0x48]
push 0x41
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
js 0x10044959
cmp dword [ebp + 0xc], 1
jne 0x1004496b
xor edi, edi
nop
mov esi, dword [ebp - 0x90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x8b], xmm0
movlpd qword [ebp - 0x83], xmm0
movlpd qword [ebp - 0x7b], xmm0
push dword [esi + 0x10]
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 [esi + 8]
lea edx, [ebp - 0x8c]
mov al, byte [esi + 4]
mov byte [ebp - 0x8c], al
push 0x41
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10]
call eax
mov esi, eax
test esi, esi
js 0x1004490f
mov al, byte [ebp - 0x8a]
mov ecx, dword [ebp - 0x94]
and al, 0x9f
cmp cl, al
jne 0x1004494c
mov ax, word [ebp - 0x85]
cmp ax, word [ebp - 0x41]
jne 0x1004490a
cmp byte [ebp - 0x8b], 2
je 0x10044963
mov esi, 0x80004005
inc edi
cmp edi, 5
jl 0x10044880
mov edi, dword [ebp - 0x90]
test esi, esi
jns 0x1004496b
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp eax, 5
jge 0x1004496b
mov edx, dword [ebp - 0x9c]
mov esi, dword [ebp - 0xa0]
jmp 0x10044754
mov edi, dword [ebp - 0x90]
mov esi, 0x80004005
jmp 0x10044929
cmp esi, 0x8000ffff
je 0x1004496b
jmp 0x1004491f
mov edi, dword [ebp - 0x90]
xor esi, esi
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1005078e
mov esp, ebp
pop ebp
ret 0xc