Function at 0x508832
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb4
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx + 8], edi
mov eax, dword [0x644794]
mov ecx, dword [0x644310]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x508a5d
mov eax, dword [0x644790]
test eax, eax
je 0x5088df
lea ecx, [ebp - 0x14]
push ecx
push edi
call eax
test eax, eax
je 0x508898
cmp dword [ebp - 0x14], 0
setne byte [esi + 0x4d]
je 0x5088e3
mov byte [esi + 0x4c], 0
jmp 0x508937
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x5088df
call fcn.00484390
lea ebx, [ebp - 0xc0]
mov ecx, ebx
push eax
push 2
push 0x4b
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.004844c0
lea eax, [ebp - 0xb8]
push 0xe
push 0x5c6a5a
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, ebx
call fcn.00484570
mov byte [esi + 0x4d], 0
lea ebx, [ebp - 0xc0]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebx], 9
sete byte [esi + 0x4c]
jne 0x508937
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x508a42
lea esi, [ebp - 0xc0]
mov ecx, esi
push 2
push 0x210
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00483ab0
lea eax, [ebp - 0xb8]
push 0x32
push str.Reading_x64_process_from_x86_process_not_supported
jmp 0x508a32
lea eax, [esi + 0x20]
lea ecx, [esi + 0x18]
push eax
push ecx
push esi
push 0
push edi
call fcn.00508aa2
add esp, 0x14
test al, al
je 0x508966
cmp byte [esi + 0x4c], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
je 0x5089a3
push esi
push ecx
push eax
push edi
call fcn.00508c5e
jmp 0x5089ac
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x508a42
lea esi, [ebp - 0xc0]
mov ecx, esi
push 2
push 0x21e
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00483ab0
lea eax, [ebp - 0xb8]
push 0x21
push str.GetProcessBasicInformation_failed
jmp 0x508a32
push esi
push ecx
push eax
push edi
call fcn.00509246
add esp, 0x10
test al, al
je 0x5089fe
movzx eax, byte [esi + 0x4c]
mov bl, 1
push esi
push eax
push edi
call fcn.00507e7c
add esp, 0xc
test al, al
jne 0x508a44
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x508a42
lea esi, [ebp - 0xc0]
mov ecx, esi
push 2
push 0x22c
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00483ab0
lea eax, [ebp - 0xb8]
push 0x15
push str.ReadMemoryInfo_failed
jmp 0x508a32
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x508a42
lea esi, [ebp - 0xc0]
mov ecx, esi
push 2
push 0x227
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00483ab0
lea eax, [ebp - 0xb8]
push 0x16
push str.ReadProcessData_failed
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, esi
call fcn.00483e50
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00596351
mov eax, ebx
add esp, 0xb4
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x644794
call fcn.00596397
add esp, 4
cmp dword [0x644794], 0xffffffff
jne 0x508871
push 0
push str.::IsWow64Process
push 0x5c5e58
call fcn.00507e40
add esp, 0xc
mov dword [0x644790], eax
push 0x644794
call fcn.0059640d
add esp, 4
jmp 0x508871