Function at 0x4841e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500810
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x53d058]
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 0x48427e
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.004031d0
mov dword [edi], esi
movups xmm0, xmmword [ebp - 0x80]
mov dword [edi + 4], 0x53ed5c
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 0x4844cd
push str.IsWow64Process2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x48444f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
cmp eax, 0x7f
je 0x4842cb
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.004031d0
mov eax, dword [ebp - 0x68]
mov dword [edi], eax
jmp 0x48424e
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x4843be
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.004031d0
movups xmm1, xmmword [ebp - 0x80]
lea ecx, [ebp - 0x88]
mov dword [edi], esi
movq xmm0, qword [ebp - 0x70]
mov dword [edi + 4], 0x53ed5c
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], 0x53ed5c
movups xmmword [ebp - 0x80], xmm1
mov dword [ebp - 0x88], esi
movq qword [edi + 0x18], xmm0
mov dword [ebp - 0x84], 0x53ed5c
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.00404d30
lea ecx, [ebp - 0xa8]
call fcn.00404d30
jmp 0x4844cd
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.004840c0
cmp byte [ebp - 0x20], 0
lea ecx, [ebp - 0x40]
je 0x484420
call fcn.0040b4b0
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0040c900
push eax
mov ecx, edi
call fcn.0040c9a0
lea ecx, [ebp - 0xa8]
call fcn.00404d30
lea ecx, [ebp - 0x40]
call fcn.0040b5b0
jmp 0x4844cd
mov eax, dword [ebp - 0x18]
neg eax
sbb eax, eax
and eax, 0x14c
mov word [ebp - 0x68], ax
call fcn.0040afe0
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.0040b5b0
jmp 0x4844cd
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 0x4844b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.failed_to_check_for_wow64_process
mov edx, eax
lea ecx, [ebp - 0xe8]
call fcn.0040c880
add esp, 4
lea ecx, [ebp - 0xc8]
mov edx, eax
call fcn.0040c900
push eax
mov ecx, edi
call fcn.0040c9a0
lea ecx, [ebp - 0xc8]
call fcn.00404d30
lea ecx, [ebp - 0xe8]
call fcn.00404d30
jmp 0x4844cd
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.0049852a
mov esp, ebp
pop ebp
ret