Function at 0x4922d0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [esp + 0xe8], eax
mov dword [ecx + 8], ebx
mov eax, dword [0x608c1c]
mov ecx, dword [0x5f7664]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x492608
mov ecx, dword [0x608c18]
test ecx, ecx
je 0x492361
lea edi, [esp + 0x10]
mov dword [edi], 0xffffffff
call dword [section..00cfg]
push edi
push ebx
call ecx
test eax, eax
je 0x49234f
cmp dword [esp + 0x10], 0
setne byte [esi + 0x89]
je 0x492368
mov byte [esi + 0x88], 0
jmp 0x4923be
push 2
call fcn.004cff00
add esp, 4
test al, al
jne 0x492443
mov byte [esi + 0x89], 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 + 0x88]
jne 0x4923be
push 2
call fcn.004cff00
add esp, 4
test al, al
jne 0x49240c
xor ebx, ebx
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.0050dc12
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [esi + 0x20]
lea ecx, [esi + 0x18]
push eax
push ecx
push esi
push 0
push ebx
call fcn.00576840
add esp, 0x14
test al, al
jne 0x49247d
push 2
call fcn.004cff00
add esp, 4
test al, al
je 0x4923a2
lea esi, [esp + 0x40]
mov ecx, esi
push 2
push 0x21f
push str....._third_partycrashpadcrashpadutilwinprocess_info.cc
call fcn.00458910
lea eax, [esp + 0x48]
push 0x21
push str.GetProcessBasicInformation_failed
jmp 0x49242e
lea esi, [esp + 0x40]
mov ecx, esi
push 2
push 0x211
push str....._third_partycrashpadcrashpadutilwinprocess_info.cc
call fcn.00458910
lea eax, [esp + 0x48]
push 0x32
push str.Reading_x64_process_from_x86_process_not_supported
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, esi
call fcn.00458d50
jmp 0x4923a2
call fcn.0055ae80
lea edi, [esp + 0x40]
mov ecx, edi
push eax
push 2
push 0x4c
push str....._third_partycrashpadcrashpadutilwinprocess_info.cc
call fcn.0055afc0
lea eax, [esp + 0x48]
push 0xe
push 0x5e40c8
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, edi
call fcn.0055b020
jmp 0x492361
cmp byte [esi + 0x88], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
jne 0x492497
push esi
push ecx
push eax
push ebx
call fcn.00576ff0
jmp 0x4924a0
push esi
push ecx
push eax
push ebx
call fcn.00576a30
add esp, 0x10
test al, al
je 0x4924f6
movzx eax, byte [esi + 0x88]
push esi
push eax
push ebx
call fcn.00491f90
add esp, 0xc
test al, al
jne 0x49252f
push 2
call fcn.004cff00
add esp, 4
test al, al
je 0x4923a2
lea esi, [esp + 0x40]
mov ecx, esi
push 2
push 0x22d
push str....._third_partycrashpadcrashpadutilwinprocess_info.cc
call fcn.00458910
lea eax, [esp + 0x48]
push 0x15
push str.ReadMemoryInfo_failed
jmp 0x49242e
push 2
call fcn.004cff00
add esp, 4
test al, al
je 0x4923a2
lea esi, [esp + 0x40]
mov ecx, esi
push 2
push 0x228
push str....._third_partycrashpadcrashpadutilwinprocess_info.cc
call fcn.00458910
lea eax, [esp + 0x48]
push 0x16
push str.ReadProcessData_failed
jmp 0x49242e
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 0x4925a9
cmp byte [esi + 0x4c], 0
mov eax, dword [esp + 0x68]
jne 0x49256a
mov byte [esi + 0x4c], 1
mov dword [esi + 0x50], eax
cmp byte [esi + 0x58], 0
mov eax, dword [esp + 0x64]
jne 0x49257b
mov byte [esi + 0x58], 1
mov dword [esi + 0x5c], eax
cmp byte [esi + 0x64], 0
mov eax, dword [esp + 0x4c]
jne 0x49258c
mov byte [esi + 0x64], 1
mov dword [esi + 0x68], eax
cmp byte [esi + 0x70], 0
jne 0x4925a2
mov eax, dword [esp + 0x48]
mov dword [esi + 0x74], eax
mov byte [esi + 0x70], 1
jmp 0x4925a9
mov eax, dword [esp + 0x48]
mov dword [esi + 0x74], 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.00577630
add esp, 0xc
test eax, eax
js 0x492601
cmp byte [esi + 0x7c], 0
je 0x4925f3
mov eax, dword [esp + 0x14]
mov dword [esi + 0x80], eax
jmp 0x492601
mov eax, dword [esp + 0x14]
mov dword [esi + 0x80], eax
mov byte [esi + 0x7c], 1
mov bl, 1
jmp 0x4923a4
push 0x608c1c
call fcn.0050d687
add esp, 4
cmp dword [0x608c1c], 0xffffffff
jne 0x492316
push 0
push str.::IsWow64Process
push 0x5d857a
call fcn.004936d0
add esp, 0xc
mov dword [0x608c18], eax
push 0x608c1c
call fcn.0050d6fd
add esp, 4
jmp 0x492316