Function at 0x10162b1b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0x24
call fcn.10207bab
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 9
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
push 0
mov ebx, 0x350
call fcn.10208980
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10162bda
push 0x13
push 0x43e92f8
push 6
call fcn.10207bbd
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x10162bee
push 0
call fcn.10207bdb
add esp, 4
mov dword [ebp - 0x3c], esp
push 0x30
push 0x40
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10162c21
push 0x91
push 0x43e92f8
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x3c], esp
lea eax, [ebp - 0x10]
push eax
push 0x30
push dword [ebp - 0xc]
push 3
xor eax, eax
call dword [0x104a6ccf]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10162c5e
push 0xd0
push 0x43e92f8
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10162c75
mov eax, 0xffffffff
jmp 0x10163064
fild dword [ebp - 0xc]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x1025f51b]
fstp qword [ebp - 0x48]
push 0x80000301
push 0
push 8
fld qword [ebp - 0x48]
call fcn.10004204
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.102090b0
add esp, 0x1c
mov dword [ebp - 0x4c], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 4
push htons
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x10162cdd
mov eax, 0x1024f2fe
push eax
push 3
mov ebx, 0x19c
call fcn.10209490
add esp, 0x28
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x10162d09
push ebx
call fcn.10207bb1
add esp, 4
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
cmp ecx, 0x80000101
jne 0x10162d21
and eax, 0xff
jmp 0x10162d47
cmp ecx, 0x80000201
jne 0x10162d2c
cwde
jmp 0x10162d47
mov dword [ebp - 0x60], eax
cmp ecx, 0x80000301
je 0x10162d4a
cmp ecx, 0x80000401
jne 0x10162d4f
mov dword [ebp - 0x5c], edx
fild qword [ebp - 0x60]
jmp 0x10162d7b
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
jmp 0x10162d7b
cmp ecx, 0x80000501
jne 0x10162d5c
fld dword [ebp - 0x60]
jmp 0x10162d7b
cmp ecx, 0x80000601
je 0x10162d84
push 0x195
push 0x43e92f8
push 2
call fcn.10207bbd
add esp, 0xc
fstp qword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x3c], esp
push 0x158
push 0x40
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10162dbd
push 0x1e3
push 0x43e92f8
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], esp
lea eax, [ebp - 0x10]
push eax
push 0x158
push dword [ebp - 0x1c]
push 2
xor eax, eax
call dword [0x104a6ccf]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10162dfa
push 0x222
push 0x43e92f8
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10162e11
mov eax, 0xffffffff
jmp 0x10163064
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 2
mov ebx, 0x910
call fcn.102090b0
add esp, 0x1c
mov dword [ebp - 0x3c], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 4
push htons
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x10162e61
mov eax, 0x1024f2fe
push eax
push 3
mov ebx, 0x19c
call fcn.10209490
add esp, 0x28
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10162e8d
push ebx
call fcn.10207bb1
add esp, 4
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
cmp ecx, 0x80000101
jne 0x10162ea5
and eax, 0xff
jmp 0x10162ecb
cmp ecx, 0x80000201
jne 0x10162eb0
cwde
jmp 0x10162ecb
mov dword [ebp - 0x50], eax
cmp ecx, 0x80000301
je 0x10162ece
cmp ecx, 0x80000401
jne 0x10162ed3
mov dword [ebp - 0x4c], edx
fild qword [ebp - 0x50]
jmp 0x10162eff
mov dword [ebp - 0x50], eax
fild dword [ebp - 0x50]
jmp 0x10162eff
cmp ecx, 0x80000501
jne 0x10162ee0
fld dword [ebp - 0x50]
jmp 0x10162eff
cmp ecx, 0x80000601
je 0x10162f08
push 0x2d5
push 0x43e92f8
push 2
call fcn.10207bbd
add esp, 0xc
fstp qword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
fld qword [ebp - 0x24]
fsub qword [0x104a69bf]
fstp qword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
fld qword [ebp - 0x18]
fsub qword [0x104a69c7]
fstp qword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x2c]
fdiv qword [ebp - 0x34]
fstp qword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
fld qword [ebp - 0x2c]
fmul qword [0x103c68fa]
fstp qword [ebp - 0x40]
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0x44], ebx
fld qword [ebp - 0x40]
mov ebx, dword [ebp - 0x44]
fild dword [ebx]
fstp qword [ebp - 0x4c]
fdiv qword [ebp - 0x4c]
fstp qword [ebp - 0x54]
fld qword [0x103c68fa]
fsub qword [ebp - 0x54]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fadd qword [0x1027d5cc]
fstp qword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
fld qword [ebp - 0x2c]
call fcn.10004204
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov dword [0x104a69bf], eax
mov dword [0x104a69c3], edx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [0x104a69c7], eax
mov dword [0x104a69cb], edx
cmp dword [ebp - 0x38], 0
jg 0x10162fe0
mov dword [ebp - 0x38], 1
jmp 0x10163004
cmp dword [ebp - 0x38], 0x64
mov eax, 0
setge al
test eax, eax
je 0x10162ffe
mov eax, 0x64
jmp 0x10163001
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10163030
push 0x568
push 0x43e92f8
push 6
call fcn.10207bbd
add esp, 0xc
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x1016305c
push 0x582
push 0x43e92f8
push 6
call fcn.10207bbd
add esp, 0xc
mov eax, dword [ebp - 0x38]
jmp 0x10163064
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.10207bb1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret