Function at 0x407749
Capabilities:
Check if file exists

Disassembly:
push 0x27c
mov eax, 0x515bde
call fcn.004d0314
lea eax, [ebp - 0x228]
push 1
push eax
mov ebx, str.BinPath
call fcn.0040d2b0
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [eax]
lea eax, [ebp - 0x224]
push eax
call fcn.004022e5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.004028da
mov eax, dword [ebp - 0x224]
cmp eax, ebx
je 0x4078a2
cmp word [eax], bx
je 0x4078a2
push 0x52c108
lea eax, [ebp - 0x224]
call fcn.0040d65b
push dword [ebp - 0x224]
call dword [0x51a4b0]
test eax, eax
je 0x4078a2
push dword [ebp - 0x224]
call dword [0x51a4b4]
test eax, eax
jne 0x4078a2
call fcn.00409adf
push 0x8a
test eax, eax
je 0x407843
lea eax, [ebp - 0x22c]
push eax
call fcn.0040df84
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x228]
push 0xdc
push eax
call fcn.0040df84
add esp, 0x10
mov byte [ebp - 4], 4
mov esi, dword [esi]
mov eax, dword [eax]
push 0x50040
push esi
push eax
push ebx
call dword [0x51a518]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x228]
call fcn.004028da
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
jmp 0x407898
lea eax, [ebp - 0x228]
push eax
call fcn.0040df84
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x22c]
push 0xd3
push eax
call fcn.0040df84
add esp, 0x10
mov byte [ebp - 4], 6
mov esi, dword [esi]
mov eax, dword [eax]
push 0x50040
push esi
push eax
push ebx
call dword [0x51a518]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x22c]
call fcn.004028da
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.004028da
jmp 0x407a90
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x224]
push eax
call fcn.004025f7
xor eax, eax
push 0x208
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push ebx
push eax
call fcn.004ce6f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [0x51a3d4]
cmp eax, ebx
jne 0x407903
push str.ERROR_CHECK_BOOL:0___dwRet
push 0x153
push str..xliveshell.cpp
push 5
pop ecx
call fcn.0040ef48
jmp 0x407aa0
lea eax, [ebp - 0x23c]
push eax
call fcn.0049a937
mov dword [ebp - 4], 7
push ecx
mov eax, esp
mov dword [ebp - 0x22c], esp
lea ecx, [ebp - 0x220]
push ecx
push eax
call fcn.004025b6
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x23c]
call fcn.0049aec7
cmp eax, ebx
jge 0x407972
push eax
push str.ERROR_CHECK_COM_hr___x:_hr
push 0x156
push str..xliveshell.cpp
push 5
pop esi
call fcn.0040f52f
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.0049a999
jmp 0x407aa0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.0049a999
lea eax, [ebp - 0x224]
push eax
call fcn.0040df3e
mov dword [ebp - 4], 9
lea esi, [ebp - 0x22c]
call fcn.0040d18b
mov byte [ebp - 4], 0xa
push dword [eax]
lea eax, [ebp - 0x228]
push eax
call fcn.004022e5
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x228]
lea edi, [ebp - 0x224]
call fcn.00403a2e
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x228]
push eax
call fcn.004025f7
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.004028da
push 0x52a100
mov eax, edi
call fcn.0040d65b
push 0x52c108
mov eax, edi
call fcn.0040d65b
push str.__FamilialAffection
lea esi, [ebp - 0x228]
call fcn.0040e1be
mov byte [ebp - 4], 0xc
push 0x44
pop esi
push esi
lea eax, [ebp - 0x288]
push ebx
push eax
call fcn.004ce6f0
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x288]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x228]
mov dword [ebp - 0x288], esi
push dword [ebp - 0x224]
call dword [0x51a344]
cmp eax, ebx
jne 0x407a6a
push str.ERROR_CHECK_BOOL:bResult
push 0x169
push str..xliveshell.cpp
push 5
pop ecx
call fcn.0040ef48
jmp 0x407a80
push dword [ebp - 0x238]
mov esi, dword [0x51a3ac]
call esi
push dword [ebp - 0x23c]
call esi
mov byte [ebp - 4], 9
push dword [ebp - 0x228]
call dword [0x51a44c]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x224]
push eax
call fcn.004025f7
call fcn.004d0397
ret