Function at 0x44f010
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4629f1
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x494680]
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.00416e59
push 1
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x74]
push ecx
mov ecx, dword [ebp - 0xac]
call fcn.00403e90
push 0
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp - 0xac]
call fcn.00403e90
mov ecx, dword [ebp - 0xac]
call fcn.00403e60
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44f17b
lea ecx, [ebp - 0x7c]
push ecx
push 0x5c
mov ecx, dword [ebp - 0x10]
call fcn.00403e20
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.00403e00
push 0x3ec
mov ecx, dword [ebp - 0xac]
call fcn.0040e48d
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44f17b
mov ecx, dword [ebp - 0x18]
call fcn.00402f10
test eax, eax
je 0x44f17b
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44f17b
push 1
mov eax, dword [ebp - 0xac]
add eax, 0x78
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00403dd0
lea ecx, [ebp - 0x80]
call fcn.00404f90
mov dword [ebp - 4], 0
push 0x472f18
lea ecx, [ebp - 0xa4]
call fcn.00401a60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0xa4]
push edx
mov ecx, 0x498b90
call fcn.00454c10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00405030
lea ecx, [ebp - 0x80]
call fcn.00404b10
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0040e5cd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00405030
mov ecx, 0x498b90
call fcn.00402c10
mov ecx, eax
call fcn.00404b10
push eax
mov ecx, dword [ebp - 0xac]
call fcn.0040e5cd
push 2
mov ecx, dword [ebp - 0xac]
call fcn.0040e48d
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44f246
mov ecx, dword [ebp - 0x14]
call fcn.00402f10
test eax, eax
je 0x44f246
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44f246
lea ecx, [ebp - 0x84]
call fcn.00404f90
mov dword [ebp - 4], 2
push 0x472f34
lea ecx, [ebp - 0xa8]
call fcn.00401a60
mov byte [ebp - 4], 3
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0xa8]
push eax
mov ecx, 0x498b90
call fcn.00454c10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
call fcn.00405030
lea ecx, [ebp - 0x84]
call fcn.00404b10
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0040e5cd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00405030
push 1
mov ecx, dword [ebp - 0xac]
add ecx, 0x88
call fcn.00406480
mov ecx, dword [ebp - 0xac]
add ecx, 0x88
call fcn.00406420
or eax, 0x4000000
push eax
mov ecx, dword [ebp - 0xac]
add ecx, 0x88
call fcn.00406450
mov ecx, dword [ebp - 0xac]
add ecx, 0x80
call fcn.00402e40
movzx ecx, al
test ecx, ecx
jne 0x44f32a
push 0
mov ecx, dword [ebp - 0xac]
add ecx, 0x80
call fcn.00404b10
push eax
lea ecx, [ebp - 0x94]
call fcn.0040a23b
mov dword [ebp - 4], 4
lea edx, [ebp - 0x94]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x98], 0x44ee20
lea eax, [ebp - 0xa0]
push eax
push 1
mov ecx, dword [ebp - 0xac]
add ecx, 0x88
call fcn.004063f0
lea ecx, [ebp - 0x94]
call fcn.00409bea
mov ecx, dword [ebp - 0xac]
add ecx, 0x80
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00409d2b
jmp 0x44f365
mov ecx, dword [ebp - 0xac]
add ecx, 0x84
call fcn.00402e40
movzx ecx, al
test ecx, ecx
jne 0x44f365
mov ecx, dword [ebp - 0xac]
add ecx, 0x84
call fcn.00404b10
push eax
mov ecx, dword [ebp - 0xac]
add ecx, 0x88
call fcn.0040e5cd
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.00427284
mov esp, ebp
pop ebp
ret