Function at 0x457460
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d375
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x4a0b70]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0xac]
call fcn.0041d4ed
push 1
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x74]
push ecx
mov ecx, dword [ebp - 0xac]
call fcn.00404240
push 0
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp - 0xac]
call fcn.00404240
mov ecx, dword [ebp - 0xac]
call fcn.00404210
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4575cb
lea ecx, [ebp - 0x7c]
push ecx
push 0x5c
mov ecx, dword [ebp - 0x10]
call fcn.004041d0
mov dword [ebp - 0x6c], 0x2bc
mov edx, dword [ebp - 0x7c]
sub edx, 4
mov dword [ebp - 0x7c], edx
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0xac]
add ecx, 0x78
call fcn.004041b0
push 0x3ec
mov ecx, dword [ebp - 0xac]
call fcn.00414087
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4575cb
mov ecx, dword [ebp - 0x18]
call fcn.004033f0
test eax, eax
je 0x4575cb
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4575cb
push 1
mov eax, dword [ebp - 0xac]
add eax, 0x78
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00404180
lea ecx, [ebp - 0x80]
call fcn.004051c0
mov dword [ebp - 4], 0
push 0x47e714
lea ecx, [ebp - 0xa4]
call fcn.00401ee0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0xa4]
push edx
mov ecx, 0x4a4b78
call fcn.0045de70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00405260
lea ecx, [ebp - 0x80]
call fcn.00401fc0
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004141c7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00405260
mov ecx, 0x4a4b78
call fcn.00403100
mov ecx, eax
call fcn.00401fc0
push eax
mov ecx, dword [ebp - 0xac]
call fcn.004141c7
push 2
mov ecx, dword [ebp - 0xac]
call fcn.00414087
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x457696
mov ecx, dword [ebp - 0x14]
call fcn.004033f0
test eax, eax
je 0x457696
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x457696
lea ecx, [ebp - 0x84]
call fcn.004051c0
mov dword [ebp - 4], 2
push 0x47e730
lea ecx, [ebp - 0xa8]
call fcn.00401ee0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0xa8]
push eax
mov ecx, 0x4a4b78
call fcn.0045de70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
call fcn.00405260
lea ecx, [ebp - 0x84]
call fcn.00401fc0
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004141c7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00405260
push 1
mov ecx, dword [ebp - 0xac]
add ecx, 0x88
call fcn.00406690
mov ecx, dword [ebp - 0xac]
add ecx, 0x88
call fcn.00406630
or eax, 0x4000000
push eax
mov ecx, dword [ebp - 0xac]
add ecx, 0x88
call fcn.00406660
mov ecx, dword [ebp - 0xac]
add ecx, 0x80
call fcn.00403350
movzx ecx, al
test ecx, ecx
jne 0x45777a
push 0
mov ecx, dword [ebp - 0xac]
add ecx, 0x80
call fcn.00401fc0
push eax
lea ecx, [ebp - 0x94]
call fcn.00411093
mov dword [ebp - 4], 4
lea edx, [ebp - 0x94]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x98], 0x457270
lea eax, [ebp - 0xa0]
push eax
push 1
mov ecx, dword [ebp - 0xac]
add ecx, 0x88
call fcn.00406600
lea ecx, [ebp - 0x94]
call fcn.00410a42
mov ecx, dword [ebp - 0xac]
add ecx, 0x80
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00410b83
jmp 0x4577b5
mov ecx, dword [ebp - 0xac]
add ecx, 0x84
call fcn.00403350
movzx ecx, al
test ecx, ecx
jne 0x4577b5
mov ecx, dword [ebp - 0xac]
add ecx, 0x84
call fcn.00401fc0
push eax
mov ecx, dword [ebp - 0xac]
add ecx, 0x88
call fcn.004141c7
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042e0e3
mov esp, ebp
pop ebp
ret