Function at 0x403f80
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41ba71
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x426008]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x426008]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x6c], 0
xor eax, eax
mov esi, dword [esp + 0x74]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x6c], 1
lea eax, [esp + 0x18]
push eax
call fcn.00403db0
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
cmp ebx, ebp
je 0x404043
mov ecx, ebp
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
lea eax, [eax - 3]
lea eax, [ebx + eax*8]
cmp esi, eax
je 0x404043
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00402d50
cmp dword [esi + 0x10], 0
je 0x40424b
xorps xmm0, xmm0
mov byte [esp + 0x17], 0
push esi
lea ecx, [esp + 0x48]
movdqu xmmword [esp + 0x48], xmm0
call fcn.0040b4f0
test al, al
je 0x4041b3
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jl 0x4041b3
jg 0x4040ad
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jl 0x4041b3
jg 0x4040ad
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jl 0x4041b3
jg 0x4040ad
mov eax, dword [edi + 0x24]
cmp dword [esp + 0x50], eax
jl 0x4041b3
xor eax, eax
mov dword [esp + 0x3c], 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x48], 0
lea ecx, [esp + 0x34]
push edi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
call fcn.00402d50
mov byte [esp + 0x6c], 2
cmp dword [esp + 0x3c], 0
je 0x404158
push str.Application
lea ecx, [esp + 0x30]
call fcn.004050b0
push 0x422780
lea ecx, [esp + 0x30]
call fcn.004050b0
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x38]
call fcn.00405700
push 0x422780
lea ecx, [esp + 0x30]
call fcn.004050b0
lea eax, [esp + 0x2c]
cmp eax, esi
je 0x404151
push esi
mov ecx, eax
call fcn.004054c0
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x40], eax
mov dword [esi + 0x14], ecx
mov byte [esp + 0x17], 1
jmp 0x404170
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x404169
mov eax, dword [esi]
jmp 0x40416b
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov byte [esp + 0x6c], 1
cmp dword [esp + 0x40], 8
jb 0x404188
push dword [esp + 0x2c]
call fcn.0040eef6
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp byte [esp + 0x17], al
je 0x4041b3
push esi
call fcn.004043b0
test al, al
jne 0x404252
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4041c4
mov eax, dword [esi]
jmp 0x4041c6
mov eax, esi
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.00403d00
mov byte [esp + 0x6c], 4
cmp dword [esp + 0x54], 0
je 0x40421a
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
push 0
cmovae eax, dword [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40421a
mov ecx, edi
call fcn.004042b0
mov byte [esp + 0x6c], 1
cmp dword [esp + 0x58], 8
jb 0x404232
push dword [esp + 0x44]
call fcn.0040eef6
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
jmp 0x404252
mov ecx, edi
call fcn.004042b0
mov byte [esp + 0x6c], 0
test ebx, ebx
je 0x404283
push ebp
push ebx
call fcn.004055b0
push ebx
call fcn.0040eef6
add esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0040e73a
add esp, 0x5c
ret 4