Function at 0x10021170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100447fd
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x1006f368]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x10070a94]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100214e8
nop
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x10], edx
test edx, edx
je 0x100214e0
push dword [eax + 8]
lea ecx, [ebp - 0x78]
call fcn.100154d0
mov ebx, dword [ebp - 0x68]
xor esi, esi
mov edi, dword [ebp - 0x64]
xor ecx, ecx
mov edx, dword [ebp - 0x78]
test ebx, ebx
je 0x100211fa
nop word [eax + eax]
imul esi, esi, 0x811c9dc5
lea eax, [ebp - 0x78]
cmp edi, 0x10
cmovae eax, edx
movsx eax, byte [eax + ecx]
inc ecx
xor esi, eax
cmp ecx, ebx
jb 0x100211e0
cmp edi, 0x10
jb 0x10021228
inc edi
mov eax, edx
cmp edi, 0x1000
jb 0x1002121e
mov edx, dword [eax - 4]
add edi, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021523
push edi
push edx
call fcn.1004136f
add esp, 8
push str.CFuncConveyor
lea ecx, [ebp - 0x48]
call fcn.100154d0
mov ebx, dword [ebp - 0x34]
xor ecx, ecx
mov edx, dword [ebp - 0x48]
xor edi, edi
cmp dword [ebp - 0x38], ecx
jbe 0x1002125f
imul edi, edi, 0x811c9dc5
lea eax, [ebp - 0x48]
cmp ebx, 0x10
cmovae eax, edx
movsx eax, byte [eax + ecx]
inc ecx
xor edi, eax
cmp ecx, dword [ebp - 0x38]
jb 0x10021244
cmp ebx, 0x10
jb 0x1002128d
inc ebx
mov eax, edx
cmp ebx, 0x1000
jb 0x10021283
mov edx, dword [eax - 4]
add ebx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021523
push ebx
push edx
call fcn.1004136f
add esp, 8
cmp esi, edi
jne 0x100212a4
mov eax, dword [ebp - 0x14]
push dword [eax + 0x14]
push str.____found__i_n
call fcn.10004c90
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0
cmp dword [eax + 4], 0
jle 0x10021455
xor edx, edx
mov dword [ebp - 0x20], edx
nop dword [eax]
mov eax, dword [eax]
lea ecx, [ebp - 0x60]
add eax, edx
mov dword [ebp - 0x24], eax
push dword [eax]
call fcn.100154d0
mov dword [ebp - 4], 0
xor esi, esi
mov edi, dword [ebp - 0x50]
xor eax, eax
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], edx
test edi, edi
je 0x1002130a
nop
imul esi, esi, 0x811c9dc5
lea ecx, [ebp - 0x60]
cmp ebx, 0x10
cmovae ecx, edx
movsx ecx, byte [ecx + eax]
inc eax
xor esi, ecx
cmp eax, edi
jb 0x100212f0
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x48]
push dword [edx + 0xc]
call fcn.100154d0
mov byte [ebp - 4], 1
xor ecx, ecx
mov edx, dword [ebp - 0x34]
xor edi, edi
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x38], ecx
jbe 0x1002134b
nop
imul edi, edi, 0x811c9dc5
lea eax, [ebp - 0x48]
cmp edx, 0x10
cmovae eax, ebx
movsx eax, byte [eax + ecx]
inc ecx
xor edi, eax
cmp ecx, dword [ebp - 0x38]
jb 0x10021330
mov edx, dword [0x10070b78]
mov ecx, dword [0x10070b70]
lea eax, [edx + 1]
cmp ecx, eax
ja 0x10021370
push ecx
call fcn.10021a50
mov edx, dword [0x10070b78]
mov ecx, dword [0x10070b70]
dec ecx
mov eax, ecx
and eax, dword [0x10070b74]
mov dword [0x10070b74], eax
add eax, edx
and eax, ecx
mov ecx, dword [0x10070b6c]
shl eax, 2
mov dword [ebp - 0x18], eax
cmp dword [eax + ecx], 0
jne 0x100213b2
push 0xc
call fcn.10041382
mov ecx, dword [0x10070b6c]
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [0x10070b6c]
mov ecx, dword [eax + ecx]
mov eax, dword [ebp - 0x24]
mov dword [ecx], edi
mov dword [ecx + 4], esi
mov eax, dword [eax + 0x2c]
mov dword [ecx + 8], eax
inc dword [0x10070b78]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x100213fe
inc ecx
mov eax, ebx
cmp ecx, 0x1000
jb 0x100213f4
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021523
push ecx
push ebx
call fcn.1004136f
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10021439
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002142f
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021523
push edx
push ecx
call fcn.1004136f
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
inc ecx
mov edx, dword [ebp - 0x20]
add edx, 0x3c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
cmp ecx, dword [eax + 4]
jl 0x100212c0
push dword [eax + 0xc]
lea ecx, [ebp - 0x60]
call fcn.100154d0
mov dword [ebp - 4], 2
xor ecx, ecx
mov ebx, dword [ebp - 0x50]
xor edx, edx
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x60]
test ebx, ebx
je 0x1002149a
nop dword [eax + eax]
imul ecx, ecx, 0x811c9dc5
lea eax, [ebp - 0x60]
cmp edi, 0x10
cmovae eax, esi
movsx eax, byte [eax + edx]
inc edx
xor ecx, eax
cmp edx, ebx
jb 0x10021480
mov edx, dword [ebp - 0x10]
push 0
push edx
push ecx
call fcn.10020fc0
mov dword [ebp - 4], 0xffffffff
cmp edi, 0x10
jb 0x100214d7
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x100214cd
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021523
push edi
push esi
call fcn.1004136f
add esp, 8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100211b0
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xb
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push dword [0x10070b78]
push str.____populated__i_netvars_n
call fcn.10004c90
add esp, 8
call fcn.10021650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3