Function at 0x4bd650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x679450
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xa58
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4bd697
xor eax, eax
jmp 0x4bda59
lea ecx, [ebp - 0xa20]
call fcn.0042eb60
lea ecx, [ebp - 0xa24]
call fcn.0042eb60
mov dword [ebp - 0xa28], 0
push 0x17
push 0
push 0x6ad3c0
lea ecx, [ebp - 0xa20]
call fcn.004c95c0
mov dword [ebp - 0xa28], eax
cmp dword [ebp - 0xa28], 0
jge 0x4bd705
mov dword [ebp - 0xa44], 0
lea ecx, [ebp - 0xa24]
call fcn.0045fc70
lea ecx, [ebp - 0xa20]
call fcn.0045fc70
mov eax, dword [ebp - 0xa44]
jmp 0x4bda59
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa20]
push ecx
lea ecx, [ebp - 0xa24]
call fcn.004c1cb0
jmp 0x4bd736
mov dword [ebp - 4], 0xffffffff
jmp 0x4bd767
push 0
lea ecx, [ebp - 0xa24]
call fcn.0045fdb0
movzx edx, al
test edx, edx
je 0x4bd7a6
mov dword [ebp - 0xa4c], 0
lea ecx, [ebp - 0xa24]
call fcn.0045fc70
lea ecx, [ebp - 0xa20]
call fcn.0045fc70
mov eax, dword [ebp - 0xa4c]
jmp 0x4bda59
lea ecx, [ebp - 0xa20]
call fcn.0040d3c0
mov dword [ebp - 0xa2c], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xa2c]
push ecx
mov edx, dword [ebp - 0xa2c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x50]
call ecx
test eax, eax
jge 0x4bd7fe
mov dword [ebp - 0xa50], 0
lea ecx, [ebp - 0xa24]
call fcn.0045fc70
lea ecx, [ebp - 0xa20]
call fcn.0045fc70
mov eax, dword [ebp - 0xa50]
jmp 0x4bda59
cmp dword [ebp + 0x10], 0
je 0x4bd85c
lea ecx, [ebp - 0xa20]
call fcn.0040d3c0
mov dword [ebp - 0xa30], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xa30]
push eax
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
test eax, eax
jge 0x4bd85c
mov dword [ebp - 0xa54], 0
lea ecx, [ebp - 0xa24]
call fcn.0045fc70
lea ecx, [ebp - 0xa20]
call fcn.0045fc70
mov eax, dword [ebp - 0xa54]
jmp 0x4bda59
lea ecx, [ebp - 0xa20]
call fcn.0040d3c0
mov dword [ebp - 0xa34], eax
push 5
mov ecx, dword [ebp - 0xa34]
push ecx
mov edx, dword [ebp - 0xa34]
mov eax, dword [edx]
mov ecx, dword [eax + 0x3c]
call ecx
test eax, eax
jge 0x4bd8b2
mov dword [ebp - 0xa58], 0
lea ecx, [ebp - 0xa24]
call fcn.0045fc70
lea ecx, [ebp - 0xa20]
call fcn.0045fc70
mov eax, dword [ebp - 0xa58]
jmp 0x4bda59
mov dword [ebp - 0xa68], 0x400
push 0x800
push 0
lea edx, [ebp - 0xa1c]
push edx
call fcn.0063a460
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
push 0x400
lea ecx, [ebp - 0xa1c]
push ecx
call fcn.004239e0
lea edx, [ebp - 0xa1c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [ebp + 0x1c], 0
jl 0x4bd956
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.0063a460
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea ecx, [ebp - 0xa20]
call fcn.0040d3c0
mov dword [ebp - 0xa38], eax
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0xa38]
push edx
mov eax, dword [ebp - 0xa38]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
call edx
lea ecx, [ebp - 0xa20]
call fcn.0040d3c0
mov dword [ebp - 0xa3c], eax
lea eax, [ebp - 0xa1c]
push eax
mov ecx, dword [ebp - 0xa3c]
push ecx
mov edx, dword [ebp - 0xa3c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
call ecx
test eax, eax
jge 0x4bd9b1
mov dword [ebp - 0xa5c], 0
lea ecx, [ebp - 0xa24]
call fcn.0045fc70
lea ecx, [ebp - 0xa20]
call fcn.0045fc70
mov eax, dword [ebp - 0xa5c]
jmp 0x4bda59
lea ecx, [ebp - 0xa24]
call fcn.0040d3c0
mov dword [ebp - 0xa40], eax
push 1
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0xa40]
push eax
mov ecx, dword [ebp - 0xa40]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
test eax, eax
jge 0x4bda08
mov dword [ebp - 0xa60], 0
lea ecx, [ebp - 0xa24]
call fcn.0045fc70
lea ecx, [ebp - 0xa20]
call fcn.0045fc70
mov eax, dword [ebp - 0xa60]
jmp 0x4bda59
cmp dword [ebp + 0x20], 0
je 0x4bda33
push 0
push 0x2a
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov dword [ebp - 0xa64], 1
lea ecx, [ebp - 0xa24]
call fcn.0045fc70
lea ecx, [ebp - 0xa20]
call fcn.0045fc70
mov eax, dword [ebp - 0xa64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret