Function at 0x5069d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x948
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x130]
push edi
call fcn.004fee40
mov eax, dword [esi + 0x478]
lea ebx, [esi + 0xc4]
mov dword [ebp - 0xf4], eax
mov ecx, ebx
mov eax, dword [esi + 0x47c]
mov dword [ebp - 0x100], eax
call fcn.004f5680
test al, al
je 0x506a1e
mov dword [ebp - 0xf8], 3
jmp 0x506a56
cmp dword [esi + 0x460], 0
je 0x506a4c
cmp dword [esi + 0x464], 0
je 0x506a4c
cmp dword [esi + 0x468], 0
je 0x506a4c
cmp dword [esi + 0x46c], 0
mov dword [ebp - 0xf8], 1
jne 0x506a56
mov dword [ebp - 0xf8], 2
mov eax, dword [esi + 0x460]
sub esp, 0x18
mov dword [ebp - 0xf0], eax
mov eax, dword [esi + 0x464]
mov dword [ebp - 0xec], eax
mov eax, dword [esi + 0x468]
mov dword [ebp - 0xe8], eax
mov eax, dword [esi + 0x46c]
push esp
mov dword [ebp - 0xe0], eax
call fcn.004bcd00
add esp, 4
lea eax, [ebp - 0x20]
push eax
call fcn.004b4600
mov edi, eax
add esp, 0x1c
lea eax, [ebp - 0x130]
cmp eax, edi
je 0x506aea
cmp dword [ebp - 0x11c], 8
jb 0x506ac1
push dword [ebp - 0x130]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x11c], 7
push edi
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x120], 0
mov word [ebp - 0x130], ax
call fcn.00440913
cmp dword [ebp - 0xc], 8
jb 0x506afb
push dword [ebp - 0x20]
call fcn.00412895
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004c24c0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x118]
cmp eax, edi
je 0x506b5a
cmp dword [ebp - 0x104], 8
jb 0x506b31
push dword [ebp - 0x118]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x104], 7
push edi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x108], 0
mov word [ebp - 0x118], ax
call fcn.00440913
cmp dword [ebp - 0xc], 8
jb 0x506b6b
push dword [ebp - 0x20]
call fcn.00412895
add esp, 4
mov eax, dword [esi + 0x484]
mov ecx, ebx
mov dword [ebp - 0xfc], eax
mov eax, dword [esi + 0x4a0]
mov dword [ebp - 0xe4], eax
call fcn.004f4b80
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004f8e50
mov edi, eax
add esp, 8
lea eax, [ebp - 0xa0]
cmp eax, edi
je 0x506be3
cmp dword [ebp - 0x8c], 8
jb 0x506bba
push dword [ebp - 0xa0]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
push edi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
call fcn.00440913
cmp dword [ebp - 0xc], 8
jb 0x506bf4
push dword [ebp - 0x20]
call fcn.00412895
add esp, 4
push 1
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x14], esi
lea eax, [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x130]
movq xmm0, qword [ebp - 0x14]
mov dword [ebp - 0xc], eax
xor eax, eax
push 0xf
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.F1Assistant.dll
movq qword [ebp - 0x14], xmm0
mov word [ecx], ax
call fcn.00408679
lea eax, [ebp - 0x148]
push eax
call fcn.004f9f40
mov ecx, eax
call fcn.004f9fa0
push eax
lea eax, [ebp - 0x38]
push 1
push eax
call fcn.004bc990
add esp, 0x10
cmp dword [ebp - 0x134], 8
jb 0x506c76
push dword [ebp - 0x148]
call fcn.00412895
add esp, 4
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x506c98
mov dword [ebp - 4], 1
jmp 0x506dd2
push str.F1Assistant.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x506cc9
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x506cc9
mov dword [ebp - 4], 2
jmp 0x506dd2
push str.GetAssistant
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x506dcb
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 0xfa30
call eax
add esp, 8
test al, al
je 0x506dc2
cmp dword [ebp - 8], 0
je 0x506dc2
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x948], ax
lea eax, [ebp - 0x946]
push eax
call fcn.00538910
add esp, 0xc
lea edi, [ebp - 0x118]
cmp dword [ebp - 0x104], 8
lea esi, [ebp - 0x130]
mov ecx, ebx
cmovae edi, dword [ebp - 0x118]
cmp dword [ebp - 0x11c], 8
push 0x594314
cmovae esi, dword [ebp - 0x130]
call fcn.004f4b80
push eax
push dword [ebp - 0xe0]
lea eax, [ebp - 0x948]
push dword [ebp - 0xe4]
push dword [ebp - 0xe8]
push dword [ebp - 0xf0]
push dword [ebp - 0xec]
push dword [ebp - 0xf4]
push dword [ebp - 0x100]
push dword [ebp - 0xfc]
push dword [ebp - 0xf8]
push 0x594314
push 0x594314
push edi
push esi
push str.__name_s__parent_s__occupy_s__occupyparent_s__method_d__result_d__type_d__changedir_d__fstartup_d__deskicon_d__default_d__directopen_d__userplan_d__r1_d__r2_s
push 0x400
push eax
call fcn.00537692
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x948]
add esp, 0x48
mov eax, dword [ecx]
push edx
call dword [eax]
jmp 0x506dd2
mov dword [ebp - 4], 3
jmp 0x506dd2
mov dword [ebp - 4], 4
cmp dword [ebp - 0x24], 8
jb 0x506de3
push dword [ebp - 0x38]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x24], 7
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
call fcn.00500550
lea ecx, [ebp - 0x130]
call fcn.004ff450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret