Function at 0x14004ea7c
Capabilities:
Contain obfuscated stackstrings
Create http request
Query or enumerate registry value
Read data from internet
Receive data
Set registry value

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x5d0
mov qword [rsp + 0x108], 0xfffffffffffffffe
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0x5c0], rax
mov dword [rsp + 0x98], 3
movzx eax, byte [rsp + 0x5f0]
test eax, eax
jne 0x14004eba2
lea r8, [rsp + 0x50]
lea rdx, [0x140364a28]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14004eb09
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareBSTab
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x5c], 4
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [rsp + 0x44], 0
jne 0x14004eb85
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x14004eb97
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x14004f2be
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x5e0]
call fcn.14004e51c
nop
mov eax, 1
imul rax, rax, 0x39
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0x35
mov byte [rsp + rax + 0x110], 0x66
mov eax, 1
imul rax, rax, 0x15
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 0x25
mov byte [rsp + rax + 0x110], 0x64
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x110], 0x61
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x110], reloc.OLEAUT32.dll_VarBstrFromDisp
mov eax, 1
imul rax, rax, 0x20
mov byte [rsp + rax + 0x110], 0x3d
mov eax, 1
imul rax, rax, 0x10
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 0x1b
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSASetLastError
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x110], 0x63
mov eax, 1
imul rax, rax, 0x1a
mov byte [rsp + rax + 0x110], reloc.WLDAP32.dll_Ordinal_46
mov eax, 1
imul rax, rax, 0x32
mov byte [rsp + rax + 0x110], 0x64
mov eax, 1
imul rax, rax, 0x17
mov byte [rsp + rax + 0x110], Ordinal_50
mov eax, 1
imul rax, rax, 0x2b
mov byte [rsp + rax + 0x110], 0x3d
mov eax, 1
imul rax, rax, 0x33
mov byte [rsp + rax + 0x110], Ordinal_41
mov eax, 1
imul rax, rax, 0x18
mov byte [rsp + rax + 0x110], 0x62
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 0x21
mov byte [rsp + rax + 0x110], Ordinal_41
mov eax, 1
imul rax, rax, 0x3a
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0x3b
jae 0x14004ed08
jmp 0x14004ed0d
call fcn.14028613c
mov rax, qword [rsp + 0x80]
mov byte [rsp + rax + 0x110], 0
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSASetLastError
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x110], 0x77
mov eax, 1
imul rax, rax, 0x30
mov byte [rsp + rax + 0x110], 0x3d
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x110], reloc.OLEAUT32.dll_VarBstrFromDisp
mov eax, 1
imul rax, rax, 0x14
mov byte [rsp + rax + 0x110], 0x63
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 0x2c
mov byte [rsp + rax + 0x110], Ordinal_41
mov eax, 1
imul rax, rax, 0x22
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x110], WSAGetLastError
mov eax, 1
imul rax, rax, 0x37
mov byte [rsp + rax + 0x110], 0x3d
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x110], 0x66
mov eax, 1
imul rax, rax, 0x1c
mov byte [rsp + rax + 0x110], WSAGetLastError
mov eax, 1
imul rax, rax, 0x2e
mov byte [rsp + rax + 0x110], Ordinal_41
mov eax, 1
imul rax, rax, 0x28
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0x2d
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0x29
mov byte [rsp + rax + 0x110], Ordinal_41
mov eax, 1
imul rax, rax, 0x36
mov byte [rsp + rax + 0x110], 0x66
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x110], 0x65
mov eax, 1
imul rax, rax, 0x12
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 0x16
mov byte [rsp + rax + 0x110], WSACleanup
mov eax, 1
imul rax, rax, 0x34
mov byte [rsp + rax + 0x110], 0x61
mov eax, 1
imul rax, rax, 0x27
mov byte [rsp + rax + 0x110], Ordinal_41
mov eax, 1
imul rax, rax, 0x1d
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSASetLastError
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x110], 0x61
mov eax, 1
imul rax, rax, 0x31
mov byte [rsp + rax + 0x110], Ordinal_41
mov eax, 1
imul rax, rax, 0x1f
mov byte [rsp + rax + 0x110], 0x61
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x110], reloc.OLEAUT32.dll_VarBstrFromDisp
mov eax, 1
imul rax, rax, 0x2f
mov byte [rsp + rax + 0x110], 0x76
mov eax, 1
imul rax, rax, 0x23
mov byte [rsp + rax + 0x110], Ordinal_41
mov eax, 1
imul rax, rax, 0x38
mov byte [rsp + rax + 0x110], Ordinal_41
mov eax, 1
imul rax, rax, 0x19
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0x13
mov byte [rsp + rax + 0x110], reloc.WLDAP32.dll_Ordinal_46
mov eax, 1
imul rax, rax, 0x1e
mov byte [rsp + rax + 0x110], 0x3f
mov eax, 1
imul rax, rax, 0x26
mov byte [rsp + rax + 0x110], 0x3d
mov eax, 1
imul rax, rax, 0x24
mov byte [rsp + rax + 0x110], WSASetLastError
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x110], 0x65
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0x11
mov byte [rsp + rax + 0x110], reloc.OLEAUT32.dll_VarBstrFromDisp
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0x2a
mov byte [rsp + rax + 0x110], reloc.WS2_32.dll_WSACleanup
xor ecx, ecx
call fcn.140295a30
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov byte [rsp + 0x150], 0
lea rax, [rsp + 0x151]
mov rdi, rax
xor eax, eax
mov ecx, 0x63
rep stosb byte [rdi], al
lea r8, str._d_H_M_S
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xa8]
call fcn.140049a6c
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov r8, qword [rsp + 0xb8]
mov edx, 0x64
lea rcx, [rsp + 0x150]
call fcn.1402a2c14
mov rax, qword [rsp + 0xc0]
sub rax, 0x18
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140045ed4
call fcn.1400eef44
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140045dc4
nop
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xd0], rax
mov rax, qword [0x1403ddab8]
mov qword [rsp + 0x30], rax
mov eax, dword [0x1403c9300]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x5e8]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x78]
call fcn.140046358
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x140364a58]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14004f275
mov dword [rsp + 0x48], 0
xor eax, eax
cmp eax, 1
je 0x14004f26a
lea r8, [rsp + 0x78]
lea rdx, [0x140364a68]
lea rcx, [rsp + 0xe8]
call fcn.14004f330
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x4000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xe8]
sub rax, 0x18
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf0]
call fcn.140045ed4
cmp qword [rsp + 0x68], 0
je 0x14004f247
mov byte [rsp + 0x1c0], 0
lea rax, [rsp + 0x1c1]
mov rdi, rax
xor eax, eax
mov ecx, 0x3ff
rep stosb byte [rdi], al
mov dword [rsp + 0x60], 0x400
lea r9, [rsp + 0x60]
mov r8d, 0x3ff
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov dword [rsp + 0x64], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [rsp + 0x64], 0
je 0x14004f247
mov qword [rsp + 0x88], 0
lea rdx, [0x140364a24]
lea rcx, [rsp + 0x1c0]
call fcn.14028d434
mov qword [rsp + 0x88], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
cmp eax, 0x31
jne 0x14004f247
jmp 0x14004f26a
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x48], 3
jl 0x14004f265
jmp 0x14004f26a
jmp 0x14004f110
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rsp + 0x40], 1
mov rax, qword [rsp + 0x78]
sub rax, 0x18
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.140045ed4
nop
mov rax, qword [rsp + 0x90]
sub rax, 0x18
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
call fcn.140045ed4
mov al, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.140286010
add rsp, 0x5d0
pop rdi
ret