Function at 0x1400160f0
Capabilities:
Accept command line arguments
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
xor r12d, r12d
mov rdi, r9
mov dword [rbp + 0x50], r12d
mov rsi, r8
mov r13d, edx
mov r15, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp + 0x50]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
or ebx, 0xffffffff
mov qword [rbp - 0x48], r12
mov r14, rax
mov eax, dword [rbp + 0x50]
cmp eax, 3
jl 0x140016168
mov rcx, qword [r14 + 8]
lea rdx, str._runtime
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
mov ecx, 2
mov eax, dword [rbp + 0x50]
cmove ebx, ecx
cmp eax, 5
jl 0x140016188
mov rcx, qword [r14 + 0x18]
lea rdx, str._runtime
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
mov eax, 4
cmove ebx, eax
lea rcx, str.Adobe_AIRVersions1.0Adobe_AIR.dll
test r13b, 1
je 0x140016303
cmp ebx, 0xffffffff
je 0x140016303
movsxd rax, ebx
mov rsi, r12
mov rdi, r12
mov r14, qword [r14 + rax*8]
cmp word [r14], si
je 0x1400161bf
inc rdi
cmp word [r14 + rdi*2], si
jne 0x1400161b5
cmp word [str.Adobe_AIRVersions1.0Adobe_AIR.dll], si
je 0x1400161da
nop dword [rax + rax]
inc rsi
cmp word [rcx + rsi*2], r12w
jne 0x1400161d0
lea rax, [rsi + rdi]
lea rbx, [rax*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdx, r12
mov r15, rax
test rdi, rdi
je 0x140016222
mov rcx, rax
sub r14, rax
mov rdx, rdi
nop
movzx eax, word [r14 + rcx]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub rdi, 1
jne 0x140016210
lea r14, str.Adobe_AIRVersions1.0Adobe_AIR.dll
mov rcx, r12
test rsi, rsi
je 0x140016255
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r14 + rcx*2]
inc rcx
mov word [r15 + rdx*2], ax
inc rdx
cmp rcx, rsi
jb 0x140016240
mov word [r15 + rdx*2], r12w
xor r9d, r9d
xor edx, edx
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edi, eax
test eax, eax
je 0x1400162c4
mov ebx, edi
add rbx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r9d, r9d
mov edx, edi
mov r8, rax
mov qword [rbp - 0x48], rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ecx, eax
mov rax, qword [rbp - 0x48]
mov word [rax + rcx*2], r12w
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r15, qword [rbp - 0x48]
jmp 0x1400162c8
mov qword [rbp - 0x48], r15
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400162f5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x48]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 3
jmp 0x14001658f
mov rdi, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x58]
mov r15, qword [rbp + 0x48]
jmp 0x14001630a
lea r14, str.Adobe_AIRVersions1.0Adobe_AIR.dll
cmp qword [rbp - 0x48], r12
jne 0x140016546
test r13b, 2
je 0x14001638a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x20a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r9d, r9d
mov r8, r14
mov rcx, rax
mov qword [rbp - 0x48], rax
mov edx, 0x105
call fcn.140016030
test al, al
jne 0x140016356
mov eax, 4
jmp 0x14001658f
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140016380
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x48]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp - 0x48], r12
jmp 0x14001638a
cmp qword [rbp - 0x48], r12
jne 0x140016546
test r13b, 4
je 0x140016437
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x20a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r9d, 1
lea r8, str.runtimeSDKAdobe_AIRVersions1.0Adobe_AIR.dll
mov rcx, rax
mov qword [rbp - 0x48], rax
mov edx, 0x105
call fcn.140016030
test al, al
je 0x14001634c
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14001642d
mov rcx, qword [rbp - 0x48]
lea r8, str.runtimes_airwin64Adobe_AIRVersions1.0Adobe_AIR.dll
mov r9d, 1
mov edx, 0x105
call fcn.140016030
test al, al
je 0x14001634c
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14001642d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x48]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp - 0x48], r12
jmp 0x140016437
cmp qword [rbp - 0x48], r12
jne 0x140016546
test r13b, 0x10
je 0x1400164e0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x20a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r9d, 3
lea r8, str.runtimeSDKAdobe_AIRVersions1.0Adobe_AIR.dll
mov rcx, rax
mov qword [rbp - 0x48], rax
mov edx, 0x105
call fcn.140016030
test al, al
je 0x14001634c
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400164da
mov rcx, qword [rbp - 0x48]
lea r8, str.runtimes_airwin64Adobe_AIRVersions1.0Adobe_AIR.dll
mov r9d, 3
mov edx, 0x105
call fcn.140016030
test al, al
je 0x14001634c
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400164da
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x48]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp - 0x48], r12
jmp 0x1400164e0
cmp qword [rbp - 0x48], r12
jne 0x140016546
test r13b, 8
je 0x1400162eb
movups xmm0, xmmword [str.Versions1.0Adobe_AIR.dll]
mov edx, 0x1c
lea rcx, [rbp - 0x48]
movups xmm1, xmmword [0x1400241e8]
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [0x1400241f8]
movups xmmword [rbp - 0x30], xmm1
movsd xmm1, qword [0x140024208]
movups xmmword [rbp - 0x20], xmm0
movsd qword [rbp - 0x10], xmm1
call fcn.140017188
test eax, eax
jne 0x14001634c
mov rcx, qword [rbp - 0x48]
lea rdx, [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp qword [rbp - 0x48], r12
je 0x1400162eb
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rdi], rax
test rax, rax
je 0x14001634c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x48]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rdi]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [rsi], rax
mov eax, 4
cmove r12d, eax
mov eax, r12d
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret