Function at 0x4149b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4480eb
mov eax, dword fs:[0]
push eax
sub esp, 0x828
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x834]
mov ebx, dword [ebp + 0xc]
mov edi, 1
push esi
push eax
call fcn.00414d20
push dword [ebp - 0x834]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414cd3
mov ecx, dword [esi]
mov edx, str.ludashi
mov eax, ecx
nop dword [eax]
mov si, word [eax]
cmp si, word [edx]
jne 0x414a46
test si, si
je 0x414a42
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x414a46
add eax, 4
add edx, 4
test si, si
jne 0x414a20
xor eax, eax
jmp 0x414a4b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x414ac6
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00425410
add esp, 0xc
lea eax, [ebp - 0x218]
push str.lpiHpSvc.dll
push dword [ebp - 0x834]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414a85
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00403300
push 5
lea ecx, [ebx + 8]
push str.HpSvc
call fcn.00403300
push 2
lea ecx, [ebx + 4]
push 0x4524b4
call fcn.00403300
jmp 0x414cd5
mov edx, str.bizhi
mov eax, ecx
nop dword [eax]
mov si, word [eax]
cmp si, word [edx]
jne 0x414af6
test si, si
je 0x414af2
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x414af6
add eax, 4
add edx, 4
test si, si
jne 0x414ad0
xor eax, eax
jmp 0x414afb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x414b76
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00425410
add esp, 0xc
lea eax, [ebp - 0x420]
push str.lpiWpSvc.dll
push dword [ebp - 0x834]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414b35
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00403300
push 5
lea ecx, [ebx + 8]
push str.WpSvc
call fcn.00403300
push 3
lea ecx, [ebx + 4]
push 0x44a304
call fcn.00403300
jmp 0x414cd5
mov edx, str.ldslite
mov eax, ecx
nop dword [eax]
mov si, word [eax]
cmp si, word [edx]
jne 0x414ba6
test si, si
je 0x414ba2
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x414ba6
add eax, 4
add edx, 4
test si, si
jne 0x414b80
xor eax, eax
jmp 0x414bab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x414c26
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.00425410
add esp, 0xc
lea eax, [ebp - 0x628]
push str.lpiTmSvc.dll
push dword [ebp - 0x834]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414be5
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00403300
push 5
lea ecx, [ebx + 8]
push str.TmSvc
call fcn.00403300
push 2
lea ecx, [ebx + 4]
push 0x44a3c8
call fcn.00403300
jmp 0x414cd5
mov eax, str.gamemaster
nop dword [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x414c56
test dx, dx
je 0x414c52
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x414c56
add ecx, 4
add eax, 4
test dx, dx
jne 0x414c30
xor eax, eax
jmp 0x414c5b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x414cd3
push 0x208
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00425410
add esp, 0xc
lea eax, [ebp - 0x830]
push str.UtilsSpSvc.dll
push dword [ebp - 0x834]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414c95
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00403300
push 5
lea ecx, [ebx + 8]
push str.SpSvc
call fcn.00403300
push 2
lea ecx, [ebx + 4]
push 0x44a4c0
call fcn.00403300
jmp 0x414cd5
xor edi, edi
mov eax, dword [ebp - 0x834]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x414cfa
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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