Function at 0x140005cd0
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
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x140096940]
xor rax, rsp
mov qword [rbp + 0x570], rax
xor ebx, ebx
mov edi, edx
mov qword [rsp + 0x48], rbx
mov r13d, ebx
mov qword [rsp + 0x40], rbx
mov r12, r8
mov rsi, rcx
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140005d49
test byte [rcx + 0x1c], 4
je 0x140005d49
cmp byte [rcx + 0x19], 5
jb 0x140005d49
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x58]
lea r8, [0x140082350]
call fcn.140001010
xor edx, edx
mov dword [rsp + 0x30], ebx
mov r8d, 0x100
lea rcx, [rsp + 0x60]
mov r14d, ebx
call sub.msvcrt.dll_memset
mov qword [rsp + 0x50], rbx
mov r15d, ebx
cmp edi, 2
jb 0x140005d79
mov eax, 0x57
jmp 0x140006945
lea rdx, [rbp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, rax
or rax, 0xffffffffffffffff
cmp rcx, rax
jne 0x140005de9
mov rax, qword [str.___t_]
lea rcx, str.___t_
cmp rax, rcx
je 0x140005e45
test byte [rax + 0x1c], 4
je 0x140005e45
cmp byte [rax + 0x19], 2
jb 0x140005e45
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082350]
mov r9d, eax
mov qword [rsp + 0x20], rsi
mov edx, 0x59
mov rcx, qword [rcx + 0x10]
call fcn.140001064
jmp 0x140005e45
mov eax, dword [rbp + 0x80]
or dword [rsp + 0x64], 0x10
mov dword [rbp - 0x70], eax
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x140005e45
mov rax, qword [str.___t_]
lea rcx, str.___t_
cmp rax, rcx
je 0x140005e45
test byte [rax + 0x1c], 4
je 0x140005e45
cmp byte [rax + 0x19], 2
jb 0x140005e45
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082350]
mov r9d, eax
mov edx, 0x5a
mov rcx, qword [rcx + 0x10]
call fcn.140001030
lea r8, [rsp + 0x48]
mov edx, 0x20
mov rcx, rsi
call fcn.140004a40
test eax, eax
jns 0x140005e9c
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140005e92
test byte [rcx + 0x1c], 4
je 0x140005e92
cmp byte [rcx + 0x19], 2
jb 0x140005e92
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082350]
mov edx, 0x5b
mov r9d, eax
call fcn.140001030
mov ebx, 0x6e
jmp 0x1400068a2
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov r8d, 0x10
lea rdx, [0x140081f80]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [0x140081868]
test eax, eax
jns 0x140005f01
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140005e92
test byte [rcx + 0x1c], 4
je 0x140005e92
cmp byte [rcx + 0x19], 2
jb 0x140005e92
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082350]
mov edx, 0x5c
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140001250
jmp 0x140005e92
lea rcx, [0x140082170]
mov r13d, dword [rcx + rdi*4]
cmp r13d, 0x1d
jbe 0x140005f1c
mov ebx, 0x54f
jmp 0x14000689b
mov rcx, qword [rsp + 0x40]
lea r9, [rbp + 0x2b0]
lea r8, [0x140082180]
mov edx, r13d
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x140081868]
test eax, eax
jns 0x140005f84
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140005f7a
test byte [rcx + 0x1c], 4
je 0x140005f7a
cmp byte [rcx + 0x19], 2
jb 0x140005f7a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082350]
mov edx, 0x5d
mov r9d, eax
call fcn.140001030
mov ebx, 0x1e
jmp 0x1400068a2
mov r15d, 1
mov dword [rsp + 0x34], r15d
test r13d, r13d
je 0x14000668f
lea rbx, [rbp + 0x2b8]
xor edx, edx
lea r15, [0x140082188]
cmp word [rbx - 8], dx
je 0x140006674
mov eax, dword [r15]
cmp eax, 0xc8
ja 0x14000654c
je 0x1400064fb
cmp eax, 0x70
ja 0x1400062f1
je 0x1400062c5
cmp eax, 0x6a
ja 0x14000623d
je 0x1400061fb
sub eax, 0x64
je 0x14000619c
sub eax, 1
je 0x14000615a
sub eax, 1
je 0x140006109
sub eax, 1
je 0x1400060b8
sub eax, 1
je 0x140006067
cmp eax, 1
jne 0x140006674
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp + 0x28], rax
test rax, rax
jne 0x140006674
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [rax + 0x63]
jmp 0x1400061dc
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp + 0x38], rax
test rax, rax
jne 0x140006674
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [rax + 0x62]
jmp 0x1400061dc
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp + 0x40], rax
test rax, rax
jne 0x140006674
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [rax + 0x61]
jmp 0x1400061dc
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp + 0x18], rax
test rax, rax
jne 0x140006674
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [rax + 0x60]
jmp 0x1400061dc
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp - 0x48], rax
test rax, rax
jne 0x140006674
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [rax + 0x5f]
jmp 0x1400061dc
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp - 0x40], rax
test rax, rax
jne 0x140006674
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [rax + 0x5e]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082350]
call fcn.140001030
mov r14d, dword [rsp + 0x30]
mov r15d, dword [rsp + 0x34]
jmp 0x1400068a2
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp + 0x30], rax
test rax, rax
jne 0x140006674
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [rax + 0x64]
jmp 0x1400061dc
sub eax, 0x6b
je 0x1400062b5
sub eax, 1
je 0x1400062a5
sub eax, 1
je 0x140006296
sub eax, 1
je 0x140006286
cmp eax, 1
jne 0x140006674
mov rax, qword [rbx]
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor edx, edx
test eax, eax
je 0x14000671a
bts dword [rsp + 0x64], 0xb
jmp 0x140006674
mov eax, dword [rbx]
or dword [rsp + 0x64], 2
mov dword [rsp + 0x78], eax
jmp 0x140006674
mov eax, dword [rbx]
or dword [rsp + 0x64], 0x20
mov dword [rbp - 0x6c], eax
jmp 0x140006674
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0xd
mov dword [rbp + 0x20], eax
jmp 0x140006674
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0xe
mov dword [rbp + 0x24], eax
jmp 0x140006674
mov rax, qword [rbx]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor edx, edx
test eax, eax
je 0x14000675a
bts dword [rsp + 0x64], 0xc
jmp 0x140006674
cmp eax, 0x76
ja 0x14000643e
je 0x1400063ed
sub eax, 0x71
je 0x1400063c1
sub eax, 1
je 0x140006395
sub eax, 1
je 0x140006344
sub eax, 1
je 0x140006334
cmp eax, 1
jne 0x140006674
mov eax, dword [rbx]
or dword [rsp + 0x64], 8
mov dword [rbp - 0x80], eax
jmp 0x140006674
mov eax, dword [rbx]
or dword [rsp + 0x64], 4
mov dword [rsp + 0x7c], eax
jmp 0x140006674
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp - 0x38], rax
test rax, rax
jne 0x140006674
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [rax + 0x69]
jmp 0x1400061dc
mov rax, qword [rbx]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor edx, edx
test eax, eax
je 0x140006794
bts dword [rsp + 0x64], 9
jmp 0x140006674
mov rax, qword [rbx]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor edx, edx
test eax, eax
je 0x1400067ce
bts dword [rsp + 0x64], 0xa
jmp 0x140006674
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x140006674
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [rax + 0x6f]
jmp 0x1400061dc
sub eax, 0x77
je 0x1400064e8
sub eax, 1
je 0x1400064d4
sub eax, 1
je 0x1400064c4
sub eax, 1
je 0x140006473
cmp eax, 1
jne 0x140006674
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0x17
mov dword [rbp + 0x5c], eax
jmp 0x140006674
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp + 0x50], rax
test rax, rax
jne 0x140006674
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [rax + 0x70]
jmp 0x1400061dc
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0x15
mov dword [rbp + 0x4c], eax
jmp 0x140006674
mov eax, edx
or rcx, 0xffffffffffffffff
cmp cx, word [rbx]
sete al
mov dword [rbp + 0x48], eax
jmp 0x140006674
mov rax, qword [rbx]
bts dword [rsp + 0x64], 0x14
mov qword [rsp + 0x70], rax
jmp 0x140006674
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x140006674
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [rax + 0x6a]
jmp 0x1400061dc
sub eax, 0xc9
je 0x14000665d
sub eax, 0x63
je 0x140006610
sub eax, 1
je 0x1400065bf
cmp eax, 1
jne 0x140006674
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp - 0x58], rax
test rax, rax
jne 0x140006674
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [rax + 0x6d]
jmp 0x1400061dc
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp - 0x50], rax
test rax, rax
jne 0x140006674
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [rax + 0x6c]
jmp 0x1400061dc
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x140006674
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [rax + 0x6e]
jmp 0x1400061dc
mov rcx, qword [rbx]
call fcn.140063214
xor edx, edx
mov qword [rbp - 0x68], rax
test rax, rax
je 0x14000680b
inc r14d
add r15, 0x10
add rbx, 0x18
cmp r14d, r13d
jb 0x140005fa8
mov r15d, dword [rsp + 0x34]
xor ebx, ebx
mov edx, 0x5c
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcsrchr]
test rax, rax
je 0x1400066a6
add rax, 2
mov esi, 1
lea r9, [rsp + 0x50]
cmp edi, esi
lea r8, [rsp + 0x68]
mov rdx, rax
cmovb r9, rbx
call fcn.1400089bc
xor edx, edx
mov ebx, eax
test eax, eax
je 0x140006848
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x70]
mov r9d, eax
lea r8, [0x140082350]
call fcn.140001030
mov r14d, dword [rsp + 0x30]
jmp 0x1400068a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
mov edx, 0x65
mov r9d, eax
jmp 0x1400061dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
mov edx, 0x66
jmp 0x140006752
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
mov edx, 0x68
jmp 0x140006752
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
mov edx, 0x67
jmp 0x140006752
mov r9d, 8
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400061ec
test byte [rcx + 0x1c], 4
je 0x1400061ec
cmp byte [rcx + 0x19], 2
jb 0x1400061ec
lea edx, [r9 + 0x63]
jmp 0x1400061dc
mov ecx, dword [rsp + 0x64]
bts ecx, 0x13
mov dword [rsp + 0x64], ecx
cmp edi, esi
jb 0x14000686d
cmp qword [rsp + 0x50], rdx
mov eax, edx
sete al
bts ecx, 0x16
mov dword [rsp + 0x64], ecx
mov dword [rbp + 0x58], eax
cmp edi, esi
mov r8d, edx
mov ecx, 0x100
lea rdx, [rsp + 0x60]
cmove r8d, ecx
test edi, edi
mov ecx, 0xe8
cmove r8d, ecx
mov rcx, r12
mov dword [rsp + 0x60], r8d
call sub.msvcrt.dll_memcpy
mov r14d, esi
lea rdi, str.___t_
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400068b9
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140081868]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400068d0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140081868]
cmp r15d, 1
jne 0x140006919
lea rdx, [rbp + 0x2b0]
mov ecx, r13d
call qword [sym.imp.ole32.dll_FreePropVariantArray]
test eax, eax
jns 0x140006919
mov rcx, qword [str.___t_]
cmp rcx, rdi
je 0x140006919
test byte [rcx + 0x1c], 4
je 0x140006919
cmp byte [rcx + 0x19], 2
jb 0x140006919
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x71]
mov r9d, eax
lea r8, [0x140082350]
call fcn.140001030
test r14d, r14d
jne 0x140006932
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14004deb4
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140006942
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, r14d
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.1400786e0
mov rbx, qword [rsp + 0x6d8]
add rsp, 0x680
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret