Function at 0x18001b040
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov ebp, dword [rsp + 0xc8]
mov r15, r8
mov r8, rdx
mov rdx, rcx
lea r14d, [rbp + 0xd]
mov dword [rsp + 0x38], r14d
cmp ebp, r14d
jae case.0x18001b0be.74
mov r12, qword [rsp + 0xc0]
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
lea eax, [rbp - 0x45]
lea r10, [0x180000000]
cmp eax, 0x41
ja case.0x18001b0be.81
movzx eax, byte [r10 + rax + 0x1b45c]
mov ecx, dword [r10 + rax*4 + 0x1b428]
add rcx, r10
jmp rcx
mov r9d, 0xb6
mov qword [rsp + 0x20], r15
xor r8d, r8d
xor edx, edx
mov rcx, r12
call fcn.18008b130
test al, al
je 0x18001b0ff
mov ecx, 0x32
mov eax, ecx
sub eax, 0x32
je 0x18001b0f3
cmp eax, 1
je case.0x18001b0be.74
jmp 0x18001b0f8
mov byte [rsp + 0x40], 1
inc ecx
cmp ecx, 0x34
jb 0x18001b0e1
mov rdi, qword [rsp + 0x50]
mov r8d, 0x13
mov rcx, r12
mov rdx, qword [rdi + 8]
call fcn.1800b9e80
mov qword [rdi + 8], rax
jmp case.0x18001b0be.81
cmp dword [r15], 1
je 0x18001b406
mov rax, qword [r12 + 0x58]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x50], rcx
jmp case.0x18001b0be.81
cmp byte [rdx], 0
je case.0x18001b0be.81
mov edx, 1
lea rcx, [0x18046b8dc]
call qword [r9]
jmp case.0x18001b0be.81
mov rcx, qword [r12]
mov rax, qword [r15]
mov qword [rcx + 0x78], rax
jmp case.0x18001b0be.81
mov rax, qword [r12 + 0x10]
xor r13d, r13d
mov qword [rsp + 0x48], r13
cmp qword [r15], rax
jae case.0x18001b0be.81
nop
mov edi, 0xbc
mov eax, edi
sub eax, 0xbc
je 0x18001b198
cmp eax, 1
jne 0x18001b1c4
inc qword [r15]
jmp 0x18001b1c4
cmp qword [r12 + 0x18], 0x10
mov rcx, r12
jb 0x18001b1a7
mov rcx, qword [r12]
mov rax, qword [r15]
movsx ecx, byte [rax + rcx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x18001b0be.72
inc r13
mov qword [rsp + 0x48], r13
inc edi
cmp edi, 0xbe
jb 0x18001b185
mov rax, qword [r12 + 0x10]
cmp qword [r15], rax
jb 0x18001b180
jmp case.0x18001b0be.81
mov rcx, qword [r15]
test rcx, rcx
je 0x18001b1f9
mov rdx, qword [rcx + 0x10]
test rdx, rdx
je 0x18001b1f9
mov rcx, qword [rcx]
call qword [r9]
jmp case.0x18001b0be.81
mov eax, dword [r15 + 0x10]
cmp eax, 7
je case.0x18001b0be.74
test eax, eax
je case.0x18001b0be.81
cmp eax, 7
jge 0x18001b2c1
mov r12, qword [rsp + 0xb8]
mov edi, 0xff
mov r13, qword [rsp + 0xa8]
nop dword [rax]
mov eax, edi
sub eax, 0xff
je 0x18001b291
sub eax, 0x25
je 0x18001b26e
sub eax, 0x25
je 0x18001b254
cmp eax, 0x25
jne 0x18001b2a4
lea edx, [rax - 0x24]
lea rcx, [0x18046b8e0]
jmp 0x18001b29d
mov rsi, qword [rsp + 0x58]
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rsi + rdx], 0
jne 0x18001b260
mov rcx, rsi
jmp 0x18001b29d
mov eax, dword [r15 + 0x10]
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov dword [rsp + 0x30], eax
xor r8d, r8d
lea ecx, [r9 + 6]
call fcn.18001fab0
mov qword [rsp + 0x58], rax
jmp 0x18001b2a4
mov edx, 9
lea rcx, str._default
mov r8, r13
call qword [r12]
add edi, 0x25
cmp edi, 0x193
jb 0x18001b230
mov r12, qword [rsp + 0xc0]
mov r13, qword [rsp + 0x48]
jmp case.0x18001b0be.81
mov edx, 9
lea rcx, str._default_
call qword [r9]
jmp case.0x18001b0be.81
mov ebp, 0x60
jmp case.0x18001b0be.81
mov r14d, 0x99
nop word [rax + rax]
mov eax, r14d
sub eax, 0x98
je case.0x18001b0be.74
cmp eax, 1
jne 0x18001b38f
mov esi, 1
mov ebp, 0xd8
mov qword [rsp + 0x40], rsi
mov eax, ebp
sub eax, 0xc8
je 0x18001b37c
sub eax, 0x10
je 0x18001b33e
sub eax, 0x3380
je 0x18001b334
cmp eax, 0x3390
je 0x18001b36f
jmp 0x18001b37c
mov dword [rsp + 0x44], 0
jmp 0x18001b377
mov edi, 0xa9
mov eax, edi
sub eax, 0xa9
je 0x18001b353
cmp eax, 5
je 0x18001b38a
jmp 0x18001b364
mov edx, 0x10
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
add edi, 5
cmp edi, 0xb3
jb 0x18001b343
mov dword [rsp + 0x40], 0
mov rsi, qword [rsp + 0x40]
add ebp, 0x37b0
cmp ebp, 0x11670
jbe 0x18001b316
mov qword [rsp + 0x40], rbx
dec r14d
cmp r14d, 0x97
ja 0x18001b2f0
mov ebp, dword [rsp + 0xc8]
mov r14d, dword [rsp + 0x38]
mov qword [rsp + 0x40], r13
jmp case.0x18001b0be.81
xor edx, edx
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 0x59]
call fcn.18004f870
mov byte [rsp + 0x40], al
jmp case.0x18001b0be.81
mov rcx, qword [r12]
mov rax, qword [r15]
mov qword [rcx + 0x90], rax
inc ebp
mov dword [rsp + 0xc8], ebp
cmp ebp, r14d
jae case.0x18001b0be.74
mov r9, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
jmp 0x18001b097
mov byte [rsp + 0x40], 1
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret