Function at 0x42a340
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d1438
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x65a000]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x65a000]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
push 7
xor eax, eax
push str.MESSAGE
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.004058d0
lea eax, [esp + 0x10]
mov dword [esp + 0x78], 0
mov ecx, dword [0x6fb010]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00406e30
mov byte [esp + 0x78], 2
cmp dword [esp + 0x24], 8
jb 0x42a3d7
push dword [esp + 0x10]
call fcn.0048166b
add esp, 4
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x18], ax
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov dword [esp + 0x54], 7
call fcn.00405440
push ecx
push 0xffffffffffffffff
lea eax, [esp + 0x54]
mov byte [esp + 0x80], 3
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0x5c
call fcn.0041cbd0
mov ecx, eax
cmp ecx, 0xffffffff
je 0x42a460
cmp dword [esp + 0x44], ecx
jae 0x42a448
push str.invalid_string_position
call fcn.005bf60b
cmp dword [esp + 0x48], 8
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
xor edx, edx
mov dword [esp + 0x44], ecx
mov word [eax + ecx*2], dx
push 0x15
push str.AdobeICClicense.txt
lea ecx, [esp + 0x3c]
call fcn.004057a0
cmp dword [esp + 0x48], 8
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea eax, [esp + 0x34]
jne 0x42a4a0
cmp dword [esp + 0x48], 8
cmovae eax, dword [esp + 0x34]
push eax
push str.CDlgEULA_AdobeRGB::SetEulaString__GetFileAttributes___Failed___fpath:_s
jmp 0x42a4d6
cmp dword [esp + 0x48], 8
push 0
cmovae eax, dword [esp + 0x38]
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42a4f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CDlgEULA_AdobeRGB::SetEulaString__CreateFile___Failed___0x__08x
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x14
push 0x6fb428
call fcn.00415fc0
xor esi, esi
jmp 0x42a539
lea eax, [esp + 0x28]
push eax
push 1
push 0x449
push dword [edi + 0x484]
xorps xmm0, xmm0
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0x42a5a0
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
cmp dword [esp + 0x48], 8
jb 0x42a54c
push dword [esp + 0x34]
call fcn.0048166b
add esp, 4
xor eax, eax
cmp dword [esp + 0x64], 8
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
jb 0x42a576
push dword [esp + 0x50]
call fcn.0048166b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.005a4646
mov esp, ebp
pop ebp
ret