Function at 0x140004a50
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1050]
mov eax, 0x1150
call fcn.1400221d0
sub rsp, rax
mov rax, qword [0x140033180]
xor rax, rsp
mov qword [rbp + 0x1040], rax
mov r12, r8
mov rbx, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 1]
lea rcx, str.SEND_KEY
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x140004fff
mov r8d, 0x1bb
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea rdx, str.qxubwbxqcbwxqcxwxxbqwbcfqu.000webhostapp.com
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetConnectW]
mov rsi, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140004fff
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x80800000
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, str.wqpzepwqewpqewq_dfqwdwqdqwd_checkkey.php
lea rdx, str.POST
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r13, rax
test rax, rax
je 0x140004fff
mov rdx, qword [rdi]
lea rcx, [rbp + 0x20]
call fcn.140007080
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rbx + r8*2], 0
jne 0x140004b63
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140007c90
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova r8, qword [rsp + 0x40]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, edi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.1400069b0
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova r8, qword [rsp + 0x40]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
mov r9d, edi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140004c48
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021980
movdqa xmm0, xmmword [0x14002d7e0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.1400046e0
mov qword [rbp - 0x70], rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x68]
call fcn.1400046e0
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rcx, rdx
sub rcx, r8
cmp rcx, 4
jb 0x140004d28
lea rax, [r8 + 4]
mov qword [rbx + 0x10], rax
mov rsi, rbx
cmp rdx, 0xf
jbe 0x140004ca9
mov rsi, qword [rbx]
lea rax, [0x14002d1d8]
mov r15d, 4
lea rcx, str.key
cmp rax, rsi
jbe 0x140004cdd
lea rax, [rsi + r8]
cmp rcx, rax
ja 0x140004cdd
cmp rsi, rcx
ja 0x140004cd5
xor r14d, r14d
jmp 0x140004ce0
mov r14, rsi
sub r14, rcx
jmp 0x140004ce0
mov r14, r15
lea rcx, [rsi + 4]
inc r8
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
lea rdx, str.key
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + r14]
sub r15, r14
lea rdx, str.key
add rdx, 4
add rdx, r14
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
mov rsi, qword [rbp - 0x80]
mov r14, qword [rbp - 0x78]
jmp 0x140004d41
mov r15d, 4
mov qword [rsp + 0x28], r15
mov edx, r15d
mov rcx, rbx
call fcn.140008dc0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x70], xmm1
xor r15d, r15d
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r15b
lea r8d, [r15 + 0xb]
lea rdx, str.productid
lea rcx, [rsp + 0x60]
call fcn.140006ea0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov r9, qword [rbp - 0x70]
lea r8, [rsp + 0x40]
lea rcx, [rbp]
call fcn.140008840
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140004dfe
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004df8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004df8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021980
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140004e3e
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004e39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021980
movdqa xmm0, xmmword [0x14002d7f0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140004e8f
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004e8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021980
movdqa xmm0, xmmword [0x14002d7f0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140004ede
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ed9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ed9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021980
movdqa xmm0, xmmword [0x14002d7f0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
lea r9, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r9, qword [rbp]
mov rax, rdi
inc rax
cmp byte [r9 + rax], 0
jne 0x140004f00
mov dword [rsp + 0x20], eax
mov r8d, 0x2f
lea rdx, str.Content_Type:_application_x_www_form_urlencoded
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x14000502b
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140004f67
inc rdx
mov rcx, qword [rbp]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140004f62
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400050f9
call fcn.140021980
movdqa xmm0, xmmword [0x14002d7f0]
mov byte [rbp], 0
movdqu xmmword [rbp + 0x10], xmm0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140004fb3
inc rdx
mov rcx, qword [rbp - 0x20]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140004fae
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005148
call fcn.140021980
movdqa xmm0, xmmword [0x14002d7f0]
mov byte [rbp - 0x20], 0
movdqu xmmword [rbp - 0x10], xmm0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140004fff
inc rdx
mov rcx, qword [rbp + 0x20]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140004ffa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005197
call fcn.140021980
xor al, al
mov rcx, qword [rbp + 0x1040]
xor rcx, rsp
call fcn.140021960
mov rbx, qword [rsp + 0x1190]
add rsp, 0x1150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r9, [rbp - 0x28]
mov r8d, 0x1000
lea rdx, [rbp + 0x40]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140004f2c
mov eax, dword [rbp - 0x28]
cmp rax, 0x1000
jae 0x1400051aa
mov byte [rbp + rax + 0x40], 0
lea rax, [rbp + 0x40]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140005062
mov rax, qword [r12 + 0x18]
cmp rdi, rax
ja 0x14000509c
mov rbx, r12
cmp rax, 0xf
jbe 0x140005082
mov rbx, qword [r12]
mov qword [r12 + 0x10], rdi
mov r8, rdi
lea rdx, [rbp + 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1400050ab
lea r9, [rbp + 0x40]
mov rdx, rdi
mov rcx, r12
call fcn.140008670
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140005105
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005100
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005100
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021980
movdqa xmm0, xmmword [0x14002d7f0]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140005154
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000514f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000514f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021980
movdqa xmm0, xmmword [0x14002d7f0]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x1400051a3
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000519e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000519e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021980
mov al, 1
jmp 0x140005001
call fcn.140021a90
int3