Function at 0x1800e2207
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
jmp 0x180297a20
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x888
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x182
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x8a8]
mov rax, qword [0x180344d00]
xor rax, rbp
mov qword [rbp + 0x838], rax
mov dword [rbp + 0x814], 1
lea rcx, [0x18036b754]
call fcn.1800e5c4f
mov rcx, qword [rbp + 0x860]
call fcn.1800e466f
nop
mov eax, dword [rbp + 0x814]
or eax, 1
mov dword [rbp + 0x814], eax
movzx eax, byte [0x180350cca]
test eax, eax
je 0x180297b9d
cmp qword [0x180350cd0], 0
je 0x180297aba
mov rcx, qword [0x180350cd0]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [0x180350c38]
call fcn.1800e16ae
mov qword [rbp + 0x828], rax
lea rcx, [0x180350b20]
call fcn.1800e16ae
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rbp + 0x828]
mov r8, rcx
mov edx, dword [0x180350cf8]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [0x180350cd0], rax
cmp qword [0x180350cd0], 0
je 0x180297b96
lea rdx, [0x1802bdc65]
lea rcx, [0x180350c38]
call fcn.1800e23b0
movzx eax, al
test eax, eax
je 0x180297b96
lea rdx, [0x1802bdc65]
lea rcx, [0x180350c60]
call fcn.1800e23b0
movzx eax, al
test eax, eax
je 0x180297b96
lea rcx, [0x180350c60]
call fcn.1800e50e2
mov r9d, eax
lea r8, [0x180350c60]
mov edx, 0x2b
mov rcx, qword [0x180350cd0]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
lea rcx, [0x180350c88]
call fcn.1800e50e2
mov r9d, eax
lea r8, [0x180350c88]
mov edx, 0x2c
mov rcx, qword [0x180350cd0]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov byte [0x180350cca], 0
cmp qword [0x180350cd0], 0
jne 0x180297c15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
lea rcx, str.InternetOpen_failed:
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x860]
add rcx, 0x100
mov rdx, rax
call fcn.1800e12b2
mov dword [rbp + 0x814], 0
mov eax, dword [rbp + 0x814]
and eax, 1
test eax, eax
je 0x180297bfd
and dword [rbp + 0x814], 0xfffffffe
mov rcx, qword [rbp + 0x860]
call fcn.1800e20ae
nop
mov rcx, qword [rbp + 0x868]
call fcn.1800e20a4
mov rax, qword [rbp + 0x860]
jmp 0x18029840e
mov dword [rbp + 0x164], 3
mov eax, 0x1bb
mov word [rbp + 0x184], ax
mov edx, 0x18
lea rcx, [rbp + 0x1a8]
call fcn.1800e62df
lea r9, [rbp + 0x184]
mov r8, qword [rbp + 0x860]
mov rdx, qword [rbp + 0x868]
lea rcx, [rbp + 0x1a8]
call fcn.180295ed0
nop
mov qword [rbp + 0x1d8], 0
cmp dword [0x180350cf0], 0
jne 0x180297cfc
lea rdx, str.host
lea rcx, [rbp + 0x5f8]
call fcn.1800e3305
nop
lea rdx, [rbp + 0x5f8]
lea rcx, [rbp + 0x1a8]
call fcn.1800e3297
mov rcx, rax
call fcn.1800e16ae
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov ecx, dword [rbp + 0x164]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, word [rbp + 0x184]
mov rdx, rax
mov rcx, qword [0x180350cd0]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rbp + 0x1d8], rax
lea rcx, [rbp + 0x5f8]
call fcn.1800e1e10
jmp 0x180297d8b
lea rax, [rbp + 0x638]
mov qword [rbp + 0x678], rax
lea rdx, str.host
lea rcx, [rbp + 0x698]
call fcn.1800e3305
nop
lea rdx, [rbp + 0x698]
lea rcx, [rbp + 0x1a8]
call fcn.1800e3297
mov rdx, rax
mov rcx, qword [rbp + 0x678]
call fcn.1800e19f6
mov qword [rbp + 0x828], rax
mov eax, dword [rbp + 0x164]
mov dword [rsp + 0x28], eax
movzx eax, word [rbp + 0x184]
mov word [rsp + 0x20], ax
mov r9, qword [rbp + 0x828]
mov r8, qword [rbp + 0x860]
lea rdx, [rbp + 0x1d8]
lea rcx, [0x180350cd0]
call fcn.18028e380
nop
lea rcx, [rbp + 0x698]
call fcn.1800e1e10
cmp qword [rbp + 0x1d8], 0
jne 0x180297e10
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
lea rcx, str.InternetConnect_failed:
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x860]
add rcx, 0x100
mov rdx, rax
call fcn.1800e12b2
mov dword [rbp + 0x814], 0
lea rcx, [rbp + 0x1a8]
call fcn.1800e255e
nop
mov eax, dword [rbp + 0x814]
and eax, 1
test eax, eax
je 0x180297df8
and dword [rbp + 0x814], 0xfffffffe
mov rcx, qword [rbp + 0x860]
call fcn.1800e20ae
nop
mov rcx, qword [rbp + 0x868]
call fcn.1800e20a4
mov rax, qword [rbp + 0x860]
jmp 0x18029840e
lea rdx, [0x180318528]
lea rcx, [rbp + 0x6d8]
call fcn.1800e3305
nop
lea rdx, [rbp + 0x6d8]
lea rcx, [rbp + 0x1a8]
call fcn.1800e3297
mov rcx, rax
call fcn.1800e16ae
mov qword [rbp + 0x828], rax
mov rcx, qword [rbp + 0x868]
add rcx, 0xa0
call fcn.1800e16ae
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0xa00000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rbp + 0x828]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rbp + 0x1f8], rax
lea rcx, [rbp + 0x6d8]
call fcn.1800e1e10
cmp qword [rbp + 0x1f8], 0
jne 0x180297f31
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
lea rcx, str.HttpOpenRequest_failed:
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x860]
add rcx, 0x100
mov rdx, rax
call fcn.1800e12b2
mov dword [rbp + 0x814], 0
lea rcx, [rbp + 0x1a8]
call fcn.1800e255e
nop
mov eax, dword [rbp + 0x814]
and eax, 1
test eax, eax
je 0x180297f19
and dword [rbp + 0x814], 0xfffffffe
mov rcx, qword [rbp + 0x860]
call fcn.1800e20ae
nop
mov rcx, qword [rbp + 0x868]
call fcn.1800e20a4
mov rax, qword [rbp + 0x860]
jmp 0x18029840e
lea r8, [rbp + 0x1a8]
mov rdx, qword [rbp + 0x868]
lea rcx, [rbp + 0x218]
call fcn.180299b00
nop
mov dword [rbp + 0x254], 0
cmp dword [0x180350cf4], 0
jne 0x180297fc6
lea rcx, [0x180350b70]
call fcn.1800e46d8
mov qword [rbp + 0x828], rax
xor edx, edx
lea rcx, [0x180350b70]
call fcn.1800e1997
mov qword [rbp + 0x830], rax
lea rcx, [rbp + 0x218]
call fcn.1800e16ae
mov rcx, qword [rbp + 0x828]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp + 0x830]
mov r9, rcx
mov r8d, 0xffffffff
mov rdx, rax
mov rcx, qword [rbp + 0x1f8]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [rbp + 0x254], eax
jmp 0x180298011
lea rax, [rbp + 0x718]
mov qword [rbp + 0x758], rax
lea rdx, [rbp + 0x218]
mov rcx, qword [rbp + 0x758]
call fcn.1800e19f6
mov qword [rbp + 0x828], rax
mov r8, qword [rbp + 0x860]
mov rdx, qword [rbp + 0x828]
lea rcx, [rbp + 0x1f8]
call fcn.18028e750
movzx eax, al
mov dword [rbp + 0x254], eax
cmp dword [rbp + 0x254], 0
jne 0x1802980a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
lea rcx, str.HttpSendRequest_failed_with_error_code
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x860]
add rcx, 0x100
mov rdx, rax
call fcn.1800e12b2
mov dword [rbp + 0x814], 0
lea rcx, [rbp + 0x218]
call fcn.1800e1e10
nop
lea rcx, [rbp + 0x1a8]
call fcn.1800e255e
nop
mov eax, dword [rbp + 0x814]
and eax, 1
test eax, eax
je 0x18029808e
and dword [rbp + 0x814], 0xfffffffe
mov rcx, qword [rbp + 0x860]
call fcn.1800e20ae
nop
mov rcx, qword [rbp + 0x868]
call fcn.1800e20a4
mov rax, qword [rbp + 0x860]
jmp 0x18029840e
mov r9, qword [rbp + 0x868]
mov r8, qword [rbp + 0x860]
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x278]
call fcn.180294680
nop
mov r8, qword [rbp + 0x860]
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x2b8]
call fcn.180295ce0
nop
lea rax, [rbp + 0x1a8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x2b8]
mov r8, qword [rbp + 0x860]
mov rdx, qword [rbp + 0x868]
lea rcx, [rbp + 0x1f8]
call fcn.180293930
movzx eax, byte [0x180350cc9]
test eax, eax
je 0x1802981df
lea rdx, str.absolute
lea rcx, [rbp + 0x2b8]
call fcn.1800e2edc
movzx eax, al
test eax, eax
je 0x18029818c
mov rcx, qword [rbp + 0x1f8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rbp + 0x2b8]
call fcn.1800e1e10
nop
lea rcx, [rbp + 0x278]
call fcn.1800e1e10
nop
lea rcx, [rbp + 0x218]
call fcn.1800e1e10
nop
lea rcx, [rbp + 0x1a8]
call fcn.1800e255e
jmp 0x180297c15
lea rdx, str.relative
lea rcx, [rbp + 0x2b8]
call fcn.1800e2edc
movzx eax, al
test eax, eax
je 0x1802981df
mov rcx, qword [rbp + 0x1f8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rbp + 0x2b8]
call fcn.1800e1e10
nop
lea rcx, [rbp + 0x278]
call fcn.1800e1e10
nop
lea rcx, [rbp + 0x218]
call fcn.1800e1e10
jmp 0x180297e10
mov rdx, qword [rbp + 0x860]
mov rcx, qword [rbp + 0x1f8]
call fcn.180295860
mov rdx, qword [rbp + 0x860]
mov rcx, qword [rbp + 0x1f8]
call fcn.180294910
mov rax, qword [rbp + 0x860]
add rax, 0x88
lea rdx, [rbp + 0x278]
mov rcx, rax
call fcn.1800e4ec6
mov r9d, 0xe
xor r8d, r8d
lea rdx, [rbp + 0x2f8]
lea rcx, [rbp + 0x278]
call fcn.1800e36de
nop
lea rax, [rbp + 0x2f8]
mov qword [rbp + 0x338], rax
mov rcx, qword [rbp + 0x338]
call fcn.1800e1195
mov qword [rbp + 0x358], rax
mov rcx, qword [rbp + 0x338]
call fcn.1800e130c
mov qword [rbp + 0x378], rax
jmp 0x180298285
mov rax, qword [rbp + 0x358]
inc rax
mov qword [rbp + 0x358], rax
mov rax, qword [rbp + 0x378]
cmp qword [rbp + 0x358], rax
je 0x1802982c0
mov rax, qword [rbp + 0x358]
mov qword [rbp + 0x398], rax
mov rax, qword [rbp + 0x398]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_tolower]
mov rcx, qword [rbp + 0x398]
mov byte [rcx], al
jmp 0x180298274
lea rdx, str.__doctype_html
lea rcx, [rbp + 0x2f8]
call fcn.1800e2edc
movzx eax, al
test eax, eax
je 0x180298346
lea rax, [rbp + 0x778]
mov qword [rbp + 0x7b8], rax
lea rdx, [rbp + 0x278]
mov rcx, qword [rbp + 0x7b8]
call fcn.1800e19f6
mov qword [rbp + 0x828], rax
mov rdx, qword [rbp + 0x828]
lea rcx, [rbp + 0x7d8]
call fcn.1800e6168
mov qword [rbp + 0x830], rax
mov rax, qword [rbp + 0x860]
add rax, 0xb0
mov rdx, qword [rbp + 0x830]
mov rcx, rax
call fcn.1800e24af
lea rcx, [rbp + 0x7d8]
call fcn.1800e1e10
jmp 0x180298369
mov rax, qword [rbp + 0x860]
add rax, 0x88
mov rcx, qword [rbp + 0x860]
add rcx, 0xb0
mov rdx, rax
call fcn.1800e4ec6
lea rcx, [0x180350b20]
call fcn.1800e4674
mov rcx, qword [rbp + 0x1f8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rbp + 0x814], 0
lea rcx, [rbp + 0x2f8]
call fcn.1800e1e10
nop
lea rcx, [rbp + 0x2b8]
call fcn.1800e1e10
nop
lea rcx, [rbp + 0x278]
call fcn.1800e1e10
nop
lea rcx, [rbp + 0x218]
call fcn.1800e1e10
nop
lea rcx, [rbp + 0x1a8]
call fcn.1800e255e
nop
mov eax, dword [rbp + 0x814]
and eax, 1
test eax, eax
je 0x1802983fb
and dword [rbp + 0x814], 0xfffffffe
mov rcx, qword [rbp + 0x860]
call fcn.1800e20ae
nop
mov rcx, qword [rbp + 0x868]
call fcn.1800e20a4
mov rax, qword [rbp + 0x860]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x180315260]
call fcn.1800e4f75
mov rax, rdi
mov rcx, qword [rbp + 0x838]
xor rcx, rbp
call fcn.1800e34fe
lea rsp, [rbp + 0x848]
pop rdi
pop rbp
ret