Function at 0x140005dcc
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 0x140005e45
test byte [rcx + 0x1c], 4
je 0x140005e45
cmp byte [rcx + 0x19], 5
jb 0x140005e45
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x58]
lea r8, [0x140082350]
call fcn.140001024
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 0x140005e75
mov eax, 0x57
jmp 0x140006a4d
lea rdx, [rbp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, rax
or rax, 0xffffffffffffffff
cmp rcx, rax
jne 0x140005ee5
mov rax, qword [str.___t_]
lea rcx, str.___t_
cmp rax, rcx
je 0x140005f41
test byte [rax + 0x1c], 4
je 0x140005f41
cmp byte [rax + 0x19], 2
jb 0x140005f41
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.140001084
jmp 0x140005f41
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 0x140005f41
mov rax, qword [str.___t_]
lea rcx, str.___t_
cmp rax, rcx
je 0x140005f41
test byte [rax + 0x1c], 4
je 0x140005f41
cmp byte [rax + 0x19], 2
jb 0x140005f41
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.140001048
lea r8, [rsp + 0x48]
mov edx, 0x20
mov rcx, rsi
call fcn.140004b30
test eax, eax
jns 0x140005f98
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140005f8e
test byte [rcx + 0x1c], 4
je 0x140005f8e
cmp byte [rcx + 0x19], 2
jb 0x140005f8e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082350]
mov edx, 0x5b
mov r9d, eax
call fcn.140001048
mov ebx, 0x6e
jmp 0x1400069aa
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 [0x140081860]
test eax, eax
jns 0x140005ffd
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140005f8e
test byte [rcx + 0x1c], 4
je 0x140005f8e
cmp byte [rcx + 0x19], 2
jb 0x140005f8e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082350]
mov edx, 0x5c
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.1400012fc
jmp 0x140005f8e
lea rcx, [0x140082170]
mov r13d, dword [rcx + rdi*4]
cmp r13d, 0x1d
jbe 0x140006018
mov ebx, 0x54f
jmp 0x1400069a3
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 [0x140081860]
test eax, eax
jns 0x140006080
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x140006076
test byte [rcx + 0x1c], 4
je 0x140006076
cmp byte [rcx + 0x19], 2
jb 0x140006076
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082350]
mov edx, 0x5d
mov r9d, eax
call fcn.140001048
mov ebx, 0x1e
jmp 0x1400069aa
mov r15d, 1
mov dword [rsp + 0x34], r15d
test r13d, r13d
je 0x14000678b
lea rbx, [rbp + 0x2b8]
xor edx, edx
lea r15, [0x140082188]
cmp word [rbx - 8], dx
je 0x140006770
mov eax, dword [r15]
cmp eax, 0xc8
ja 0x140006648
je 0x1400065f7
cmp eax, 0x70
ja 0x1400063ed
je 0x1400063c1
cmp eax, 0x6a
ja 0x140006339
je 0x1400062f7
sub eax, 0x64
je 0x140006298
sub eax, 1
je 0x140006256
sub eax, 1
je 0x140006205
sub eax, 1
je 0x1400061b4
sub eax, 1
je 0x140006163
cmp eax, 1
jne 0x140006770
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp + 0x28], rax
test rax, rax
jne 0x140006770
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [rax + 0x63]
jmp 0x1400062d8
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp + 0x38], rax
test rax, rax
jne 0x140006770
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [rax + 0x62]
jmp 0x1400062d8
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp + 0x40], rax
test rax, rax
jne 0x140006770
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [rax + 0x61]
jmp 0x1400062d8
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp + 0x18], rax
test rax, rax
jne 0x140006770
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [rax + 0x60]
jmp 0x1400062d8
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp - 0x48], rax
test rax, rax
jne 0x140006770
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [rax + 0x5f]
jmp 0x1400062d8
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp - 0x40], rax
test rax, rax
jne 0x140006770
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [rax + 0x5e]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082350]
call fcn.140001048
mov r14d, dword [rsp + 0x30]
mov r15d, dword [rsp + 0x34]
jmp 0x1400069aa
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp + 0x30], rax
test rax, rax
jne 0x140006770
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [rax + 0x64]
jmp 0x1400062d8
sub eax, 0x6b
je 0x1400063b1
sub eax, 1
je 0x1400063a1
sub eax, 1
je 0x140006392
sub eax, 1
je 0x140006382
cmp eax, 1
jne 0x140006770
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 0x140006816
bts dword [rsp + 0x64], 0xb
jmp 0x140006770
mov eax, dword [rbx]
or dword [rsp + 0x64], 2
mov dword [rsp + 0x78], eax
jmp 0x140006770
mov eax, dword [rbx]
or dword [rsp + 0x64], 0x20
mov dword [rbp - 0x6c], eax
jmp 0x140006770
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0xd
mov dword [rbp + 0x20], eax
jmp 0x140006770
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0xe
mov dword [rbp + 0x24], eax
jmp 0x140006770
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 0x140006856
bts dword [rsp + 0x64], 0xc
jmp 0x140006770
cmp eax, 0x76
ja 0x14000653a
je 0x1400064e9
sub eax, 0x71
je 0x1400064bd
sub eax, 1
je 0x140006491
sub eax, 1
je 0x140006440
sub eax, 1
je 0x140006430
cmp eax, 1
jne 0x140006770
mov eax, dword [rbx]
or dword [rsp + 0x64], 8
mov dword [rbp - 0x80], eax
jmp 0x140006770
mov eax, dword [rbx]
or dword [rsp + 0x64], 4
mov dword [rsp + 0x7c], eax
jmp 0x140006770
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp - 0x38], rax
test rax, rax
jne 0x140006770
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [rax + 0x69]
jmp 0x1400062d8
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 0x140006890
bts dword [rsp + 0x64], 9
jmp 0x140006770
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 0x1400068ca
bts dword [rsp + 0x64], 0xa
jmp 0x140006770
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x140006770
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [rax + 0x6f]
jmp 0x1400062d8
sub eax, 0x77
je 0x1400065e4
sub eax, 1
je 0x1400065d0
sub eax, 1
je 0x1400065c0
sub eax, 1
je 0x14000656f
cmp eax, 1
jne 0x140006770
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0x17
mov dword [rbp + 0x5c], eax
jmp 0x140006770
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp + 0x50], rax
test rax, rax
jne 0x140006770
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [rax + 0x70]
jmp 0x1400062d8
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0x15
mov dword [rbp + 0x4c], eax
jmp 0x140006770
mov eax, edx
or rcx, 0xffffffffffffffff
cmp cx, word [rbx]
sete al
mov dword [rbp + 0x48], eax
jmp 0x140006770
mov rax, qword [rbx]
bts dword [rsp + 0x64], 0x14
mov qword [rsp + 0x70], rax
jmp 0x140006770
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x140006770
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [rax + 0x6a]
jmp 0x1400062d8
sub eax, 0xc9
je 0x140006759
sub eax, 0x63
je 0x14000670c
sub eax, 1
je 0x1400066bb
cmp eax, 1
jne 0x140006770
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp - 0x58], rax
test rax, rax
jne 0x140006770
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [rax + 0x6d]
jmp 0x1400062d8
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp - 0x50], rax
test rax, rax
jne 0x140006770
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [rax + 0x6c]
jmp 0x1400062d8
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x140006770
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [rax + 0x6e]
jmp 0x1400062d8
mov rcx, qword [rbx]
call fcn.14006409c
xor edx, edx
mov qword [rbp - 0x68], rax
test rax, rax
je 0x140006907
inc r14d
add r15, 0x10
add rbx, 0x18
cmp r14d, r13d
jb 0x1400060a4
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 0x1400067a2
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.140008b04
xor edx, edx
mov ebx, eax
test eax, eax
je 0x140006944
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x70]
mov r9d, eax
lea r8, [0x140082350]
call fcn.140001048
mov r14d, dword [rsp + 0x30]
jmp 0x1400069aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
mov edx, 0x65
mov r9d, eax
jmp 0x1400062d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
mov edx, 0x66
jmp 0x14000684e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
mov edx, 0x68
jmp 0x14000684e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
mov edx, 0x67
jmp 0x14000684e
mov r9d, 8
mov ebx, r9d
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400062e8
test byte [rcx + 0x1c], 4
je 0x1400062e8
cmp byte [rcx + 0x19], 2
jb 0x1400062e8
lea edx, [r9 + 0x63]
jmp 0x1400062d8
mov ecx, dword [rsp + 0x64]
bts ecx, 0x13
mov dword [rsp + 0x64], ecx
cmp edi, esi
jb 0x140006969
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 r9d, 0x100
mov eax, edx
mov r8, rdx
cmove eax, r9d
lea rdx, [rsp + 0x60]
test edi, edi
lea ecx, [r9 - 0x18]
cmove eax, ecx
cmp edi, esi
mov dword [rsp + 0x60], eax
cmove r8, r9
test edi, edi
cmove r8, rcx
mov rcx, r12
call sub.msvcrt.dll_memcpy
mov r14d, esi
lea rdi, str.___t_
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400069c1
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140081860]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400069d8
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140081860]
cmp r15d, 1
jne 0x140006a21
lea rdx, [rbp + 0x2b0]
mov ecx, r13d
call qword [sym.imp.ole32.dll_FreePropVariantArray]
test eax, eax
jns 0x140006a21
mov rcx, qword [str.___t_]
cmp rcx, rdi
je 0x140006a21
test byte [rcx + 0x1c], 4
je 0x140006a21
cmp byte [rcx + 0x19], 2
jb 0x140006a21
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x71]
mov r9d, eax
lea r8, [0x140082350]
call fcn.140001048
test r14d, r14d
jne 0x140006a3a
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14004ea28
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140006a4a
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, r14d
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140078ba0
mov rbx, qword [rsp + 0x6d8]
add rsp, 0x680
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret