Function at 0x1005cfd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080b11
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10098010]
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
mov edi, ecx
mov dword [ebp - 0x50], edi
mov eax, dword fs:[0x2c]
mov edx, dword [0x100e42e0]
mov edx, dword [eax + edx*4]
mov eax, dword [0x100f1b34]
cmp eax, dword [edx + 4]
jle 0x1005d057
push 0x100f1b34
call fcn.1007bfd7
add esp, 4
cmp dword [0x100f1b34], 0xffffffff
jne 0x1005d057
mov dword [ebp - 4], 0
call fcn.1005d4b0
push 0x100f1b34
mov dword [0x100f1b38], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1007bf8d
add esp, 4
mov ecx, dword [0x100f1b38]
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
call eax
mov edx, dword [0x100f1b38]
add eax, 4
mov ecx, dword [edx + 0xc]
mov ecx, dword [edx + ecx + 0x1a]
xor edx, edx
add ecx, 0xfffffff4
mov dword [ebp - 0x60], edx
add eax, ecx
mov dword [ebp - 0x44], eax
cmp dword [eax + 0x18], edx
jl 0x1005d361
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov eax, dword [eax]
mov esi, dword [eax + ecx + 0x14]
mov dword [ebp - 0x5c], esi
cmp dword [esi], 0x2329
je 0x1005d34b
mov ecx, dword [0x100e8964]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
mov eax, dword [esi + 0x24]
inc eax
push eax
call edx
mov ecx, eax
mov dword [ebp - 0x40], 0
mov esi, ecx
mov dword [ebp - 0x58], ecx
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1005d0e0
sub esi, edx
sar esi, 1
cmp esi, 7
ja 0x1005d116
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x40]
add esi, esi
push esi
push ecx
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x40], ax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
jmp 0x1005d17e
cmp esi, 0x7ffffffe
ja 0x1005d4a1
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x1005d136
mov edi, 0x7ffffffe
jmp 0x1005d141
cmp edi, 0xa
mov eax, 0xa
cmovb edi, eax
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.1005d6a0
mov dword [ebp - 0x30], esi
mov ecx, eax
add esi, esi
mov dword [ebp - 0x54], ecx
push esi
push dword [ebp - 0x58]
mov dword [ebp - 0x2c], edi
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x54]
add esp, 0xc
mov edi, dword [ebp - 0x50]
xor ecx, ecx
mov word [esi + eax], cx
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
mov dword [ebp - 0x28], 0
cmovae esi, dword [ebp - 0x54]
cmovae ecx, eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ecx + eax*2]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x28]
sub eax, esi
sar eax, 1
push eax
call fcn.1005db40
lea eax, [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
cmp esi, dword [ebp - 0x58]
je 0x1005d1ed
mov edi, dword [ebp - 0x58]
movzx eax, byte [esi]
lea ecx, [ebp - 0x28]
push eax
call fcn.10010880
add esi, 2
cmp esi, edi
jne 0x1005d1d7
mov edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 4
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x7f
idiv ecx
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x78]
mov al, dl
mov dword [ebp - 0x68], 0
push eax
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov dword [ebp - 0x5c], eax
call fcn.10010880
mov eax, dword [ebp - 0x18]
xor esi, esi
add eax, 1
je 0x1005d268
nop dword [eax + eax]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x78]
cmovae eax, dword [ebp - 0x28]
mov al, byte [eax + esi]
xor al, byte [ebp - 0x5c]
mov byte [ebp - 0x4c], al
push dword [ebp - 0x4c]
call fcn.10010880
mov eax, dword [ebp - 0x18]
inc esi
inc eax
cmp esi, eax
jb 0x1005d240
mov byte [ebp - 4], 5
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x1005d2a8
movups xmm0, xmmword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
mov edx, 0xf
mov dword [ecx], eax
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
movups xmmword [ecx + 4], xmm0
mov byte [ebp - 0x78], 0
movq xmm0, qword [ebp - 0x68]
movq qword [ecx + 0x14], xmm0
add dword [edi + 4], 0x1c
jmp 0x1005d2b7
lea eax, [ebp - 0x7c]
push eax
push ecx
mov ecx, edi
call fcn.1005d8a0
mov edx, dword [ebp - 0x64]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x1005d2ec
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005d2e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d3c6
push edx
push ecx
call fcn.1007be73
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1005d324
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005d31a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d3c6
push edx
push ecx
call fcn.1007be73
add esp, 8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
call fcn.1005d640
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x44]
inc edx
add ecx, 0x18
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x48], ecx
cmp edx, dword [eax + 0x18]
jle 0x1005d092
mov ecx, dword [ebp - 0x50]
mov eax, 0x92492493
mov edi, dword [edi + 4]
mov esi, edi
mov byte [ebp - 0x44], 0
push dword [ebp - 0x44]
mov ecx, dword [ecx]
sub esi, ecx
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, edi
push eax
call fcn.1005dcb0
mov esi, dword [ebp - 0x50]
add esp, 8
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 0x4c], eax
cmp edi, eax
je 0x1005d40a
lea ecx, [edi + 4]
lea edx, [esi + 0xc]
mov dword [ebp - 0x48], ecx
nop word [eax + eax]
mov eax, dword [esi + 0x10]
push ecx
cmp eax, dword [esi + 0x14]
je 0x1005d3cc
mov ecx, eax
call fcn.1000f4e0
add dword [esi + 0x10], 0x18
jmp 0x1005d3d4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push eax
mov ecx, edx
call fcn.1005d700
mov eax, dword [esi + 0x1c]
mov ecx, dword [edi]
mov dword [ebp - 0x44], ecx
cmp eax, dword [esi + 0x20]
je 0x1005d3e9
mov dword [eax], ecx
add dword [esi + 0x1c], 4
jmp 0x1005d3f6
lea ecx, [ebp - 0x44]
push ecx
push eax
lea ecx, [esi + 0x18]
call fcn.100251f0
mov ecx, dword [ebp - 0x48]
lea edx, [esi + 0xc]
add edi, 0x1c
add ecx, 0x1c
mov dword [ebp - 0x48], ecx
cmp edi, dword [ebp - 0x4c]
jne 0x1005d3b0
mov eax, dword [0x100e9024]
mov esi, dword [0x100e9020]
mov dword [ebp - 0x4c], eax
cmp esi, eax
je 0x1005d480
lea edi, [esi + 4]
nop
mov eax, dword [0x100e9004]
push edi
cmp eax, dword [0x100e9008]
je 0x1005d43e
mov ecx, eax
call fcn.1000f4e0
add dword [0x100e9004], 0x18
jmp 0x1005d449
push eax
mov ecx, 0x100e9000
call fcn.1005d700
mov eax, dword [0x100e8ff4]
mov ecx, dword [esi]
mov dword [ebp - 0x44], ecx
cmp eax, dword [0x100e8ff8]
je 0x1005d466
mov dword [eax], ecx
add dword [0x100e8ff4], 4
jmp 0x1005d475
lea ecx, [ebp - 0x44]
push ecx
push eax
mov ecx, 0x100e8ff0
call fcn.100251f0
add esi, 0x1c
add edi, 0x1c
cmp esi, dword [ebp - 0x4c]
jne 0x1005d420
nop
nop
nop
nop
nop
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.1007ba06
mov esp, ebp
pop ebp
ret
call fcn.1000b140
int3