Function at 0x18001af40
Capabilities:
Check http status code

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rsp + 0x1b8]
mov eax, dword [rsp + 0x1b0]
mov qword [rsp + 0x138], r9
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x120], rcx
mov dword [rsp + 0x11c], 0x8404c700
mov eax, dword [rsp + 0x1b8]
and eax, 4
cmp eax, 0
je 0x18001afac
mov eax, dword [rsp + 0x11c]
or eax, 0x800000
mov dword [rsp + 0x11c], eax
lea rcx, [0x180029043]
lea rdx, [rsp + 0x14e]
call fcn.18000e810
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.180026600
lea rcx, [rsp + 0x100]
call fcn.180023720
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 0
mov eax, dword [rsp + 0x11c]
mov dword [rsp + 0xac], eax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xb8], rax
lea rcx, [0x1800296ba]
lea rdx, [rsp + 0x152]
call fcn.18000e810
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x1b8]
and eax, 1
cmp eax, 0
je 0x18001b078
lea rcx, [0x180029020]
lea rdx, [rsp + 0x15b]
call fcn.18000e810
mov qword [rsp + 0xa0], rax
jmp 0x18001b094
lea rcx, [0x180029b31]
lea rdx, [rsp + 0x160]
call fcn.18000e810
mov qword [rsp + 0xa0], rax
mov rsi, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x90], rax
mov ecx, 0x6bbb23ae
call fcn.180013910
mov dword [rsp + 0x8c], eax
mov ecx, 0xab23d32e
call fcn.180013910
mov ecx, dword [rsp + 0x8c]
mov edx, eax
call fcn.18000a490
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
mov r8, qword [rsp + 0xc8]
mov r9, qword [rsp + 0xc0]
mov r11, qword [rsp + 0xb0]
mov r10d, dword [rsp + 0xac]
xor edi, edi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x38], 0
call rax
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
xor eax, eax
mov edx, eax
call fcn.18001ea50
test eax, 1
je 0x18001b16d
mov qword [rsp + 0x140], 0
mov dword [rsp + 0xe4], 1
jmp 0x18001b3bd
mov eax, dword [rsp + 0x1b8]
mov dword [rsp + 0x88], eax
mov ecx, 0x6bbb23b9
call fcn.180013910
mov ecx, eax
mov eax, dword [rsp + 0x88]
and eax, ecx
cmp eax, 0
je 0x18001b243
mov dword [rsp + 0xe0], 0
mov ecx, 0x6bbb23b9
call fcn.180013910
mov dword [rsp + 0xdc], eax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rax
mov ecx, 0x13
mov edx, 0xc63bdb53
call fcn.18000a490
mov rcx, qword [rsp + 0x80]
mov edx, 0x1f
lea r8, [rsp + 0xe0]
lea r9, [rsp + 0xdc]
call rax
cmp eax, 0
je 0x18001b241
mov eax, dword [rsp + 0xe0]
or eax, 0x13380
mov dword [rsp + 0xe0], eax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x78], rax
mov ecx, 0x13
mov edx, 0xcf94f2c3
call fcn.18000a490
mov rcx, qword [rsp + 0x78]
mov edx, 0x1f
lea r8, [rsp + 0xe0]
mov r9d, 4
call rax
jmp 0x18001b243
mov eax, dword [rsp + 0x1b0]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x68], rax
lea rcx, [0x180029c40]
lea rdx, [rsp + 0x164]
call fcn.18000e810
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x58], rax
mov ecx, 0x13
mov edx, 0xc0467e93
call fcn.18000a490
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov r9, qword [rsp + 0x68]
mov r10d, dword [rsp + 0x74]
mov r8d, 0x13
mov dword [rsp + 0x20], r10d
call rax
cmp eax, 0
je 0x18001b383
mov dword [rsp + 0xd8], 0
mov dword [rsp + 0xd4], 4
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x48], rax
mov ecx, 0x13
mov edx, 0xcffa55c3
call fcn.18000a490
mov qword [rsp + 0x50], rax
mov ecx, 0x4bbb23ae
call fcn.180013910
mov rcx, qword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x50]
lea r8, [rsp + 0xd8]
lea r9, [rsp + 0xd4]
xor r10d, r10d
mov qword [rsp + 0x20], 0
call rax
mov ecx, eax
xor edx, edx
call fcn.18001c3b0
test eax, 1
je 0x18001b365
cmp dword [rsp + 0xd8], 0xc8
jne 0x18001b365
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x140], rax
mov ecx, 0x6bbb23bc
call fcn.180013910
mov dword [rsp + 0xe4], eax
jmp 0x18001b3bd
cmp qword [rsp + 0x1c0], 0
je 0x18001b381
mov ecx, dword [rsp + 0xd8]
mov rax, qword [rsp + 0x1c0]
mov dword [rax], ecx
jmp 0x18001b383
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x40], rax
mov ecx, 0x13
mov edx, 0xc3b6b237
call fcn.18000a490
mov rcx, qword [rsp + 0x40]
call rax
mov qword [rsp + 0x140], 0
mov dword [rsp + 0xe4], 1
lea rcx, [rsp + 0x100]
call fcn.180023b40
mov rax, qword [rsp + 0x140]
add rsp, 0x178
pop rdi
pop rsi
ret