Function at 0x49579a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [0x54c03c]
mov edi, dword [ebp + 8]
mov esi, ecx
xor eax, ebp
mov dword [esp + 0xc0], eax
mov dword [ecx + 8], edi
mov eax, dword [0x551f6c]
mov ecx, dword [0x54fa0c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4959c3
mov eax, dword [0x551f68]
test eax, eax
je 0x49584f
lea ecx, [esp + 4]
push ecx
push edi
call eax
test eax, eax
je 0x49580e
cmp dword [esp + 4], 0
mov ebx, edi
setne byte [esi + 0x5d]
je 0x495855
lea eax, [esi + 0x5c]
mov byte [esi + 0x5c], 0
jmp 0x4958a6
push 2
call fcn.00414940
add esp, 4
test al, al
je 0x49584f
call sub.KERNEL32.dll_GetLastError
lea ebx, [esp + 8]
mov ecx, ebx
push eax
push 2
push 0x4b
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00415cc0
lea eax, [esp + 0x18]
push 0x50457b
push eax
call fcn.004015c0
add esp, 8
mov ecx, ebx
call fcn.00415de0
mov ebx, edi
mov byte [esi + 0x5d], 0
lea edi, [esp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [edi]
cmp eax, 9
sete byte [esi + 0x5c]
jne 0x4958a3
push 2
call fcn.00414940
add esp, 4
test al, al
je 0x4959a7
lea esi, [esp + 8]
mov ecx, esi
push 2
push 0x20a
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.004149d0
lea eax, [esp + 0x10]
push str.Reading_x64_process_from_x86_process_not_supported
jmp 0x495997
lea eax, [esi + 0x5c]
mov dword [esp], eax
lea eax, [esi + 0x30]
lea edi, [esi + 0x28]
push eax
push edi
push esi
push 0
push ebx
call fcn.00495a09
add esp, 0x14
test al, al
je 0x4958db
mov eax, dword [esp]
mov ecx, dword [edi + 4]
cmp byte [eax], 0
mov eax, dword [edi]
je 0x495912
push esi
push ecx
push eax
mov edi, ebx
push ebx
call fcn.00495ba3
jmp 0x49591d
push 2
call fcn.00414940
add esp, 4
test al, al
je 0x4959a7
lea esi, [esp + 8]
mov ecx, esi
push 2
push 0x218
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.004149d0
lea eax, [esp + 0x10]
push str.GetProcessBasicInformation_failed
jmp 0x495997
push esi
push ecx
push eax
mov edi, ebx
push ebx
call fcn.004960ae
add esp, 0x10
test al, al
je 0x495969
movzx eax, byte [esi + 0x5c]
mov bl, 1
push esi
push eax
push edi
call fcn.00495128
add esp, 0xc
test al, al
jne 0x4959a9
push 2
call fcn.00414940
add esp, 4
test al, al
je 0x4959a7
lea esi, [esp + 8]
mov ecx, esi
push 2
push 0x226
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.004149d0
lea eax, [esp + 0x10]
push str.ReadMemoryInfo_failed
jmp 0x495997
push 2
call fcn.00414940
add esp, 4
test al, al
je 0x4959a7
lea esi, [esp + 8]
mov ecx, esi
push 2
push 0x221
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.004149d0
lea eax, [esp + 0x10]
push str.ReadProcessData_failed
push eax
call fcn.004015c0
add esp, 8
mov ecx, esi
call fcn.00413fc0
xor ebx, ebx
mov ecx, dword [esp + 0xc0]
xor ecx, ebp
call fcn.004d45c8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x551f6c
call fcn.004d4600
add esp, 4
mov eax, dword [0x551f6c]
cmp eax, 0xffffffff
jne 0x4957e0
push 0
push str.::IsWow64Process
push 0x4ff240
call fcn.004950ec
add esp, 0xc
mov dword [0x551f68], eax
push 0x551f6c
call fcn.004d4652
add esp, 4
jmp 0x4957e0