Function at 0x4089a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4475e8
mov eax, dword fs:[0]
push eax
sub esp, 0xa34
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
mov edi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00425410
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
lea edx, [ebp - 0x218]
lea ecx, [edi + 4]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x408a20
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
push edx
push eax
call fcn.00403300
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00425410
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
add esp, 0xc
push str.ComputerZ_CN.exe
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x408bfb
push 0x2e
push str.LDSHELPER_BCB0A953_7579_48b3_84DC_79A9438F3D79
mov ecx, edi
call fcn.00403300
push 7
lea ecx, [edi + 8]
push str.ludashi
call fcn.00403300
mov edx, dword [edi + 0xc]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x408ac8
push 0x104
lea ecx, [edi + 0xc]
call fcn.00403510
mov edx, dword [edi + 0xc]
cmp dword [edx - 8], 0x104
jl 0x40912f
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi + 0xc]
push str.ComputerZTray.exe
mov word [eax + 0x208], cx
lea eax, [ebp - 0x218]
push eax
push edx
call ebx
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x408b02
xor ecx, ecx
jmp 0x408b18
push dword [eax - 8]
push eax
call fcn.00428f0e
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x40912f
mov eax, dword [edi + 0xc]
cmp ecx, dword [eax - 8]
jg 0x40912f
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi + 0xc]
push 7
push str.a07e4d8
mov word [eax + ecx*2], dx
lea ecx, [edi + 0x10]
call fcn.00403300
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xa3c]
call fcn.00404070
lea eax, [edi + 0x18]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xa3c]
push eax
call fcn.00408430
mov edx, dword [ebp - 0xa3c]
or esi, 0xffffffff
add esp, 8
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408b92
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.VendorID
push str.SOFTWARELudashi
lea eax, [ebp - 0xa3c]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.004158a0
add esp, 0x10
push eax
lea ecx, [edi + 0x14]
mov dword [ebp - 4], 1
call fcn.004031e0
mov edx, dword [ebp - 0xa3c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x408be2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 2
push 0x4524b4
lea ecx, [edi + 0x1c]
call fcn.00403300
mov eax, 1
jmp 0x409113
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00425410
add esp, 0xc
lea eax, [ebp - 0x218]
push str.360wpapp.exe
push eax
lea eax, [ebp - 0x628]
push eax
call ebx
lea eax, [ebp - 0x628]
push eax
call esi
test eax, eax
je 0x408dae
push 0x32
push str.BIRDWALLPAPER_BCB0A953_7579_48b3_84DC_79A9438F3D79
mov ecx, edi
call fcn.00403300
push 5
lea ecx, [edi + 8]
push str.bizhi
call fcn.00403300
mov edx, dword [edi + 0xc]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x408c7b
push 0x104
lea ecx, [edi + 0xc]
call fcn.00403510
mov edx, dword [edi + 0xc]
cmp dword [edx - 8], 0x104
jl 0x40912f
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi + 0xc]
push str.360wpsrv.exe
mov word [eax + 0x208], cx
lea eax, [ebp - 0x218]
push eax
push edx
call ebx
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x408cb5
xor ecx, ecx
jmp 0x408ccb
push dword [eax - 8]
push eax
call fcn.00428f0e
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x40912f
mov eax, dword [edi + 0xc]
cmp ecx, dword [eax - 8]
jg 0x40912f
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi + 0xc]
push 7
push str.cd02604
mov word [eax + ecx*2], dx
lea ecx, [edi + 0x10]
call fcn.00403300
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0xa3c]
call fcn.00404070
lea eax, [edi + 0x18]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0xa3c]
push eax
call fcn.00408430
mov edx, dword [ebp - 0xa3c]
or esi, 0xffffffff
add esp, 8
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408d45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x44a2d0
push str.Software360WallPaper
lea eax, [ebp - 0xa3c]
push SysReAllocString
push eax
call fcn.004158a0
add esp, 0x10
push eax
lea ecx, [edi + 0x14]
mov dword [ebp - 4], 3
call fcn.004031e0
mov edx, dword [ebp - 0xa3c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x408d95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 3
push 0x44a304
lea ecx, [edi + 0x1c]
call fcn.00403300
mov eax, 1
jmp 0x409113
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00425410
add esp, 0xc
lea eax, [ebp - 0x218]
push str.LdsLite.exe
push eax
lea eax, [ebp - 0x830]
push eax
call ebx
lea eax, [ebp - 0x830]
push eax
call esi
test eax, eax
je 0x408f61
push 0x2c
push str.LDSLITE_BCB0A953_7579_48b3_84DC_79A9438F3D79
mov ecx, edi
call fcn.00403300
push 7
lea ecx, [edi + 8]
push str.ldslite
call fcn.00403300
mov edx, dword [edi + 0xc]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x408e2e
push 0x104
lea ecx, [edi + 0xc]
call fcn.00403510
mov edx, dword [edi + 0xc]
cmp dword [edx - 8], 0x104
jl 0x40912f
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi + 0xc]
push str.LdsLite.exe
mov word [eax + 0x208], cx
lea eax, [ebp - 0x218]
push eax
push edx
call ebx
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x408e68
xor ecx, ecx
jmp 0x408e7e
push dword [eax - 8]
push eax
call fcn.00428f0e
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x40912f
mov eax, dword [edi + 0xc]
cmp ecx, dword [eax - 8]
jg 0x40912f
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi + 0xc]
push 7
push str.023d8ff
mov word [eax + ecx*2], dx
lea ecx, [edi + 0x10]
call fcn.00403300
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0xa3c]
call fcn.00404070
lea eax, [edi + 0x18]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0xa3c]
push eax
call fcn.00408430
mov edx, dword [ebp - 0xa3c]
or esi, 0xffffffff
add esp, 8
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408ef8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.VendorID
push str.SOFTWARELdsLite
lea eax, [ebp - 0xa3c]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.004158a0
add esp, 0x10
push eax
lea ecx, [edi + 0x14]
mov dword [ebp - 4], 5
call fcn.004031e0
mov edx, dword [ebp - 0xa3c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x408f48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 2
push 0x44a3c8
lea ecx, [edi + 0x1c]
call fcn.00403300
mov eax, 1
jmp 0x409113
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00425410
add esp, 0xc
lea eax, [ebp - 0x218]
push str.LDSGameHallLDSGameHall.exe
push eax
lea eax, [ebp - 0xa38]
push eax
call ebx
lea eax, [ebp - 0xa38]
push eax
call esi
test eax, eax
je 0x409111
push 0x2e
push str.LDSMASTER_BCB0A953_7579_48b3_84DC_79A9438F3D79
mov ecx, edi
call fcn.00403300
push 0xa
lea ecx, [edi + 8]
push str.gamemaster
call fcn.00403300
mov edx, dword [edi + 0xc]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x408fe1
push 0x104
lea ecx, [edi + 0xc]
call fcn.00403510
mov edx, dword [edi + 0xc]
cmp dword [edx - 8], 0x104
jl 0x40912f
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi + 0xc]
push str.LDSGameHallLDSGameHall.exe
mov word [eax + 0x208], cx
lea eax, [ebp - 0x218]
push eax
push edx
call ebx
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x40901b
xor ecx, ecx
jmp 0x409031
push dword [eax - 8]
push eax
call fcn.00428f0e
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x40912f
mov eax, dword [edi + 0xc]
cmp ecx, dword [eax - 8]
jg 0x40912f
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi + 0xc]
push 7
push str.f6db534
mov word [eax + ecx*2], dx
lea ecx, [edi + 0x10]
call fcn.00403300
lea eax, [ebp - 0xa38]
push eax
lea ecx, [ebp - 0xa3c]
call fcn.00404070
lea eax, [edi + 0x18]
mov dword [ebp - 4], 6
push eax
lea eax, [ebp - 0xa3c]
push eax
call fcn.00408430
mov edx, dword [ebp - 0xa3c]
or esi, 0xffffffff
add esp, 8
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4090ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x44a2d0
push str.SoftwareLDSGameMaster
lea eax, [ebp - 0xa40]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.004158a0
add esp, 0x10
push eax
lea ecx, [edi + 0x14]
mov dword [ebp - 4], 7
call fcn.004031e0
mov edx, dword [ebp - 0xa40]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4090fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 2
push 0x44a4c0
lea ecx, [edi + 0x1c]
call fcn.00403300
mov eax, 1
jmp 0x409113
xor eax, eax
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
push 0x80070057
call fcn.00402420
int3