Function at 0x13750
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x1c
call fcn.00015d02
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
push 8
call fcn.00015d02
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x24], 0
push 0x18
call fcn.00015d02
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0x10
push dword [ebp - 4]
call fcn.00013424
mov dword [ebp - 8], eax
mov eax, 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push 0x10
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xc0000004
jne 0x13858
fild dword [ebp - 4]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fmul qword [0x19353]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.00013729
mov dword [ebp - 4], eax
push dword [ebp - 8]
call fcn.0001358c
push dword [ebp - 4]
call fcn.00013424
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0xc0000004
je 0x137fc
push dword [ebp - 0xc]
call fcn.00010f2b
test eax, eax
je 0x13a82
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
push 0
push dword [ebp - 0x10]
call fcn.00010f0c
mov dword [ebp - 0x14], eax
add dword [ebp - 0x10], 4
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x13a7f
push 0x10
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
push eax
push 0x10
call fcn.00015d02
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov ebx, dword [ebp - 0x30]
push ebx
mov edi, dword [ebp - 0x34]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00015cfc
add esp, 4
mov ebx, dword [ebp - 0x1c]
add ebx, 8
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp byte [ebx], 0x1c
jne 0x13a73
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov ax, word [ebx]
cwde
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
push 0x80000301
push 0
push 0x400
push 0x80000301
push 0
push 0x40
push 2
mov ebx, 0x15ff0
call fcn.00015d08
add esp, 0x1c
mov dword [ebp - 0x30], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
call sub.ntoskrnl.exe_ZwOpenProcess
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
call fcn.00010f2b
test eax, eax
je 0x13a73
mov ebx, dword [ebp - 0x1c]
add ebx, 0x10
mov dword [ebp - 0x30], ebx
push 2
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 0xffffffff
mov ebx, dword [ebp - 0x30]
mov ax, word [ebx]
cwde
push eax
push dword [ebp - 0x24]
call sub.ntoskrnl.exe_ZwDuplicateObject
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
call fcn.00010f2b
test eax, eax
je 0x13a6b
push dword [ebp + 8]
push dword [ebp - 0x2c]
call fcn.00013b7b
test eax, eax
je 0x13a63
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x1c]
add ebx, 0x10
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov ax, word [ebx]
cwde
push eax
mov ebx, dword [ebp - 0x30]
mov ax, word [ebx]
cwde
push eax
call fcn.000145cd
push dword [ebp - 0x2c]
call sub.ntoskrnl.exe_ZwClose
push dword [ebp - 0x24]
call sub.ntoskrnl.exe_ZwClose
add dword [ebp - 0x10], 0x10
pop eax
pop ebx
pop ecx
jmp 0x13897
add esp, 0xc
push dword [ebp - 8]
call fcn.0001358c
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.00015cfc
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
call fcn.00015cfc
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
call fcn.00015cfc
add esp, 4
mov esp, ebp
pop ebp
ret 4