Function at 0x140014d44
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x680
mov rax, qword [0x14009e140]
xor rax, rsp
mov qword [rsp + 0x670], rax
xor ebx, ebx
mov r13, r8
mov edi, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov rsi, rcx
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
lea r14, [0x140009868]
cmp rcx, rbp
je 0x140014db6
test byte [rcx + 0x1c], 4
je 0x140014db6
cmp byte [rcx + 0x19], 5
jb 0x140014db6
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x58]
mov r8, r14
call fcn.14000ffa8
lea rcx, [rsp + 0x64]
xor edx, edx
mov r8d, 0xfc
mov r15d, ebx
mov dword [rsp + 0x60], ebx
call sub.msvcrt.dll_memset
mov r12d, ebx
mov qword [rsp + 0x50], rbx
cmp edi, 2
jb 0x140014de6
mov eax, 0x57
jmp 0x140015a04
lea rdx, [rsp + 0x420]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, rax
or rax, 0xffffffffffffffff
cmp rcx, rax
jne 0x140014e4b
mov rax, qword [str.P5_n_]
cmp rax, rbp
je 0x140014ea1
test byte [rax + 0x1c], 4
je 0x140014ea1
cmp byte [rax + 0x19], 2
jb 0x140014ea1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov edx, 0x59
mov rcx, qword [rcx + 0x10]
mov r8, r14
mov r9d, eax
mov qword [rsp + 0x20], rsi
call fcn.140058098
jmp 0x140014ea1
mov eax, dword [rsp + 0x440]
or dword [rsp + 0x64], 0x10
mov dword [rsp + 0x90], eax
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp eax, ebx
jne 0x140014ea1
mov rax, qword [str.P5_n_]
cmp rax, rbp
je 0x140014ea1
test byte [rax + 0x1c], 4
je 0x140014ea1
cmp byte [rax + 0x19], 2
jb 0x140014ea1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov edx, 0x5a
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r14
call fcn.1400100e0
lea r8, [rsp + 0x40]
mov edx, 0x20
mov rcx, rsi
call fcn.140013afc
cmp eax, ebx
jge 0x140014ee5
mov rcx, qword [str.P5_n_]
cmp rcx, rbp
je 0x140014f36
test byte [rcx + 0x1c], 4
je 0x140014f36
cmp byte [rcx + 0x19], 2
jb 0x140014f36
mov rcx, qword [rcx + 0x10]
mov edx, 0x5b
mov r9d, eax
mov r8, r14
call fcn.1400100e0
jmp 0x140014f36
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
lea rdx, [0x140009c30]
mov rax, qword [rcx]
mov r8d, 0x10
call qword [rax + 0x20]
cmp eax, ebx
jge 0x140014f45
mov rcx, qword [str.P5_n_]
cmp rcx, rbp
je 0x140014f36
test byte [rcx + 0x1c], 4
je 0x140014f36
cmp byte [rcx + 0x19], 2
jb 0x140014f36
mov rcx, qword [rcx + 0x10]
mov edx, 0x5c
mov r9, rsi
mov r8, r14
mov dword [rsp + 0x20], eax
call fcn.140011a18
mov r14d, dword [rsp + 0x30]
mov ebx, 0x6e
jmp 0x14001596d
lea rcx, [0x140009878]
mov r14d, dword [rcx + rdi*4]
cmp r14d, 0x1d
jbe 0x140014f60
mov ebx, 0x54f
jmp 0x14001596d
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x160]
lea r8, [0x140009880]
mov rax, qword [rcx]
mov edx, r14d
call qword [rax + 0x18]
cmp eax, ebx
jge 0x140014fbb
mov rcx, qword [str.P5_n_]
cmp rcx, rbp
je 0x140014fb1
test byte [rcx + 0x1c], 4
je 0x140014fb1
cmp byte [rcx + 0x19], 2
jb 0x140014fb1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009868]
mov edx, 0x5d
mov r9d, eax
call fcn.1400100e0
mov ebx, 0x1e
jmp 0x14001596d
mov r12d, 1
mov ebp, ebx
mov dword [rsp + 0x30], r12d
cmp r14d, ebx
jbe 0x140015758
lea rbx, [rsp + 0x168]
lea r12, [0x140009888]
xor edx, edx
cmp word [rbx - 8], dx
je 0x14001573e
mov eax, dword [r12]
cmp eax, 0xc8
ja 0x140015603
je 0x1400155b1
cmp eax, 0x70
ja 0x140015373
je 0x140015343
cmp eax, 0x6a
ja 0x1400152ab
je 0x140015255
sub eax, 0x64
je 0x1400151ff
sub eax, 1
je 0x1400151a9
sub eax, 1
je 0x140015153
sub eax, 1
je 0x1400150fd
sub eax, 1
je 0x1400150a7
cmp eax, 1
jne 0x14001573e
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0x128], rax
cmp rax, rdx
jne 0x14001573e
lea r9d, [rdx + 8]
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x5b]
jmp 0x140015558
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0x138], rax
cmp rax, rdx
jne 0x14001573e
lea r9d, [rdx + 8]
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x5a]
jmp 0x140015558
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0x140], rax
cmp rax, rdx
jne 0x14001573e
lea r9d, [rdx + 8]
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x59]
jmp 0x140015558
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0x118], rax
cmp rax, rdx
jne 0x14001573e
lea r9d, [rdx + 8]
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x58]
jmp 0x140015558
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0xb8], rax
cmp rax, rdx
jne 0x14001573e
lea r9d, [rdx + 8]
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x57]
jmp 0x140015558
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0xc0], rax
cmp rax, rdx
jne 0x14001573e
lea r9d, [rdx + 8]
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x56]
jmp 0x140015558
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0x130], rax
cmp rax, rdx
jne 0x14001573e
lea r9d, [rdx + 8]
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x5c]
jmp 0x140015558
sub eax, 0x6b
je 0x14001532f
sub eax, 1
je 0x14001531b
sub eax, 1
je 0x140015308
sub eax, 1
je 0x1400152f8
cmp eax, 1
jne 0x14001573e
mov rax, qword [rbx]
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor edx, edx
cmp eax, edx
je 0x1400157e5
bts dword [rsp + 0x64], 0xb
jmp 0x14001573e
mov eax, dword [rbx]
or dword [rsp + 0x64], 2
mov dword [rsp + 0x78], eax
jmp 0x14001573e
mov eax, dword [rbx]
or dword [rsp + 0x64], 0x20
mov dword [rsp + 0x94], eax
jmp 0x14001573e
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0xd
mov dword [rsp + 0x120], eax
jmp 0x14001573e
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0xe
mov dword [rsp + 0x124], eax
jmp 0x14001573e
mov rax, qword [rbx]
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor edx, edx
cmp eax, edx
je 0x14001581f
bts dword [rsp + 0x64], 0xc
jmp 0x14001573e
cmp eax, 0x76
ja 0x1400154d6
je 0x140015480
sub eax, 0x71
je 0x140015450
sub eax, 1
je 0x140015420
sub eax, 1
je 0x1400153ca
sub eax, 1
je 0x1400153ba
cmp eax, 1
jne 0x14001573e
mov eax, dword [rbx]
or dword [rsp + 0x64], 8
mov dword [rsp + 0x80], eax
jmp 0x14001573e
mov eax, dword [rbx]
or dword [rsp + 0x64], 4
mov dword [rsp + 0x7c], eax
jmp 0x14001573e
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0xc8], rax
cmp rax, rdx
jne 0x14001573e
lea r9d, [rdx + 8]
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x61]
jmp 0x140015558
mov rax, qword [rbx]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor edx, edx
cmp eax, edx
je 0x140015859
bts dword [rsp + 0x64], 9
jmp 0x14001573e
mov rax, qword [rbx]
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor edx, edx
cmp eax, edx
je 0x140015899
bts dword [rsp + 0x64], 0xa
jmp 0x14001573e
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0x88], rax
cmp rax, rdx
jne 0x14001573e
lea r9d, [rdx + 8]
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x67]
jmp 0x140015558
sub eax, 0x77
je 0x14001559e
sub eax, 1
je 0x140015586
sub eax, 1
je 0x140015572
sub eax, 1
je 0x140015513
cmp eax, 1
jne 0x14001573e
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0x17
mov dword [rsp + 0x15c], eax
jmp 0x14001573e
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0x150], rax
cmp rax, rdx
jne 0x14001573e
lea r9d, [rdx + 8]
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x68]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140009868]
call fcn.1400100e0
mov r12d, dword [rsp + 0x30]
jmp 0x14001596d
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0x15
mov dword [rsp + 0x14c], eax
jmp 0x14001573e
mov eax, edx
or rcx, 0xffffffffffffffff
cmp cx, word [rbx]
sete al
mov dword [rsp + 0x148], eax
jmp 0x14001573e
mov rax, qword [rbx]
bts dword [rsp + 0x64], 0x14
mov qword [rsp + 0x70], rax
jmp 0x14001573e
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0xa0], rax
cmp rax, rdx
jne 0x14001573e
lea r9d, [rdx + 8]
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x62]
jmp 0x140015558
sub eax, 0xc9
je 0x140015723
sub eax, 0x63
je 0x1400156d1
sub eax, 1
je 0x14001567b
cmp eax, 1
jne 0x14001573e
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0xa8], rax
cmp rax, rdx
jne 0x14001573e
lea r9d, [rdx + 8]
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x65]
jmp 0x140015558
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0xb0], rax
cmp rax, rdx
jne 0x14001573e
lea r9d, [rdx + 8]
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x64]
jmp 0x140015558
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0xd0], rax
cmp rax, rdx
jne 0x14001573e
lea r9d, [rdx + 8]
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x66]
jmp 0x140015558
mov rcx, qword [rbx]
call fcn.140077860
xor edx, edx
mov qword [rsp + 0x98], rax
cmp rax, rdx
je 0x1400158d3
inc ebp
add r12, 0x10
add rbx, 0x18
cmp ebp, r14d
jb 0x140014fe2
mov r12d, dword [rsp + 0x30]
xor ebx, ebx
mov edx, 0x5c
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcsrchr]
cmp rax, rbx
je 0x14001576f
add rax, 2
mov rcx, qword [0x1400a3c58]
mov esi, 1
lea r9, [rsp + 0x50]
cmp edi, esi
lea r8, [rsp + 0x68]
mov rdx, rax
cmovb r9, rbx
call fcn.140017b48
xor edx, edx
mov ebx, eax
cmp eax, edx
je 0x140015910
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x70]
lea r8, [0x140009868]
mov r9d, eax
call fcn.1400100e0
jmp 0x14001596d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
mov edx, 0x65
jmp 0x140015891
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
mov edx, 0x66
jmp 0x140015891
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
mov edx, 0x68
mov r9d, eax
jmp 0x140015558
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
mov edx, 0x67
jmp 0x140015891
mov r9d, 8
mov ebx, r9d
mov rcx, qword [str.P5_n_]
lea rbp, str.P5_n_
cmp rcx, rbp
je 0x140015568
test byte [rcx + 0x1c], 4
je 0x140015568
cmp byte [rcx + 0x19], 2
jb 0x140015568
lea edx, [r9 + 0x63]
jmp 0x140015558
mov ecx, dword [rsp + 0x64]
bts ecx, 0x13
mov dword [rsp + 0x64], ecx
cmp edi, esi
jb 0x140015939
cmp qword [rsp + 0x50], rdx
mov eax, edx
sete al
bts ecx, 0x16
mov dword [rsp + 0x64], ecx
mov dword [rsp + 0x158], eax
mov eax, edx
mov ecx, 0x100
cmp edi, esi
cmove eax, ecx
cmp edi, edx
mov ecx, 0xe8
cmove eax, ecx
lea rdx, [rsp + 0x60]
mov rcx, r13
mov r8d, eax
mov dword [rsp + 0x60], eax
call sub.msvcrt.dll_memcpy
mov r15d, esi
lea rbp, str.P5_n_
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001597d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001598d
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp r12d, 1
jne 0x1400159d8
lea rdx, [rsp + 0x160]
mov ecx, r14d
call qword [sym.imp.ole32.dll_FreePropVariantArray]
test eax, eax
jns 0x1400159d8
mov rcx, qword [str.P5_n_]
cmp rcx, rbp
je 0x1400159d8
test byte [rcx + 0x1c], 4
je 0x1400159d8
cmp byte [rcx + 0x19], 2
jb 0x1400159d8
mov rcx, qword [rcx + 0x10]
lea edx, [r12 + 0x71]
lea r8, [0x140009868]
mov r9d, eax
call fcn.1400100e0
test r15d, r15d
jne 0x1400159f1
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.14005fe58
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140015a01
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, r15d
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.14008c5b0
mov rbx, qword [rsp + 0x6d8]
add rsp, 0x680
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret