Function at 0x467ba0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5602eb
mov eax, dword fs:[0]
push eax
sub esp, 0x370
push ebx
push esi
push edi
mov eax, dword [0x5ca018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], 0
mov al, byte [esi + 0x45]
mov byte [ebp - 0xe], al
lea eax, [ebp - 0xd]
push str._initialized__.state_____initialized__.kStateValid
push eax
lea eax, [ebp - 0xe]
mov byte [ebp - 0xd], 2
push eax
call fcn.00406f46
add esp, 0xc
test eax, eax
je 0x467c1d
push eax
push 0xe8
push str.T:p4PatcherExternalLibraries_sentry_native0.3.1externalcrashpad_snapshotwin_system_snapshot_win.cc
push str.void___thiscall_crashpad::internal::SystemSnapshotWin::CPUFrequency_unsigned___int64__unsigned___int64___const
lea ecx, [ebp - 0x184]
call fcn.00404e21
lea ecx, [ebp - 0x184]
call fcn.004082e7
mov al, byte [esi + 0x45]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0xf]
push str._initialized__.state_____initialized__.kStateValid
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 0xf], 2
push eax
call fcn.00406f46
add esp, 0xc
test eax, eax
je 0x467c66
push eax
push 0xaa
push str.T:p4PatcherExternalLibraries_sentry_native0.3.1externalcrashpad_snapshotwin_system_snapshot_win.cc
push str.unsigned_char___thiscall_crashpad::internal::SystemSnapshotWin::CPUCount_void__const
lea ecx, [ebp - 0x22c]
call fcn.00404e21
lea ecx, [ebp - 0x22c]
call fcn.004082e7
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xff
jbe 0x467cd4
push 1
push 0xb0
push str.T:p4PatcherExternalLibraries_sentry_native0.3.1externalcrashpad_snapshotwin_system_snapshot_win.cc
push str.unsigned_char___thiscall_crashpad::internal::SystemSnapshotWin::CPUCount_void__const
lea ecx, [ebp - 0x2d4]
call fcn.00403189
push str.dwNumberOfProcessors_exceeds_uint8_t_storage
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
call fcn.0040533a
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.004082e7
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xff
ja 0x467ddc
mov eax, ecx
movzx eax, al
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x467dbe
push 1
lea ecx, [ebp - 0xdc]
call fcn.0040677b
push 0x574f08
push 0
push str._vs.
push dword [ebp - 0x14]
lea eax, [ebp - 0xdc]
mov dword [ebp - 4], 1
push 0x574f14
push str.num_cpus___0
push eax
call fcn.0040533a
add esp, 8
push eax
call fcn.0040533a
add esp, 8
mov ecx, eax
call fcn.00401a2d
push eax
call fcn.0040533a
add esp, 8
mov ecx, eax
call fcn.00401a2d
push eax
call fcn.0040533a
push 0x18
call fcn.004078a6
add esp, 0xc
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x467d6b
push eax
lea ecx, [ebp - 0xdc]
call fcn.00405ad8
mov esi, eax
jmp 0x467d6d
xor esi, esi
lea ecx, [ebp - 0xdc]
mov dword [ebp - 4], 0xffffffff
call fcn.0040246e
test esi, esi
je 0x467da9
push esi
push 0xeb
push str.T:p4PatcherExternalLibraries_sentry_native0.3.1externalcrashpad_snapshotwin_system_snapshot_win.cc
push str.void___thiscall_crashpad::internal::SystemSnapshotWin::CPUFrequency_unsigned___int64__unsigned___int64___const
lea ecx, [ebp - 0x37c]
call fcn.00404e21
lea ecx, [ebp - 0x37c]
call fcn.004082e7
mov eax, dword [ebp - 0x14]
xor esi, esi
xor edi, edi
xor ebx, ebx
test eax, eax
jne 0x467dbe
lea eax, [eax + eax*2]
shl eax, 3
jmp 0x467e3b
lea ebx, [eax + eax*2]
shl ebx, 3
mov dword [ebp - 0x18], ebx
cmp ebx, 0x1000
jae 0x467def
push ebx
call fcn.004078a6
add esp, 4
mov esi, eax
jmp 0x467e14
mov eax, 0xff
mov dword [ebp - 0x14], eax
lea eax, [eax + eax*2]
shl eax, 3
mov dword [ebp - 0x18], eax
mov ebx, eax
lea eax, [ebx + 0x23]
cmp eax, ebx
jbe 0x467f2c
push eax
call fcn.004078a6
add esp, 4
test eax, eax
je 0x467f27
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
cmp dword [ebp - 0x14], 0
lea eax, [ebx + esi]
mov dword [ebp - 0x20], eax
mov edi, esi
jbe 0x467e35
push ebx
push 0
push esi
call fcn.00403292
mov ebx, dword [ebp - 0x20]
add esp, 0xc
mov edi, ebx
jmp 0x467e38
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
push eax
push esi
push 0
push 0
push 0xb
call sub.POWRPROF.dll_CallNtPowerInformation
test eax, eax
je 0x467e6c
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov edx, dword [ebp - 0x18]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x1c]
jmp 0x467eca
mov eax, esi
cmp esi, edi
je 0x467e90
lea edx, [esi + 0x18]
cmp edx, edi
je 0x467e90
nop dword [eax]
mov ecx, dword [eax + 8]
cmp ecx, dword [edx + 8]
cmovb eax, edx
add edx, 0x18
cmp edx, edi
jne 0x467e80
mov eax, dword [eax + 8]
mov ecx, 0xf4240
mul ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, esi
mov dword [ecx + 4], edx
cmp esi, edi
je 0x467ec0
lea edx, [esi + 0x18]
cmp edx, edi
je 0x467ec0
nop
mov ecx, dword [eax + 4]
cmp ecx, dword [edx + 4]
cmovb eax, edx
add edx, 0x18
cmp edx, edi
jne 0x467eb0
mov eax, dword [eax + 4]
mov ecx, 0xf4240
mul ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
test esi, esi
je 0x467f13
sub ebx, esi
mov eax, 0x2aaaaaab
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
shl ecx, 3
cmp ecx, 0x1000
jb 0x467f09
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x467f27
mov esi, edx
push ecx
push esi
call fcn.00406177
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0040837d
call fcn.004054de
int3