Function at 0x5a1f08
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0xf8], eax
mov dword [ecx + 8], ebx
mov eax, dword [0x705c14]
mov ecx, dword [0x705840]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x5a2205
mov eax, dword [0x705c10]
test eax, eax
je 0x5a1fc0
lea ecx, [esp + 0x10]
mov dword [ecx], 0xffffffff
push ecx
push ebx
call eax
test eax, eax
je 0x5a1f7d
cmp dword [esp + 0x10], 0
setne byte [esi + 0x75]
je 0x5a1fc4
mov byte [esi + 0x74], 0
jmp 0x5a2026
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x5a1fc0
call fcn.0049a360
lea edi, [esp + 0x40]
mov ecx, edi
push eax
push 2
push 0x4c
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.0049a500
lea eax, [esp + 0x48]
push 0xe
push 0x6c812c
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, edi
call fcn.0049a5b0
mov byte [esi + 0x75], 0
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x40]
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov dword [edi + 0x20], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [edi], 9
sete byte [esi + 0x74]
jne 0x5a2026
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x5a21e9
lea esi, [esp + 0x40]
mov ecx, esi
push 2
push 0x211
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.004999e0
lea eax, [esp + 0x48]
push 0x32
push str.Reading_x64_process_from_x86_process_not_supported
jmp 0x5a21d9
lea eax, [esi + 0x20]
lea ecx, [esi + 0x18]
push eax
push ecx
push esi
push 0
push ebx
call fcn.005a224a
add esp, 0x14
test al, al
je 0x5a2055
cmp byte [esi + 0x74], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
je 0x5a208e
push esi
push ecx
push eax
push ebx
call fcn.005a242e
jmp 0x5a2097
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x5a21e9
lea esi, [esp + 0x40]
mov ecx, esi
push 2
push 0x21f
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.004999e0
lea eax, [esp + 0x48]
push 0x21
push str.GetProcessBasicInformation_failed
jmp 0x5a21d9
push esi
push ecx
push eax
push ebx
call fcn.005a29b6
add esp, 0x10
test al, al
je 0x5a2177
movzx eax, byte [esi + 0x74]
push esi
push eax
push ebx
call fcn.005a15b8
add esp, 0xc
test al, al
je 0x5a21a9
xor eax, eax
lea ecx, [esp + 0x40]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x24], eax
pxor xmm0, xmm0
movdqu xmmword [ecx + 0x14], xmm0
movdqu xmmword [ecx + 4], xmm0
mov eax, 0x2c
mov dword [ecx], eax
push eax
push ecx
push ebx
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x5a212a
cmp byte [esi + 0x4c], 0
mov eax, dword [esp + 0x68]
jne 0x5a20f4
mov byte [esi + 0x4c], 1
mov dword [esi + 0x50], eax
cmp byte [esi + 0x54], 0
mov eax, dword [esp + 0x64]
jne 0x5a2105
mov byte [esi + 0x54], 1
mov dword [esi + 0x58], eax
cmp byte [esi + 0x5c], 0
mov eax, dword [esp + 0x4c]
jne 0x5a2116
mov byte [esi + 0x5c], 1
mov dword [esi + 0x60], eax
cmp byte [esi + 0x64], 0
mov eax, dword [esp + 0x48]
jne 0x5a2127
mov byte [esi + 0x64], 1
mov dword [esi + 0x68], eax
pcmpeqd xmm0, xmm0
lea eax, [esp + 0x10]
movdqu xmmword [eax + 0x1c], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
lea edi, [esp + 0xc]
mov dword [edi], 0xffffffff
mov ecx, dword [esi + 8]
mov edx, 3
push edi
push 0x2c
push eax
call fcn.005a2fb0
add esp, 0xc
test eax, eax
js 0x5a2173
cmp byte [esi + 0x6c], 0
mov eax, dword [esp + 0x14]
jne 0x5a2170
mov byte [esi + 0x6c], 1
mov dword [esi + 0x70], eax
mov bl, 1
jmp 0x5a21eb
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x5a21e9
lea esi, [esp + 0x40]
mov ecx, esi
push 2
push 0x228
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.004999e0
lea eax, [esp + 0x48]
push 0x16
push str.ReadProcessData_failed
jmp 0x5a21d9
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x5a21e9
lea esi, [esp + 0x40]
mov ecx, esi
push 2
push 0x22d
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.004999e0
lea eax, [esp + 0x48]
push 0x15
push str.ReadMemoryInfo_failed
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, esi
call fcn.00499dc0
xor ebx, ebx
mov ecx, dword [esp + 0xf8]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x705c14
call fcn.00641847
add esp, 4
cmp dword [0x705c14], 0xffffffff
jne 0x5a1f4e
push 0
push str.::IsWow64Process
push 0x68a6fc
call fcn.005a157c
add esp, 0xc
mov dword [0x705c10], eax
push 0x705c14
call fcn.006418bd
add esp, 4
jmp 0x5a1f4e