Function at 0x140009e50
Capabilities:
Check http status code
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push r12
lea rbp, [rsp - 0x520]
sub rsp, 0x620
mov rbx, qword [0x140033950]
lea rcx, [rbp + 0x110]
xor edx, edx
mov r8d, 0x400
call fcn.140021acb
xorps xmm0, xmm0
lea rax, [0x1400292e8]
xor r12d, r12d
mov qword [rbp - 0x80], rax
mov rax, qword [0x140036d18]
mov qword [rbp - 0x78], r12
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
test rax, rax
je 0x14000a1eb
mov qword [rsp + 0x650], rsi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x658], rdi
mov ecx, eax
mov qword [rsp + 0x618], r14
mov qword [rsp + 0x610], r15
call fcn.140008870
mov rcx, qword [rsp + 0x50]
lea r9, [0x140036d30]
lea r8, [0x140029100]
mov edx, 0x400
call fcn.140001bb0
mov r9d, dword [0x14003396c]
lea r8, [0x1400292ec]
mov edx, pe_nt_image_headers64
lea rcx, [rbp - 0x70]
call fcn.140001bb0
lea rax, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rax + rcx], r12b
jne 0x140009f50
mov rax, qword [0x140036d20]
cmp word [rax + 0xd0], 3
jne 0x140009f73
mov r10, qword [rax + 0xd8]
jmp 0x140009f76
mov r10, r12
mov rax, qword [0x140036d18]
lea r8, [rbp - 0x70]
mov r9d, ecx
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov rcx, r10
call fcn.140008ef0
mov r9, qword [rsp + 0x48]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r9 + rax], r12b
jne 0x140009fa7
lea rcx, [r9 + 1]
mov edx, 0x400
add rcx, rax
lea rax, [r9 + 1]
cmp rcx, rax
lea rcx, [rbp + 0x110]
jne 0x140009fdf
mov r9, qword [rsp + 0x50]
lea r8, [0x140029100]
call fcn.140001bb0
jmp 0x140009ff5
mov qword [rsp + 0x20], r9
lea r8, str._s_s
mov r9, qword [rsp + 0x50]
call fcn.140001bb0
cmp qword [0x140033958], r12
je 0x14000a004
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov r14d, dword [rsp + 0x60]
mov esi, r12d
mov r15, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x40]
mov ecx, 0x1b
call fcn.14000d060
mov rcx, qword [0x140033960]
lea r8, [rbp + 0x110]
mov qword [rsp + 0x38], rcx
xor r9d, r9d
mov ecx, dword [0x140033968]
mov rdx, rax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
mov rcx, qword [0x140033970]
mov qword [rsp + 0x20], r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rcx, qword [0x140036d20]
mov rbx, rax
mov dword [rbp + 0x540], r12d
cmp word [rcx + 0x10], 1
jne 0x14000a0cd
test byte [rcx + 0x18], 8
je 0x14000a0cd
lea r9, [rbp + 0x548]
mov dword [rbp + 0x548], 4
lea r8, [rbp + 0x540]
mov edx, 0x1f
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetQueryOptionA]
or dword [rbp + 0x540], 0x3380
lea r8, [rbp + 0x540]
mov r9d, 4
mov rcx, rbx
lea edx, [r9 + 0x1b]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rcx, qword [0x140036d20]
cmp word [rcx + 0x3b0], 3
jne 0x14000a0f0
cmp qword [rcx + 0x3b8], r12
je 0x14000a0f0
lea rdx, [0x14000aee0]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetStatusCallback]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], r12b
jne 0x14000a0f7
mov r9, r15
mov dword [rsp + 0x20], r14d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestA]
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0x100
call fcn.140021acb
lea r9, [rbp + 0x540]
mov dword [rbp + 0x540], 0x100
lea r8, [rbp + 0x10]
mov qword [rsp + 0x20], r12
mov edx, reloc.WS2_32.dll_send
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x14000a162
lea rcx, [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cmp eax, 0xc8
je 0x14000a192
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 0x1f4
mov r8d, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
inc esi
cmp esi, 4
jl 0x14000a016
jmp 0x14000a19b
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140033958]
mov qword [0x140036d18], r12
test rcx, rcx
je 0x14000a1cb
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov r14, qword [rsp + 0x618]
mov rdi, qword [rsp + 0x658]
mov rsi, qword [rsp + 0x650]
mov r15, qword [rsp + 0x610]
add rsp, 0x620
pop r12
pop rbx
pop rbp
ret