Function at 0x464760
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468fe2
mov eax, dword fs:[0]
push eax
mov eax, 0x26840
call fcn.0042d610
mov eax, dword [0x47c170]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x26838], ecx
push 0x476174
lea ecx, [ebp - 0x267a0]
call fcn.00402250
mov dword [ebp - 4], 0
lea eax, [ebp - 0x267a0]
push eax
mov ecx, dword [ebp - 0x26838]
mov edx, dword [ecx + 0x514]
mov eax, dword [ebp - 0x26838]
mov ecx, dword [eax + 0x514]
mov edx, dword [edx]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x26718], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x267a0]
call fcn.00401180
cmp dword [ebp - 0x26718], 0
jne 0x4647fc
xor eax, eax
jmp 0x464fca
push 0x47617c
lea ecx, [ebp - 0x8e0]
call fcn.00402250
mov dword [ebp - 4], 1
push 0x476180
lea ecx, [ebp - 0x254]
call fcn.00402250
mov byte [ebp - 4], 2
push str.RunExe
lea ecx, [ebp - 0x267bc]
call fcn.00402250
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x267bc]
push ecx
mov edx, dword [ebp - 0x26838]
mov eax, dword [edx + 0x514]
mov ecx, dword [ebp - 0x26838]
mov ecx, dword [ecx + 0x514]
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x8e4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x267bc]
call fcn.00401180
cmp dword [ebp - 0x8e4], 0
je 0x464896
mov ecx, dword [ebp - 0x8e4]
call fcn.00401200
push eax
lea ecx, [ebp - 0x8e0]
call fcn.004011c0
push str.RunParam
lea ecx, [ebp - 0x267d8]
call fcn.00402250
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x267d8]
push ecx
mov edx, dword [ebp - 0x26838]
mov eax, dword [edx + 0x514]
mov ecx, dword [ebp - 0x26838]
mov ecx, dword [ecx + 0x514]
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x26728], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x267d8]
call fcn.00401180
cmp dword [ebp - 0x26728], 0
je 0x464905
mov ecx, dword [ebp - 0x26728]
call fcn.00401200
push eax
lea ecx, [ebp - 0x254]
call fcn.004011c0
call fcn.00409bc0
mov ecx, eax
call fcn.00466140
push 0x4761a8
lea ecx, [ebp - 0x238]
call fcn.00402250
mov byte [ebp - 4], 5
cmp dword [ebp - 0x26718], 0
je 0x464945
mov ecx, dword [ebp - 0x26718]
call fcn.00401200
push eax
lea ecx, [ebp - 0x238]
call fcn.004011c0
push 0
push 0
push 0x468
call fcn.00409bc0
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.00415da0
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x238]
call fcn.00401200
push eax
call fcn.0045e120
add esp, 8
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x58c]
call fcn.00402250
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58c]
push ecx
mov edx, dword [ebp - 0x26838]
add edx, 0x354
push edx
lea eax, [ebp - 0x5a8]
push eax
call fcn.0040bdb0
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5a8]
call fcn.00401200
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464a03
lea ecx, [ebp - 0x5a8]
call fcn.00401200
push eax
call fcn.0045e990
add esp, 4
mov ecx, dword [ebp - 0x26838]
add ecx, 0x354
push ecx
lea edx, [ebp - 0x570]
push edx
call fcn.0045eba0
add esp, 8
mov byte [ebp - 4], 8
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x267f4]
push ecx
call fcn.0045eba0
add esp, 8
mov dword [ebp - 0x2683c], eax
mov ecx, dword [ebp - 0x2683c]
call fcn.004032a0
push eax
lea edx, [ebp - 0x554]
push edx
call fcn.00415900
add esp, 8
lea ecx, [ebp - 0x267f4]
call fcn.004023d0
lea ecx, [ebp - 0x570]
call fcn.004032a0
push eax
lea eax, [ebp - 0x354]
push eax
call fcn.00415900
add esp, 8
lea ecx, [ebp - 0x26714]
call fcn.00467680
mov byte [ebp - 4], 9
sub esp, 0x300
mov ecx, 0xc0
lea esi, [ebp - 0x554]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x26714]
call fcn.00467920
lea ecx, [ebp - 0x26714]
call fcn.00467630
lea ecx, [ebp - 0x8c4]
call fcn.00401cd0
fldz
fstp qword [ebp - 0x26724]
mov ecx, 1
test ecx, ecx
je 0x464bf1
lea ecx, [ebp - 0x26714]
call fcn.00467310
test eax, eax
je 0x464b66
lea edx, [ebp - 0x8c4]
push edx
lea ecx, [ebp - 0x26714]
call fcn.00466f20
fld qword [ebp - 0x5b4]
fstp qword [ebp - 0x26724]
fld qword [ebp - 0x26724]
fdiv qword [ebp - 0x5bc]
mov eax, dword [ebp - 0x26838]
fstp dword [eax + 0x51c]
mov ecx, dword [ebp - 0x26838]
fld dword [ecx + 0x51c]
fmul qword [0x476e50]
call fcn.00459e50
mov dword [ebp - 0x2672c], eax
mov edx, dword [ebp - 0x2672c]
push edx
push 0
push 0x465
call fcn.00409bc0
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x26714]
call fcn.004672f0
test eax, eax
je 0x464bec
lea eax, [ebp - 0x8c4]
push eax
lea ecx, [ebp - 0x26714]
call fcn.00466f20
fld qword [ebp - 0x5b4]
fstp qword [ebp - 0x26724]
fld qword [ebp - 0x26724]
fdiv qword [ebp - 0x5bc]
mov ecx, dword [ebp - 0x26838]
fstp dword [ecx + 0x51c]
mov edx, dword [ebp - 0x26838]
fld dword [edx + 0x51c]
fmul qword [0x476e50]
call fcn.00459e50
mov dword [ebp - 0x26730], eax
mov eax, dword [ebp - 0x26730]
push eax
push 0
push 0x465
call fcn.00409bc0
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x464bf1
jmp 0x464acd
fld qword [ebp - 0x5bc]
fcomp qword [ebp - 0x26724]
fnstsw ax
test ah, 0x44
jp 0x464c17
fldz
fcomp qword [ebp - 0x26724]
fnstsw ax
test ah, 0x44
jp 0x464cc8
mov ecx, dword [ebp - 0x26838]
fld1
fstp dword [ecx + 0x51c]
push 0x64
push 0
push 0x467
call fcn.00409bc0
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x267f8], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x26714]
call fcn.00467330
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x570]
call fcn.004023d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5a8]
call fcn.00401180
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58c]
call fcn.00401180
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x238]
call fcn.00401180
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.00401180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8e0]
call fcn.00401180
mov eax, dword [ebp - 0x267f8]
jmp 0x464fca
push 0x64
push 0
push 0x465
call fcn.00409bc0
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x4761ac
lea ecx, [ebp - 0x2674c]
call fcn.00402250
mov byte [ebp - 4], 0xa
mov edx, dword [0x4769ec]
push edx
push 0x2e
lea ecx, [ebp - 0x58c]
call fcn.0040a150
push eax
push 0
lea eax, [ebp - 0x26814]
push eax
lea ecx, [ebp - 0x58c]
call fcn.0040a170
mov dword [ebp - 0x26840], eax
mov ecx, dword [ebp - 0x26840]
mov dword [ebp - 0x26844], ecx
mov byte [ebp - 4], 0xb
push str..exe
mov edx, dword [ebp - 0x26844]
push edx
lea eax, [ebp - 0x26768]
push eax
call fcn.0040be40
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x26814]
call fcn.00401180
push 0x4761bc
lea ecx, [ebp - 0x8e0]
push ecx
call fcn.0040bed0
add esp, 8
movzx edx, al
test edx, edx
je 0x464d8f
lea eax, [ebp - 0x8e0]
push eax
lea ecx, [ebp - 0x26768]
call fcn.004011a0
lea ecx, [ebp - 0x26768]
push ecx
mov edx, dword [ebp - 0x26838]
add edx, 0x354
push edx
lea eax, [ebp - 0x26830]
push eax
call fcn.0040bdb0
add esp, 0xc
mov dword [ebp - 0x26848], eax
mov ecx, dword [ebp - 0x26848]
mov dword [ebp - 0x2684c], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x2684c]
push edx
lea ecx, [ebp - 0x2674c]
call fcn.004011a0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x26830]
call fcn.00401180
lea ecx, [ebp - 0x2674c]
call fcn.00401200
push eax
lea ecx, [ebp - 0x5a8]
call fcn.00401200
push eax
call fcn.0045df40
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x2674c]
call fcn.00401200
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464ef6
lea ecx, [ebp - 0x2674c]
call fcn.00401200
push eax
call fcn.0045dc60
add esp, 4
test eax, eax
je 0x464ef6
push 0x4761c0
lea eax, [ebp - 0x254]
push eax
call fcn.0040bef0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x464e7b
lea ecx, [ebp - 0x2674c]
call fcn.00401200
push eax
call fcn.0045e3f0
add esp, 4
jmp 0x464ef6
push 0x4761c4
lea ecx, [ebp - 0x26784]
call fcn.00402250
mov byte [ebp - 4], 0xf
push 0x4761c8
lea ecx, [ebp - 0x26784]
call fcn.004011e0
lea edx, [ebp - 0x2674c]
push edx
lea ecx, [ebp - 0x26784]
call fcn.0040a100
push 0x4761cc
lea ecx, [ebp - 0x26784]
call fcn.004011e0
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x26784]
call fcn.0040a100
lea ecx, [ebp - 0x26784]
call fcn.00401200
push eax
call fcn.0045e3f0
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x26784]
call fcn.00401180
push 0
push 0
push 0x466
call fcn.00409bc0
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x2674c]
call fcn.00401200
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x26768]
call fcn.00401180
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2674c]
call fcn.00401180
mov dword [ebp - 0x26834], 1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x26714]
call fcn.00467330
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x570]
call fcn.004023d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5a8]
call fcn.00401180
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58c]
call fcn.00401180
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x238]
call fcn.00401180
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.00401180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8e0]
call fcn.00401180
mov eax, dword [ebp - 0x26834]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004157fe
mov esp, ebp
pop ebp
ret