Function at 0x5003a0
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x6e8
mov eax, dword [0x5cc9b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov edx, dword [0x7c2908]
push esi
mov esi, ecx
push edi
mov ecx, dword [eax + edx*4]
mov edi, dword [ebx + 8]
mov dword [esi + 8], edi
mov eax, dword [0x7c2828]
mov dword [ebp - 0x5c], edi
cmp eax, dword [ecx + 0x34]
jg 0x5007ee
mov eax, dword [0x7c2824]
test eax, eax
je 0x500443
lea ecx, [ebp - 0x58]
push ecx
push edi
call eax
test eax, eax
jne 0x5004a2
push 0x5a0b04
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x4b
push str..._.._.._util_win_process_info.cc
push str.bool___cdecl_crashpad::_anonymous_namespace::IsProcessWow64_void__
lea ecx, [ebp - 0x588]
call fcn.0050c390
push eax
call fcn.00439550
add esp, 8
lea ecx, [ebp - 0x588]
call fcn.0050c5b0
mov byte [esi + 0x5d], 0
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0xe4], 9
sete al
mov byte [esi + 0x5c], al
test al, al
je 0x5004b4
push str.Reading_x64_process_from_x86_process_not_supported
push 2
push 0x210
push str..._.._.._util_win_process_info.cc
push str.bool___thiscall_crashpad::ProcessInfo::Initialize_void__
lea ecx, [ebp - 0x190]
call fcn.0050c270
push eax
call fcn.00439550
add esp, 8
lea ecx, [ebp - 0x190]
call fcn.0050c3e0
xor al, al
jmp 0x500720
cmp dword [ebp - 0x58], 0
setne al
mov byte [esi + 0x5d], al
test al, al
je 0x500447
mov byte [esi + 0x5c], 0
lea eax, [ebp - 0x54]
push eax
push 0x18
lea eax, [ebp - 0x1c]
push eax
push 0
push edi
call fcn.005009b0
add esp, 0x14
test eax, eax
jns 0x500505
push str.NtQueryInformationProcess
push eax
push 2
push 0xc5
push str..._.._.._util_win_process_info.cc
push str.bool___cdecl_crashpad::GetProcessBasicInformation_struct_crashpad::process_types::internal::Traits32__void__bool_class_crashpad::ProcessInfo__unsigned___int64__unsigned___int64__
lea ecx, [ebp - 0x638]
call fcn.004fe420
push eax
call fcn.00439550
add esp, 8
lea ecx, [ebp - 0x638]
call fcn.004fe450
jmp 0x500540
cmp dword [ebp - 0x54], 0x18
je 0x50057c
push str.NtQueryInformationProcess_incorrect_size
push 2
push 0xc9
push str..._.._.._util_win_process_info.cc
push str.bool___cdecl_crashpad::GetProcessBasicInformation_struct_crashpad::process_types::internal::Traits32__void__bool_class_crashpad::ProcessInfo__unsigned___int64__unsigned___int64__
lea ecx, [ebp - 0x238]
call fcn.0050c270
push eax
call fcn.00439550
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.0050c3e0
push str.GetProcessBasicInformation_failed
push 2
push 0x21e
push str..._.._.._util_win_process_info.cc
push str.bool___thiscall_crashpad::ProcessInfo::Initialize_void__
lea ecx, [ebp - 0x2e0]
call fcn.0050c270
push eax
call fcn.00439550
add esp, 8
lea ecx, [ebp - 0x2e0]
call fcn.0050c3e0
xor al, al
jmp 0x500720
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0x230
push esi
mov dword [esi + 0x34], 0
cmp byte [esi + 0x5c], 0
mov eax, dword [esi + 0x2c]
push eax
push ecx
push edi
je 0x5005b8
call fcn.004feaa0
jmp 0x5005bd
call fcn.004fe630
add esp, 0x10
test al, al
jne 0x500600
push str.ReadProcessData_failed
push 2
push 0x227
push str..._.._.._util_win_process_info.cc
push str.bool___thiscall_crashpad::ProcessInfo::Initialize_void__
lea ecx, [ebp - 0x388]
call fcn.0050c270
push eax
call fcn.00439550
add esp, 8
lea ecx, [ebp - 0x388]
call fcn.0050c3e0
xor al, al
jmp 0x500720
cmp byte [esi + 0x5c], 0
mov dword [ebp - 0x58], 0xffffffff
jne 0x500614
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x68], xmm0
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
push 0x1c
lea eax, [ebp - 0x84]
push eax
push edi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x50076c
mov eax, dword [ebp - 0x84]
lea ecx, [esi + 0x44]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x80]
cdq
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x98], eax
mov eax, dword [esi + 0x48]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x94], 0
movaps xmm2, xmmword [ebp - 0xa0]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb4], edx
movaps xmm0, xmmword [ebp - 0xc0]
mov dword [ebp - 0xa4], 0
movaps xmm1, xmmword [ebp - 0xb0]
movaps xmmword [ebp - 0x50], xmm0
movaps xmmword [ebp - 0x40], xmm1
movaps xmmword [ebp - 0x30], xmm2
cmp eax, dword [esi + 0x4c]
je 0x5006ee
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax + 0x20], xmm2
add dword [ecx + 4], 0x30
jmp 0x5006f8
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.004ff770
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x500735
add edi, eax
mov eax, dword [ebp - 0x54]
adc eax, 0
mov dword [ebp - 0x54], eax
cmp eax, dword [ebp - 0x58]
jb 0x500625
ja 0x50071e
cmp edi, 0xffffffff
jbe 0x500625
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00514f0c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push str.RegionSize__0
push 2
push 0x152
push str..._.._.._util_win_process_info.cc
push str.bool___cdecl_crashpad::ReadMemoryInfo_void__bool_class_crashpad::ProcessInfo__
lea ecx, [ebp - 0x430]
call fcn.0050c270
push eax
call fcn.00439550
add esp, 8
lea ecx, [ebp - 0x430]
call fcn.0050c3e0
jmp 0x5007b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x50071e
push 0x5a0cac
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x149
push str..._.._.._util_win_process_info.cc
push str.bool___cdecl_crashpad::ReadMemoryInfo_void__bool_class_crashpad::ProcessInfo__
lea ecx, [ebp - 0x6e8]
call fcn.0050c390
push eax
call fcn.00439550
add esp, 8
lea ecx, [ebp - 0x6e8]
call fcn.0050c5b0
push str.ReadMemoryInfo_failed
push 2
push 0x22c
push str..._.._.._util_win_process_info.cc
push str.bool___thiscall_crashpad::ProcessInfo::Initialize_void__
lea ecx, [ebp - 0x4d8]
call fcn.0050c270
push eax
call fcn.00439550
add esp, 8
lea ecx, [ebp - 0x4d8]
call fcn.0050c3e0
xor al, al
jmp 0x500720
push 0x7c2828
call fcn.00513f0a
add esp, 4
cmp dword [0x7c2828], 0xffffffff
jne 0x5003f3
push 0
push str.::IsWow64Process
push 0x560ad8
call fcn.004fdbf0
push 0x7c2828
mov dword [0x7c2824], eax
call fcn.00513ec0
add esp, 0x10
jmp 0x5003f3