Function at 0x48f0e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509b60
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48f17e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1b
push str.failed_to_get_module_handle
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0
mov esi, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
call fcn.00416010
mov dword [edi], esi
movups xmm0, xmmword [ebp - 0x80]
mov dword [edi + 4], 0x54dd80
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmmword [edi + 8], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [edi + 0x18], xmm0
mov byte [edi + 0x20], 1
jmp 0x48f3cd
push str.IsWow64Process2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x48f34f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
cmp eax, 0x7f
je 0x48f1cb
push 0x1f
push str.failed_to_get_wow64_proc_adress
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
call fcn.00416010
mov eax, dword [ebp - 0x68]
mov dword [edi], eax
jmp 0x48f14e
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x48f2be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x21
push str.failed_to_check_for_wow64_process
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0
mov esi, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
call fcn.00416010
movups xmm1, xmmword [ebp - 0x80]
lea ecx, [ebp - 0x88]
mov dword [edi], esi
movq xmm0, qword [ebp - 0x70]
mov dword [edi + 4], 0x54dd80
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmmword [edi + 8], xmm1
mov dword [ebp - 0xa8], esi
movq qword [ebp - 0x90], xmm0
movq qword [ebp - 0x70], xmm0
movups xmmword [ebp - 0xa0], xmm1
mov dword [ebp - 0xa4], 0x54dd80
movups xmmword [ebp - 0x80], xmm1
mov dword [ebp - 0x88], esi
movq qword [edi + 0x18], xmm0
mov dword [ebp - 0x84], 0x54dd80
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov byte [edi + 0x20], 1
call fcn.00405a20
lea ecx, [ebp - 0xa8]
call fcn.00405a20
jmp 0x48f3cd
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x64]
push eax
movups xmmword [ebp - 0x64], xmm0
movups xmmword [ebp - 0x54], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x40]
call fcn.0048efc0
cmp byte [ebp - 0x20], 0
lea ecx, [ebp - 0x40]
je 0x48f320
call fcn.0040ed10
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.00410720
push eax
mov ecx, edi
call fcn.004107c0
lea ecx, [ebp - 0xa8]
call fcn.00405a20
lea ecx, [ebp - 0x40]
call fcn.0040e760
jmp 0x48f3cd
mov eax, dword [ebp - 0x18]
neg eax
sbb eax, eax
and eax, 0x14c
mov word [ebp - 0x68], ax
call fcn.0040e3d0
lea ecx, [ebp - 0x40]
mov ax, word [eax]
mov word [ebp - 0x66], ax
mov eax, dword [ebp - 0x68]
mov dword [edi], eax
mov byte [edi + 0x20], 0
call fcn.0040e760
jmp 0x48f3cd
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push ecx
push esi
call eax
test eax, eax
jne 0x48f3b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.failed_to_check_for_wow64_process
mov edx, eax
lea ecx, [ebp - 0xe8]
call fcn.004106a0
add esp, 4
lea ecx, [ebp - 0xc8]
mov edx, eax
call fcn.00410720
push eax
mov ecx, edi
call fcn.004107c0
lea ecx, [ebp - 0xc8]
call fcn.00405a20
lea ecx, [ebp - 0xe8]
call fcn.00405a20
jmp 0x48f3cd
movzx eax, word [ebp - 0x14]
mov word [ebp - 0x14], ax
movzx eax, word [ebp - 0x1c]
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
mov byte [edi + 0x20], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret