Function at 0x140009e50
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 - 0x590]
sub rsp, 0x690
mov rax, qword [0x1400a3ac8]
xor rax, rsp
mov qword [rbp + 0x580], rax
xor ebx, ebx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x58], rbx
mov r15d, ebx
mov qword [rsp + 0x50], rbx
mov r12, r8
mov esi, edx
mov r14, rcx
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x140009ece
test byte [rcx + 0x1c], 4
je 0x140009ece
cmp byte [rcx + 0x19], 5
jb 0x140009ece
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x58]
lea r8, [0x140092c30]
call fcn.14000459c
mov edi, 0x100
mov dword [rsp + 0x34], ebx
mov r8d, edi
lea rcx, [rsp + 0x70]
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x40], ebx
mov r13, rbx
mov qword [rsp + 0x48], rbx
cmp esi, 2
jb 0x140009f01
mov eax, 0x57
jmp 0x14000a308
lea rdx, [rbp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov rcx, rax
or rax, 0xffffffffffffffff
cmp rcx, rax
jne 0x140009f7d
mov rax, qword [str._0_n_]
lea rcx, str._0_n_
cmp rax, rcx
je 0x140009fe5
test byte [rax + 0x1c], 4
je 0x140009fe5
cmp byte [rax + 0x19], 2
jb 0x140009fe5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea r8, [0x140092c30]
mov edx, 0x59
mov qword [rsp + 0x20], r14
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14000c964
jmp 0x140009fe5
mov eax, dword [rbp + 0x90]
or dword [rsp + 0x74], 0x10
mov dword [rbp - 0x60], eax
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test eax, eax
jne 0x140009fe5
mov rax, qword [str._0_n_]
lea rcx, str._0_n_
cmp rax, rcx
je 0x140009fe5
test byte [rax + 0x1c], 4
je 0x140009fe5
cmp byte [rax + 0x19], 2
jb 0x140009fe5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea r8, [0x140092c30]
mov edx, 0x5a
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140004994
lea r8, [rsp + 0x58]
mov edx, 0x20
mov rcx, r14
call fcn.140007290
test eax, eax
jns 0x14000a03c
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a032
test byte [rcx + 0x1c], 4
je 0x14000a032
cmp byte [rcx + 0x19], 2
jb 0x14000a032
mov rcx, qword [rcx + 0x10]
lea r8, [0x140092c30]
mov edx, 0x5b
mov r9d, eax
call fcn.1400045c8
mov ebx, 0x6e
jmp 0x14000a23e
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
movabs r10, 0x84d08ec1745e0270
mov rax, qword [rax + 0x20]
lea r9, [rsp + 0x50]
mov r8d, 0x10
lea rdx, [0x140092860]
call qword [0x1400913f0]
test eax, eax
jns 0x14000a0ba
mov rcx, qword [str._0_n_]
lea rdx, str._0_n_
cmp rcx, rdx
je 0x14000a0a9
test byte [rcx + 0x1c], 4
je 0x14000a0a9
cmp byte [rcx + 0x19], 2
jb 0x14000a0a9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140092c30]
mov edx, 0x5c
mov dword [rsp + 0x20], eax
mov r9, r14
call fcn.14000c704
mov ebx, 0x6e
lea r14, str._0_n_
jmp 0x14000a23e
lea rcx, [0x140092a50]
mov r15d, dword [rcx + rsi*4]
mov dword [rsp + 0x30], r15d
cmp r15d, 0x1d
jbe 0x14000a0d7
mov ebx, 0x54f
jmp 0x14000a0ae
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
movabs r10, 0xc491affe34d1c970
mov rax, qword [rax + 0x18]
lea r9, [rbp + 0x2c0]
lea r8, [0x140092a60]
mov edx, r15d
call qword [0x1400913f0]
test eax, eax
jns 0x14000a149
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a13f
test byte [rcx + 0x1c], 4
je 0x14000a13f
cmp byte [rcx + 0x19], 2
jb 0x14000a13f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140092c30]
mov edx, 0x5d
mov r9d, eax
call fcn.1400045c8
mov ebx, 0x1e
jmp 0x14000a23e
mov r15d, ebx
mov dword [rsp + 0x40], 1
cmp dword [rsp + 0x30], ebx
jbe 0x14000a984
mov eax, dword [rsp + 0x30]
lea rbx, [rbp + 0x2c8]
lea r12, [0x140092a68]
xor ecx, ecx
cmp word [rbx - 8], cx
je 0x14000a969
mov eax, dword [r12]
cmp eax, 0xc8
ja 0x14000a83d
je 0x14000a7ec
cmp eax, 0x70
ja 0x14000a5d8
je 0x14000a5a6
cmp eax, 0x6a
ja 0x14000a519
je 0x14000a4c8
sub eax, 0x64
je 0x14000a477
sub eax, 1
je 0x14000a426
sub eax, 1
je 0x14000a3d5
sub eax, 1
je 0x14000a384
sub eax, 1
je 0x14000a333
cmp eax, 1
jne 0x14000a965
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp + 0x38], rax
test rax, rax
jne 0x14000a965
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000abd8
lea edx, [rax + 0x63]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140092c30]
call fcn.140004994
mov r15d, dword [rsp + 0x30]
mov edi, r13d
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000a262
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400913f0]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000a283
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400913f0]
cmp dword [rsp + 0x40], 1
jne 0x14000a2d4
lea rdx, [rbp + 0x2c0]
mov ecx, r15d
call qword [sym.imp.ole32.dll_FreePropVariantArray]
nop dword [rax + rax]
test eax, eax
jns 0x14000a2d4
mov rcx, qword [str._0_n_]
cmp rcx, r14
je 0x14000a2d4
test byte [rcx + 0x1c], 4
je 0x14000a2d4
cmp byte [rcx + 0x19], 2
jb 0x14000a2d4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140092c30]
mov edx, 0x72
mov r9d, eax
call fcn.1400045c8
test edi, edi
jne 0x14000a2f2
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140052c14
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
test r13, r13
je 0x14000a306
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0x580]
xor rcx, rsp
call fcn.140001b10
mov rbx, qword [rsp + 0x6e8]
add rsp, 0x690
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp + 0x48], rax
test rax, rax
jne 0x14000a965
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
lea edx, [rax + 0x62]
jmp 0x14000a229
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp + 0x50], rax
test rax, rax
jne 0x14000a965
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
lea edx, [rax + 0x61]
jmp 0x14000a229
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp + 0x28], rax
test rax, rax
jne 0x14000a965
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
lea edx, [rax + 0x60]
jmp 0x14000a229
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp - 0x38], rax
test rax, rax
jne 0x14000a965
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
lea edx, [rax + 0x5f]
jmp 0x14000a229
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x14000a965
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
lea edx, [rax + 0x5e]
jmp 0x14000a229
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp + 0x40], rax
test rax, rax
jne 0x14000a965
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
lea edx, [rax + 0x64]
jmp 0x14000a229
sub eax, 0x6b
je 0x14000a596
sub eax, 1
je 0x14000a586
sub eax, 1
je 0x14000a577
sub eax, 1
je 0x14000a568
cmp eax, 1
jne 0x14000a965
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 ecx, ecx
test eax, eax
je 0x14000aa22
bts dword [rsp + 0x74], 0xb
jmp 0x14000a965
mov eax, dword [rbx]
or dword [rsp + 0x74], 2
mov dword [rbp - 0x78], eax
jmp 0x14000a965
mov eax, dword [rbx]
or dword [rsp + 0x74], 0x20
mov dword [rbp - 0x5c], eax
jmp 0x14000a965
mov eax, dword [rbx]
bts dword [rsp + 0x74], 0xd
mov dword [rbp + 0x30], eax
jmp 0x14000a965
mov eax, dword [rbx]
bts dword [rsp + 0x74], 0xe
mov dword [rbp + 0x34], eax
jmp 0x14000a965
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 ecx, ecx
test eax, eax
je 0x14000aa68
bts dword [rsp + 0x74], 0xc
jmp 0x14000a965
cmp eax, 0x76
ja 0x14000a730
je 0x14000a6df
sub eax, 0x71
je 0x14000a6ad
sub eax, 1
je 0x14000a67b
sub eax, 1
je 0x14000a62a
sub eax, 1
je 0x14000a61b
cmp eax, 1
jne 0x14000a965
mov eax, dword [rbx]
or dword [rsp + 0x74], 8
mov dword [rbp - 0x70], eax
jmp 0x14000a965
mov eax, dword [rbx]
or dword [rsp + 0x74], 4
mov dword [rbp - 0x74], eax
jmp 0x14000a965
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp - 0x28], rax
test rax, rax
jne 0x14000a965
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
lea edx, [rax + 0x69]
jmp 0x14000a229
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 ecx, ecx
test eax, eax
je 0x14000aaa8
bts dword [rsp + 0x74], 9
jmp 0x14000a965
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 ecx, ecx
test eax, eax
je 0x14000aaeb
bts dword [rsp + 0x74], 0xa
jmp 0x14000a965
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp - 0x68], rax
test rax, rax
jne 0x14000a965
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
lea edx, [rax + 0x6f]
jmp 0x14000a229
sub eax, 0x77
je 0x14000a7da
sub eax, 1
je 0x14000a7c6
sub eax, 1
je 0x14000a7b6
sub eax, 1
je 0x14000a765
cmp eax, 1
jne 0x14000a965
mov eax, dword [rbx]
bts dword [rsp + 0x74], 0x17
mov dword [rbp + 0x6c], eax
jmp 0x14000a965
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp + 0x60], rax
test rax, rax
jne 0x14000a965
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
lea edx, [rax + 0x70]
jmp 0x14000a229
mov eax, dword [rbx]
bts dword [rsp + 0x74], 0x15
mov dword [rbp + 0x5c], eax
jmp 0x14000a965
mov eax, ecx
or rdx, 0xffffffffffffffff
cmp dx, word [rbx]
sete al
mov dword [rbp + 0x58], eax
jmp 0x14000a965
mov rax, qword [rbx]
bts dword [rsp + 0x74], 0x14
mov qword [rbp - 0x80], rax
jmp 0x14000a965
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp - 0x50], rax
test rax, rax
jne 0x14000a965
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
lea edx, [rax + 0x6a]
jmp 0x14000a229
sub eax, 0xc9
je 0x14000a94e
sub eax, 0x63
je 0x14000a901
sub eax, 1
je 0x14000a8b0
cmp eax, 1
jne 0x14000a965
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp - 0x48], rax
test rax, rax
jne 0x14000a965
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
lea edx, [rax + 0x6d]
jmp 0x14000a229
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp - 0x40], rax
test rax, rax
jne 0x14000a965
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
lea edx, [rax + 0x6c]
jmp 0x14000a229
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp - 0x20], rax
test rax, rax
jne 0x14000a965
lea r9d, [rax + 8]
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
lea edx, [rax + 0x6e]
jmp 0x14000a229
mov rcx, qword [rbx]
call fcn.14006bd20
xor ecx, ecx
mov qword [rbp - 0x58], rax
test rax, rax
je 0x14000ab2e
mov eax, dword [rsp + 0x30]
inc r15d
add r12, 0x10
add rbx, 0x18
cmp r15d, eax
jb 0x14000a172
mov r12, qword [rsp + 0x60]
xor ebx, ebx
mov edx, 0x5c
mov rcx, r14
call qword [sym.imp.msvcrt.dll_wcsrchr]
nop dword [rax + rax]
test rax, rax
je 0x14000a9a1
add rax, 2
mov r14d, 1
lea r9, [rsp + 0x48]
cmp esi, r14d
lea r8, [rsp + 0x78]
mov rdx, rax
cmovb r9, rbx
call fcn.1400066d8
xor edx, edx
mov ebx, eax
test eax, eax
je 0x14000ab7c
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000ab6b
test byte [rcx + 0x1c], 4
je 0x14000ab6b
cmp byte [rcx + 0x19], 2
jb 0x14000ab6b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140092c30]
mov edx, 0x71
mov r9d, eax
call fcn.140004994
mov r13, qword [rsp + 0x48]
mov r15d, dword [rsp + 0x30]
mov edi, dword [rsp + 0x34]
jmp 0x14000a241
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
mov edx, 0x65
mov r9d, eax
jmp 0x14000a229
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
mov edx, 0x66
jmp 0x14000aa60
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
mov edx, 0x68
jmp 0x14000aa60
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
mov edx, 0x67
jmp 0x14000aa60
mov r9d, 8
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14000a239
test byte [rcx + 0x1c], 4
je 0x14000a239
cmp byte [rcx + 0x19], 2
jb 0x14000a239
lea edx, [r9 + 0x63]
jmp 0x14000a229
mov r13, qword [rsp + 0x48]
mov edi, edx
mov r15d, dword [rsp + 0x30]
jmp 0x14000a241
mov ecx, dword [rsp + 0x74]
mov r13, qword [rsp + 0x48]
bts ecx, 0x13
mov dword [rsp + 0x74], ecx
cmp esi, r14d
jb 0x14000abb3
test r13, r13
mov eax, edx
sete al
bts ecx, 0x16
mov dword [rbp + 0x68], eax
mov dword [rsp + 0x74], ecx
cmp esi, r14d
je 0x14000abb8
mov dword [rsp + 0x70], edx
mov rdi, rdx
jmp 0x14000abbc
mov edi, pe_nt_image_headers64
mov dword [rsp + 0x70], edi
mov r8, rdi
lea rdx, [rsp + 0x70]
mov rcx, r12
call sub.msvcrt.dll_memcpy
mov edi, r14d
lea r14, str._0_n_
jmp 0x14000abdb
mov edi, r13d
mov r15d, dword [rsp + 0x30]
jmp 0x14000a241