Function at 0x1804b24ea
Capabilities:
Check http status code
Connect to http server
Create http request
Send data
Send http request

Disassembly:
mov qword [rsp + 0x10], rbx
rol bl, cl
cqo
or dl, 0x15
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
sub dl, spl
movsx rbx, cx
push rbp
push r14
push r15
bt bx, 0x18
sub rsp, 0x110
lea rbp, [rsp + 0x60]
stc
or dx, r13w
and rbp, 0xffffffffffffffe0
or dl, ch
mov rax, qword [0x18048aea8]
neg rbx
xor rax, rsp
cwd
mov qword [rbp + 0xa0], rax
mov rbx, rcx
shld rdx, r8, 6
sub dx, r12w
mov dx, 0xc6b6
xor r15d, r15d
setnp ch
mov dword [rsp + 0x20], r15d
dec cl
rol cl, 0x15
mov rdx, 0x69a65234
xor r9d, r9d
btc rcx, r12
cwd
xor r8d, r8d
lea edx, [r15 + 1]
movsx rcx, r8w
mov rcx, rax
lea rcx, str.WinInet_Example
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
cmp r15b, r9b
cmc
test rax, rax
jmp 0x1804b2598
jne 0x1804b25cf
lea rdx, str.Failed_to_open_internet_session.
xchg ecx, ecx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180162ce0
lea rdx, [0x180162eb0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
sub al, al
jmp 0x1804b25ca
jmp 0x1804b2ba7
movabs rax, 0x80a7b013c26110c5
shl cx, cl
test esi, 0x509f9327
mov qword [rbp], rax
mov rax, qword [rbp]
shrd cx, r11w, 0xba
rcl cx, 0x2c
add dx, 0x3aa1
mov qword [rbp + 0x20], rax
xadd al, dl
rol cx, cl
ror r8d, cl
movabs rax, 0xeba59b567389a929
cmc
bt dx, bx
mov qword [rbp], rax
mov rax, qword [rbp]
not rdx
bsr rdx, rdx
mov qword [rbp + 0x28], rax
movabs rax, 0xbf392c4c5f99dba4
mov qword [rbp], rax
bts ax, sp
adc ah, 0x8a
setno ch
mov rax, qword [rbp]
btr r8, r10
or dl, r14b
mov qword [rbp + 0x30], rax
lahf
mov r8b, cl
add cl, 0xbf
movabs rax, 0x98ccd37756ebcf7a
mov qword [rbp], rax
neg dx
setnp r8b
mov rax, qword [rbp]
xor dx, 0xb79b
bt r8w, r13w
bts dx, cx
mov qword [rbp + 0x38], rax
bsf cx, ax
sar r8w, cl
rcl cx, cl
movabs rax, 0xf4c9d17bb20478b1
cmovo ecx, r9d
adc r8, 0xffffffffa493521e
mov qword [rbp], rax
rcr al, cl
movsxd r8, ecx
mov rax, qword [rbp]
rol r8, 0x1a
and dl, r9b
mov qword [rbp + 0x80], rax
cmova dx, bx
rcr r8b, cl
movabs rax, 0x83d1e2265df1c446
bt cx, bp
cmp r14w, bp
mov qword [rbp], rax
movzx dx, spl
bswap ecx
ror r8, cl
mov rax, qword [rbp]
mov r8w, r14w
mov qword [rbp + 0x88], rax
cmp rsp, 0xffffffff89140f8a
bt rcx, 0x8c
mov al, bpl
movabs rax, 0xda515b3531f8b5cb
bt r8, 0xae
mov qword [rbp], rax
cwd
mov rax, qword [rbp]
bts edx, ecx
rcl dl, 0x33
mov qword [rbp + 0x90], rax
rol ch, cl
movsx rdx, r8w
movabs rax, 0x98ccbe1835c5aa08
bts dx, r12w
rol dx, cl
mov qword [rbp], rax
mov rax, qword [rbp]
and r8b, r9b
bts r8d, r9d
cqo
mov qword [rbp + 0x98], rax
movzx rcx, r9w
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x80]
add dl, 0x3e
btc ecx, 0
vmovdqa ymmword [rbp + 0x20], ymm1
sal rdx, cl
cwd
mov r8d, 0x1bb
dec cx
add dl, ch
mov qword [rsp + 0x38], r15
stc
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 3
btr cx, 0x32
mov qword [rsp + 0x20], r15
cdq
sub r9d, r9d
movsx rdx, r15w
movsx edx, r15w
cwd
lea rdx, [rbp + 0x20]
movsx ecx, cx
mov rcx, rdi
jmp 0x1804b27be
vzeroupper
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r14, rax
test r13d, 0x59028829
test rax, rax
jmp 0x1804b27d9
jne 0x1804b2827
lea rdx, str.Failed_to_connect.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
jmp 0x1804b27f2
call fcn.180162ce0
lea rdx, [0x180162eb0]
mov cx, ax
movsxd rcx, r15d
mov rcx, rax
jmp 0x1804b280c
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
jmp 0x1804b281a
call qword [sym.imp.WININET.dll_InternetCloseHandle]
sub al, al
jmp 0x1804b2ba7
lea rax, str.text_
mov qword [rbp + 0x68], rax
ror r8, 0x97
mov qword [rbp + 0x70], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x800000
shr r8, cl
cmove rcx, r12
lea rax, [rbp + 0x68]
shl cl, 0x86
not cl
mov qword [rsp + 0x28], rax
adc cl, r10b
test sil, 0xa0
mov qword [rsp + 0x20], r15
rcr ch, cl
xor r9d, r9d
mov r8w, 0xb682
not r8b
lea r8, str._auth
mov ecx, r8d
cmovo edx, ecx
movsx dx, r9b
lea rdx, str.POST
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rsi, rax
clc
test rax, rax
jne 0x1804b28fc
lea rdx, str.Failed_to_open_HTTP_request.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
jmp 0x1804b28b7
call fcn.180162ce0
lea rdx, [0x180162eb0]
movzx cx, ch
movzx ecx, r8w
mov rcx, rax
jmp 0x1804b28d3
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
jmp 0x1804b28ea
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x1804b28f7
jmp 0x1804b2ba7
mov rcx, qword [rbx + 0x10]
sal ax, cl
movabs rax, 0x7fffffffffffffff
test rbx, 0x323c1615
clc
stc
sub rax, rcx
jmp 0x1804b291e
cmp rax, 5
jmp 0x1804b2927
jb 0x1804b2c16
cmp qword [rbx + 0x18], 0x10
jmp 0x1804b2937
jb 0x1804b2944
mov rbx, qword [rbx]
movsx r9d, r15w
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
movzx rcx, r12w
not cx
movzx r9w, al
mov qword [rsp + 0x20], 5
movsx rcx, r11w
xchg ecx, ecx
lea r9, str.hwid
lea rcx, [rbp + 0x48]
jmp 0x1804b2979
call fcn.1801a1430
nop
lea r9, [rbp + 0x48]
lahf
cmp qword [rbp + 0x60], 0x10
cdq
movsx ax, sil
cmovae r9, qword [rbp + 0x48]
rdtsc
mov eax, dword [rbp + 0x58]
not cl
mov dword [rsp + 0x20], eax
cdq
mov r8d, 0xffffffff
movsx ecx, r15w
lea rdx, str.Content_Type:_application_x_www_form_urlencoded
movzx cx, r13b
movsxd rcx, edi
mov rcx, rsi
jmp 0x1804b29c1
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jmp 0x1804b29ce
jne 0x1804b2a37
lea rdx, str.Failed_to_send_HTTP_request.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
jmp 0x1804b29e7
call fcn.180162ce0
lea rdx, [0x180162eb0]
cmovno cx, bx
movsxd rcx, r13d
mov rcx, rax
jmp 0x1804b2a02
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
jmp 0x1804b2a10
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
jmp 0x1804b2a1e
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
jmp 0x1804b2a2c
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1804b2b18
mov dword [rbp + 0x40], r15d
mov dword [rbp + 0x44], 4
mov qword [rsp + 0x20], r15
xchg r9b, r9b
lea r9, [rbp + 0x44]
jmp 0x1804b2a58
lea r8, [rbp + 0x40]
not dl
bswap cx
mov edx, 0x20000013
mov rcx, rsi
jmp 0x1804b2a6e
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov rcx, rsi
jmp 0x1804b2a7c
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
jmp 0x1804b2a8a
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
jmp 0x1804b2a98
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [rbp + 0x40]
test r13b, 0x9a
cmp eax, 0xc8
jmp 0x1804b2aaf
jne 0x1804b2abc
mov bl, 1
jmp 0x1804b2b21
cmp eax, 0x193
jmp 0x1804b2ac6
jne 0x1804b2ad8
lea rdx, str.Youre_license_has_been_expired.
jmp 0x1804b2af6
cmp eax, 0x194
lea rdx, str.Youre_not_whitelisted.
jmp 0x1804b2ae9
je 0x1804b2af6
lea rdx, str.Unknown_error._It_looks_like_you_are_having_problems_connecting_to_a_remote_server.
mov r9d, reloc.WS2_32.dll_recv
sar r8w, 0x28
xadd r8, r8
lea r8, str.Error:
cmp bpl, 0x21
sub ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
sub bl, bl
movsx rdx, si
ror edx, 0xbb
mov rdx, qword [rbp + 0x60]
stc
cmp rdx, 0x10
jmp 0x1804b2b2f
jb 0x1804b2ba4
inc rdx
shl ecx, 0x29
rol ax, cl
btr eax, 0x21
mov rcx, qword [rbp + 0x48]
bts rax, rax
cwde
ror ax, cl
mov rax, rcx
test ebx, edx
clc
cmp r15w, dx
cmp rdx, 0x1000
jb 0x1804b2b9f
add rdx, 0x27
clc
test r12w, r9w
cmc
mov rcx, qword [rcx - 8]
cmc
sub rax, rcx
cmc
test dx, 0x7a0d
test r10b, r8b
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jmp 0x1804b2b8d
jbe 0x1804b2b9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1803940dc
movzx eax, bl
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
jmp 0x1804b2bb6
call fcn.180394080
lea r11, [rsp + 0x110]
movsxd rbp, edx
movzx bp, al
seto bpl
mov rbx, qword [r11 + 0x28]
movzx di, r11b
mov rsi, qword [r11 + 0x30]
movzx ebp, r15w
not r14b
movsx bp, r14b
mov rdi, qword [r11 + 0x38]
movsx bp, r12b
not ebp
movsx r14, dx
mov rsp, r11
xchg r15b, r15b
movzx bp, al
pop r15
xchg bpl, bpl
movzx r14w, r10b
movzx ebp, ax
pop r14
pop rbp
jmp 0x1804b2c15
ret
call fcn.18012b080
nop
jmp 0x1804b2c21
jmp 0x18019cf52