Function at 0x412fe0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591945
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [0x61e0b4]
test esi, esi
jne 0x41305e
push 0x54
call fcn.004380d3
mov esi, eax
add esp, 4
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x41304f
push 0x54
push 0
push esi
call fcn.00568da0
add esp, 0xc
mov ecx, esi
call fcn.00410420
mov esi, eax
jmp 0x413051
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x61e0b4], esi
mov ebx, dword [esi + 8]
lea eax, [ebp - 0x29c]
push 0xf8
push 0
push eax
mov dword [ebp - 0x2a0], ebx
call fcn.00568da0
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.00408590
push 4
push 0x5e87d4
lea ecx, [ebp - 0x29c]
mov dword [ebp - 4], 1
call fcn.004081c0
push 0x19
push 0x5ea85c
lea ecx, [ebp - 0x1dc]
call fcn.004081c0
lea ecx, [ebp - 0x29c]
call fcn.00409050
push eax
lea eax, [ebp - 0x7c]
mov ecx, ebx
push eax
call fcn.00412ee0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x34]
call fcn.0041afb0
test al, al
jne 0x413106
xor bl, bl
jmp 0x4134c7
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2b8]
push 0x4d
push str._applet_registration_info_applet_registration_element_nameHEX__module_path
mov dword [ebp - 0x2a4], 7
mov dword [ebp - 0x2a8], eax
mov word [ebp - 0x2b8], ax
call fcn.004081c0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x34]
call fcn.0041b550
test al, al
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2a4]
sete bl
cmp eax, 8
jb 0x413185
inc eax
lea ecx, [ebp - 0x2b8]
push eax
push dword [ebp - 0x2b8]
call fcn.00407210
test bl, bl
je 0x413190
xor bl, bl
jmp 0x41349e
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x64]
mov dword [ebp - 0x18], 0
push eax
call fcn.00407320
push 1
push ecx
push 0x5ea858
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00413fc0
mov ecx, eax
cmp dword [ebp - 0x18], ecx
jae 0x4131d8
push str.invalid_string_position
call fcn.005632fa
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], edx
mov word [ebp - 0x4c], ax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.00419ad0
test al, al
jne 0x413213
xor bl, bl
jmp 0x41344c
push 1
push ecx
push 0x5ea858
lea ecx, [ebp - 0x4c]
call fcn.00413fc0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00407660
push 0x5ea858
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x2b8]
call fcn.004140b0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x94]
call fcn.004141c0
add esp, 8
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0xb
call fcn.00407140
cmp dword [ebp - 0x80], 8
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4132ec
lea ecx, [ebp - 0x4c]
call fcn.00419b70
test al, al
je 0x41329b
push str.Adobe_Desktop_Common
lea ecx, [ebp - 0x4c]
call fcn.0040e920
push 0x5ea858
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x2e8]
call fcn.004140b0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
push ecx
mov edx, eax
lea ecx, [ebp - 0x2d0]
call fcn.004141c0
add esp, 8
lea ecx, [ebp - 0x94]
push eax
call fcn.0040b3f0
lea ecx, [ebp - 0x2d0]
call fcn.00407140
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0xb
call fcn.00407140
push 0x5ea858
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x2d0]
call fcn.004140b0
push 0x5ea92c
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2e8]
call fcn.00414040
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.0040b3f0
lea ecx, [ebp - 0x2e8]
call fcn.00407140
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0xb
call fcn.00407140
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push 0xf8
lea eax, [ebp - 0x1a4]
push 0
push eax
call fcn.00568da0
add esp, 0xc
lea ecx, [ebp - 0x1a4]
call fcn.00408590
push 4
push 0x5e87d4
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0xe
call fcn.004081c0
push 7
push str.HEX_UIX
lea ecx, [ebp - 0x18c]
call fcn.004081c0
push 3
push 0x5e87a0
lea ecx, [ebp - 0x174]
call fcn.004081c0
add esi, 0x38
lea eax, [ebp - 0x114]
cmp eax, esi
je 0x4133c1
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00407320
push 0xa
push str.LoadApplet
lea ecx, [ebp - 0xe4]
call fcn.004081c0
push 0x52
push str._applet_appletID_HEX_UIX__appletVersion_1.0__isExplicitLoadCall_true____applet_
lea ecx, [ebp - 0xcc]
call fcn.004081c0
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 0xb4], 0
call fcn.00409050
mov ecx, dword [ebp - 0x2a0]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00412ee0
push 5
push ecx
push str.error
lea ecx, [ebp - 0xac]
call fcn.0040f300
cmp eax, 0xffffffff
je 0x413426
xor bl, bl
jmp 0x41342b
mov byte [edi], 1
mov bl, 1
lea ecx, [ebp - 0xac]
call fcn.00407140
lea ecx, [ebp - 0x1a4]
call fcn.004087d0
lea ecx, [ebp - 0x94]
call fcn.00407140
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x413461
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00407210
xor eax, eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], 0
cmp eax, 8
jb 0x41348a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407210
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
cmp eax, 8
jb 0x4134b3
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.00407210
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 0xf
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4134e0
mov ecx, esi
xor esi, esi
test ecx, ecx
je 0x4134e0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [ebp - 0x2c], 0
je 0x4134ec
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
je 0x4134f6
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x68]
cmp eax, 8
jb 0x41350b
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.00407210
xor eax, eax
mov dword [ebp - 0x68], 7
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
call fcn.004087d0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret