Function at 0x4ad3ba
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 [0x5599f4]
mov edi, dword [ebp + 8]
mov esi, ecx
xor eax, ebp
mov dword [esp + 0xc0], eax
mov dword [esi + 8], edi
mov eax, dword [0x55d898]
mov ecx, dword [0x55c508]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x4ad5e3
mov eax, dword [0x55d894]
test eax, eax
je 0x4ad46f
lea ecx, [esp + 4]
push ecx
push edi
call eax
test eax, eax
je 0x4ad42e
cmp dword [esp + 4], 0
mov ebx, edi
setne byte [esi + 0x5d]
je 0x4ad475
lea eax, [esi + 0x5c]
mov byte [esi + 0x5c], 0
jmp 0x4ad4c6
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4ad46f
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.00419440
lea eax, [esp + 0x18]
push 0x510c0e
push eax
call fcn.004015c0
add esp, 8
mov ecx, ebx
call fcn.00419560
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 0x4ad4c3
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4ad5c7
lea esi, [esp + 8]
mov ecx, esi
push 2
push 0x20a
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00418160
lea eax, [esp + 0x10]
push str.Reading_x64_process_from_x86_process_not_supported
jmp 0x4ad5b7
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.004ad629
add esp, 0x14
test al, al
je 0x4ad4fb
mov eax, dword [esp]
mov ecx, dword [edi + 4]
cmp byte [eax], 0
mov eax, dword [edi]
je 0x4ad532
push esi
push ecx
push eax
mov edi, ebx
push edi
call fcn.004ad7c3
jmp 0x4ad53d
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4ad5c7
lea esi, [esp + 8]
mov ecx, esi
push 2
push 0x218
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00418160
lea eax, [esp + 0x10]
push str.GetProcessBasicInformation_failed
jmp 0x4ad5b7
push esi
push ecx
push eax
mov edi, ebx
push edi
call fcn.004adcd1
add esp, 0x10
test al, al
je 0x4ad589
movzx eax, byte [esi + 0x5c]
mov bl, 1
push esi
push eax
push edi
call fcn.004acd78
add esp, 0xc
test al, al
jne 0x4ad5c9
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4ad5c7
lea esi, [esp + 8]
mov ecx, esi
push 2
push 0x226
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00418160
lea eax, [esp + 0x10]
push str.ReadMemoryInfo_failed
jmp 0x4ad5b7
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4ad5c7
lea esi, [esp + 8]
mov ecx, esi
push 2
push 0x221
push str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
call fcn.00418160
lea eax, [esp + 0x10]
push str.ReadProcessData_failed
push eax
call fcn.004015c0
add esp, 8
mov ecx, esi
call fcn.00417750
xor ebx, ebx
mov ecx, dword [esp + 0xc0]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x55d898
call fcn.004d51fb
add esp, 4
mov eax, dword [0x55d898]
cmp eax, 0xffffffff
jne 0x4ad400
push 0
push str.::IsWow64Process
push 0x50ff6e
call fcn.004acd28
add esp, 0xc
mov dword [0x55d894], eax
push 0x55d898
call fcn.004d51bc
add esp, 4
jmp 0x4ad400