Function at 0x1400134b0
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 [section..data]
xor rax, rsp
mov qword [rbp + 0x570], rax
xor edi, edi
mov r12, r8
mov esi, edx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r13d, edi
mov r14, rcx
mov rcx, qword [str.___t_]
lea rbx, str.___t_
cmp rcx, rbx
je 0x140013529
test byte [rcx + 0x1c], 4
je 0x140013529
cmp byte [rcx + 0x19], 5
jb 0x140013529
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x58]
lea r8, [0x140002810]
call fcn.14000e618
lea rcx, [rsp + 0x64]
xor edx, edx
mov r8d, 0xfc
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x60], edi
call sub.msvcrt.dll_memset
mov r15d, edi
mov qword [rsp + 0x50], rdi
cmp esi, 2
jb 0x14001355a
mov eax, 0x57
jmp 0x14001414e
lea rdx, [rbp + 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, rax
or rax, 0xffffffffffffffff
cmp rcx, rax
jne 0x1400135c3
mov rax, qword [str.___t_]
cmp rax, rbx
je 0x140013618
test byte [rax + 0x1c], 4
je 0x140013618
cmp byte [rax + 0x19], 2
jb 0x140013618
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140002810]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x59
mov qword [rsp + 0x20], r14
call fcn.14000e678
jmp 0x140013618
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 0x140013618
mov rax, qword [str.___t_]
cmp rax, rbx
je 0x140013618
test byte [rax + 0x1c], 4
je 0x140013618
cmp byte [rax + 0x19], 2
jb 0x140013618
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140002810]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x5a
call fcn.14000e63c
lea r8, [rsp + 0x40]
mov edx, 0x20
mov rcx, r14
call fcn.1400121bc
test eax, eax
jns 0x14001366c
mov rcx, qword [str.___t_]
cmp rcx, rbx
je 0x1400136d7
test byte [rcx + 0x1c], 4
je 0x1400136d7
cmp byte [rcx + 0x19], 2
jb 0x1400136d7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140002810]
mov edx, 0x5b
mov r9d, eax
call fcn.14000e63c
jmp 0x1400136d7
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.14002c9e0]
lea r9, [rsp + 0x48]
lea rdx, [0x140002440]
mov r8d, 0x10
mov rcx, rdi
call rbx
test eax, eax
jns 0x1400136e4
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x1400136d7
test byte [rcx + 0x1c], 4
je 0x1400136d7
cmp byte [rcx + 0x19], 2
jb 0x1400136d7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140002810]
mov edx, 0x5c
mov r9, r14
mov dword [rsp + 0x20], eax
call fcn.14000e8e4
mov edi, 0x6e
mov r14d, r13d
jmp 0x140014094
lea rcx, [0x140002630]
mov r13d, dword [rcx + rsi*4]
cmp r13d, 0x1d
jbe 0x1400136fc
mov edi, 0x54f
jmp 0x140013769
mov rdi, qword [rsp + 0x48]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.14002c9e0]
lea r9, [rbp + 0x2b0]
lea r8, [0x140002640]
mov edx, r13d
mov rcx, rdi
call rbx
xor edx, edx
test eax, eax
jns 0x140013771
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x140013764
test byte [rcx + 0x1c], 4
je 0x140013764
cmp byte [rcx + 0x19], 2
jb 0x140013764
mov rcx, qword [rcx + 0x10]
lea r8, [0x140002810]
mov edx, 0x5d
mov r9d, eax
call fcn.14000e63c
mov edi, 0x1e
mov r14d, r15d
jmp 0x140014094
mov r15d, 1
mov edi, edx
mov dword [rsp + 0x34], r15d
test r13d, r13d
je 0x140013e87
lea rbx, [rbp + 0x2b8]
lea r15, [0x140002648]
cmp word [rbx - 8], dx
je 0x140013e6f
mov eax, dword [r15]
cmp eax, 0xc8
ja 0x140013d46
je 0x140013cfc
cmp eax, 0x70
ja 0x140013aec
je 0x140013ac0
cmp eax, 0x6a
ja 0x140013a3c
je 0x1400139ea
sub eax, 0x64
je 0x140013998
dec eax
je 0x140013946
dec eax
je 0x1400138f4
dec eax
je 0x1400138a2
dec eax
je 0x140013850
dec eax
jne 0x140013e6f
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp + 0x28], rax
test rax, rax
jne 0x140013e6f
lea r9d, [rax + 8]
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x5b]
jmp 0x140013ca6
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp + 0x38], rax
test rax, rax
jne 0x140013e6f
lea r9d, [rax + 8]
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x5a]
jmp 0x140013ca6
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp + 0x40], rax
test rax, rax
jne 0x140013e6f
lea r9d, [rax + 8]
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x59]
jmp 0x140013ca6
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp + 0x18], rax
test rax, rax
jne 0x140013e6f
lea r9d, [rax + 8]
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x58]
jmp 0x140013ca6
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp - 0x48], rax
test rax, rax
jne 0x140013e6f
lea r9d, [rax + 8]
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x57]
jmp 0x140013ca6
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp - 0x40], rax
test rax, rax
jne 0x140013e6f
lea r9d, [rax + 8]
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x56]
jmp 0x140013ca6
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp + 0x30], rax
test rax, rax
jne 0x140013e6f
lea r9d, [rax + 8]
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x5c]
jmp 0x140013ca6
sub eax, 0x6b
je 0x140013ab0
dec eax
je 0x140013aa0
dec eax
je 0x140013a91
dec eax
je 0x140013a81
dec eax
jne 0x140013e6f
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 0x140013f12
bts dword [rsp + 0x64], 0xb
jmp 0x140013e6f
mov eax, dword [rbx]
or dword [rsp + 0x64], 2
mov dword [rsp + 0x78], eax
jmp 0x140013e6f
mov eax, dword [rbx]
or dword [rsp + 0x64], 0x20
mov dword [rbp - 0x6c], eax
jmp 0x140013e6f
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0xd
mov dword [rbp + 0x20], eax
jmp 0x140013e6f
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0xe
mov dword [rbp + 0x24], eax
jmp 0x140013e6f
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 0x140013f4c
bts dword [rsp + 0x64], 0xc
jmp 0x140013e6f
cmp eax, 0x76
ja 0x140013c34
je 0x140013be5
sub eax, 0x71
je 0x140013bb9
dec eax
je 0x140013b8d
dec eax
je 0x140013b3b
dec eax
je 0x140013b2b
dec eax
jne 0x140013e6f
mov eax, dword [rbx]
or dword [rsp + 0x64], 8
mov dword [rbp - 0x80], eax
jmp 0x140013e6f
mov eax, dword [rbx]
or dword [rsp + 0x64], 4
mov dword [rsp + 0x7c], eax
jmp 0x140013e6f
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp - 0x38], rax
test rax, rax
jne 0x140013e6f
lea r9d, [rax + 8]
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x61]
jmp 0x140013ca6
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 0x140013f86
bts dword [rsp + 0x64], 9
jmp 0x140013e6f
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 0x140013fc6
bts dword [rsp + 0x64], 0xa
jmp 0x140013e6f
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x140013e6f
lea r9d, [rax + 8]
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x67]
jmp 0x140013ca6
sub eax, 0x77
je 0x140013ce9
dec eax
je 0x140013cd5
dec eax
je 0x140013cc5
dec eax
je 0x140013c65
dec eax
jne 0x140013e6f
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0x17
mov dword [rbp + 0x5c], eax
jmp 0x140013e6f
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp + 0x50], rax
test rax, rax
jne 0x140013e6f
lea r9d, [rax + 8]
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x68]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140002810]
call fcn.14000e63c
mov r14d, dword [rsp + 0x30]
mov r15d, dword [rsp + 0x34]
jmp 0x140014094
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0x15
mov dword [rbp + 0x4c], eax
jmp 0x140013e6f
mov eax, edx
or rcx, 0xffffffffffffffff
cmp cx, word [rbx]
sete al
mov dword [rbp + 0x48], eax
jmp 0x140013e6f
mov rax, qword [rbx]
bts dword [rsp + 0x64], 0x14
mov qword [rsp + 0x70], rax
jmp 0x140013e6f
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x140013e6f
lea r9d, [rax + 8]
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x62]
jmp 0x140013ca6
sub eax, 0xc9
je 0x140013e58
sub eax, 0x63
je 0x140013e0a
dec eax
je 0x140013db8
dec eax
jne 0x140013e6f
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp - 0x58], rax
test rax, rax
jne 0x140013e6f
lea r9d, [rax + 8]
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x65]
jmp 0x140013ca6
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp - 0x50], rax
test rax, rax
jne 0x140013e6f
lea r9d, [rax + 8]
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x64]
jmp 0x140013ca6
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x140013e6f
lea r9d, [rax + 8]
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x66]
jmp 0x140013ca6
mov rcx, qword [rbx]
call fcn.1400730d0
xor edx, edx
mov qword [rbp - 0x68], rax
test rax, rax
je 0x140014000
inc edi
add r15, 0x10
add rbx, 0x18
cmp edi, r13d
jb 0x140013795
mov r15d, dword [rsp + 0x34]
mov edx, 0x5c
mov rcx, r14
call qword [sym.imp.msvcrt.dll_wcsrchr]
xor ecx, ecx
test rax, rax
je 0x140013ea0
add rax, 2
lea r9, [rsp + 0x50]
cmp esi, 1
lea r8, [rsp + 0x68]
cmovb r9, rcx
mov rdx, rax
call fcn.14001624c
xor edx, edx
mov edi, eax
test eax, eax
je 0x14001403d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140002810]
mov edx, 0x71
mov r9d, edi
call fcn.14000e63c
mov r14d, dword [rsp + 0x30]
jmp 0x140014094
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
mov edx, 0x65
jmp 0x140013fbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
mov edx, 0x66
jmp 0x140013fbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
mov edx, 0x68
mov r9d, edi
jmp 0x140013ca6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
mov edx, 0x67
jmp 0x140013fbe
mov r9d, 8
mov edi, r9d
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x140013cb6
test byte [rcx + 0x1c], 4
je 0x140013cb6
cmp byte [rcx + 0x19], 2
jb 0x140013cb6
lea edx, [r9 + 0x63]
jmp 0x140013ca6
mov ecx, dword [rsp + 0x64]
bts ecx, 0x13
mov dword [rsp + 0x64], ecx
cmp esi, 1
jb 0x140014063
cmp qword [rsp + 0x50], rdx
mov eax, edx
sete al
bts ecx, 0x16
mov dword [rsp + 0x64], ecx
mov dword [rbp + 0x58], eax
mov eax, edx
mov ecx, 0x100
cmp esi, 1
cmove eax, ecx
mov ecx, pe_nt_image_headers64
test esi, esi
cmove eax, ecx
lea rdx, [rsp + 0x60]
mov rcx, r12
mov r8d, eax
mov dword [rsp + 0x60], eax
call sub.msvcrt.dll_memcpy
mov r14d, 1
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x1400140b3
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.14002c9e0]
mov rcx, rsi
call rbx
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x1400140d2
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.14002c9e0]
mov rcx, rsi
call rbx
cmp r15d, 1
jne 0x140014122
lea rdx, [rbp + 0x2b0]
mov ecx, r13d
call qword [sym.imp.ole32.dll_FreePropVariantArray]
test eax, eax
jns 0x140014122
mov rcx, qword [str.___t_]
lea rdx, str.___t_
cmp rcx, rdx
je 0x140014122
test byte [rcx + 0x1c], 4
je 0x140014122
cmp byte [rcx + 0x19], 2
jb 0x140014122
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x71]
lea r8, [0x140002810]
mov r9d, eax
call fcn.14000e63c
test r14d, r14d
jne 0x14001413b
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.14005ca84
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001414b
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, r14d
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140088640
mov rbx, qword [rsp + 0x6d8]
add rsp, 0x680
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret