Function at 0x14002eda0
Capabilities:
Send data
Send http request

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov rax, qword [0x1401c7ef8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, r8
mov rdi, rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov rcx, qword [rdx]
sub rcx, 0x18
call fcn.140001b90
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
test rsi, rsi
je 0x14002ee23
lea rdx, [0x14011d688]
lea rcx, [rsp + 0x48]
call fcn.140008d20
mov r11, qword [rsi]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [r11 + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140008d20
mov rbx, qword [rsp + 0x48]
mov edx, 0x1bb
mov eax, 0x80000000
mov ecx, 0x80800000
cmp word [rdi + 0x28], dx
cmove eax, ecx
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, rbx
lea rdx, [0x14011d5d8]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x14002eedc
mov qword [rbp - 9], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x11], r12
mov byte [rbp - 0x21], al
lea r8d, [rax + 0x23]
lea rdx, str.Cant_create_request_to_the_server.
lea rcx, [rbp - 0x21]
call fcn.1400082f0
nop
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rax, qword [rbp - 0x21]
mov qword [rbp - 0x79], rax
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x49]
call qword [sym.imp.MSVCR100.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64____ptr64]
lea r11, vtable.Cxx::Network::Exception::CNetworkException.0
mov qword [rbp - 0x49], r11
mov dword [rbp - 0x31], 7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x2d], eax
lea rdx, [0x140185380]
lea rcx, [rbp - 0x49]
call sub.MSVCR100.dll__CxxThrowException
nop
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x14002ef6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rbp + 0x1f], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x17], r12
mov byte [rbp + 7], 0
mov r8d, 0x21
lea rdx, str.Cant_send_request_to_the_server.
lea rcx, [rbp + 7]
call fcn.1400082f0
nop
lea rax, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rax, qword [rbp + 7]
mov qword [rbp - 0x71], rax
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x69]
call qword [sym.imp.MSVCR100.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64____ptr64]
lea r11, vtable.Cxx::Network::Exception::CNetworkException.0
mov qword [rbp - 0x69], r11
mov dword [rbp - 0x51], 7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x4d], eax
lea rdx, [0x140185380]
lea rcx, [rbp - 0x69]
call sub.MSVCR100.dll__CxxThrowException
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002ef8a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400d6f80
add rsp, 0x100
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret