Function at 0x140006118
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 [0x14009b940]
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 [0x14009b028]
lea rax, [0x14009b028]
cmp rcx, rax
je 0x140006191
test byte [rcx + 0x1c], 4
je 0x140006191
cmp byte [rcx + 0x19], 5
jb 0x140006191
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x58]
lea r8, [0x140088520]
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 0x1400061c1
mov eax, 0x57
jmp 0x140006dfc
lea rdx, [rbp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov rcx, rax
or rax, 0xffffffffffffffff
cmp rcx, rax
jne 0x14000623d
mov rax, qword [0x14009b028]
lea rcx, [0x14009b028]
cmp rax, rcx
je 0x1400062a5
test byte [rax + 0x1c], 4
je 0x1400062a5
cmp byte [rax + 0x19], 2
jb 0x1400062a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088520]
mov r9d, eax
mov qword [rsp + 0x20], rsi
mov edx, 0x59
mov rcx, qword [rcx + 0x10]
call fcn.140001094
jmp 0x1400062a5
mov eax, dword [rbp + 0x80]
or dword [rsp + 0x64], 0x10
mov dword [rbp - 0x70], eax
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test eax, eax
jne 0x1400062a5
mov rax, qword [0x14009b028]
lea rcx, [0x14009b028]
cmp rax, rcx
je 0x1400062a5
test byte [rax + 0x1c], 4
je 0x1400062a5
cmp byte [rax + 0x19], 2
jb 0x1400062a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088520]
mov r9d, eax
mov edx, 0x5a
mov rcx, qword [rcx + 0x10]
call fcn.140001050
lea r8, [rsp + 0x48]
mov edx, 0x20
mov rcx, rsi
call fcn.140004e6c
test eax, eax
jns 0x1400062fc
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x1400062f2
test byte [rcx + 0x1c], 4
je 0x1400062f2
cmp byte [rcx + 0x19], 2
jb 0x1400062f2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088520]
mov edx, 0x5b
mov r9d, eax
call fcn.140001050
mov ebx, 0x6e
jmp 0x140006d47
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov r8d, 0x10
lea rdx, [0x140088150]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [0x1400878a0]
test eax, eax
jns 0x140006361
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x1400062f2
test byte [rcx + 0x1c], 4
je 0x1400062f2
cmp byte [rcx + 0x19], 2
jb 0x1400062f2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088520]
mov edx, 0x5c
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140001328
jmp 0x1400062f2
lea rcx, [0x140088340]
mov r13d, dword [rcx + rdi*4]
cmp r13d, 0x1d
jbe 0x14000637c
mov ebx, 0x54f
jmp 0x140006d40
mov rcx, qword [rsp + 0x40]
lea r9, [rbp + 0x2b0]
lea r8, [0x140088350]
mov edx, r13d
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x1400878a0]
test eax, eax
jns 0x1400063e4
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x1400063da
test byte [rcx + 0x1c], 4
je 0x1400063da
cmp byte [rcx + 0x19], 2
jb 0x1400063da
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088520]
mov edx, 0x5d
mov r9d, eax
call fcn.140001050
mov ebx, 0x1e
jmp 0x140006d47
mov r15d, 1
mov dword [rsp + 0x34], r15d
test r13d, r13d
je 0x140006b07
lea rbx, [rbp + 0x2b8]
xor edx, edx
lea r15, [0x140088358]
cmp word [rbx - 8], dx
je 0x140006aec
mov eax, dword [r15]
cmp eax, 0xc8
ja 0x1400069c4
je 0x140006973
cmp eax, 0x70
ja 0x14000675d
je 0x14000672b
cmp eax, 0x6a
ja 0x14000669d
je 0x14000665b
sub eax, 0x64
je 0x1400065fc
sub eax, 1
je 0x1400065ba
sub eax, 1
je 0x140006569
sub eax, 1
je 0x140006518
sub eax, 1
je 0x1400064c7
cmp eax, 1
jne 0x140006aec
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp + 0x28], rax
test rax, rax
jne 0x140006aec
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [rax + 0x63]
jmp 0x14000663c
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp + 0x38], rax
test rax, rax
jne 0x140006aec
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [rax + 0x62]
jmp 0x14000663c
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp + 0x40], rax
test rax, rax
jne 0x140006aec
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [rax + 0x61]
jmp 0x14000663c
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp + 0x18], rax
test rax, rax
jne 0x140006aec
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [rax + 0x60]
jmp 0x14000663c
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp - 0x48], rax
test rax, rax
jne 0x140006aec
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [rax + 0x5f]
jmp 0x14000663c
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp - 0x40], rax
test rax, rax
jne 0x140006aec
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [rax + 0x5e]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088520]
call fcn.140001050
mov r14d, dword [rsp + 0x30]
mov r15d, dword [rsp + 0x34]
jmp 0x140006d47
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp + 0x30], rax
test rax, rax
jne 0x140006aec
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [rax + 0x64]
jmp 0x14000663c
sub eax, 0x6b
je 0x14000671b
sub eax, 1
je 0x14000670b
sub eax, 1
je 0x1400066fc
sub eax, 1
je 0x1400066ec
cmp eax, 1
jne 0x140006aec
mov rax, qword [rbx]
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
nop dword [rax + rax]
xor edx, edx
test eax, eax
je 0x140006b98
bts dword [rsp + 0x64], 0xb
jmp 0x140006aec
mov eax, dword [rbx]
or dword [rsp + 0x64], 2
mov dword [rsp + 0x78], eax
jmp 0x140006aec
mov eax, dword [rbx]
or dword [rsp + 0x64], 0x20
mov dword [rbp - 0x6c], eax
jmp 0x140006aec
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0xd
mov dword [rbp + 0x20], eax
jmp 0x140006aec
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0xe
mov dword [rbp + 0x24], eax
jmp 0x140006aec
mov rax, qword [rbx]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
nop dword [rax + rax]
xor edx, edx
test eax, eax
je 0x140006bde
bts dword [rsp + 0x64], 0xc
jmp 0x140006aec
cmp eax, 0x76
ja 0x1400068b6
je 0x140006865
sub eax, 0x71
je 0x140006833
sub eax, 1
je 0x140006801
sub eax, 1
je 0x1400067b0
sub eax, 1
je 0x1400067a0
cmp eax, 1
jne 0x140006aec
mov eax, dword [rbx]
or dword [rsp + 0x64], 8
mov dword [rbp - 0x80], eax
jmp 0x140006aec
mov eax, dword [rbx]
or dword [rsp + 0x64], 4
mov dword [rsp + 0x7c], eax
jmp 0x140006aec
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp - 0x38], rax
test rax, rax
jne 0x140006aec
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [rax + 0x69]
jmp 0x14000663c
mov rax, qword [rbx]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
nop dword [rax + rax]
xor edx, edx
test eax, eax
je 0x140006c1e
bts dword [rsp + 0x64], 9
jmp 0x140006aec
mov rax, qword [rbx]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
nop dword [rax + rax]
xor edx, edx
test eax, eax
je 0x140006c61
bts dword [rsp + 0x64], 0xa
jmp 0x140006aec
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x140006aec
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [rax + 0x6f]
jmp 0x14000663c
sub eax, 0x77
je 0x140006960
sub eax, 1
je 0x14000694c
sub eax, 1
je 0x14000693c
sub eax, 1
je 0x1400068eb
cmp eax, 1
jne 0x140006aec
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0x17
mov dword [rbp + 0x5c], eax
jmp 0x140006aec
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp + 0x50], rax
test rax, rax
jne 0x140006aec
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [rax + 0x70]
jmp 0x14000663c
mov eax, dword [rbx]
bts dword [rsp + 0x64], 0x15
mov dword [rbp + 0x4c], eax
jmp 0x140006aec
mov eax, edx
or rcx, 0xffffffffffffffff
cmp cx, word [rbx]
sete al
mov dword [rbp + 0x48], eax
jmp 0x140006aec
mov rax, qword [rbx]
bts dword [rsp + 0x64], 0x14
mov qword [rsp + 0x70], rax
jmp 0x140006aec
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x140006aec
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [rax + 0x6a]
jmp 0x14000663c
sub eax, 0xc9
je 0x140006ad5
sub eax, 0x63
je 0x140006a88
sub eax, 1
je 0x140006a37
cmp eax, 1
jne 0x140006aec
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp - 0x58], rax
test rax, rax
jne 0x140006aec
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [rax + 0x6d]
jmp 0x14000663c
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp - 0x50], rax
test rax, rax
jne 0x140006aec
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [rax + 0x6c]
jmp 0x14000663c
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x140006aec
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [rax + 0x6e]
jmp 0x14000663c
mov rcx, qword [rbx]
call fcn.140067e3c
xor edx, edx
mov qword [rbp - 0x68], rax
test rax, rax
je 0x140006ca4
inc r14d
add r15, 0x10
add rbx, 0x18
cmp r14d, r13d
jb 0x140006408
mov r15d, dword [rsp + 0x34]
xor ebx, ebx
mov edx, 0x5c
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcsrchr]
nop dword [rax + rax]
test rax, rax
je 0x140006b24
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.140009018
xor edx, edx
mov ebx, eax
test eax, eax
je 0x140006ce1
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x70]
mov r9d, eax
lea r8, [0x140088520]
call fcn.140001050
mov r14d, dword [rsp + 0x30]
jmp 0x140006d47
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
mov edx, 0x65
mov r9d, eax
jmp 0x14000663c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
mov edx, 0x66
jmp 0x140006bd6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
mov edx, 0x68
jmp 0x140006bd6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
mov edx, 0x67
jmp 0x140006bd6
mov r9d, 8
mov ebx, r9d
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14000664c
test byte [rcx + 0x1c], 4
je 0x14000664c
cmp byte [rcx + 0x19], 2
jb 0x14000664c
lea edx, [r9 + 0x63]
jmp 0x14000663c
mov ecx, dword [rsp + 0x64]
bts ecx, 0x13
mov dword [rsp + 0x64], ecx
cmp edi, esi
jb 0x140006d06
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, [0x14009b028]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140006d5e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400878a0]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140006d75
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400878a0]
cmp r15d, 1
jne 0x140006dc4
lea rdx, [rbp + 0x2b0]
mov ecx, r13d
call qword [sym.imp.ole32.dll_FreePropVariantArray]
nop dword [rax + rax]
test eax, eax
jns 0x140006dc4
mov rcx, qword [0x14009b028]
cmp rcx, rdi
je 0x140006dc4
test byte [rcx + 0x1c], 4
je 0x140006dc4
cmp byte [rcx + 0x19], 2
jb 0x140006dc4
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x71]
mov r9d, eax
lea r8, [0x140088520]
call fcn.140001050
test r14d, r14d
jne 0x140006de3
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140051f08
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140006df9
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov eax, r14d
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.14007ec50
mov rbx, qword [rsp + 0x6d8]
add rsp, 0x680
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret