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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [esp + 0x14]
or esi, 0xffffffff
mov dword [esp + 0x10], ebx
mov ebp, eax
push 2
pop edi
cmp ecx, 3
jl 0x401179
push str._runtime
push dword [ebp + 4]
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
mov ecx, dword [esp + 0x14]
test eax, eax
cmove esi, edi
push 4
pop edi
cmp ecx, 5
jl 0x401194
push str._runtime
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
cmove esi, edi
test byte [esp + 0x58], 1
je 0x4012a4
cmp esi, 0xffffffff
je 0x4012a4
mov ebp, dword [ebp + esi*4]
xor ecx, ecx
mov edi, ebx
cmp word [ebp], cx
je 0x4011be
inc edi
cmp word [ebp + edi*2], cx
jne 0x4011b6
cmp word [str.Adobe_AIRVersions1.0Adobe_AIR.dll], cx
je 0x4011d2
inc ebx
cmp word [ebx*2 + str.Adobe_AIRVersions1.0Adobe_AIR.dll], cx
jne 0x4011c7
lea eax, [ebx + edi]
lea eax, [eax*2 + 2]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor edx, edx
mov esi, eax
test edi, edi
je 0x401208
mov ecx, esi
sub ebp, esi
mov edx, edi
mov ax, word [ecx + ebp]
mov word [ecx], ax
lea ecx, [ecx + 2]
sub edi, 1
jne 0x4011f9
xor ecx, ecx
test ebx, ebx
je 0x401220
mov ax, word [ecx*2 + str.Adobe_AIRVersions1.0Adobe_AIR.dll]
inc ecx
mov word [esi + edx*2], ax
inc edx
cmp ecx, ebx
jb 0x40120e
xor ebx, ebx
xor eax, eax
push ebx
push ebx
push ebx
push esi
mov word [esi + edx*2], ax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edi, eax
test edi, edi
je 0x401277
lea ecx, [edi + edi]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push ebx
push eax
push edi
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ecx, dword [esp + 0x10]
xor edx, edx
push esi
push ebx
mov word [ecx + eax*2], dx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [esp + 0x10]
jmp 0x40127b
mov dword [esp + 0x10], esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4012a1
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 3
pop eax
jmp 0x4014ca
push 4
pop edi
cmp dword [esp + 0x10], 0
jne 0x401486
test byte [esp + 0x58], 2
mov ebp, 0x20a
mov esi, 0x105
je 0x40131e
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push ebx
push str.Adobe_AIRVersions1.0Adobe_AIR.dll
push esi
push eax
mov dword [esp + 0x20], eax
call fcn.004010a5
add esp, 0x10
test al, al
jne 0x4012ee
mov eax, edi
jmp 0x4014ca
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x401313
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], 0
jne 0x401486
test byte [esp + 0x58], 4
je 0x4013ac
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 1
push str.runtimeSDKAdobe_AIRVersions1.0Adobe_AIR.dll
push esi
push eax
mov dword [esp + 0x20], eax
call fcn.004010a5
add esp, 0x10
test al, al
je 0x4012e7
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4013a1
push 1
push str.runtimes_airwinAdobe_AIRVersions1.0Adobe_AIR.dll
push esi
push dword [esp + 0x1c]
call fcn.004010a5
add esp, 0x10
test al, al
je 0x4012e7
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4013a1
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], 0
jne 0x401486
test byte [esp + 0x58], 0x10
je 0x40143a
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 3
push str.runtimeSDKAdobe_AIRVersions1.0Adobe_AIR.dll
push esi
push eax
mov dword [esp + 0x20], eax
call fcn.004010a5
add esp, 0x10
test al, al
je 0x4012e7
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x401433
push 3
push str.runtimes_airwinAdobe_AIRVersions1.0Adobe_AIR.dll
push esi
push dword [esp + 0x1c]
call fcn.004010a5
add esp, 0x10
test al, al
je 0x4012e7
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x401433
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], 0
jne 0x401486
test byte [esp + 0x58], 8
je 0x401299
push 0xe
pop ecx
lea eax, [esp + 0x10]
mov esi, str.Versions1.0Adobe_AIR.dll
lea edi, [esp + 0x18]
push 0x1c
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00402295
pop ecx
pop ecx
test eax, eax
je 0x40146c
push 4
pop ecx
mov eax, ecx
jmp 0x4014ca
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [esp + 0x10], 0
je 0x401299
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [esp + 0x60]
mov dword [esi], eax
test eax, eax
je 0x401465
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x54]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x5c]
mov edx, eax
xor eax, eax
test edx, edx
push 4
mov dword [ecx], edx
pop ecx
cmove eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret