Function at 0x101f99f
Capabilities:
Check os version
Persist via ginadll registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
inc ebx
cmp dword [0x10219bc], 0
push edi
jne 0x101f9e2
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, 0x1021920
push edi
mov dword [0x10219bc], ebx
mov dword [0x1021920], 0x9c
call esi
test eax, eax
jne 0x101f9e2
push edi
mov dword [0x1021920], 0x94
call esi
mov eax, dword [ebp + 8]
cmp eax, 0x29
ja case.default.0x101f9ee
jmp dword [eax*4 + 0x101fde3]
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x101fddb
test byte [0x10219b8], 0x10
je case.default.0x101f9ee
cmp dword [0x1021924], 5
jb case.default.0x101f9ee
jmp 0x101fd61
mov eax, dword [0x10219b8]
test al, 0x10
je case.default.0x101f9ee
test eax, 0x100
jmp 0x101fd5f
mov eax, dword [0x10219b8]
test al, 0x10
je case.default.0x101f9ee
test eax, 0x100
je case.default.0x101f9ee
jmp 0x101fd61
mov eax, dword [0x10219b8]
test eax, 0x100
je case.default.0x101f9ee
test al, 0x10
jmp 0x101fd5f
test dword [0x10219b8], 0x110
je case.default.0x101f9ee
push 0x1002404
push 0x10023c8
push 0x1002390
push 0x80000002
call fcn.0101f5e2
test eax, eax
jmp 0x101fa4d
push 0x25
call fcn.0101f99f
test eax, eax
jne case.default.0x101f9ee
cmp byte [0x10219ba], bl
jne case.default.0x101f9ee
push 0x1002388
mov edi, 0x1002390
push edi
mov esi, 0x80000002
push esi
call fcn.0101f695
test eax, eax
jne case.default.0x101f9ee
push 0x100237c
push 0x10023c8
push edi
push esi
jmp 0x101fa93
call fcn.0101f7be
jmp 0x101fddb
cmp dword [0x1021930], 2
jne case.default.0x101f9ee
jmp 0x101fa12
cmp byte [0x10219ba], bl
jne case.default.0x101f9ee
cmp dword [0x1021924], 5
jmp 0x101fd5f
mov al, byte [0x10219ba]
cmp al, 3
je 0x101fb28
cmp al, 2
jne case.default.0x101f9ee
cmp dword [0x1021924], 5
jne case.default.0x101f9ee
mov al, byte [0x10219b8]
test al, 2
je case.default.0x101f9ee
test al, al
js case.default.0x101f9ee
jmp 0x101fd61
mov al, byte [0x10219ba]
cmp al, 3
je 0x101fb60
cmp al, 2
jne case.default.0x101f9ee
cmp dword [0x1021924], 5
jne case.default.0x101f9ee
test byte [0x10219b8], 0x80
jmp 0x101fa4d
mov al, byte [0x10219ba]
cmp al, 3
je 0x101fb8a
cmp al, 2
jne case.default.0x101f9ee
test byte [0x10219b8], 0x82
jmp 0x101fb05
mov eax, dword [0x10219b8]
and eax, 0x40
jmp 0x101fddb
xor eax, eax
cmp dword [0x1021930], ebx
sete al
jmp 0x101fddb
xor eax, eax
cmp dword [0x1021930], 2
jmp 0x101fbab
cmp dword [0x1021930], ebx
jne case.default.0x101f9ee
cmp dword [0x1021924], 4
jmp 0x101fa19
cmp dword [0x1021930], ebx
jne case.default.0x101f9ee
cmp dword [0x1021924], 4
jne case.default.0x101f9ee
cmp dword [0x1021928], 0
jne case.default.0x101f9ee
mov eax, 0x3b6
cmp word [0x102192c], ax
jmp 0x101fd5f
cmp dword [0x1021930], ebx
jne case.default.0x101f9ee
mov eax, dword [0x1021924]
cmp eax, 4
ja 0x101fd61
jne case.default.0x101f9ee
cmp dword [0x1021928], 0xa
jmp 0x101fa19
cmp dword [0x1021930], ebx
jne case.default.0x101f9ee
cmp dword [0x1021924], 4
jne case.default.0x101f9ee
cmp dword [0x1021928], 0xa
jne case.default.0x101f9ee
mov eax, 0x7ce
jmp 0x101fc01
cmp dword [0x1021930], ebx
jne case.default.0x101f9ee
mov eax, dword [0x1021924]
cmp eax, 4
jne 0x101fdd7
cmp dword [0x1021928], 0x5a
jae 0x101fd61
cmp eax, eax
jmp 0x101fdd7
cmp dword [0x1021930], 2
jmp 0x101fbc4
cmp dword [0x1021930], 2
jne case.default.0x101f9ee
mov eax, dword [0x1021924]
cmp eax, 5
jmp 0x101fdcc
cmp dword [0x1021930], 2
jne case.default.0x101f9ee
test dword [0x10219b8], 0x200
jmp 0x101fa4d
cmp dword [0x1021930], 2
jne case.default.0x101f9ee
cmp byte [0x10219ba], bl
jmp 0x101fd5f
mov al, byte [0x10219ba]
cmp al, 3
je 0x101fb6d
cmp al, 2
jmp 0x101fb67
mov al, byte [0x10219ba]
cmp al, 3
je 0x101fb35
cmp al, 2
jmp 0x101fb2f
mov al, byte [0x10219ba]
cmp al, 3
je 0x101fd24
cmp al, 2
jne case.default.0x101f9ee
mov eax, dword [0x10219b8]
test al, 0xa3
jne case.default.0x101f9ee
test eax, 0x400
jmp 0x101fd5f
mov eax, dword [0x10219b8]
and eax, 0x400
jmp 0x101fddb
mov eax, dword [0x10219b8]
and eax, 0x20
jmp 0x101fddb
mov al, byte [0x10219ba]
cmp al, 3
je 0x101fd61
cmp al, 2
jne case.default.0x101f9ee
mov eax, ebx
jmp 0x101fddb
xor eax, eax
cmp byte [0x10219ba], 2
jmp 0x101fbab
call fcn.0101f81c
jmp 0x101fddb
call fcn.0101f8d7
jmp 0x101fddb
push 0x57
jmp 0x101f9fa
push 0x58
jmp 0x101f9fa
call fcn.0101f914
jmp 0x101fddb
call fcn.0101f87b
jmp 0x101fddb
cmp dword [0x1021930], 2
jne case.default.0x101f9ee
cmp dword [0x1021924], 6
jmp 0x101fa19
push 0x1e
call fcn.0101f99f
jmp 0x101fddb
cmp dword [0x1021930], 2
jne case.default.0x101f9ee
mov eax, dword [0x1021924]
cmp eax, 6
ja 0x101fd61
jne case.default.0x101f9ee
cmp dword [0x1021928], 0
ja 0x101fd61
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4