Function at 0x140009580
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 [0x140058f80]
lea rcx, [rbp + 0x110]
xor edx, edx
mov r8d, 0x400
call fcn.140022720
xorps xmm0, xmm0
lea rax, [0x14004bea8]
xor r12d, r12d
mov qword [rbp - 0x80], rax
mov rax, qword [0x14005c348]
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 0x140009918
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.140007fa0
mov rcx, qword [rsp + 0x50]
lea r9, [0x14005c360]
lea r8, [0x14004bcc8]
mov edx, 0x400
call fcn.140001df0
mov r9d, dword [0x140058f9c]
lea r8, [0x14004beac]
mov edx, 0x80
lea rcx, [rbp - 0x70]
call fcn.140001df0
lea rax, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rax + rcx], r12b
jne 0x140009680
mov rax, qword [0x14005c350]
cmp word [rax + 0xd0], 3
jne 0x1400096a3
mov r10, qword [rax + 0xd8]
jmp 0x1400096a6
mov r10, r12
mov rax, qword [0x14005c348]
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.140008620
mov r9, qword [rsp + 0x48]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r9 + rax], r12b
jne 0x1400096d7
lea rcx, [r9 + 1]
mov edx, 0x400
add rcx, rax
lea rax, [r9 + 1]
cmp rcx, rax
lea rcx, [rbp + 0x110]
jne 0x14000970f
mov r9, qword [rsp + 0x50]
lea r8, [0x14004bcc8]
call fcn.140001df0
jmp 0x140009725
mov qword [rsp + 0x20], r9
lea r8, str._s_s
mov r9, qword [rsp + 0x50]
call fcn.140001df0
cmp qword [0x140058f88], r12
je 0x140009734
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.14000cf40
mov rcx, qword [0x140058f90]
lea r8, [rbp + 0x110]
mov qword [rsp + 0x38], rcx
xor r9d, r9d
mov ecx, dword [0x140058f98]
mov rdx, rax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
mov rcx, qword [0x140058fa0]
mov qword [rsp + 0x20], r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rcx, qword [0x14005c350]
mov rbx, rax
mov dword [rbp + 0x540], r12d
cmp word [rcx + 0x10], 1
jne 0x1400097fd
test byte [rcx + 0x18], 8
je 0x1400097fd
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 [0x14005c350]
cmp word [rcx + 0x3b0], 3
jne 0x140009820
cmp qword [rcx + 0x3b8], r12
je 0x140009820
lea rdx, [0x14000a5f0]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetStatusCallback]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], r12b
jne 0x140009827
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.140022720
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 0x140009891
lea rcx, [rbp + 0x10]
call fcn.14002aad0
cmp eax, 0xc8
je 0x1400098c1
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 0x140009746
jmp 0x1400098ca
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rbx]
call fcn.140028a50
mov rcx, rbx
call fcn.140028a50
mov rcx, qword [0x140058f88]
mov qword [0x14005c348], r12
test rcx, rcx
je 0x1400098f8
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