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

Disassembly:
jmp 0x140024280
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x418
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x96
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x438]
mov rax, qword [0x140044018]
xor rax, rbp
mov qword [rbp + 0x3c0], rax
lea rcx, [0x14004d32a]
call fcn.140011df2
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.MyApp
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140024367
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x3b4], eax
lea rdx, str.Error_InternetOpen:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
mov ecx, dword [rbp + 0x3b4]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14001107d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 dword [rbp + 0x244], 1
mov rcx, qword [rbp + 0x3f0]
call fcn.140011c03
nop
mov rcx, qword [rbp + 0x3f8]
call fcn.140011c03
mov eax, dword [rbp + 0x244]
jmp 0x1400248b2
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8w, 0x1388
lea rdx, str.127.0.0.1
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140024425
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x3b4], eax
lea rdx, str.Err_InternetConnect:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
mov ecx, dword [rbp + 0x3b4]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14001107d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rbp + 0x264], 1
mov rcx, qword [rbp + 0x3f0]
call fcn.140011c03
nop
mov rcx, qword [rbp + 0x3f8]
call fcn.140011c03
mov eax, dword [rbp + 0x264]
jmp 0x1400248b2
mov rcx, qword [rbp + 0x3f0]
call fcn.14001147e
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, [0x14003b370]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140024540
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x3b4], eax
mov rcx, qword [rbp + 0x3f0]
call fcn.14001147e
mov qword [rbp + 0x3b8], rax
lea rdx, [0x14003bc44]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
lea rdx, [0x14003bc40]
mov rcx, rax
call fcn.140011181
mov rcx, qword [rbp + 0x3b8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
lea rdx, str.HttpOpenRequest:
mov rcx, rax
call fcn.140011181
mov ecx, dword [rbp + 0x3b4]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14001107d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rbp + 0x284], 1
mov rcx, qword [rbp + 0x3f0]
call fcn.140011c03
nop
mov rcx, qword [rbp + 0x3f8]
call fcn.140011c03
mov eax, dword [rbp + 0x284]
jmp 0x1400248b2
mov dword [rbp + 0x64], 0
mov dword [rbp + 0x84], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0
jne 0x1400245bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x3b4], eax
lea rdx, str._nZabey_hui__HttpSendRequest:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
mov ecx, dword [rbp + 0x3b4]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14001107d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
jmp 0x14002468c
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x84]
lea r8, [rbp + 0x64]
mov edx, 0x20000013
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x14002463d
cmp dword [rbp + 0x64], 0x1ad
jne 0x140024639
lea rdx, str.HTTP_Status_429_Too_Many_Requests__retrying_in_5_seconds...
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
lea rdx, [0x14001107d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 dword [rbp + 0x2c4], 5
lea rdx, [rbp + 0x2c4]
lea rcx, [rbp + 0x2a8]
call fcn.140011311
mov rcx, rax
call fcn.140011285
jmp 0x14002463b
jmp 0x14002468c
jmp 0x14002467f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x3b4], eax
lea rdx, str.HttpQueryInfo_failed:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
mov ecx, dword [rbp + 0x3b4]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14001107d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
jmp 0x14002468c
cmp dword [rbp + 0x64], 0x1ad
je 0x140024551
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x1400447a8]
mov rcx, qword [rbp + 0x3f0]
call fcn.140011370
movzx eax, al
test eax, eax
je 0x1400246c9
call fcn.1400119e2
lea rdx, [0x1400447f8]
mov rcx, qword [rbp + 0x3f0]
call fcn.140011370
movzx eax, al
test eax, eax
je 0x140024730
mov rdx, qword [rbp + 0x3f8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400117da
mov rcx, qword [rbp + 0x3f8]
call fcn.140011299
mov dword [rbp + 0x2e4], 0
mov rcx, qword [rbp + 0x3f0]
call fcn.140011c03
nop
mov rcx, qword [rbp + 0x3f8]
call fcn.140011c03
mov eax, dword [rbp + 0x2e4]
jmp 0x1400248b2
lea rdx, str._nPered_usloviem._a:__
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001171c
mov rdx, qword [rbp + 0x3f0]
mov rcx, rax
call fcn.1400117da
lea rdx, [0x14003bcd8]
mov rcx, rax
call fcn.14001171c
lea rdx, [0x140044780]
mov rcx, rax
call fcn.1400117da
lea rdx, [0x14003bcd4]
mov rcx, rax
call fcn.14001171c
lea rdx, [0x1400116ae]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [0x140044780]
mov rcx, qword [rbp + 0x3f0]
call fcn.140011370
movzx eax, al
test eax, eax
je 0x14002484c
lea rdx, str.Uslovie_a__str3_istinno._Nachinaem_ozhidanie_80_sekund.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
lea rdx, [0x14001107d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 dword [rbp + 0x324], 0x32
lea rdx, [rbp + 0x324]
lea rcx, [rbp + 0x308]
call fcn.140011311
mov rcx, rax
call fcn.140011285
lea rdx, str.Ozhidanie_zaversheno._Seychas_budet_vyzvan_gt__.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
lea rdx, [0x14001107d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
lea rax, [rbp + 0x348]
mov qword [rbp + 0x388], rax
mov rdx, qword [rbp + 0x3f8]
mov rcx, qword [rbp + 0x388]
call fcn.140011041
mov qword [rbp + 0x3b8], rax
mov rcx, qword [rbp + 0x3b8]
call fcn.140011dde
lea rdx, [0x1400447d0]
mov rcx, qword [rbp + 0x3f0]
call fcn.140011370
movzx eax, al
test eax, eax
je 0x14002486b
call fcn.140011dcf
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rbp + 0x3a4], 0
mov rcx, qword [rbp + 0x3f0]
call fcn.140011c03
nop
mov rcx, qword [rbp + 0x3f8]
call fcn.140011c03
mov eax, dword [rbp + 0x3a4]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140011b90
mov rax, rdi
mov rcx, qword [rbp + 0x3c0]
xor rcx, rbp
call fcn.140011695
lea rsp, [rbp + 0x3d8]
pop rdi
pop rbp
ret