Function at 0x414380
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4480ab
mov eax, dword fs:[0]
push eax
mov eax, 0x1048
call fcn.0041c230
mov eax, dword [0x45a1cc]
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
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1054]
mov esi, dword [ebp + 0xc]
push edi
push eax
call fcn.00414d20
push dword [ebp - 0x1054]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41495a
mov dword [esi + 0x24], 1
mov edx, str.ludashi
mov eax, dword [edi]
mov ecx, eax
mov di, word [ecx]
cmp di, word [edx]
jne 0x414419
test di, di
je 0x414415
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x414419
add ecx, 4
add edx, 4
test di, di
jne 0x4143f3
xor ecx, ecx
jmp 0x41441e
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x414550
push 0xe
push str.ComputerZ_Tray
mov ecx, esi
call fcn.00403300
push 0x2a
lea ecx, [esi + 4]
push str.Starts_ComputerZ_Tray_when_a_user_logs_on.
call fcn.00403300
push 0x14
lea ecx, [esi + 8]
mov dword [esi + 0xc], 0x3c
push str._autorun___fromtask
call fcn.00403300
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00425410
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
add esp, 0xc
push str.ComputerZTray.exe
push dword [ebp - 0x1054]
push eax
call edi
lea edx, [ebp - 0x218]
lea ecx, [esi + 0x10]
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x414495
sub edx, ebx
lea eax, [ebp - 0x218]
sar edx, 1
push edx
push eax
call fcn.00403300
push 2
lea ecx, [esi + 0x28]
push 0x4524b4
call fcn.00403300
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00425410
add esp, 0xc
lea eax, [ebp - 0x420]
push str.ComputerZ.set
push dword [ebp - 0x1054]
push eax
call edi
lea edx, [ebp - 0x420]
lea ecx, [esi + 0x14]
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4144f6
sub edx, edi
lea eax, [ebp - 0x420]
sar edx, 1
push edx
push eax
call fcn.00403300
push 7
lea ecx, [esi + 0x18]
push str.General
call fcn.00403300
push 0xa
lea ecx, [esi + 0x1c]
push str.AutoStart2
call fcn.00403300
push 9
lea ecx, [esi + 0x20]
push str.LdsHelper
call fcn.00403300
mov dword [esi + 0x2c], 0
mov ebx, 1
jmp 0x41495c
mov edx, str.bizhi
mov ecx, eax
mov di, word [ecx]
cmp di, word [edx]
jne 0x41457d
test di, di
je 0x414579
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x41457d
add ecx, 4
add edx, 4
test di, di
jne 0x414557
xor ecx, ecx
jmp 0x414582
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x4146a7
push 9
push str.360wp_srv
mov ecx, esi
call fcn.00403300
push 0x25
lea ecx, [esi + 4]
push str.Starts_360wp_srv_when_a_user_logs_on.
call fcn.00403300
push 0x14
lea ecx, [esi + 8]
mov dword [esi + 0xc], 5
push str._autorun___fromtask
call fcn.00403300
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00425410
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x628]
add esp, 0xc
push str.360wpsrv.exe
push dword [ebp - 0x1054]
push eax
call edi
lea edx, [ebp - 0x628]
lea ecx, [esi + 0x10]
lea ebx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x414600
sub edx, ebx
lea eax, [ebp - 0x628]
sar edx, 1
push edx
push eax
call fcn.00403300
push 3
lea ecx, [esi + 0x28]
push 0x44a304
call fcn.00403300
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00425410
add esp, 0xc
lea eax, [ebp - 0x830]
push str.config.set
push dword [ebp - 0x1054]
push eax
call edi
lea edx, [ebp - 0x830]
lea ecx, [esi + 0x14]
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x414661
sub edx, edi
lea eax, [ebp - 0x830]
sar edx, 1
push edx
push eax
call fcn.00403300
push 8
lea ecx, [esi + 0x18]
push str.auto_run
call fcn.00403300
push 4
lea ecx, [esi + 0x1c]
push str.open
call fcn.00403300
push 0xa
push str.birdhelper
jmp 0x414944
mov edx, str.ldslite
mov ecx, eax
nop
mov di, word [ecx]
cmp di, word [edx]
jne 0x4146d6
test di, di
je 0x4146d2
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x4146d6
add ecx, 4
add edx, 4
test di, di
jne 0x4146b0
xor ecx, ecx
jmp 0x4146db
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x4147f9
push 0xd
push str.ComputerZLite
mov ecx, esi
call fcn.00403300
push 0x14
lea ecx, [esi + 4]
push str.Starts_ComputerZLite
call fcn.00403300
push 0x14
lea ecx, [esi + 8]
mov dword [esi + 0xc], 0x3c
push str._autorun___fromtask
call fcn.00403300
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00425410
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xa38]
add esp, 0xc
push str.LdsLite.exe
push dword [ebp - 0x1054]
push eax
call edi
lea edx, [ebp - 0xa38]
lea ecx, [esi + 0x10]
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x414752
sub edx, ebx
lea eax, [ebp - 0xa38]
sar edx, 1
push edx
push eax
call fcn.00403300
push 2
lea ecx, [esi + 0x28]
push 0x44a3c8
call fcn.00403300
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.00425410
add esp, 0xc
lea eax, [ebp - 0xc40]
push str.ComputerZ.set
push dword [ebp - 0x1054]
push eax
call edi
lea edx, [ebp - 0xc40]
lea ecx, [esi + 0x14]
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4147b3
sub edx, edi
lea eax, [ebp - 0xc40]
sar edx, 1
push edx
push eax
call fcn.00403300
push 7
lea ecx, [esi + 0x18]
push str.General
call fcn.00403300
push 0xa
lea ecx, [esi + 0x1c]
push str.AutoStart2
call fcn.00403300
push 9
push str.LdsHelper
jmp 0x414944
mov ecx, str.gamemaster
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414826
test dx, dx
je 0x414822
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414826
add eax, 4
add ecx, 4
test dx, dx
jne 0x414800
xor eax, eax
jmp 0x41482b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41495a
push 0xd
push str.LDSGameMaster
mov ecx, esi
call fcn.00403300
push 0x2a
lea ecx, [esi + 4]
push str.Starts_LDS_GameMaster_when_a_user_logs_on.
call fcn.00403300
push 0x14
lea ecx, [esi + 8]
mov dword [esi + 0xc], 0x3c
push str._autorun___fromtask
call fcn.00403300
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.00425410
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xe48]
add esp, 0xc
push str.LDSGameHallLDSGameHall.exe
push dword [ebp - 0x1054]
push eax
call edi
lea edx, [ebp - 0xe48]
lea ecx, [esi + 0x10]
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4148a2
sub edx, ebx
lea eax, [ebp - 0xe48]
sar edx, 1
push edx
push eax
call fcn.00403300
push 2
lea ecx, [esi + 0x28]
push 0x44a4c0
call fcn.00403300
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.00425410
add esp, 0xc
lea eax, [ebp - 0x1050]
push str.ComputerZ.set
push dword [ebp - 0x1054]
push eax
call edi
lea edx, [ebp - 0x1050]
lea ecx, [esi + 0x14]
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x414903
sub edx, edi
lea eax, [ebp - 0x1050]
sar edx, 1
push edx
push eax
call fcn.00403300
push 7
lea ecx, [esi + 0x18]
push str.General
call fcn.00403300
push 0xa
lea ecx, [esi + 0x1c]
push str.AutoStart2
call fcn.00403300
push 8
push str.gmHelper
lea ecx, [esi + 0x20]
call fcn.00403300
mov dword [esi + 0x2c], 1
mov ebx, 1
jmp 0x41495c
xor ebx, ebx
mov eax, dword [ebp - 0x1054]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x414981
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.0041c009
mov esp, ebp
pop ebp
ret 0xc