Function at 0x10005680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f3999
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1011e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x24
mov dword [ebp - 4], 2
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [0x101202c4]
lea esi, [ebp + 0x20]
mov ecx, dword fs:[0x2c]
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov edi, eax
mov eax, dword [0x1012047c]
cmovae esi, dword [ebp + 0x20]
mov ecx, dword [ecx + edx*4]
cmp eax, dword [ecx + 4]
jle 0x100057b9
push 0x1012047c
call fcn.100f24cd
add esp, 4
cmp dword [0x1012047c], 0xffffffff
jne 0x100057b9
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x10118880]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x10736310
mov dword [ebp - 0x24], 0x66677364
mov byte [ebp - 0x20], 0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x17
jb 0x10005728
mov cl, 0x12
mov byte [ebp - 0x1c], 0x7e
mov byte [ebp - 0x39], cl
mov al, 0x1d
xor al, byte [ebp - 0x1c]
mov dl, 0x17
mov byte [ebp - 0x3a], cl
mov ch, 0xa
xor cl, byte [ebp - 0x1c]
mov dh, 0x50
mov byte [ebp - 0x1b], al
mov ah, 0x10
mov al, byte [ebp - 0x39]
mov bl, 0x1b
mov byte [ebp - 0x1a], cl
mov bh, 0x1a
mov cl, byte [ebp - 0x1c]
xor al, cl
mov byte [ebp - 0x11], 0
xor dl, cl
mov byte [ebp - 0x13], al
mov al, byte [ebp - 0x3a]
xor dh, cl
xor ch, cl
mov byte [ebp - 0x19], dl
xor bl, cl
mov byte [ebp - 0x16], ch
xor ah, cl
mov byte [ebp - 0x15], dh
xor bh, cl
mov byte [ebp - 0x20], 0
xor al, cl
mov byte [ebp - 0x18], bl
lea edx, [ebp - 0x37]
mov byte [ebp - 0x17], ah
lea ecx, [ebp - 0x1b]
mov byte [ebp - 0x14], bh
mov byte [ebp - 0x12], al
mov byte [ebp - 0x11], 0
call fcn.1006a820
push 0x1012047c
mov dword [0x10120474], eax
mov byte [ebp - 4], 2
call fcn.100f2483
add esp, 4
push 0
push 0
push esi
mov ecx, edi
call dword [0x10120474]
cmp dword [ebp + 0x4c], 0x10
lea ecx, [ebp + 0x38]
push 0
cmovae ecx, dword [ebp + 0x38]
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
push 0
cmovae eax, dword [ebp + 8]
push 0
push 0
push ecx
push eax
mov ecx, edi
call fcn.10005510
mov ecx, dword [0x10120470]
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
push edi
cmovae edx, dword [ebp + 8]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x14c]
call eax
mov ecx, dword [ebp + 0x1c]
mov esi, eax
cmp ecx, 0x10
jb 0x10005840
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005836
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100058ba
push ecx
push edx
call fcn.100f28ed
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x10005882
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005878
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100058ba
push ecx
push edx
call fcn.100f28ed
add esp, 8
mov ecx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp ecx, 0x10
jb 0x100058ca
mov edx, dword [ebp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100058c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100058c0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f28ed
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f238c
mov esp, ebp
pop ebp
ret