Function at 0x40b0ca
Capabilities:
Check http status code

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1a0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rax, qword [rbp + 0x10]
add rax, 8
mov ecx, dword [rax]
cmp ecx, 0
je 0x40b0fd
jmp 0x40b483
mov rax, qword [rbp + 0x10]
movabs rcx, 0
mov r11, rcx
mov ecx, dword [rax]
mov r10, rcx
mov rcx, r10
mov rdx, r11
call fcn.00401c7a
mov qword [rbp - 0x28], rax
mov rax, qword [0x0044da10]
add rax, 0x74
mov ecx, dword [rax]
cmp ecx, 0
je 0x40b242
mov rax, qword [rbp + 0x10]
jmp 0x40b191
lea rax, str.__bound_
mov r11, rax
lea rax, [rbp - 0x148]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_strcpy
mov rax, qword [rbp - 0x28]
mov r11, rax
lea rax, [rbp - 0x148]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_strcat
lea rax, [rbp - 0x148]
mov qword [rbp - 0x28], rax
jmp 0x40b242
mov ecx, dword [rax]
cmp ecx, 0x1a0
jg 0x40b1f5
cmp ecx, 0x1a0
jge 0x40b141
cmp ecx, 0x185
jg 0x40b1d8
cmp ecx, 0x185
jge 0x40b141
cmp ecx, 0x183
je 0x40b141
cmp ecx, 0x184
je 0x40b141
jmp 0x40b242
cmp ecx, 0x193
je 0x40b141
cmp ecx, 0x19f
je 0x40b141
jmp 0x40b242
cmp ecx, 0x1a3
jg 0x40b22a
cmp ecx, 0x1a3
jge 0x40b141
cmp ecx, 0x1a1
je 0x40b141
cmp ecx, 0x1a2
je 0x40b141
jmp 0x40b242
cmp ecx, 0x1a4
je 0x40b141
cmp ecx, 0x1a5
je 0x40b141
mov rax, qword [rbp + 0x10]
add rax, 0x10
mov ecx, dword [rax]
mov dword [rbp - 0x14], ecx
mov eax, dword [rbp - 0x14]
and eax, 0xf
cmp eax, 6
jne 0x40b26b
mov eax, 2
mov dword [rbp - 4], eax
jmp 0x40b28f
mov eax, dword [rbp - 0x14]
and eax, 0xf
cmp eax, 0
jne 0x40b287
mov eax, 0
mov dword [rbp - 4], eax
jmp 0x40b28f
mov eax, 1
mov dword [rbp - 4], eax
mov eax, dword [rbp - 0x14]
and eax, 0x2000
cmp eax, 0
je 0x40b2ae
mov eax, 0
mov dword [rbp - 8], eax
jmp 0x40b2b6
mov eax, 1
mov dword [rbp - 8], eax
mov eax, 0
mov dword [rbp - 0x10], eax
mov eax, dword [rbp - 4]
cmp eax, 2
jne 0x40b37c
mov rax, qword [rbp + 0x10]
add rax, 0x10
add rax, 8
mov rcx, qword [rax]
cmp rcx, 0
je 0x40b37c
mov rax, qword [rbp + 0x10]
add rax, 0x10
add rax, 8
mov rcx, qword [rax]
mov qword [rbp - 0x150], rcx
mov rax, qword [rbp - 0x150]
add rax, 0xc
mov ecx, dword [rax]
shl ecx, 0x1d
shr ecx, 0x1d
cmp ecx, 1
jne 0x40b37c
mov eax, dword [rbp + 0x30]
cmp eax, 0
je 0x40b37c
mov rax, qword [rbp - 0x150]
add rax, 0xc
mov ecx, dword [rax]
shl ecx, 0x13
shr ecx, 0x18
shl ecx, 3
mov r9, rcx
mov rax, qword [rbp - 0x28]
mov r8, rax
lea rax, str.__s__d
mov r11, rax
lea rax, [rbp - 0x128]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_sprintf
lea rax, [rbp - 0x128]
mov qword [rbp - 0x28], rax
mov eax, dword [rbp - 0x10]
or eax, 0x40
mov dword [rbp - 0x10], eax
mov eax, 0
mov dword [rbp + 0x30], eax
mov rax, qword [0x0044da10]
add rax, 0x48
mov ecx, dword [rax]
cmp ecx, 0
je 0x40b3d8
mov eax, dword [rbp + 0x30]
cmp eax, 0
je 0x40b3d8
mov eax, 0x5f
mov byte [rbp - 0x128], al
mov rax, qword [rbp - 0x28]
mov r8, rax
mov eax, 0xff
mov r11, rax
lea rax, [rbp - 0x127]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0043a705
lea rax, [rbp - 0x128]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0x10]
add rax, 0x20
mov ecx, dword [rax]
cmp ecx, 0
je 0x40b414
mov rax, qword [rbp + 0x10]
add rax, 0x20
movabs rcx, 0
mov r11, rcx
mov ecx, dword [rax]
mov r10, rcx
mov rcx, r10
mov rdx, r11
call fcn.00401c7a
mov qword [rbp - 0x28], rax
mov eax, dword [rbp - 8]
shl eax, 4
mov ecx, dword [rbp - 4]
and ecx, 0xf
add eax, ecx
mov dword [rbp - 0xc], eax
mov rax, qword [rbp + 0x10]
add rax, 8
mov rcx, qword [rbp - 0x28]
mov qword [rsp + 0x30], rcx
mov ecx, dword [rbp + 0x18]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rbp - 0x10]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rbp - 0xc]
mov r9, rcx
mov ecx, dword [rbp + 0x28]
mov r8, rcx
mov rcx, qword [rbp + 0x20]
mov r11, rcx
mov rcx, qword [0x00450bd0]
mov r10, rcx
mov qword [rbp - 0x158], rax
mov rcx, r10
mov rdx, r11
call fcn.0041f93d
mov rcx, qword [rbp - 0x158]
mov dword [rcx], eax
jmp 0x40b4c2
mov rax, qword [rbp + 0x10]
mov r10, rax
mov rcx, r10
call fcn.0040aed9
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
add rax, 8
mov rcx, qword [rbp + 0x20]
mov qword [rax], rcx
mov rax, qword [rbp - 0x20]
add rax, 0x10
mov ecx, dword [rbp + 0x28]
mov qword [rax], rcx
mov rax, qword [rbp - 0x20]
add rax, 6
movzx ecx, word [rbp + 0x18]
mov word [rax], cx
mov rax, qword [rbp + 0x10]
mov r10, rax
mov rcx, r10
call fcn.0040af4e
leave
ret