Function at 0x180004950
Capabilities:
Hash data with md5
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x1800f10e0]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, r9
mov r14, 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.1800051c0
nop
lea rcx, [rbp - 0x70]
call fcn.180002cf0
nop
mov rax, qword [rbp - 0x58]
cmp rax, 0x10
jb 0x180004a19
inc rax
mov rcx, qword [rbp - 0x70]
cmp rax, 0x1000
jb 0x180004a14
test cl, 0x1f
je 0x1800049e7
call fcn.180072ffc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800049f6
call fcn.180072ffc
int3
sub rcx, rax
cmp rcx, 8
jae 0x180004a05
call fcn.180072ffc
int3
cmp rcx, 0x27
jbe 0x180004a11
call fcn.180072ffc
int3
mov rcx, rax
call fcn.18006baac
mov eax, dword [rsi]
cmp dword [0x1800f9080], eax
jge 0x180004abc
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x60], r12
mov byte [rbp - 0x70], 0
mov r8d, 0xa
lea rdx, str.no_support
lea rcx, [rbp - 0x70]
call fcn.1800051c0
nop
lea rcx, [rbp - 0x70]
call fcn.180002cf0
nop
mov rax, qword [rbp - 0x58]
cmp rax, 0x10
jb 0x180004aae
inc rax
mov rcx, qword [rbp - 0x70]
cmp rax, 0x1000
jb 0x180004aa9
test cl, 0x1f
je 0x180004a7c
call fcn.180072ffc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180004a8b
call fcn.180072ffc
int3
sub rcx, rax
cmp rcx, 8
jae 0x180004a9a
call fcn.180072ffc
int3
cmp rcx, 0x27
jbe 0x180004aa6
call fcn.180072ffc
int3
mov rcx, rax
call fcn.18006baac
mov byte [0x1800f7dd8], 0
mov al, 1
jmp 0x180004fc4
mov qword [rbp + 8], 7
mov qword [rbp], r12
mov word [rbp - 0x10], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1800f9148]
lea rcx, [rbp - 0x10]
call fcn.180007830
nop
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x80], r12
mov byte [rsp + 0x70], 0
xor r8d, r8d
lea rdx, [0x1800d70c5]
lea rcx, [rsp + 0x70]
call fcn.1800051c0
nop
xor r15b, r15b
mov dword [rsp + 0x68], r12d
cmp qword [rbx + 0x18], 0x10
jb 0x180004b1d
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.18000e0f0
nop
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x68], r12d
mov qword [rbp - 0x60], r12
lea r8, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae r8, qword [rbp - 0x10]
mov rdx, 0xffffffff80000001
mov r9d, 0xf003f
lea rcx, [rbp - 0x70]
call fcn.180002bf0
test eax, eax
je 0x180004be3
lea r8, [rbp - 0x10]
cmp qword [rbp + 8], 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, 0xffffffff80000001
lea rcx, [rbp - 0x70]
call fcn.180002ae0
test eax, eax
je 0x180004be3
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x40], r12
mov byte [rbp - 0x50], 0
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.open_or_create_failed
lea rcx, [rbp - 0x50]
call fcn.1800051c0
nop
lea rcx, [rbp - 0x50]
call fcn.180002cf0
nop
lea rcx, [rbp - 0x50]
call fcn.1800052f0
mov rsi, qword [rbp - 0x70]
jmp 0x180004e0f
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x6c]
xor r8d, r8d
mov rsi, qword [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180004d81
cmp dword [rsp + 0x6c], 3
jne 0x180004d81
mov edx, dword [rsp + 0x68]
mov rax, qword [rbp - 0x80]
cmp rdx, rax
ja 0x180004c4f
mov qword [rbp - 0x80], rdx
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rax + rdx], 0
jmp 0x180004c5f
sub rdx, rax
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.180009840
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rax, qword [rsp + 0x70]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov byte [rbp + 0x78], 0
mov qword [rbp + 0x20], r12
mov dword [rbp + 0x10], 0x67452301
mov dword [rbp + 0x14], 0xefcdab89
mov dword [rbp + 0x18], 0x98badcfe
mov dword [rbp + 0x1c], 0x10325476
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x68]
lea rcx, [rbp + 0x10]
call fcn.18000d330
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x10]
call fcn.18000dea0
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
cmp qword [rdi + 0x18], 0x10
jb 0x180004d07
mov rcx, qword [rdi]
jmp 0x180004d0a
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
jne 0x180004d56
mov r15b, 1
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x50], r12
mov byte [rsp + 0x40], al
lea r8d, [rax + 0xa]
lea rdx, str.md5_update
lea rcx, [rsp + 0x40]
call fcn.1800051c0
nop
lea rcx, [rsp + 0x40]
call fcn.180002cf0
nop
lea rcx, [rsp + 0x40]
call fcn.1800052f0
nop
mov r8, qword [rbp - 0x38]
cmp r8, 0x10
jb 0x180004d70
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.1800084b0
test r15b, r15b
jne 0x180004d81
mov byte [0x1800f7dd8], r15b
jmp 0x180004f60
mov qword [rbp - 0x80], r12
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rax], 0
mov ebx, r12d
nop dword [rax + rax]
lea r8, [rsp + 0x6c]
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.18000e620
test al, al
jne 0x180004dca
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 3
jl 0x180004da0
jmp 0x180004dcf
cmp ebx, 3
jl 0x180004e16
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x50], r12
mov byte [rsp + 0x40], 0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.than_three_times
lea rcx, [rsp + 0x40]
call fcn.1800051c0
nop
lea rcx, [rsp + 0x40]
call fcn.180002cf0
nop
lea rcx, [rsp + 0x40]
call fcn.1800052f0
xor bl, bl
jmp 0x180004f62
mov byte [rbp + 0x78], 0
mov qword [rbp + 0x20], r12
mov dword [rbp + 0x10], 0x67452301
mov dword [rbp + 0x14], 0xefcdab89
mov dword [rbp + 0x18], 0x98badcfe
mov dword [rbp + 0x1c], 0x10325476
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
lea rcx, [rbp + 0x10]
call fcn.18000d330
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x10]
call fcn.18000dea0
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
cmp qword [rdi + 0x18], 0x10
jb 0x180004e7f
mov rcx, qword [rdi]
jmp 0x180004e82
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
jne 0x180004edb
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x50], r12
mov byte [rsp + 0x40], al
lea r8d, [rax + 0x12]
lea rdx, str.md5_vertify_failed
lea rcx, [rsp + 0x40]
call fcn.1800051c0
nop
lea rcx, [rsp + 0x40]
call fcn.180002cf0
nop
lea rcx, [rsp + 0x40]
call fcn.1800052f0
nop
lea rcx, [rbp - 0x50]
call fcn.1800052f0
xor bl, bl
jmp 0x180004f62
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov eax, dword [rbp - 0x80]
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], 0x10
jb 0x180004f21
mov rdi, qword [rdi]
lea rcx, [0x1800f9040]
cmp qword [0x1800f9058], 0x10
cmovae rcx, qword [0x1800f9040]
mov rdx, rdi
call fcn.180076938
movzx edx, byte [0x1800f7dd8]
mov ecx, 1
test eax, eax
cmovne edx, ecx
mov byte [0x1800f7dd8], dl
lea rcx, [rbp - 0x50]
call fcn.1800052f0
mov bl, 1
test rsi, rsi
je 0x180004f71
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x180004f8b
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.1800094a0
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
lea rcx, [rsp + 0x70]
call fcn.1800052f0
nop
mov r8, qword [rbp + 8]
cmp r8, 8
jb 0x180004fc1
inc r8
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.1800094a0
movzx eax, bl
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.18006c2f0
add rsp, 0x190
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret