Function at 0x180014b9c
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov dword [rax + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x318
xor r15d, r15d
mov dword [rsp + 0x44], 4
mov rbx, rdx
mov dword [rsp + 0x50], r15d
mov r13d, ecx
mov dword [rsp + 0x54], 1
mov r14d, 0xff
mov byte [rbp + 0x10], r15b
mov r8d, r14d
lea rcx, [rbp + 0x11]
xor edx, edx
mov edi, r15d
mov esi, r15d
call sub.msvcrt.dll_memset
mov r8d, r14d
mov byte [rbp + 0x110], r15b
xor edx, edx
lea rcx, [rbp + 0x111]
call sub.msvcrt.dll_memset
mov ecx, 0x62c
call fcn.18000daa4
mov ecx, 0x995
mov qword [rsp + 0x58], rax
call fcn.18000daa4
lea ecx, [r15 + 0x17]
mov qword [rsp + 0x60], rax
call fcn.18000daa4
mov ecx, 0x1380
mov qword [rsp + 0x68], rax
call fcn.18000daa4
mov ecx, 0x44c
mov qword [rsp + 0x70], rax
call fcn.18000daa4
lea r14d, [r15 + 0x68]
mov qword [rsp + 0x78], rax
mov r8d, r14d
mov qword [rbp - 0x80], r15
xor edx, edx
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
mov dword [rbp - 0x60], 0x10
lea rax, [rbp]
mov qword [rbp - 0x68], rax
lea rax, [rbp + 0x10]
mov qword [rbp - 0x58], rax
mov ecx, pe_nt_image_headers64
mov dword [rbp - 0x50], ecx
lea rax, [rbp + 0x110]
mov qword [rbp - 0x28], rax
mov edx, r15d
mov dword [rbp - 0x20], ecx
mov dword [rbp - 0x70], r14d
test rbx, rbx
je 0x180014cc3
cmp byte [rbx], r15b
je 0x180014cc3
mov rax, rbx
inc rax
inc edx
cmp byte [rax], r15b
jne 0x180014cb9
mov rax, qword [0x180029f88]
lea r9, [rbp - 0x70]
xor r8d, r8d
mov rcx, rbx
call qword [rax + 0x50]
test eax, eax
jne 0x180014ce5
mov eax, 0xfffffffc
jmp 0x1800150b2
mov r12, r15
mov r15, qword [rbp + 0x298]
mov rax, qword [0x180029f88]
xor r9d, r9d
mov edx, dword [rsp + r12*4 + 0x50]
xor r8d, r8d
mov rcx, qword [0x18002ab10]
mov r14d, 0x8404f700
and dword [rsp + 0x20], 0
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x180014d28
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180014fe2
mov eax, 3
lea r8, [rbp + 0x268]
mov dword [rbp + 0x268], eax
mov edx, eax
mov rcx, rbx
lea edi, [rax + 1]
mov rax, qword [0x180029f88]
mov r9d, edi
call qword [rax + 0x28]
mov rax, qword [0x180029f88]
lea r8, [rbp + 0x268]
mov r9d, edi
mov dword [rbp + 0x268], 0x3a98
lea edx, [rdi - 2]
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [0x180029f88]
lea r8, [rbp + 0x268]
mov r9d, edi
mov dword [rbp + 0x268], 0xea60
lea edx, [rdi + 2]
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [0x180029f88]
lea r8, [rbp + 0x268]
mov r9d, edi
mov dword [rbp + 0x268], 0xea60
lea edx, [rdi + 1]
mov rcx, rbx
call qword [rax + 0x28]
movzx r8d, word [rbp - 0x4c]
lea rdx, [rbp + 0x10]
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov rcx, rbx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rax
mov rax, qword [0x180029f88]
call qword [rax + 0x38]
mov rdi, rax
test r15, r15
je 0x180014dfc
mov rcx, r15
call fcn.180010bb8
test rdi, rdi
jne 0x180014e19
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [0x180029f88]
mov rcx, rbx
call qword [rdx + 0x10]
jmp 0x180014fe0
cmp dword [rbp - 0x5c], 4
lea rdx, [0x1800244cc]
mov eax, 0x8484f700
lea r8, [rbp + 0x110]
cmove r14d, eax
mov rcx, rdi
lea rax, str.POST
cmp r13d, 2
cmove rdx, rax
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x58]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rax, qword [0x180029f88]
and qword [rsp + 0x20], 0
call qword [rax + 0x40]
mov rsi, rax
test r15, r15
je 0x180014e7e
mov rcx, r15
call fcn.180010bb8
test rsi, rsi
jne 0x180014eaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [0x180029f88]
mov rcx, rdi
call qword [rdx + 0x10]
mov rax, qword [0x180029f88]
xor edi, edi
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x180014fe0
mov r14d, 4
cmp dword [rbp - 0x5c], r14d
jne 0x180014f05
mov rax, qword [0x180029f88]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x48], r14d
lea edx, [r14 + 0x1b]
mov rcx, rsi
call qword [rax + 0x30]
test eax, eax
je 0x180014eff
mov rax, qword [0x180029f88]
lea r8, [rsp + 0x40]
or dword [rsp + 0x40], 0x3380
lea edx, [r14 + 0x1b]
mov r9d, r14d
mov rcx, rsi
call qword [rax + 0x28]
test eax, eax
jne 0x180014f05
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp r13d, 2
jne 0x180014f79
mov ecx, 0x733
call fcn.18000daa4
xor r8d, r8d
mov qword [rbp + 0x268], rax
mov r14, rax
test rax, rax
je 0x180014f37
cmp byte [rax], r8b
je 0x180014f37
inc rax
inc r8d
cmp byte [rax], 0
jne 0x180014f2c
mov eax, dword [rbp + 0x278]
mov rdx, r14
mov r9, qword [rbp + 0x270]
mov rcx, rsi
mov dword [rsp + 0x20], eax
mov rax, qword [0x180029f88]
call qword [rax + 0x48]
mov r13d, eax
lea rax, [0x18002a9fc]
cmp r14, rax
je 0x180014f96
or rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x268]
call fcn.18000c7c0
jmp 0x180014f96
mov rax, qword [0x180029f88]
xor r9d, r9d
and dword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x48]
mov r13d, eax
test r15, r15
je 0x180014fa3
mov rcx, r15
call fcn.180010bb8
test r13d, r13d
jne 0x180014ffd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [0x180029f88]
mov rcx, rsi
call qword [rax + 0x10]
mov rax, qword [0x180029f88]
mov rcx, rdi
xor esi, esi
call qword [rax + 0x10]
mov rax, qword [0x180029f88]
xor edi, edi
mov rcx, rbx
call qword [rax + 0x10]
mov r13d, dword [rbp + 0x260]
xor ebx, ebx
inc r12
mov rcx, rsi
cmp r12, 2
jl 0x180014cef
test rcx, rcx
jne 0x180014ffd
lea r14d, [rsi - 2]
jmp 0x180015069
mov rax, qword [0x180029f88]
lea r9, [rsp + 0x44]
and qword [rbp + 0x268], 0
lea r8, [rbp + 0x268]
and qword [rsp + 0x20], 0
mov edx, 0x13
mov rcx, rsi
mov dword [rsp + 0x44], 8
call qword [rax + 0x18]
test eax, eax
jne 0x180015043
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, 0xfffffff8
jmp 0x18001505c
lea rcx, [rbp + 0x268]
call fcn.180010aa8
mov r14d, eax
cmp eax, 0xc8
je 0x180015092
neg r14d
mov rax, qword [0x180029f88]
mov rcx, rsi
call qword [rax + 0x10]
test rdi, rdi
je 0x18001507b
mov rdx, qword [0x180029f88]
mov rcx, rdi
call qword [rdx + 0x10]
test rbx, rbx
je 0x18001508d
mov rdx, qword [0x180029f88]
mov rcx, rbx
call qword [rdx + 0x10]
mov eax, r14d
jmp 0x1800150b2
mov rax, qword [rbp + 0x290]
mov qword [rax], rsi
mov rax, qword [rbp + 0x280]
mov qword [rax], rbx
mov rax, qword [rbp + 0x288]
mov qword [rax], rdi
xor eax, eax
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret