Function at 0x10060c91
Capabilities:
Get system information on windows

Disassembly:
push 0x29c
mov eax, 0x10090d99
call fcn.10086e8d
mov ebx, ecx
push 0x1001a9f4
mov dword [ebp - 0x25c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x10060cea
push 0x10013ef8
lea eax, [ebp - 0x254]
push eax
call fcn.1005833e
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
lea edi, [ebp - 0x254]
call fcn.10061236
mov eax, dword [ebp - 0x254]
jmp 0x10061007
mov edx, dword [ebx]
push 0x10004808
push eax
mov ecx, ebx
call dword [edx + 0x28]
mov edx, eax
test edx, edx
jne 0x10060d03
mov edx, dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 9
pop ecx
xor eax, eax
mov dword [ebp - 0x284], 0x10018760
lea edi, [ebp - 0x280]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x280]
push eax
call edx
lea esi, [ebp - 0x258]
lea ecx, [ebp - 0x284]
mov dword [ebp - 4], 1
call fcn.10024e07
push eax
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0x3c]
push 0x1c5
call fcn.1002c5d4
mov esi, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
call fcn.10078f0e
push 0x10013ef8
lea eax, [ebp - 0x254]
push eax
call fcn.1005833e
push esi
push ebx
lea edi, [ebp - 0x254]
mov byte [ebp - 4], 3
call fcn.10061236
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.10078f0e
lea ecx, [ebp - 0x284]
call fcn.10024fd5
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
push eax
push 4
push dword [ecx + 4]
call dword [edx + 0x14]
test eax, eax
jne 0x10060dca
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10060dc6
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x10060dcc
xor esi, esi
push 0x10013f40
lea eax, [ebp - 0x254]
push eax
call fcn.1005833e
push esi
push ebx
lea edi, [ebp - 0x254]
mov byte [ebp - 4], 4
call fcn.10061236
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.10078f0e
lea edi, [ebp - 0x250]
lea ebx, [ebp - 0x284]
call fcn.10024fac
test al, al
jne 0x10060e19
xor eax, eax
jmp 0x10060e20
movzx eax, word [ebp - 0x13c]
mov esi, dword [ebp - 0x25c]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
push eax
push 7
push dword [ecx + 4]
call dword [edx + 0x14]
test eax, eax
jne 0x10060e50
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10060e4c
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x10060e52
xor edi, edi
push 0x10013f70
lea eax, [ebp - 0x254]
push eax
call fcn.1005833e
push edi
push esi
lea edi, [ebp - 0x254]
mov byte [ebp - 4], 5
call fcn.10061236
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
push eax
push 0xd
push dword [ecx + 4]
call dword [edx + 0x14]
test eax, eax
jne 0x10060eb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10060eb3
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x10060eb9
xor edi, edi
push 0x10013fa8
lea eax, [ebp - 0x254]
push eax
call fcn.1005833e
push edi
push esi
lea edi, [ebp - 0x254]
mov byte [ebp - 4], 6
call fcn.10061236
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.10078f0e
and dword [ebp - 0x130], 0
push pe_nt_image_headers32
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.1007e770
and dword [ebp - 0x2a8], 0
add esp, 0xc
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x2a4]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x130]
lea ebx, [ebp - 0x284]
call fcn.10024fac
lea eax, [ebp - 0x2a8]
push eax
call fcn.10025727
lea eax, [ebp - 0x2a8]
push eax
mov eax, edi
push eax
call fcn.1006356c
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
push eax
push 0x1ed
push dword [ecx + 4]
call dword [edx + 0x14]
test eax, eax
jne 0x10060f77
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10060f73
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x10060f79
xor edi, edi
push 0x10013fe4
lea eax, [ebp - 0x254]
push eax
call fcn.1005833e
push edi
push esi
lea edi, [ebp - 0x254]
mov byte [ebp - 4], 7
call fcn.10061236
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
call fcn.10078f0e
lea eax, [ebp - 0x25c]
push eax
call fcn.1002712b
push eax
mov byte [ebp - 4], 8
mov ecx, dword [esi + 0x3c]
push 0x254
call fcn.1002c5d4
mov edi, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x25c]
add eax, 0xfffffff0
call fcn.10078f0e
push 0x10014020
lea eax, [ebp - 0x258]
push eax
call fcn.1005833e
push edi
push esi
lea edi, [ebp - 0x258]
mov byte [ebp - 4], 9
call fcn.10061236
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
call fcn.10078f0e
call fcn.10086f1f
ret