Function at 0x1800573a0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x590]
sub rsp, 0x690
call fcn.180056da0
test al, al
je 0x180057e92
xor r15d, r15d
mov qword [rbp + 0x5e8], r15
mov qword [rbp - 0x78], r15
movdqa xmm0, xmmword [0x180102460]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], r15b
xor r8d, r8d
lea edx, [r15 + 0x29]
lea rcx, [rbp - 0x78]
call fcn.18000e960
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov byte [rbp + 0x5d0], 0x88
movzx eax, byte [rbp + 0x5d0]
lea r12, [0x1800fcac0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x28], al
mov byte [rbp + 0x5d0], 0xad
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x27], al
mov byte [rbp + 0x5d0], __WSAFDIsSet
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x26], al
mov byte [rbp + 0x5d0], 0x50
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x25], al
mov byte [rbp + 0x5d0], 0x88
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x24], al
mov byte [rbp + 0x5d0], 0x88
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x23], al
mov byte [rbp + 0x5d0], 0x5c
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x22], al
mov byte [rbp + 0x5d0], 0x4d
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x21], al
mov byte [rbp + 0x5d0], reloc.WS2_32.dll_ntohl
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x20], al
mov byte [rbp + 0x5d0], 9
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x1f], al
mov byte [rbp + 0x5d0], 0xee
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x1e], al
mov byte [rbp + 0x5d0], 0x7b
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x1d], al
mov byte [rbp + 0x5d0], 4
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x1c], al
mov byte [rbp + 0x5d0], 0x4d
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x1b], al
mov byte [rbp + 0x5d0], 0xad
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x1a], al
mov byte [rbp + 0x5d0], 0x50
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x19], al
mov byte [rbp + 0x5d0], 0xda
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x18], al
mov byte [rbp + 0x5d0], reloc.WS2_32.dll_ntohl
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x17], al
mov byte [rbp + 0x5d0], 3
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x16], al
mov byte [rbp + 0x5d0], 0x1e
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x15], al
mov byte [rbp + 0x5d0], 0x9c
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x14], al
mov byte [rbp + 0x5d0], 0x9e
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x13], al
mov byte [rbp + 0x5d0], 0x50
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x12], al
mov byte [rbp + 0x5d0], 0x9c
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x11], al
mov byte [rbp + 0x5d0], 0x7b
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0x10], al
mov byte [rbp + 0x5d0], 0xee
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0xf], al
mov byte [rbp + 0x5d0], 0xad
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0xe], al
mov byte [rbp + 0x5d0], 0x50
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0xd], al
mov byte [rbp + 0x5d0], 0xa
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0xc], al
mov byte [rbp + 0x5d0], 0x9c
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0xb], al
mov byte [rbp + 0x5d0], 0x3f
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 0xa], al
mov byte [rbp + 0x5d0], 0x57
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 9], al
mov byte [rbp + 0x5d0], reloc.WS2_32.dll_ntohl
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 8], al
mov byte [rbp + 0x5d0], 0x5c
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 7], al
mov byte [rbp + 0x5d0], 0x9c
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 6], al
mov byte [rbp + 0x5d0], 0x3f
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 5], al
mov byte [rbp + 0x5d0], 0xab
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 4], al
mov byte [rbp + 0x5d0], 0xa
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 3], al
mov byte [rbp + 0x5d0], 0x8b
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 2], al
mov byte [rbp + 0x5d0], __WSAFDIsSet
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 1], al
mov byte [rbp + 0x5d0], 0x4d
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx], al
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
lea r8, [rbp + 0x5e8]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1800577cf
lea rcx, [rbp + 0x30]
call fcn.180033240
lea rcx, [rbp + 0x30]
call fcn.1800287c0
xor bl, bl
jmp 0x180057e86
mov r14d, r15d
nop dword [rax]
nop word [rax + rax]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x90]
call fcn.18008cd80
mov dword [rbp + 0x5e0], 0x100
mov edx, r14d
inc r14d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x5e0]
lea r8, [rbp + 0x90]
mov rcx, qword [rbp + 0x5e8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov rcx, qword [rbp + 0x5e8]
test eax, eax
jne 0x180057e7e
mov qword [rsp + 0x60], r15
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x180057874
lea rcx, [rbp + 0x50]
call fcn.180033240
lea rcx, [rbp + 0x50]
call fcn.1800287c0
jmp 0x1800577e0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x50]
call fcn.18000e960
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
mov byte [rbp + 0x5d0], 0x5c
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 7], al
mov byte [rbp + 0x5d0], 0x22
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 6], al
mov byte [rbp + 0x5d0], 0x3f
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 5], al
mov byte [rbp + 0x5d0], 0xbf
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 4], al
mov byte [rbp + 0x5d0], 0xa
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 3], al
mov byte [rbp + 0x5d0], 0x88
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 2], al
mov byte [rbp + 0x5d0], __WSAFDIsSet
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 1], al
mov byte [rbp + 0x5d0], WSAStartup
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx], al
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
xor r8d, r8d
lea edx, [r8 + 0xa]
lea rcx, [rbp - 0x30]
call fcn.18000e960
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
mov byte [rbp + 0x5d0], 0x9c
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 9], al
mov byte [rbp + 0x5d0], 0x5c
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 8], al
mov byte [rbp + 0x5d0], 1
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 7], al
mov byte [rbp + 0x5d0], 0x22
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 6], al
mov byte [rbp + 0x5d0], 0xb8
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 5], al
mov byte [rbp + 0x5d0], 0xbf
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 4], al
mov byte [rbp + 0x5d0], 0xa
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 3], al
mov byte [rbp + 0x5d0], 0x9c
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 2], al
mov byte [rbp + 0x5d0], __WSAFDIsSet
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 1], al
mov byte [rbp + 0x5d0], 0x7b
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx], al
mov qword [rbp - 0x10], r15
mov qword [rbp], r15
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x10], 0
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x10]
call fcn.18000e960
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rdx, qword [rbp - 0x10]
mov byte [rbp + 0x5d0], 0x5c
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 7], al
mov byte [rbp + 0x5d0], 0x22
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 6], al
mov byte [rbp + 0x5d0], 0x3f
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 5], al
mov byte [rbp + 0x5d0], 0xbf
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 4], al
mov byte [rbp + 0x5d0], 0x9c
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 3], al
mov byte [rbp + 0x5d0], 0x5c
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 2], al
mov byte [rbp + 0x5d0], 0x88
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 1], al
mov byte [rbp + 0x5d0], 0x21
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx], al
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x10], 0
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp + 0x10]
call fcn.18000e960
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rdx, qword [rbp + 0x10]
mov byte [rbp + 0x5d0], 0x53
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 7], al
mov byte [rbp + 0x5d0], 0x9c
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 6], al
mov byte [rbp + 0x5d0], __WSAFDIsSet
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 5], al
mov byte [rbp + 0x5d0], 0xab
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 4], al
mov byte [rbp + 0x5d0], 0x88
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 3], al
mov byte [rbp + 0x5d0], 0x88
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 2], al
mov byte [rbp + 0x5d0], 0x3f
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx + 1], al
mov byte [rbp + 0x5d0], 0x7b
movzx eax, byte [rbp + 0x5d0]
movzx eax, byte [rax + r12]
mov byte [rdx], al
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.18002b230
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
mov byte [rax + rbx], 5
inc rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
lea rax, [rbp + 0x90]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180057c81
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.18000c9d0
nop
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
inc rdx
lea rcx, [rsp + 0x40]
call fcn.18002b230
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rsp + 0x78]
mov byte [rcx + rdx], al
inc rcx
mov qword [rsp + 0x58], rcx
mov rax, qword [rsp + 0x48]
sub rax, rdx
mov rdi, qword [rsp + 0x78]
lea rdx, [rdi + rax]
lea rcx, [rsp + 0x40]
call fcn.18002b230
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
add rcx, rbx
mov r8, rdi
call fcn.18008c6d0
add rbx, rdi
mov qword [rsp + 0x58], rbx
lea rcx, [rsp + 0x68]
call fcn.18000c740
lea rbx, [rbp - 0x50]
nop dword [rax]
nop word [rax + rax]
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x190]
call fcn.18008cd80
mov dword [rbp + 0x5d8], 0x400
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180057d5b
mov rdx, qword [rbx]
lea rax, [rbp + 0x5d8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x180057da6
lea rdx, [0x1800fdbe0]
lea rcx, [rbp + 0x70]
call fcn.18002d980
lea rcx, [rbp + 0x70]
call fcn.1800287c0
jmp 0x180057e2c
cmp dword [rbp + 0x5d8], 1
jbe 0x180057e2c
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180029500
mov esi, dword [rbp + 0x5d8]
dec esi
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rsp + 0x40]
add rdx, 2
lea rcx, [rsp + 0x40]
call fcn.18002b230
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
mov word [rax + rcx], si
add rax, 2
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
add rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.18002b230
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
add rcx, rdi
mov r8d, esi
lea rdx, [rbp + 0x190]
call fcn.18008c6d0
add rdi, rsi
mov qword [rsp + 0x58], rdi
add rbx, 0x20
lea rax, [rbp + 0x30]
cmp rbx, rax
jne 0x180057d30
xor r9d, r9d
lea r8, [rsp + 0x40]
mov dl, inet_ntoa
lea rcx, [0x180118fd0]
call fcn.180059d90
nop
lea rcx, [rsp + 0x40]
call fcn.18002b060
nop
lea r9, [fcn.18000c740]
mov edx, 0x20
lea r8d, [rdx - 0x1c]
lea rcx, [rbp - 0x50]
call fcn.18008a928
nop
jmp 0x1800577e0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
lea rcx, [rbp - 0x78]
call fcn.18000c740
movzx eax, bl
add rsp, 0x690
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret