Function at 0x1001b460
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 0x100cf543
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x218
mov eax, dword [0x10105230]
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 [0x10105e0c], 0
jne 0x1001bb06
movaps xmm0, xmmword [0x100efce0]
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], 0x1619013a
mov dword [ebp - 0xa4], 0x70611
nop
mov al, byte [ebp + ecx - 0xb7]
xor al, byte [ebp - 0xb8]
mov byte [ebp + ecx - 0xa0], al
inc ecx
cmp ecx, 0x16
jb 0x1001b500
xor eax, eax
mov dword [ebp - 0x6c], 0x150005
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x70], 0x1f0071
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6e]
xor eax, ecx
mov dword [ebp - 0x68], 0x1d001d
mov word [ebp - 0x5a], ax
mov eax, dword [ebp - 0x6c]
xor eax, ecx
mov dword [ebp - 0x64], 0x15005f
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x6a]
xor eax, ecx
mov dword [ebp - 0x60], 0x1d001d
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 0x1001b606
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 0x1001b6df
mov eax, dword [ebp - 0x1fc]
mov byte [ebp - 0x1e], 0
test eax, eax
je 0x1001b67f
mov ch, 0x2b
mov dword [ebp - 0x24], 0x74736d1a
mov cl, 0x1a
mov word [ebp - 0x20], 0x2b2b
mov al, 0x6d
mov dl, 0x73
mov ah, 0x74
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 0x1001b670
lea eax, [ebp - 0x1d]
jmp 0x1001baf1
mov cl, 0x29
mov dword [ebp - 0x24], 0x47405e29
mov dl, 0x5e
mov word [ebp - 0x20], 0x1918
mov ah, 0x40
mov ch, 0x47
mov dh, 0x18
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 0x1001b6d0
lea eax, [ebp - 0x1d]
jmp 0x1001baf1
cmp eax, 6
jne 0x1001b7ac
mov eax, dword [ebp - 0x1fc]
cmp eax, 2
jne 0x1001b744
mov cl, 0x4a
mov dword [ebp - 0x24], 0x24233d4a
mov dl, 0x3d
mov word [ebp - 0x20], 0x72
mov ah, 0x23
mov ch, 0x24
mov dh, 0x72
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 0x1001b735
lea eax, [ebp - 0x1e]
jmp 0x1001baf1
cmp eax, 3
jne 0x1001b7ac
mov cl, 0x47
mov dword [ebp - 0x28], 0x292e3047
mov dl, 0x30
mov dword [ebp - 0x24], 0x76697f
mov ah, 0x2e
mov ch, 0x29
mov dh, 0x7f
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 0x1001b7a0
jmp 0x1001baee
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 0x1001ba94
cmp dword [ebp - 0x1ec], 6
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f4], ecx
jne 0x1001b843
cmp ecx, 1
jne 0x1001b843
mov cl, 0x4e
mov dword [ebp - 0x24], 0x2027394e
mov dl, 0x39
mov word [ebp - 0x20], 0x79
mov ah, 0x27
mov ch, 0x20
mov dh, 0x79
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 0x1001b834
lea eax, [ebp - 0x1e]
jmp 0x1001baf1
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 0x1001b846
push ecx
lea eax, [ebp - 0x17]
push eax
push esi
lea ecx, [ebp - 0x60]
call fcn.10020550
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 0x1001b8a0
push ecx
lea eax, [ebp - 0x2f]
push eax
push esi
lea ecx, [ebp - 0x88]
call fcn.10020550
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 0x1001b918
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 0x1001b932
push 1
push 0x100ec350
push dword [ebp - 0x1f8]
lea ecx, [ebp - 0x88]
push 1
call fcn.10008d20
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.10008b20
lea eax, [ebp - 0xa4]
mov ecx, 0x10105dfc
push eax
call fcn.10003560
mov ecx, dword [ebp - 0x90]
cmp ecx, 0x10
jb 0x1001b9c5
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b9bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bb32
push ecx
push edx
call fcn.1009517b
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0x10
jb 0x1001ba03
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b9f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bb32
push ecx
push edx
call fcn.1009517b
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x1001ba3e
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ba34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bb32
push ecx
push edx
call fcn.1009517b
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 0x1001bb06
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ba88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bb32
push ecx
push edx
call fcn.1009517b
add esp, 8
jmp 0x1001bb06
mov ah, 0xe
mov dword [ebp - 0x28], 0xb0e1560
mov cl, 0x60
mov dword [ebp - 0x24], 0x170f0e
mov dl, 0x15
mov ch, 0xb
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 0x1001bae7
lea eax, [ebp - 0x20]
sub ecx, edx
push ecx
push eax
mov ecx, 0x10105dfc
call fcn.10008f60
mov dword [ebp - 4], 0xffffffff
push 0x10105dfc
mov ecx, edi
call fcn.10003430
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.10094e23
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100a129f
int3