Function at 0x18002c3f4
Capabilities:
Connect to http server
Create http request

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x18], r8d
push rsi
push rdi
push r12
sub rsp, 0x60
mov rbx, rcx
mov rcx, qword [rcx + 8]
mov r12d, r9d
mov rbp, rdx
call qword [sym.imp.kERNEL32.dll_lstrlenA]
mov rcx, qword [0x180035a68]
add eax, eax
xor edx, edx
lea r8d, [rax + 1]
mov dword [rsp + 0x40], eax
call qword [sym.imp.kERNEL32.dll_HeapAlloc]
xor edi, edi
mov rsi, rax
cmp rax, rdi
je 0x18002c47c
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0x40]
xor r9d, r9d
mov rdx, rax
call qword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
mov rcx, qword [0x180035a68]
xor edx, edx
cmp eax, edi
je 0x18002c473
mov r8, qword [rbx + 8]
call qword [sym.imp.kERNEL32.dll_HeapFree]
mov qword [rbx + 8], rsi
jmp 0x18002c47c
mov r8, rsi
call qword [sym.imp.kERNEL32.dll_HeapFree]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
mov dword [rsp + 0x20], 0x10000000
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbx + 0x20], rax
cmp rax, rdi
je 0x18002c653
lea rdx, [0x18002c374]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetStatusCallback]
or rbp, 0xffffffffffffffff
cmp rax, rbp
je 0x18002c653
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.kERNEL32.dll_ResetEvent]
mov esi, dword [rsp + 0xa0]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0x38], rbx
mov eax, esi
neg eax
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 3
sbb r8w, r8w
xor r9d, r9d
mov qword [rsp + 0x20], rdi
and r8w, 0x16b
add r8w, 0x50
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rbx + 0x28], rax
cmp rax, rdi
jne 0x18002c55d
call qword [sym.imp.kERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x18002c653
mov rax, qword [rbx + 0x38]
lea rdx, [rsp + 0x48]
lea ecx, [rbp + 3]
mov qword [rsp + 0x48], rax
mov rax, qword [0x180035c88]
mov r9d, 0xea60
xor r8d, r8d
mov qword [rsp + 0x50], rax
call qword [sym.imp.kERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
cmove eax, ebp
cmp eax, edi
jne 0x18002c653
mov rax, qword [0x180035c60]
mov qword [rsp + 0x38], rbx
neg esi
sbb r8d, r8d
lea rdx, [0x180000000]
and r8d, 0x7ff180
lea rcx, [rax + rdx + 0x39412]
lea rdx, [rax + rdx + 0x3942a]
add r8d, 0x84404000
cmp r12d, edi
mov dword [rsp + 0x30], r8d
cmovne rdx, rcx
mov rcx, qword [rbx + 0x28]
mov dword [rsp + 0x80], r8d
mov r8, qword [rbx + 8]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rbx + 0x30], rax
cmp rax, rdi
je 0x18002c653
mov esi, 4
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x80]
lea ebp, [rsi + 0x1b]
mov rcx, rax
mov dword [rsp + 0x40], esi
mov edx, ebp
call qword [sym.imp.WININET.dll_InternetQueryOptionA]
cmp eax, edi
je 0x18002c617
mov rcx, qword [rbx + 0x30]
bts dword [rsp + 0x80], 8
lea r8, [rsp + 0x80]
mov r9d, esi
mov edx, ebp
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rcx, qword [rbx + 0x30]
lea r8, [rsp + 0x90]
mov r9d, esi
mov edx, 6
call qword [sym.imp.WININET.dll_InternetSetOptionA]
cmp eax, edi
je 0x18002c653
mov rcx, qword [rbx + 0x30]
lea r8, [rsp + 0x90]
mov r9d, esi
mov edx, 5
call qword [sym.imp.WININET.dll_InternetSetOptionA]
cmp eax, edi
jne 0x18002c65b
call qword [sym.imp.kERNEL32.dll_GetLastError]
mov edi, eax
lea r11, [rsp + 0x60]
mov eax, edi
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret