Function at 0x140022410
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x40], 0
lea rdx, str.CSilentPropertyParametersFromSilentIni::GetSilentRebootValue
lea rcx, [rsp + 0x50]
call fcn.14001abe0
nop
lea r14, [0x1402a8360]
lea rsi, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r14
je 0x1400224ab
test byte [rcx + 0x1c], 1
je 0x1400224ab
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.WSOCK32.dll_recv
lea r8, [0x140253020]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x60]
call fcn.1401e7e40
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x140022737
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rdi], rax
mov dword [rsp + 0x40], 1
mov rax, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rbp - 0x60]
lea r8, [0x140251dfc]
lea rdx, str.Reboot
lea rcx, str.InstallComplete
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1400225a9
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x140022737
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x60]
mov rbx, 0xffffffffffffffff
cmp rax, 0x10000
jae 0x14002256e
lea rax, [rbp - 0x60]
movzx edx, ax
lea rcx, [rsp + 0x30]
call fcn.1400041d0
jmp 0x140022591
lea rcx, [rbp - 0x60]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140022575
mov r8d, eax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.140004e60
nop
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140004620
nop
mov rdx, qword [rsp + 0x30]
jmp 0x14002262b
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x140022737
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, [0x140252f48]
mov rbx, 0xffffffffffffffff
cmp rdx, 0x10000
jae 0x1400225f6
movzx edx, dx
lea rcx, [rsp + 0x38]
call fcn.1400041d0
jmp 0x140022618
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140022600
mov r8d, eax
lea rcx, [rsp + 0x38]
call fcn.140004e60
nop
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140004620
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14002264c
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov al, 1
mov byte [rsp + 0x58], al
mov r10, qword [0x1402a8360]
cmp r10, r14
je 0x1400226a0
test byte [r10 + 0x1c], al
je 0x1400226a0
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.COMCTL32.dll_InitCommonControls
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
lea r8, [0x140253020]
mov rcx, qword [r10 + 0x10]
call fcn.140006c90
movzx eax, byte [rsp + 0x58]
mov r10, qword [0x1402a8360]
lea rcx, vtable.WppTrace.0
mov qword [rsp + 0x50], rcx
test al, al
jne 0x1400226fa
cmp r10, r14
je 0x1400226fa
test byte [r10 + 0x1c], 1
je 0x1400226fa
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
cmp qword [0x1402bbdc8], 8
cmovae rsi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rcx
mov r9, rsi
lea r8, [0x140252818]
mov rcx, qword [r10 + 0x10]
call fcn.140006c90
lea rcx, [rbp - 0x80]
call fcn.1400048a0
lea rcx, [rsp + 0x60]
call fcn.1400048a0
mov rax, rdi
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001470
int3