Function at 0x140003d00
Capabilities:
Query or enumerate registry value
Read file on windows

Disassembly:
push rbp
push r12
push r15
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
mov r15, rcx
xor r12d, r12d
add rcx, 0x10
call fcn.1400041d0
lea rcx, str.LOCALAPPDATA
call fcn.140065824
test rax, rax
je 0x14000419a
mov qword [rsp + 0x6f8], rsi
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x6b8], rdi
mov rdx, rsi
lea rdi, [r15 + 0x90]
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], r12w
jne 0x140003d70
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x6f0], rbx
mov qword [rsp + 0x6b0], r14
cmp rdx, rcx
ja 0x140003dbc
mov r14, rdi
cmp rcx, 7
jbe 0x140003d9f
mov r14, qword [rdi]
lea rbx, [rdx + rdx]
mov qword [rdi + 0x10], rdx
mov r8, rbx
mov rdx, rax
mov rcx, r14
call fcn.1400811e0
mov word [rbx + r14], r12w
jmp 0x140003dc7
mov r9, rax
mov rcx, rdi
call fcn.140007f40
lea r9, [r15 + 0x154]
mov rcx, r15
lea r8, [r15 + 0x150]
lea rdx, [r15 + 0x110]
call fcn.140006770
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0xff
call fcn.140080e20
lea r8, [rbp - 0x80]
mov rcx, 0xffffffff80000001
lea rdx, str.SOFTWAREOneStart.aiOneStart_Software
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140003e5f
mov rcx, qword [rbp - 0x80]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rdx, [0x14009a5d0]
lea rax, [rbp - 0x70]
mov dword [rbp - 0x78], 0xff
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rbp - 0x78]
cmp rax, 0xff
jae 0x1400041bc
mov rcx, qword [rbp - 0x80]
mov byte [rbp + rax - 0x70], r12b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
lea rax, [rbp - 0x70]
xorps xmm1, xmm1
mov r8, rsi
movups xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
inc r8
cmp byte [rax + r8], r12b
jne 0x140003e77
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400020f0
lea rax, [rsp + 0x40]
mov r14d, reloc.WS2_32.dll_ntohs
lea rbx, [r15 + 0x130]
cmp rbx, rax
je 0x140003ef9
mov rdx, qword [rbx + 0x18]
cmp rdx, r14
jbe 0x140003ede
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140003ed9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400041b6
mov rcx, r8
call fcn.14000deb0
movups xmm0, xmmword [rsp + 0x40]
mov rdx, r14
mov byte [rsp + 0x40], r12b
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
jmp 0x140003efe
mov rdx, qword [rsp + 0x58]
cmp rdx, r14
jbe 0x140003f35
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f30
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400041b6
call fcn.14000deb0
cmp qword [rdi + 0x18], 7
jbe 0x140003f3f
mov rdi, qword [rdi]
lea rcx, [rbp - 0x70]
sub rcx, rdi
nop word [rax + rax]
movzx eax, word [rdi]
mov word [rdi + rcx], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x140003f50
lea rcx, [rbp - 0x70]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x140003f70
lea r8, str.OneStart.aiOneStartUpdate
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140003f90
lea rcx, [rbp - 0x70]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x140003fb0
lea r8, str.intermediate.dat
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140003fd0
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
lea rcx, [rbp - 0x70]
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
lea rcx, [rbp + 0x1a0]
mov r8d, 0x400
mov rbx, rax
call fcn.140080e20
cmp rbx, rsi
je 0x140004084
lea r9, [rbp - 0x78]
mov dword [rbp - 0x78], r12d
mov r8d, 0x3ff
mov qword [rsp + 0x20], r12
lea rdx, [rbp + 0x1a0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbp - 0x78]
mov eax, r12d
test r8d, r8d
je 0x140004084
mov edx, eax
movzx ecx, byte [rbp + rdx + 0x1a0]
cmp cl, 0xd
je 0x14000411f
cmp cl, 0xa
je 0x14000411f
inc eax
cmp eax, r8d
jb 0x140004061
xorps xmm0, xmm0
lea rax, [rbp + 0x1a0]
xorps xmm1, xmm1
movups xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
nop dword [rax]
inc rsi
cmp byte [rax + rsi], r12b
jne 0x1400040a0
mov r8, rsi
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x60]
call fcn.1400020f0
lea rax, [rsp + 0x60]
lea rbx, [r15 + 0xf0]
cmp rbx, rax
je 0x140004139
mov rdx, qword [rbx + 0x18]
cmp rdx, r14
jbe 0x140004107
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140004102
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400041b6
mov rcx, r8
call fcn.14000deb0
movups xmm0, xmmword [rsp + 0x60]
mov byte [rsp + 0x60], r12b
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
jmp 0x14000413e
cmp rdx, 0x400
jae 0x1400041c2
mov byte [rbp + rdx + 0x1a0], r12b
jmp 0x140004084
mov r14, qword [rsp + 0x78]
cmp r14, 0xf
jbe 0x140004173
mov rcx, qword [rsp + 0x60]
lea rdx, [r14 + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000416e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400041b6
call fcn.14000deb0
mov rbx, qword [rsp + 0x6f0]
mov al, 1
mov r14, qword [rsp + 0x6b0]
mov rsi, qword [rsp + 0x6f8]
mov rdi, qword [rsp + 0x6b8]
mov byte [r15 + 8], 1
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.14000dbb0
add rsp, 0x6c0
pop r15
pop r12
pop rbp
ret
call fcn.140065400
int3
call fcn.14000dcd8
int3
call fcn.14000dcd8
int3