Function at 0x468810
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x50
call fcn.006499b0
push 0x28
push 0
push 0x71f12c
call fcn.006480e0
add esp, 0xc
cmp dword [ebp + 8], 0
jbe 0x46883d
mov dword [ebp - 0x3c], 0
jmp 0x46885b
push 0x1a2
push str.....Srcopenssl_3.0.12cryptomem_sec.c
push str.assertion_failed:_size___0
call fcn.004882e0
add esp, 0xc
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp + 8]
sub eax, 1
and eax, dword [ebp + 8]
jne 0x46886f
mov dword [ebp - 0x40], 0
jmp 0x46888d
push 0x1a3
push str.....Srcopenssl_3.0.12cryptomem_sec.c
push str.assertion_failed:__size___size___1____0
call fcn.004882e0
add esp, 0xc
mov dword [ebp - 0x40], 1
cmp dword [ebp + 8], 0
je 0x46889e
mov ecx, dword [ebp + 8]
sub ecx, 1
and ecx, dword [ebp + 8]
je 0x4688a3
jmp 0x468bce
cmp dword [ebp + 0xc], 8
ja 0x4688f2
mov dword [ebp + 0xc], 7
mov edx, dword [ebp + 0xc]
shr edx, 1
or edx, dword [ebp + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
shr eax, 2
or eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
xor ecx, ecx
je 0x4688d7
mov edx, dword [ebp + 0xc]
shr edx, 4
or edx, dword [ebp + 0xc]
mov dword [ebp + 0xc], edx
xor eax, eax
je 0x4688e7
mov ecx, dword [ebp + 0xc]
shr ecx, 8
or ecx, dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
jmp 0x468934
mov eax, dword [ebp + 0xc]
sub eax, 1
and eax, dword [ebp + 0xc]
jne 0x468906
mov dword [ebp - 0x44], 0
jmp 0x468924
push 0x1b8
push str.....Srcopenssl_3.0.12cryptomem_sec.c
push str.assertion_failed:__minsize___minsize___1____0
call fcn.004882e0
add esp, 0xc
mov dword [ebp - 0x44], 1
mov ecx, dword [ebp + 0xc]
sub ecx, 1
and ecx, dword [ebp + 0xc]
je 0x468934
jmp 0x468bce
mov edx, dword [ebp + 8]
mov dword [0x71f138], edx
mov eax, dword [ebp + 0xc]
mov dword [0x71f144], eax
mov eax, dword [0x71f138]
xor edx, edx
div dword [0x71f144]
shl eax, 1
mov dword [0x71f150], eax
mov ecx, dword [0x71f150]
shr ecx, 3
test ecx, ecx
jne 0x46896b
jmp 0x468bce
mov dword [0x71f140], 0xffffffff
mov edx, dword [0x71f150]
mov dword [ebp - 0xc], edx
jmp 0x468988
mov eax, dword [ebp - 0xc]
shr eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46899f
mov ecx, dword [0x71f140]
add ecx, 1
mov dword [0x71f140], ecx
jmp 0x468980
push 0x1c9
push str.....Srcopenssl_3.0.12cryptomem_sec.c
mov edx, dword [0x71f140]
shl edx, 2
push edx
call fcn.00460970
add esp, 0xc
mov dword [0x71f13c], eax
cmp dword [0x71f13c], 0
je 0x4689d2
mov dword [ebp - 0x48], 0
jmp 0x4689f0
push 0x1ca
push str.....Srcopenssl_3.0.12cryptomem_sec.c
push str.assertion_failed:_sh.freelist___NULL
call fcn.004882e0
add esp, 0xc
mov dword [ebp - 0x48], 1
cmp dword [0x71f13c], 0
jne 0x4689fe
jmp 0x468bce
push 0x1ce
push str.....Srcopenssl_3.0.12cryptomem_sec.c
mov eax, dword [0x71f150]
shr eax, 3
push eax
call fcn.00460970
add esp, 0xc
mov dword [0x71f148], eax
cmp dword [0x71f148], 0
je 0x468a30
mov dword [ebp - 0x4c], 0
jmp 0x468a4e
push 0x1cf
push str.....Srcopenssl_3.0.12cryptomem_sec.c
push str.assertion_failed:_sh.bittable___NULL
call fcn.004882e0
add esp, 0xc
mov dword [ebp - 0x4c], 1
cmp dword [0x71f148], 0
jne 0x468a5c
jmp 0x468bce
push 0x1d3
push str.....Srcopenssl_3.0.12cryptomem_sec.c
mov ecx, dword [0x71f150]
shr ecx, 3
push ecx
call fcn.00460970
add esp, 0xc
mov dword [0x71f14c], eax
cmp dword [0x71f14c], 0
je 0x468a8f
mov dword [ebp - 0x50], 0
jmp 0x468aad
push 0x1d4
push str.....Srcopenssl_3.0.12cryptomem_sec.c
push str.assertion_failed:_sh.bitmalloc___NULL
call fcn.004882e0
add esp, 0xc
mov dword [ebp - 0x50], 1
cmp dword [0x71f14c], 0
jne 0x468abb
jmp 0x468bce
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, dword [0x71f138]
add ecx, dword [ebp - 4]
mov dword [0x71f130], ecx
push 4
push 0x3000
mov edx, dword [0x71f130]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x71f12c], eax
cmp dword [0x71f12c], 0
jne 0x468b06
jmp 0x468bce
mov eax, dword [0x71f12c]
add eax, dword [ebp - 4]
mov dword [0x71f134], eax
mov ecx, dword [0x71f148]
push ecx
push 0
mov edx, dword [0x71f134]
push edx
call fcn.00468be0
add esp, 0xc
mov eax, dword [0x71f134]
push eax
mov ecx, dword [0x71f13c]
push ecx
call fcn.00468d40
add esp, 8
mov dword [ebp - 0x38], 1
lea edx, [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x71f12c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x468b69
mov dword [ebp - 0x38], 2
mov edx, dword [ebp - 4]
add edx, dword [0x71f138]
mov eax, dword [ebp - 4]
lea ecx, [edx + eax - 1]
mov edx, dword [ebp - 4]
sub edx, 1
not edx
and ecx, edx
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x10]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x71f12c]
add edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x468bab
mov dword [ebp - 0x38], 2
mov eax, dword [0x71f138]
push eax
mov ecx, dword [0x71f134]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualLock]
test eax, eax
jne 0x468bc9
mov dword [ebp - 0x38], 2
mov eax, dword [ebp - 0x38]
jmp 0x468bd5
call fcn.00468ea0
xor eax, eax
mov esp, ebp
pop ebp
ret