Function at 0x41e350
Capabilities:
Get system information on windows

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x60
mov r12d, dword [0x008282d8]
mov rbx, rcx
mov rsi, rdx
test r12d, r12d
je 0x41e380
xor r12d, r12d
mov eax, r12d
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
call sym.CRYPTO_THREAD_lock_new
mov qword [0x008282d0], rax
test rax, rax
je 0x41e36d
mov qword [0x00828280], 0
mov qword [0x00828288], 0
mov qword [0x00828290], 0
mov qword [0x00828298], 0
mov qword [0x008282a0], 0
mov qword [0x008282a8], 0
mov qword [0x008282b0], 0
mov qword [0x008282b8], 0
mov qword [0x008282c0], 0
mov qword [0x008282c8], 0
test rbx, rbx
je 0x41e72b
lea rcx, [rbx - 1]
and rcx, rbx
jne 0x41e744
cmp rsi, 0x10
jbe 0x41e610
lea rax, [rsi - 1]
test rax, rsi
jne 0x41e7a8
xor edx, edx
mov rax, rbx
mov qword [0x00828298], rbx
div rsi
mov qword [0x008282b0], rsi
add rax, rax
mov rdi, rax
mov qword [0x008282c8], rax
shr rdi, 3
je 0x41e620
nop dword [rax]
mov rdx, rcx
add rcx, 1
shr rax, 1
jne 0x41e460
mov qword [0x008282a8], rdx
lea rcx, [rdx*8]
mov r8d, 0x1c9
lea rdx, str..._openssl_3.1.1_crypto_mem_sec.c
call sym.CRYPTO_zalloc
mov qword [0x008282a0], rax
test rax, rax
je 0x41e78f
mov rcx, qword [0x008282c8]
mov r8d, 0x1ce
lea rdx, str..._openssl_3.1.1_crypto_mem_sec.c
shr rcx, 3
call sym.CRYPTO_zalloc
mov qword [0x008282b8], rax
test rax, rax
je 0x41e776
mov rcx, qword [0x008282c8]
mov r8d, 0x1d3
lea rdx, str..._openssl_3.1.1_crypto_mem_sec.c
shr rcx, 3
call sym.CRYPTO_zalloc
mov qword [0x008282c0], rax
test rax, rax
je 0x41e75d
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r13d, dword [rsp + 0x34]
xor ecx, ecx
mov rdx, qword [0x00828298]
mov r9d, 4
mov r8d, 0x3000
lea rbx, [r13 + r13]
add rdx, rbx
mov qword [0x00828288], rdx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, qword [0x008282a0]
mov qword [0x00828280], rax
test rax, rax
je 0x41e622
mov r8, qword [0x008282b8]
lea rcx, [rax + r13]
xor edx, edx
lea rdi, [rsp + 0x2c]
mov qword [0x00828290], rcx
mov r12d, 1
call sym.sh_setbit
mov rdx, qword [0x00828290]
mov rcx, qword [0x008282a0]
call sym.sh_add_to_list
mov rsi, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9, rdi
mov rdx, r13
mov rcx, qword [0x00828280]
mov r8d, 1
call rsi
mov r9, rdi
mov r8d, 1
mov rdx, r13
cmp eax, 1
mov rax, qword [0x00828298]
adc r12d, 0
lea rcx, [rbx + rax - 1]
mov rax, r13
mov ebx, 2
neg rax
and rcx, rax
add rcx, qword [0x00828280]
call rsi
mov rdx, qword [0x00828298]
mov rcx, qword [0x00828290]
test eax, eax
cmove r12d, ebx
call qword [sym.imp.KERNEL32.dll_VirtualLock]
mov dword [0x008282d8], 1
test eax, eax
cmove r12d, ebx
mov eax, r12d
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
mov esi, 0x10
jmp 0x41e42c
xor ecx, ecx
mov r8d, 0x23e
lea rdx, str..._openssl_3.1.1_crypto_mem_sec.c
call sym.CRYPTO_free
mov rcx, qword [0x008282b8]
mov r8d, 0x23f
lea rdx, str..._openssl_3.1.1_crypto_mem_sec.c
call sym.CRYPTO_free
mov rcx, qword [0x008282c0]
mov r8d, 0x240
lea rdx, str..._openssl_3.1.1_crypto_mem_sec.c
call sym.CRYPTO_free
mov rcx, qword [0x00828280]
test rcx, rcx
je 0x41e680
cmp qword [0x00828288], 0
jne 0x41e718
mov rcx, qword [0x008282d0]
mov qword [0x00828280], 0
mov qword [0x00828288], 0
mov qword [0x00828290], 0
mov qword [0x00828298], 0
mov qword [0x008282a0], 0
mov qword [0x008282a8], 0
mov qword [0x008282b0], 0
mov qword [0x008282b8], 0
mov qword [0x008282c0], 0
mov qword [0x008282c8], 0
call sym.CRYPTO_THREAD_lock_free
mov eax, r12d
mov qword [0x008282d0], 0
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
mov r8d, 0x8000
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41e680
mov r8d, 0x1a2
lea rdx, str..._openssl_3.1.1_crypto_mem_sec.c
lea rcx, str.assertion_failed:_size___0
call sym.OPENSSL_die
mov r8d, 0x1a3
lea rdx, str..._openssl_3.1.1_crypto_mem_sec.c
lea rcx, str.assertion_failed:__size___size___1____0
call sym.OPENSSL_die
mov r8d, 0x1d4
lea rdx, str..._openssl_3.1.1_crypto_mem_sec.c
lea rcx, str.assertion_failed:_sh.bitmalloc___NULL
call sym.OPENSSL_die
mov r8d, 0x1cf
lea rdx, str..._openssl_3.1.1_crypto_mem_sec.c
lea rcx, str.assertion_failed:_sh.bittable___NULL
call sym.OPENSSL_die
mov r8d, 0x1ca
lea rdx, str..._openssl_3.1.1_crypto_mem_sec.c
lea rcx, str.assertion_failed:_sh.freelist___NULL
call sym.OPENSSL_die
mov r8d, 0x1b8
lea rdx, str..._openssl_3.1.1_crypto_mem_sec.c
lea rcx, str.assertion_failed:__minsize___minsize___1____0
call sym.OPENSSL_die
nop
nop word cs:[rax + rax]
nop dword [rax]