Function at 0x18007bdcc
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800f4320]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, r9
mov r15, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
xor r12d, r12d
mov qword [rbp - 0x60], r12
mov byte [rbp - 0x70], r12b
lea r8d, [r12 + 0x12]
lea rdx, str.download_reg_begin
lea rcx, [rbp - 0x70]
call fcn.180003900
nop
lea rcx, [rbp - 0x70]
call fcn.18007ce7c
nop
lea r14d, [r12 + 1]
mov rdx, qword [rbp - 0x58]
lea r13d, [r12 + 0x10]
cmp rdx, r13
jb 0x18007be67
inc rdx
mov r8d, r14d
mov rcx, qword [rbp - 0x70]
call fcn.180001f60
mov eax, dword [rsi]
cmp dword [0x1800f4120], eax
jge 0x18007bec9
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x60], r12
mov byte [rbp - 0x70], r12b
mov r8d, 0xa
lea rdx, str.no_support
lea rcx, [rbp - 0x70]
call fcn.180003900
nop
lea rcx, [rbp - 0x70]
call fcn.18007ce7c
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r13
jb 0x18007beba
inc rdx
mov r8, r14
mov rcx, qword [rbp - 0x70]
call fcn.180001f60
mov byte [0x1800f8680], r12b
mov al, r14b
jmp 0x18007c409
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], r12
mov word [rbp + 0x10], r12w
or rsi, 0xffffffffffffffff
mov r9, rsi
xor r8d, r8d
lea rdx, [0x1800f41c0]
lea rcx, [rbp + 0x10]
call fcn.180003620
nop
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
xor r8d, r8d
lea rdx, [0x1800d5238]
lea rcx, [rsp + 0x50]
call fcn.180003900
nop
mov r14b, r12b
mov dword [rsp + 0x40], r12d
cmp qword [rbx + 0x18], r13
jb 0x18007bf2e
mov rbx, qword [rbx]
mov qword [rbp - 0x50], rbx
test rbx, rbx
je 0x18007bf3c
cmp byte [rbx], r12b
jne 0x18007bf42
mov qword [rbp - 0x48], r12
jmp 0x18007bf4f
inc rsi
cmp byte [rbx + rsi], r12b
jne 0x18007bf42
mov qword [rbp - 0x48], rsi
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.18002ac60
nop
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x68], r12d
mov qword [rbp - 0x60], r12
lea r8, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae r8, qword [rbp + 0x10]
mov rbx, 0xffffffff80000001
mov r9d, 0xf003f
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180036e50
test eax, eax
je 0x18007c025
lea r8, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae r8, qword [rbp + 0x10]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18007b208
test eax, eax
je 0x18007c025
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x40], r12
mov byte [rbp - 0x50], r12b
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.open_or_create_failed
lea rcx, [rbp - 0x50]
call fcn.180003900
nop
lea rcx, [rbp - 0x50]
call fcn.18007ce7c
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, r13
jb 0x18007c01c
inc rdx
mov r8d, 1
mov rcx, qword [rbp - 0x50]
call fcn.180001f60
mov rsi, qword [rbp - 0x70]
jmp 0x18007c342
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rsi, qword [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18007c1b9
cmp dword [rsp + 0x44], 3
jne 0x18007c1b9
mov eax, r12d
test eax, eax
jne 0x18007c1b9
mov edx, dword [rsp + 0x40]
cmp rdx, qword [rsp + 0x60]
ja 0x18007c09b
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], r13
cmovae rax, qword [rsp + 0x50]
mov byte [rax + rdx], r12b
jmp 0x18007c0ad
sub rdx, qword [rsp + 0x60]
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.180004080
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], r13
cmovae rax, qword [rsp + 0x50]
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], r13
cmovae rax, qword [rsp + 0x50]
mov qword [rbp - 0x50], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.180028660
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], r13
cmovae rdx, qword [rbp - 0x30]
cmp qword [rdi + 0x18], r13
jb 0x18007c12e
mov rcx, qword [rdi]
jmp 0x18007c131
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
mov ebx, 1
test rax, rax
jne 0x18007c190
mov r14b, bl
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x80], r12
mov byte [rsp + 0x70], r12b
lea r8d, [rbx + 9]
lea rdx, str.md5_update
lea rcx, [rsp + 0x70]
call fcn.180003900
nop
lea rcx, [rsp + 0x70]
call fcn.18007ce7c
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, r13
jb 0x18007c190
inc rdx
mov r8d, ebx
mov rcx, qword [rsp + 0x70]
call fcn.180001f60
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, r13
jb 0x18007c1a8
inc rdx
mov r8, rbx
mov rcx, qword [rbp - 0x30]
call fcn.180001f60
test r14b, r14b
jne 0x18007c1b9
mov byte [0x1800f8680], r12b
jmp 0x18007c3ca
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], r13
cmovae rax, qword [rsp + 0x50]
mov byte [rax], r12b
mov r14d, r12d
cmp qword [r15 + 0x18], r13
jb 0x18007c1df
mov rax, qword [r15]
jmp 0x18007c1e2
mov rax, r15
mov qword [rbp - 0x50], rax
mov rax, qword [r15 + 0x10]
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.18002ac60
nop
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.18007d0ec
mov bl, al
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x70]
call fcn.180003450
test bl, bl
jne 0x18007c23a
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 1
add r14d, ebx
cmp r14d, 3
jl 0x18007c1d4
jmp 0x18007c23f
mov ebx, 1
cmp r14d, 3
jl 0x18007c28d
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x80], r12
mov byte [rsp + 0x70], r12b
mov r8, r13
lea rdx, str.than_three_times
lea rcx, [rsp + 0x70]
call fcn.180003900
nop
lea rcx, [rsp + 0x70]
call fcn.18007ce7c
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, r13
jb 0x18007c342
mov rcx, qword [rsp + 0x70]
jmp 0x18007c337
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], r13
cmovae rax, qword [rsp + 0x50]
mov qword [rbp - 0x50], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.180028660
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], r13
cmovae rdx, qword [rbp - 0x30]
cmp qword [rdi + 0x18], r13
jb 0x18007c2d0
mov rcx, qword [rdi]
jmp 0x18007c2d3
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
jne 0x18007c34a
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x80], r12
mov byte [rsp + 0x70], r12b
lea r8d, [rax + 0x12]
lea rdx, str.md5_vertify_failed
lea rcx, [rsp + 0x70]
call fcn.180003900
nop
lea rcx, [rsp + 0x70]
call fcn.18007ce7c
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, r13
jb 0x18007c32a
inc rdx
mov r8, rbx
mov rcx, qword [rsp + 0x70]
call fcn.180001f60
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, r13
jb 0x18007c342
mov rcx, qword [rbp - 0x30]
mov r8, rbx
inc rdx
call fcn.180001f60
mov bl, r12b
jmp 0x18007c3ca
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], r13
cmovae rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 3
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp qword [rdi + 0x18], r13
jb 0x18007c390
mov rdi, qword [rdi]
lea rcx, [0x1800f4280]
cmp qword [reloc.WS2_32.dll_ntohs], r13
cmovae rcx, qword [0x1800f4280]
mov rdx, rdi
call fcn.180093b90
movzx edx, byte [0x1800f8680]
test eax, eax
cmovne edx, ebx
mov byte [0x1800f8680], dl
lea rcx, [rbp - 0x30]
call fcn.180003280
nop
test rsi, rsi
je 0x18007c3d9
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
xor r8d, r8d
lea edi, [r8 + 1]
mov dl, dil
lea rcx, [rbp - 0x10]
call fcn.180003450
nop
lea rcx, [rsp + 0x50]
call fcn.180003280
nop
xor r8d, r8d
mov dl, dil
lea rcx, [rbp + 0x10]
call fcn.180003450
mov al, bl
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180081d90
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret