Function at 0x1001a920
Capabilities:
Check os version
Encode data using xor
Get system information on windows

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 0x100c9703
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x218
mov eax, dword [0x100fd230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1f8], edi
mov dword [ebp - 0x1f8], edi
cmp dword [0x100fde0c], 0
jne 0x1001afc6
movaps xmm0, xmmword [0x100e8d60]
xor ecx, ecx
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa8], 0x2728300b
mov dword [ebp - 0xa4], 0x363720
nop
mov al, byte [ebp + ecx - 0xb7]
xor al, byte [ebp - 0xb8]
mov byte [ebp + ecx - 0xa0], al
inc ecx
cmp ecx, 0x16
jb 0x1001a9c0
xor eax, eax
mov dword [ebp - 0x6c], 0x450055
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x70], 0x4f0021
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6e]
xor eax, ecx
mov dword [ebp - 0x68], 0x4d004d
mov word [ebp - 0x5a], ax
mov eax, dword [ebp - 0x6c]
xor eax, ecx
mov dword [ebp - 0x64], 0x45000f
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x6a]
xor eax, ecx
mov dword [ebp - 0x60], 0x4d004d
mov word [ebp - 0x56], ax
mov eax, dword [ebp - 0x68]
xor eax, ecx
mov byte [ebp - 0x8a], 0
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x66]
xor eax, ecx
mov word [ebp - 0x52], ax
mov eax, dword [ebp - 0x64]
xor eax, ecx
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x62]
xor eax, ecx
mov word [ebp - 0x4e], ax
mov eax, dword [ebp - 0x60]
xor eax, ecx
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x5e]
xor eax, ecx
mov word [ebp - 0x4a], ax
xor eax, eax
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x5a]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0xa0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x5e], 0
xorps xmm0, xmm0
mov dword [ebp - 0xa7], 0
mov word [ebp - 0xa3], 0
mov byte [ebp - 0xa1], 0
movups xmmword [ebp - 0x6e], xmm0
movups xmmword [ebp - 0xb7], xmm0
test eax, eax
je 0x1001aac6
lea ecx, [ebp - 0x1f8]
push ecx
lea ecx, [ebp - 0x1fc]
push ecx
lea ecx, [ebp - 0x200]
push ecx
call eax
mov eax, dword [ebp - 0x200]
cmp eax, 0xa
jne 0x1001ab9f
mov eax, dword [ebp - 0x1fc]
mov byte [ebp - 0x1e], 0
test eax, eax
je 0x1001ab3f
mov ch, 0x52
mov dword [ebp - 0x24], 0xd0a1463
mov cl, 0x63
mov word [ebp - 0x20], 0x5252
mov al, 0x14
mov dl, 0xa
mov ah, 0xd
mov dh, ch
xor al, cl
mov dword [ebp - 4], 0
mov byte [ebp - 0x1d], al
mov al, cl
xor al, dl
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x1c], al
mov al, cl
xor al, ah
mov byte [ebp - 0x1b], al
mov al, cl
xor al, ch
xor cl, dh
mov byte [ebp - 0x19], cl
lea ecx, [ebp - 0x1d]
mov byte [ebp - 0x1a], al
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001ab30
lea eax, [ebp - 0x1d]
jmp 0x1001afb1
mov cl, 0x4b
mov dword [ebp - 0x24], 0x25223c4b
mov dl, 0x3c
mov word [ebp - 0x20], 0x7b7a
mov ah, 0x22
mov ch, 0x25
mov dh, 0x7a
mov dword [ebp - 4], 1
mov al, cl
xor al, dl
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x1d], al
mov al, cl
xor al, ah
mov byte [ebp - 0x1c], al
mov al, cl
xor al, ch
mov byte [ebp - 0x1b], al
mov al, cl
xor al, dh
xor cl, byte [ebp - 0x1f]
mov byte [ebp - 0x19], cl
lea ecx, [ebp - 0x1d]
mov byte [ebp - 0x1a], al
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001ab90
lea eax, [ebp - 0x1d]
jmp 0x1001afb1
cmp eax, 6
jne 0x1001ac6c
mov eax, dword [ebp - 0x1fc]
cmp eax, 2
jne 0x1001ac04
mov cl, 0x7d
mov dword [ebp - 0x24], 0x13140a7d
mov dl, 0xa
mov word [ebp - 0x20], 0x45
mov ah, 0x14
mov ch, 0x13
mov dh, 0x45
mov al, cl
mov dword [ebp - 4], 2
xor al, dl
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x1e], al
mov al, cl
xor al, ah
mov byte [ebp - 0x1d], al
mov al, cl
xor al, ch
xor cl, dh
mov byte [ebp - 0x1b], cl
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x1c], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001abf5
lea eax, [ebp - 0x1e]
jmp 0x1001afb1
cmp eax, 3
jne 0x1001ac6c
mov cl, 0x15
mov dword [ebp - 0x28], 0x7b7c6215
mov dl, 0x62
mov dword [ebp - 0x24], 0x243b2d
mov ah, 0x7c
mov ch, 0x7b
mov dh, 0x2d
mov dword [ebp - 4], 3
mov al, cl
xor al, dl
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x20], al
mov al, cl
xor al, ah
mov byte [ebp - 0x1f], al
mov al, cl
xor al, ch
mov byte [ebp - 0x1e], al
mov al, cl
xor al, dh
mov byte [ebp - 0x1d], al
mov al, cl
xor al, byte [ebp - 0x23]
xor cl, byte [ebp - 0x22]
mov byte [ebp - 0x1b], cl
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1c], al
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001ac60
jmp 0x1001afae
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x1f0], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1001af54
cmp dword [ebp - 0x1ec], 6
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f4], ecx
jne 0x1001ad03
cmp ecx, 1
jne 0x1001ad03
mov cl, 0x3e
mov dword [ebp - 0x24], 0x5057493e
mov dl, 0x49
mov word [ebp - 0x20], 9
mov ah, 0x57
mov ch, 0x50
mov dh, 9
mov al, cl
mov dword [ebp - 4], 4
xor al, dl
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x1e], al
mov al, cl
xor al, ah
mov byte [ebp - 0x1d], al
mov al, cl
xor al, ch
xor cl, dh
mov byte [ebp - 0x1b], cl
lea ecx, [ebp - 0x1e]
mov byte [ebp - 0x1c], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001acf4
lea eax, [ebp - 0x1e]
jmp 0x1001afb1
lea esi, [ebp - 0x17]
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x1f4]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x1f4], eax
test eax, eax
jne 0x1001ad06
push ecx
lea eax, [ebp - 0x17]
push eax
push esi
lea ecx, [ebp - 0x60]
call fcn.1001e050
mov dword [ebp - 4], 5
lea esi, [ebp - 0x2f]
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f4], ecx
nop word [eax + eax]
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x1f4]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x1f4], eax
test eax, eax
jne 0x1001ad60
push ecx
lea eax, [ebp - 0x2f]
push eax
push esi
lea ecx, [ebp - 0x88]
call fcn.1001e050
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x74]
mov eax, edx
mov ecx, dword [ebp - 0x78]
sub eax, ecx
cmp eax, 1
jb 0x1001add8
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
mov word [eax + ecx], 0x2e
lea eax, [ebp - 0x88]
jmp 0x1001adf2
push 1
push 0x100e5320
push dword [ebp - 0x1f8]
lea ecx, [ebp - 0x88]
push 1
call fcn.10008b40
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc0], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0xa4]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 7
push eax
push dword [ebp - 0x1f8]
call fcn.10008940
lea eax, [ebp - 0xa4]
mov ecx, 0x100fddfc
push eax
call fcn.100033d0
mov ecx, dword [ebp - 0x90]
cmp ecx, 0x10
jb 0x1001ae85
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ae7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001aff2
push ecx
push edx
call fcn.1008f79d
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0x10
jb 0x1001aec3
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001aeb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001aff2
push ecx
push edx
call fcn.1008f79d
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x1001aefe
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001aef4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001aff2
push ecx
push edx
call fcn.1008f79d
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp ecx, 0x10
jb 0x1001afc6
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001af48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001aff2
push ecx
push edx
call fcn.1008f79d
add esp, 8
jmp 0x1001afc6
mov ah, 0x49
mov dword [ebp - 0x28], 0x4c495227
mov cl, 0x27
mov dword [ebp - 0x24], 0x504849
mov dl, 0x52
mov ch, 0x4c
mov dh, ah
mov dword [ebp - 4], 8
mov al, cl
xor al, dl
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x20], al
mov al, cl
xor al, ah
mov byte [ebp - 0x1f], al
mov al, cl
xor al, ch
mov byte [ebp - 0x1e], al
mov al, cl
xor al, dh
mov byte [ebp - 0x1d], al
mov al, cl
xor al, byte [ebp - 0x23]
xor cl, byte [ebp - 0x22]
mov byte [ebp - 0x1b], cl
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x1c], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001afa7
lea eax, [ebp - 0x20]
sub ecx, edx
push ecx
push eax
mov ecx, 0x100fddfc
call fcn.10008d80
mov dword [ebp - 4], 0xffffffff
push 0x100fddfc
mov ecx, edi
call fcn.100032a0
mov eax, edi
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.1008f445
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1009b8bf
int3