Function at 0x101f29f
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 0x101f2e2
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 0x101f2e2
push edi
mov dword [0x1021920], 0x94
call esi
mov eax, dword [ebp + 8]
cmp eax, 0x29
ja case.default.0x101f2ee
jmp dword [eax*4 + 0x101f6e3]
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x101f6db
test byte [0x10219b8], 0x10
je case.default.0x101f2ee
cmp dword [0x1021924], 5
jb case.default.0x101f2ee
jmp 0x101f661
mov eax, dword [0x10219b8]
test al, 0x10
je case.default.0x101f2ee
test eax, 0x100
jmp 0x101f65f
mov eax, dword [0x10219b8]
test al, 0x10
je case.default.0x101f2ee
test eax, 0x100
je case.default.0x101f2ee
jmp 0x101f661
mov eax, dword [0x10219b8]
test eax, 0x100
je case.default.0x101f2ee
test al, 0x10
jmp 0x101f65f
test dword [0x10219b8], 0x110
je case.default.0x101f2ee
push 0x1002404
push 0x10023c8
push 0x1002390
push 0x80000002
call fcn.0101eee2
test eax, eax
jmp 0x101f34d
push 0x25
call fcn.0101f29f
test eax, eax
jne case.default.0x101f2ee
cmp byte [0x10219ba], bl
jne case.default.0x101f2ee
push 0x1002388
mov edi, 0x1002390
push edi
mov esi, 0x80000002
push esi
call fcn.0101ef95
test eax, eax
jne case.default.0x101f2ee
push 0x100237c
push 0x10023c8
push edi
push esi
jmp 0x101f393
call fcn.0101f0be
jmp 0x101f6db
cmp dword [0x1021930], 2
jne case.default.0x101f2ee
jmp 0x101f312
cmp byte [0x10219ba], bl
jne case.default.0x101f2ee
cmp dword [0x1021924], 5
jmp 0x101f65f
mov al, byte [0x10219ba]
cmp al, 3
je 0x101f428
cmp al, 2
jne case.default.0x101f2ee
cmp dword [0x1021924], 5
jne case.default.0x101f2ee
mov al, byte [0x10219b8]
test al, 2
je case.default.0x101f2ee
test al, al
js case.default.0x101f2ee
jmp 0x101f661
mov al, byte [0x10219ba]
cmp al, 3
je 0x101f460
cmp al, 2
jne case.default.0x101f2ee
cmp dword [0x1021924], 5
jne case.default.0x101f2ee
test byte [0x10219b8], 0x80
jmp 0x101f34d
mov al, byte [0x10219ba]
cmp al, 3
je 0x101f48a
cmp al, 2
jne case.default.0x101f2ee
test byte [0x10219b8], 0x82
jmp 0x101f405
mov eax, dword [0x10219b8]
and eax, 0x40
jmp 0x101f6db
xor eax, eax
cmp dword [0x1021930], ebx
sete al
jmp 0x101f6db
xor eax, eax
cmp dword [0x1021930], 2
jmp 0x101f4ab
cmp dword [0x1021930], ebx
jne case.default.0x101f2ee
cmp dword [0x1021924], 4
jmp 0x101f319
cmp dword [0x1021930], ebx
jne case.default.0x101f2ee
cmp dword [0x1021924], 4
jne case.default.0x101f2ee
cmp dword [0x1021928], 0
jne case.default.0x101f2ee
mov eax, 0x3b6
cmp word [0x102192c], ax
jmp 0x101f65f
cmp dword [0x1021930], ebx
jne case.default.0x101f2ee
mov eax, dword [0x1021924]
cmp eax, 4
ja 0x101f661
jne case.default.0x101f2ee
cmp dword [0x1021928], 0xa
jmp 0x101f319
cmp dword [0x1021930], ebx
jne case.default.0x101f2ee
cmp dword [0x1021924], 4
jne case.default.0x101f2ee
cmp dword [0x1021928], 0xa
jne case.default.0x101f2ee
mov eax, 0x7ce
jmp 0x101f501
cmp dword [0x1021930], ebx
jne case.default.0x101f2ee
mov eax, dword [0x1021924]
cmp eax, 4
jne 0x101f6d7
cmp dword [0x1021928], 0x5a
jae 0x101f661
cmp eax, eax
jmp 0x101f6d7
cmp dword [0x1021930], 2
jmp 0x101f4c4
cmp dword [0x1021930], 2
jne case.default.0x101f2ee
mov eax, dword [0x1021924]
cmp eax, 5
jmp 0x101f6cc
cmp dword [0x1021930], 2
jne case.default.0x101f2ee
test dword [0x10219b8], 0x200
jmp 0x101f34d
cmp dword [0x1021930], 2
jne case.default.0x101f2ee
cmp byte [0x10219ba], bl
jmp 0x101f65f
mov al, byte [0x10219ba]
cmp al, 3
je 0x101f46d
cmp al, 2
jmp 0x101f467
mov al, byte [0x10219ba]
cmp al, 3
je 0x101f435
cmp al, 2
jmp 0x101f42f
mov al, byte [0x10219ba]
cmp al, 3
je 0x101f624
cmp al, 2
jne case.default.0x101f2ee
mov eax, dword [0x10219b8]
test al, 0xa3
jne case.default.0x101f2ee
test eax, 0x400
jmp 0x101f65f
mov eax, dword [0x10219b8]
and eax, 0x400
jmp 0x101f6db
mov eax, dword [0x10219b8]
and eax, 0x20
jmp 0x101f6db
mov al, byte [0x10219ba]
cmp al, 3
je 0x101f661
cmp al, 2
jne case.default.0x101f2ee
mov eax, ebx
jmp 0x101f6db
xor eax, eax
cmp byte [0x10219ba], 2
jmp 0x101f4ab
call fcn.0101f11c
jmp 0x101f6db
call fcn.0101f1d7
jmp 0x101f6db
push 0x57
jmp 0x101f2fa
push 0x58
jmp 0x101f2fa
call fcn.0101f214
jmp 0x101f6db
call fcn.0101f17b
jmp 0x101f6db
cmp dword [0x1021930], 2
jne case.default.0x101f2ee
cmp dword [0x1021924], 6
jmp 0x101f319
push 0x1e
call fcn.0101f29f
jmp 0x101f6db
cmp dword [0x1021930], 2
jne case.default.0x101f2ee
mov eax, dword [0x1021924]
cmp eax, 6
ja 0x101f661
jne case.default.0x101f2ee
cmp dword [0x1021928], 0
ja 0x101f661
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4