Function at 0x101f7bf
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 0x101f802
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 0x101f802
push edi
mov dword [0x1021920], 0x94
call esi
mov eax, dword [ebp + 8]
cmp eax, 0x29
ja case.default.0x101f80e
jmp dword [eax*4 + 0x101fc03]
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x101fbfb
test byte [0x10219b8], 0x10
je case.default.0x101f80e
cmp dword [0x1021924], 5
jb case.default.0x101f80e
jmp 0x101fb81
mov eax, dword [0x10219b8]
test al, 0x10
je case.default.0x101f80e
test eax, 0x100
jmp 0x101fb7f
mov eax, dword [0x10219b8]
test al, 0x10
je case.default.0x101f80e
test eax, 0x100
je case.default.0x101f80e
jmp 0x101fb81
mov eax, dword [0x10219b8]
test eax, 0x100
je case.default.0x101f80e
test al, 0x10
jmp 0x101fb7f
test dword [0x10219b8], 0x110
je case.default.0x101f80e
push 0x1002404
push 0x10023c8
push 0x1002390
push 0x80000002
call fcn.0101f402
test eax, eax
jmp 0x101f86d
push 0x25
call fcn.0101f7bf
test eax, eax
jne case.default.0x101f80e
cmp byte [0x10219ba], bl
jne case.default.0x101f80e
push 0x1002388
mov edi, 0x1002390
push edi
mov esi, 0x80000002
push esi
call fcn.0101f4b5
test eax, eax
jne case.default.0x101f80e
push 0x100237c
push 0x10023c8
push edi
push esi
jmp 0x101f8b3
call fcn.0101f5de
jmp 0x101fbfb
cmp dword [0x1021930], 2
jne case.default.0x101f80e
jmp 0x101f832
cmp byte [0x10219ba], bl
jne case.default.0x101f80e
cmp dword [0x1021924], 5
jmp 0x101fb7f
mov al, byte [0x10219ba]
cmp al, 3
je 0x101f948
cmp al, 2
jne case.default.0x101f80e
cmp dword [0x1021924], 5
jne case.default.0x101f80e
mov al, byte [0x10219b8]
test al, 2
je case.default.0x101f80e
test al, al
js case.default.0x101f80e
jmp 0x101fb81
mov al, byte [0x10219ba]
cmp al, 3
je 0x101f980
cmp al, 2
jne case.default.0x101f80e
cmp dword [0x1021924], 5
jne case.default.0x101f80e
test byte [0x10219b8], 0x80
jmp 0x101f86d
mov al, byte [0x10219ba]
cmp al, 3
je 0x101f9aa
cmp al, 2
jne case.default.0x101f80e
test byte [0x10219b8], 0x82
jmp 0x101f925
mov eax, dword [0x10219b8]
and eax, 0x40
jmp 0x101fbfb
xor eax, eax
cmp dword [0x1021930], ebx
sete al
jmp 0x101fbfb
xor eax, eax
cmp dword [0x1021930], 2
jmp 0x101f9cb
cmp dword [0x1021930], ebx
jne case.default.0x101f80e
cmp dword [0x1021924], 4
jmp 0x101f839
cmp dword [0x1021930], ebx
jne case.default.0x101f80e
cmp dword [0x1021924], 4
jne case.default.0x101f80e
cmp dword [0x1021928], 0
jne case.default.0x101f80e
mov eax, 0x3b6
cmp word [0x102192c], ax
jmp 0x101fb7f
cmp dword [0x1021930], ebx
jne case.default.0x101f80e
mov eax, dword [0x1021924]
cmp eax, 4
ja 0x101fb81
jne case.default.0x101f80e
cmp dword [0x1021928], 0xa
jmp 0x101f839
cmp dword [0x1021930], ebx
jne case.default.0x101f80e
cmp dword [0x1021924], 4
jne case.default.0x101f80e
cmp dword [0x1021928], 0xa
jne case.default.0x101f80e
mov eax, 0x7ce
jmp 0x101fa21
cmp dword [0x1021930], ebx
jne case.default.0x101f80e
mov eax, dword [0x1021924]
cmp eax, 4
jne 0x101fbf7
cmp dword [0x1021928], 0x5a
jae 0x101fb81
cmp eax, eax
jmp 0x101fbf7
cmp dword [0x1021930], 2
jmp 0x101f9e4
cmp dword [0x1021930], 2
jne case.default.0x101f80e
mov eax, dword [0x1021924]
cmp eax, 5
jmp 0x101fbec
cmp dword [0x1021930], 2
jne case.default.0x101f80e
test dword [0x10219b8], 0x200
jmp 0x101f86d
cmp dword [0x1021930], 2
jne case.default.0x101f80e
cmp byte [0x10219ba], bl
jmp 0x101fb7f
mov al, byte [0x10219ba]
cmp al, 3
je 0x101f98d
cmp al, 2
jmp 0x101f987
mov al, byte [0x10219ba]
cmp al, 3
je 0x101f955
cmp al, 2
jmp 0x101f94f
mov al, byte [0x10219ba]
cmp al, 3
je 0x101fb44
cmp al, 2
jne case.default.0x101f80e
mov eax, dword [0x10219b8]
test al, 0xa3
jne case.default.0x101f80e
test eax, 0x400
jmp 0x101fb7f
mov eax, dword [0x10219b8]
and eax, 0x400
jmp 0x101fbfb
mov eax, dword [0x10219b8]
and eax, 0x20
jmp 0x101fbfb
mov al, byte [0x10219ba]
cmp al, 3
je 0x101fb81
cmp al, 2
jne case.default.0x101f80e
mov eax, ebx
jmp 0x101fbfb
xor eax, eax
cmp byte [0x10219ba], 2
jmp 0x101f9cb
call fcn.0101f63c
jmp 0x101fbfb
call fcn.0101f6f7
jmp 0x101fbfb
push 0x57
jmp 0x101f81a
push 0x58
jmp 0x101f81a
call fcn.0101f734
jmp 0x101fbfb
call fcn.0101f69b
jmp 0x101fbfb
cmp dword [0x1021930], 2
jne case.default.0x101f80e
cmp dword [0x1021924], 6
jmp 0x101f839
push 0x1e
call fcn.0101f7bf
jmp 0x101fbfb
cmp dword [0x1021930], 2
jne case.default.0x101f80e
mov eax, dword [0x1021924]
cmp eax, 6
ja 0x101fb81
jne case.default.0x101f80e
cmp dword [0x1021928], 0
ja 0x101fb81
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4