Function at 0x101b8d2
Capabilities:
Get system information on windows

Disassembly:
push 0x968
mov eax, 0x102d66a
call fcn.01029310
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x950], ecx
lea ecx, [ebp - 0x82c]
call fcn.0101b0cd
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.0101b6e8
test al, al
je 0x101b95a
cmp dword [ebp - 0x814], 8
mov eax, dword [ebp - 0x828]
jae 0x101b941
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.0101cfee
lea eax, [ebp - 0x948]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, 0x800
mov edi, 0x100399c
test eax, eax
jne 0x101b9a5
push 0x4102
call fcn.01027916
test eax, eax
je 0x101bd46
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1003910
push 0x4102
call fcn.010279c4
add esp, 0xc
jmp 0x101bd46
push dword [ebp - 0x93c]
lea eax, [ebp - 0x810]
push dword [ebp - 0x940]
push dword [ebp - 0x944]
push 0x10038f8
push esi
push eax
call fcn.0101a37a
lea eax, [ebp - 0x810]
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101b9d5
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.0101cfee
lea eax, [ebp - 0x934]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101ba05
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.0101cfee
push dword [ebp - 0x944]
lea eax, [ebp - 0x810]
push edi
push esi
push eax
call fcn.0101a37a
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101ba4c
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.0101cfee
push dword [ebp - 0x940]
lea eax, [ebp - 0x810]
push edi
push esi
push eax
call fcn.0101a37a
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101ba93
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.0101cfee
push dword [ebp - 0x93c]
lea eax, [ebp - 0x810]
push edi
push esi
push eax
call fcn.0101a37a
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101bada
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.0101cfee
push dword [ebp - 0x938]
lea eax, [ebp - 0x810]
push edi
push esi
push eax
call fcn.0101a37a
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101bb21
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.0101cfee
movzx eax, word [ebp - 0x834]
push eax
push edi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.0101a37a
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101bb6a
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.0101cfee
movzx eax, word [ebp - 0x832]
push eax
push edi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.0101a37a
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101bbb3
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.0101cfee
movzx eax, word [ebp - 0x830]
push eax
push edi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.0101a37a
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101bbfc
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.0101cfee
movzx eax, byte [ebp - 0x82e]
push eax
push edi
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.0101a37a
lea eax, [ebp - 0x810]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101bc45
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.0101cfee
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 0x10038dc
mov dword [eax + 0x11c], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x101bcff
push 0x10038cc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x101bcff
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 0x101bcff
push 0x4102
call fcn.01027916
test eax, eax
je 0x101bcf8
push 0x1003848
push 0x4102
call fcn.010279c4
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.0101a37a
lea eax, [ebp - 0x810]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101bd1f
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.0101cfee
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.0101a37a
lea eax, [ebp - 0x810]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101bd75
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.0101cfee
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x82c]
call fcn.01019504
call fcn.010293a2
ret 4