Function at 0x100cf700
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1031bf21
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], 0
cmp dword [0x1061114c], edx
jne 0x100cf7a5
mov eax, dword [0x1060b5e0]
mov ecx, dword [0x104c14e0]
mov eax, dword [eax + 0xaa8]
mov dword [ebp - 0x7c], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10611928]
cmp eax, dword [ecx + 4]
jg 0x100cf80f
jmp 0x100cf78e
mov edx, dword [ebp - 0x84]
mov eax, dword [0x10611714]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [eax + ecx]
cmp dword [0x10611148], eax
jge 0x100cf7a5
mov al, 1
jmp 0x100cf7f1
mov eax, dword [0x1060b5e0]
mov ecx, dword fs:[0x2c]
mov dword [0x1061114c], edx
mov eax, dword [eax + 0xaa8]
mov dword [ebp - 0x8c], eax
mov eax, dword [0x104c14e0]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10611928]
cmp eax, dword [ecx + 4]
jg 0x100cfb5d
mov eax, dword [0x10611714]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ecx + eax]
mov dword [0x10611148], eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.102bb91c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x10611928
call fcn.102bba07
add esp, 4
cmp dword [0x10611928], 0xffffffff
jne 0x100cf788
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
push 0xd
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x80], 1
call fcn.1001a120
mov esi, 0x103f6288
jmp 0x100cf861
mov al, byte [esi]
lea ecx, [ebp - 0x44]
xor al, 0xa5
mov byte [ebp - 0x78], al
push dword [ebp - 0x78]
call fcn.1001a280
add esi, 2
cmp esi, 0x103f629e
jne 0x100cf861
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x34]
cmovae eax, edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x78], eax
test esi, esi
je 0x100cf952
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memchr
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100cf952
sub edx, dword [ebp - 0x78]
cmp edx, 0xffffffff
je 0x100cf952
jmp 0x100cf8c0
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, edi
setae cl
add edx, eax
lea eax, [ebp - 0x44]
test cl, cl
je 0x100cf8eb
sub edx, edi
mov eax, esi
sub eax, edx
mov edi, 1
cmp eax, edi
cmovb edi, eax
mov eax, dword [ebp - 0x80]
jmp 0x100cf900
sub edx, eax
mov edi, 1
mov eax, esi
sub eax, edx
cmp eax, edi
cmovb edi, eax
lea eax, [ebp - 0x44]
jmp 0x100cf900
lea ecx, [eax + edx]
sub esi, edi
mov eax, esi
sub eax, edx
inc eax
push eax
lea eax, [ecx + edi]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x44]
add esp, 0xc
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x80], edi
cmovae eax, edi
mov dword [ebp - 0x78], eax
test esi, esi
je 0x100cf952
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memchr
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100cf952
sub edx, dword [ebp - 0x78]
cmp edx, 0xffffffff
jne 0x100cf8c0
jmp 0x100cf952
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, edi
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0
mov esi, 0x103f6844
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x80], 3
jmp 0x100cf990
mov al, byte [esi]
lea ecx, [ebp - 0x74]
xor al, 0xa5
mov byte [ebp - 0x78], al
push dword [ebp - 0x78]
call fcn.1001a280
add esi, 2
cmp esi, 0x103f685e
jne 0x100cf990
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
mov edi, dword [ebp - 0x74]
mov esi, dword [ebp - 0x64]
cmovae eax, edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x88], eax
test esi, esi
je 0x100cfa8d
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memchr
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100cfa8d
sub edx, dword [ebp - 0x88]
cmp edx, 0xffffffff
je 0x100cfa8d
jmp 0x100cf9f5
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
cmovae eax, edi
setae cl
add edx, eax
lea eax, [ebp - 0x74]
test cl, cl
je 0x100cfa20
sub edx, edi
mov eax, esi
sub eax, edx
mov edi, 1
cmp eax, edi
cmovb edi, eax
mov eax, dword [ebp - 0x78]
jmp 0x100cfa35
sub edx, eax
mov edi, 1
mov eax, esi
sub eax, edx
cmp eax, edi
cmovb edi, eax
lea eax, [ebp - 0x74]
jmp 0x100cfa35
lea ecx, [eax + edx]
sub esi, edi
mov eax, esi
sub eax, edx
inc eax
push eax
lea eax, [ecx + edi]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x74]
add esp, 0xc
mov dword [ebp - 0x64], esi
cmp dword [ebp - 0x60], 0x10
mov dword [ebp - 0x78], edi
cmovae eax, edi
mov dword [ebp - 0x88], eax
test esi, esi
je 0x100cfa8d
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memchr
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100cfa8d
sub edx, dword [ebp - 0x88]
cmp edx, 0xffffffff
jne 0x100cf9f5
jmp 0x100cfa8d
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
push 0
push dword [ebp - 0x8c]
cmovae eax, edi
push eax
call fcn.10171b70
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x60]
mov dword [0x10611714], eax
cmp ecx, 0x10
jb 0x100cfae2
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cfad6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cfb20
jmp 0x100cfad6
push ecx
push edx
call fcn.102bb95a
add esp, 8
jmp 0x100cfae2
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0x10
jb 0x100cfb32
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cfb26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cfb26
jmp 0x100cfb20
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102bb95a
add esp, 8
jmp 0x100cfb32
push 0x10611928
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
call fcn.102bb9b6
add esp, 4
jmp 0x100cf788
push 0x10611928
call fcn.102bba07
add esp, 4
cmp dword [0x10611928], 0xffffffff
jne 0x100cf7dc
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
push 0xd
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x80], 4
call fcn.1001a120
mov esi, 0x103f6288
jmp 0x100cfbb0
mov al, byte [esi]
lea ecx, [ebp - 0x5c]
xor al, 0xa5
mov byte [ebp - 0x7c], al
push dword [ebp - 0x7c]
call fcn.1001a280
add esi, 2
cmp esi, 0x103f629e
jne 0x100cfbb0
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
mov edi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x4c]
cmovae eax, edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x7c], eax
test esi, esi
je 0x100cfcaa
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memchr
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100cfcaa
sub edx, dword [ebp - 0x7c]
cmp edx, 0xffffffff
je 0x100cfcaa
jmp 0x100cfc12
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
cmovae eax, edi
setae cl
add edx, eax
lea eax, [ebp - 0x5c]
test cl, cl
je 0x100cfc40
sub edx, edi
mov eax, esi
sub eax, edx
mov edi, 1
cmp eax, edi
cmovb edi, eax
mov eax, dword [ebp - 0x84]
jmp 0x100cfc55
sub edx, eax
mov edi, 1
mov eax, esi
sub eax, edx
cmp eax, edi
cmovb edi, eax
lea eax, [ebp - 0x5c]
jmp 0x100cfc55
lea ecx, [eax + edx]
sub esi, edi
mov eax, esi
sub eax, edx
inc eax
push eax
lea eax, [ecx + edi]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov edi, dword [ebp - 0x5c]
lea eax, [ebp - 0x5c]
add esp, 0xc
mov dword [ebp - 0x4c], esi
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x84], edi
cmovae eax, edi
mov dword [ebp - 0x7c], eax
test esi, esi
je 0x100cfcaa
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memchr
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100cfcaa
sub edx, dword [ebp - 0x7c]
cmp edx, 0xffffffff
jne 0x100cfc12
jmp 0x100cfcaa
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
cmovae eax, edi
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 5
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov esi, 0x103f6844
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x80], 0xc
jmp 0x100cfce2
mov al, byte [esi]
lea ecx, [ebp - 0x2c]
xor al, 0xa5
movzx eax, al
push eax
call fcn.1001a280
add esi, 2
cmp esi, 0x103f685e
jne 0x100cfce2
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
cmovae esi, dword [ebp - 0x2c]
test edi, edi
je 0x100cfdad
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x100cfdad
sub ecx, esi
cmp ecx, 0xffffffff
je 0x100cfdad
jmp 0x100cfd36
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x2c]
mov edx, 1
cmovae esi, dword [ebp - 0x2c]
add esi, ecx
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
sub esi, eax
mov eax, edi
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x18], 0x10
cmovae ecx, dword [ebp - 0x2c]
sub edi, edx
add ecx, esi
mov eax, edi
sub eax, esi
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
cmovae esi, dword [ebp - 0x2c]
test edi, edi
je 0x100cfdad
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x100cfdad
sub ecx, esi
cmp ecx, 0xffffffff
jne 0x100cfd36
jmp 0x100cfdad
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 0
push dword [ebp - 0x7c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.10171b70
mov ecx, dword [ebp - 0x18]
mov dword [0x10611714], eax
cmp ecx, 0x10
jb 0x100cfdfc
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cfdf0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cfe36
jmp 0x100cfdf0
push ecx
push edx
call fcn.102bb95a
add esp, 8
jmp 0x100cfdfc
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0x10
jb 0x100cfe48
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cfe3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cfe3c
jmp 0x100cfe36
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102bb95a
add esp, 8
jmp 0x100cfe48
push 0x10611928
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.102bb9b6
add esp, 4
jmp 0x100cf7dc