Function at 0x140005b4c
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 [0x140094940]
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 0x140005bc5
test byte [rcx + 0x1c], 4
je 0x140005bc5
cmp byte [rcx + 0x19], 5
jb 0x140005bc5
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x58]
lea r8, [0x140081340]
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 0x140005bf5
mov eax, 0x57
jmp 0x1400067c0
lea rdx, [rbp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, rax
or rax, 0xffffffffffffffff
cmp rcx, rax
jne 0x140005c65
mov rax, qword [str.___t_]
lea rcx, str.___t_
cmp rax, rcx
je 0x140005cc1
test byte [rax + 0x1c], 4
je 0x140005cc1
cmp byte [rax + 0x19], 2
jb 0x140005cc1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140081340]
mov r9d, eax
mov qword [rsp + 0x20], rsi
mov edx, 0x59
mov rcx, qword [rcx + 0x10]
call fcn.140001064
jmp 0x140005cc1
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 0x140005cc1
mov rax, qword [str.___t_]
lea rcx, str.___t_
cmp rax, rcx
je 0x140005cc1
test byte [rax + 0x1c], 4
je 0x140005cc1
cmp byte [rax + 0x19], 2
jb 0x140005cc1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140081340]
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.1400048c8
test eax, eax
jns 0x140005d18
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140005d0e
test byte [rcx + 0x1c], 4
je 0x140005d0e
cmp byte [rcx + 0x19], 2
jb 0x140005d0e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, 0x5b
mov r9d, eax
call fcn.140001030
mov ebx, 0x6e
jmp 0x14000671d
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov r8d, 0x10
lea rdx, [0x140080f70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [0x140080850]
test eax, eax
jns 0x140005d7d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140005d0e
test byte [rcx + 0x1c], 4
je 0x140005d0e
cmp byte [rcx + 0x19], 2
jb 0x140005d0e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, 0x5c
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140001250
jmp 0x140005d0e
lea rcx, [0x140081160]
mov r13d, dword [rcx + rdi*4]
cmp r13d, 0x1d
jbe 0x140005d98
mov ebx, 0x54f
jmp 0x140006716
mov rcx, qword [rsp + 0x40]
lea r9, [rbp + 0x2b0]
lea r8, [0x140081170]
mov edx, r13d
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x140080850]
test eax, eax
jns 0x140005e00
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140005df6
test byte [rcx + 0x1c], 4
je 0x140005df6
cmp byte [rcx + 0x19], 2
jb 0x140005df6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, 0x5d
mov r9d, eax
call fcn.140001030
mov ebx, 0x1e
jmp 0x14000671d
mov r15d, 1
mov dword [rsp + 0x34], r15d
test r13d, r13d
je 0x14000650b
lea rbx, [rbp + 0x2b8]
xor edx, edx
lea r15, [0x140081178]
cmp word [rbx - 8], dx
je 0x1400064f0
mov eax, dword [r15]
cmp eax, 0xc8
ja 0x1400063c8
je 0x140006377
cmp eax, 0x70
ja 0x14000616d
je 0x140006141
cmp eax, 0x6a
ja 0x1400060b9
je 0x140006077
sub eax, 0x64
je 0x140006018
sub eax, 1
je 0x140005fd6
sub eax, 1
je 0x140005f85
sub eax, 1
je 0x140005f34
sub eax, 1
je 0x140005ee3
cmp eax, 1
jne 0x1400064f0
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp + 0x28], rax
test rax, rax
jne 0x1400064f0
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [rax + 0x63]
jmp 0x140006058
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp + 0x38], rax
test rax, rax
jne 0x1400064f0
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [rax + 0x62]
jmp 0x140006058
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp + 0x40], rax
test rax, rax
jne 0x1400064f0
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [rax + 0x61]
jmp 0x140006058
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp + 0x18], rax
test rax, rax
jne 0x1400064f0
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [rax + 0x60]
jmp 0x140006058
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp - 0x48], rax
test rax, rax
jne 0x1400064f0
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [rax + 0x5f]
jmp 0x140006058
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp - 0x40], rax
test rax, rax
jne 0x1400064f0
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [rax + 0x5e]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
call fcn.140001030
mov r14d, dword [rsp + 0x30]
mov r15d, dword [rsp + 0x34]
jmp 0x14000671d
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp + 0x30], rax
test rax, rax
jne 0x1400064f0
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [rax + 0x64]
jmp 0x140006058
sub eax, 0x6b
je 0x140006131
sub eax, 1
je 0x140006121
sub eax, 1
je 0x140006112
sub eax, 1
je 0x140006102
cmp eax, 1
jne 0x1400064f0
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 0x140006596
bts dword [rsp + 0x64], 0xb
jmp 0x1400064f0
mov eax, dword [rbx]
or dword [rsp + 0x64], 2
mov dword [rsp + 0x78], eax
jmp 0x1400064f0
mov eax, dword [rbx]
or dword [rsp + 0x64], 0x20
mov dword [rbp - 0x6c], eax
jmp 0x1400064f0
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0xd
mov dword [rbp + 0x20], eax
jmp 0x1400064f0
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0xe
mov dword [rbp + 0x24], eax
jmp 0x1400064f0
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 0x1400065d6
bts dword [rsp + 0x64], 0xc
jmp 0x1400064f0
cmp eax, 0x76
ja 0x1400062ba
je 0x140006269
sub eax, 0x71
je 0x14000623d
sub eax, 1
je 0x140006211
sub eax, 1
je 0x1400061c0
sub eax, 1
je 0x1400061b0
cmp eax, 1
jne 0x1400064f0
mov eax, dword [rbx]
or dword [rsp + 0x64], 8
mov dword [rbp - 0x80], eax
jmp 0x1400064f0
mov eax, dword [rbx]
or dword [rsp + 0x64], 4
mov dword [rsp + 0x7c], eax
jmp 0x1400064f0
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp - 0x38], rax
test rax, rax
jne 0x1400064f0
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [rax + 0x69]
jmp 0x140006058
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 0x140006610
bts dword [rsp + 0x64], 9
jmp 0x1400064f0
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 0x14000664a
bts dword [rsp + 0x64], 0xa
jmp 0x1400064f0
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x1400064f0
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [rax + 0x6f]
jmp 0x140006058
sub eax, 0x77
je 0x140006364
sub eax, 1
je 0x140006350
sub eax, 1
je 0x140006340
sub eax, 1
je 0x1400062ef
cmp eax, 1
jne 0x1400064f0
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0x17
mov dword [rbp + 0x5c], eax
jmp 0x1400064f0
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp + 0x50], rax
test rax, rax
jne 0x1400064f0
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [rax + 0x70]
jmp 0x140006058
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0x15
mov dword [rbp + 0x4c], eax
jmp 0x1400064f0
mov eax, edx
or rcx, 0xffffffffffffffff
cmp cx, word [rbx]
sete al
mov dword [rbp + 0x48], eax
jmp 0x1400064f0
mov rax, qword [rbx]
bts dword [rsp + 0x64], 0x14
mov qword [rsp + 0x70], rax
jmp 0x1400064f0
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x1400064f0
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [rax + 0x6a]
jmp 0x140006058
sub eax, 0xc9
je 0x1400064d9
sub eax, 0x63
je 0x14000648c
sub eax, 1
je 0x14000643b
cmp eax, 1
jne 0x1400064f0
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp - 0x58], rax
test rax, rax
jne 0x1400064f0
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [rax + 0x6d]
jmp 0x140006058
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp - 0x50], rax
test rax, rax
jne 0x1400064f0
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [rax + 0x6c]
jmp 0x140006058
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x1400064f0
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [rax + 0x6e]
jmp 0x140006058
mov rcx, qword [rbx]
call fcn.1400633d4
xor edx, edx
mov qword [rbp - 0x68], rax
test rax, rax
je 0x140006687
inc r14d
add r15, 0x10
add rbx, 0x18
cmp r14d, r13d
jb 0x140005e24
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 0x140006522
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.14000883c
xor edx, edx
mov ebx, eax
test eax, eax
je 0x1400066c4
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x70]
mov r9d, eax
lea r8, [0x140081340]
call fcn.140001030
mov r14d, dword [rsp + 0x30]
jmp 0x14000671d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
mov edx, 0x65
mov r9d, eax
jmp 0x140006058
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
mov edx, 0x66
jmp 0x1400065ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
mov edx, 0x68
jmp 0x1400065ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
mov edx, 0x67
jmp 0x1400065ce
mov r9d, 8
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006068
test byte [rcx + 0x1c], 4
je 0x140006068
cmp byte [rcx + 0x19], 2
jb 0x140006068
lea edx, [r9 + 0x63]
jmp 0x140006058
mov ecx, dword [rsp + 0x64]
bts ecx, 0x13
mov dword [rsp + 0x64], ecx
cmp edi, esi
jb 0x1400066e9
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 eax, edx
mov ecx, 0x100
lea rdx, [rsp + 0x60]
cmove eax, ecx
test edi, edi
mov ecx, 0xe8
cmove eax, ecx
mov rcx, r12
mov r8d, eax
mov dword [rsp + 0x60], eax
call sub.msvcrt.dll_memcpy
mov r14d, esi
lea rdi, str.___t_
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140006734
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140080850]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000674b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140080850]
cmp r15d, 1
jne 0x140006794
lea rdx, [rbp + 0x2b0]
mov ecx, r13d
call qword [sym.imp.ole32.dll_FreePropVariantArray]
test eax, eax
jns 0x140006794
mov rcx, qword [str.___t_]
cmp rcx, rdi
je 0x140006794
test byte [rcx + 0x1c], 4
je 0x140006794
cmp byte [rcx + 0x19], 2
jb 0x140006794
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x71]
mov r9d, eax
lea r8, [0x140081340]
call fcn.140001030
test r14d, r14d
jne 0x1400067ad
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14004dac8
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400067bd
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, r14d
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140077900
mov rbx, qword [rsp + 0x6d8]
add rsp, 0x680
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret