Function at 0x101b40f
Capabilities:
Get system information on windows

Disassembly:
push 0x968
mov eax, 0x102ce4c
call fcn.01028c7a
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x950], ecx
lea ecx, [ebp - 0x82c]
call fcn.0101abfb
and dword [ebp - 4], 0
mov esi, 0x11c
push esi
lea eax, [ebp - 0x948]
push 0
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [ebp - 0x950]
add esp, 0xc
lea eax, [ebp - 0x82c]
push eax
mov dword [ebp - 0x948], esi
call fcn.0101b225
test al, al
je 0x101b497
cmp dword [ebp - 0x814], 8
mov eax, dword [ebp - 0x828]
jae 0x101b47e
lea eax, [ebp - 0x828]
mov ecx, dword [ebp - 0x818]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push 0x1002860
push ebx
call fcn.0101cb2b
lea eax, [ebp - 0x948]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, 0x800
mov edi, 0x100395c
test eax, eax
jne 0x101b4e2
push 0x4102
call fcn.0102728b
test eax, eax
je 0x101b883
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10038d0
push 0x4102
call fcn.01027339
add esp, 0xc
jmp 0x101b883
push dword [ebp - 0x93c]
lea eax, [ebp - 0x810]
push dword [ebp - 0x940]
push dword [ebp - 0x944]
push 0x10038b8
push esi
push eax
call fcn.01019eb7
lea eax, [ebp - 0x810]
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101b512
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x810]
push eax
push 1
push 0x1002870
push ebx
call fcn.0101cb2b
lea eax, [ebp - 0x934]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101b542
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x934]
push eax
push 1
push 0x1002944
push ebx
call fcn.0101cb2b
push dword [ebp - 0x944]
lea eax, [ebp - 0x810]
push edi
push esi
push eax
call fcn.01019eb7
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101b589
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x810]
push eax
push 1
push 0x1002884
push ebx
call fcn.0101cb2b
push dword [ebp - 0x940]
lea eax, [ebp - 0x810]
push edi
push esi
push eax
call fcn.01019eb7
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101b5d0
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x810]
push eax
push 1
push 0x10028a4
push ebx
call fcn.0101cb2b
push dword [ebp - 0x93c]
lea eax, [ebp - 0x810]
push edi
push esi
push eax
call fcn.01019eb7
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101b617
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x810]
push eax
push 1
push 0x10028c4
push ebx
call fcn.0101cb2b
push dword [ebp - 0x938]
lea eax, [ebp - 0x810]
push edi
push esi
push eax
call fcn.01019eb7
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101b65e
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x810]
push eax
push 1
push 0x10028e0
push ebx
call fcn.0101cb2b
movzx eax, word [ebp - 0x834]
push eax
push edi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.01019eb7
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101b6a7
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x810]
push eax
push 1
push 0x10028fc
push ebx
call fcn.0101cb2b
movzx eax, word [ebp - 0x832]
push eax
push edi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.01019eb7
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101b6f0
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x810]
push eax
push 1
push 0x1002920
push ebx
call fcn.0101cb2b
movzx eax, word [ebp - 0x830]
push eax
push edi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.01019eb7
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101b739
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x810]
push eax
push 1
push 0x100295c
push ebx
call fcn.0101cb2b
movzx eax, byte [ebp - 0x82e]
push eax
push edi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.01019eb7
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101b782
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x810]
push eax
push 1
push 0x1002970
push ebx
call fcn.0101cb2b
mov ecx, dword [ebp - 0x944]
mov eax, dword [ebp - 0x950]
and dword [ebp - 0x94c], 0
mov dword [eax + 0x118], ecx
mov ecx, dword [ebp - 0x940]
push 0x100389c
mov dword [eax + 0x11c], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x101b83c
push 0x100388c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x101b83c
lea ecx, [ebp - 0x94c]
push ecx
movzx ecx, word [ebp - 0x832]
push ecx
movzx ecx, word [ebp - 0x834]
push ecx
push dword [ebp - 0x940]
push dword [ebp - 0x944]
call eax
test eax, eax
jne 0x101b83c
push 0x4102
call fcn.0102728b
test eax, eax
je 0x101b835
push 0x1003808
push 0x4102
call fcn.01027339
pop ecx
pop ecx
and dword [ebp - 0x94c], 0
push dword [ebp - 0x94c]
lea eax, [ebp - 0x810]
push edi
push esi
push eax
call fcn.01019eb7
lea eax, [ebp - 0x810]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101b85c
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x810]
push eax
push 1
push 0x1002a44
push ebx
call fcn.0101cb2b
lea eax, [ebp - 0x974]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x974]
push eax
push edi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.01019eb7
lea eax, [ebp - 0x810]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101b8b2
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x810]
push eax
push 1
push 0x1002988
push ebx
call fcn.0101cb2b
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x82c]
call fcn.01018fd4
call fcn.01028d0c
ret 4