Function at 0x403840
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x2804]
mov eax, 0x2804
call fcn.00432230
push 0xffffffffffffffff
push 0x449b78
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x464ca0]
xor eax, ebp
mov dword [ebp + 0x2800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x280c]
mov esi, dword [ebp + 0x2810]
mov dword [ebp - 0x2c], edi
call fcn.0040c139
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4038a9
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x18], ebx
push esi
mov dword [ebp - 4], 0
call fcn.00408130
add esp, 4
test eax, eax
je 0x4038df
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.0040c88c
push 0
push 0x1001
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040cd0b
test eax, eax
jne 0x4039a3
call fcn.0040c139
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40391d
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
push 0x44e924
push ecx
mov byte [ebp - 4], 2
call fcn.004033e0
mov esi, dword [ebp - 0x14]
push esi
call fcn.004084a0
lea eax, [esi - 0x10]
add esp, 0x10
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40396b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040c999
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403bc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x403bc2
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x48]
call fcn.0040d7b5
push 0
push 0
push 1
push 1
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.0040e0d8
mov esi, eax
test esi, esi
jne 0x403aad
push 0x44e91c
lea ecx, [ebp - 0x30]
call fcn.004036a0
push edi
push eax
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 5
call fcn.00403590
add esp, 0xc
push 0x44e910
push eax
lea edx, [ebp - 0x14]
mov bl, 6
push edx
mov byte [ebp - 4], bl
call fcn.00403590
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00403320
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x18]
push esi
call fcn.004084a0
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0040de41
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040c999
lea eax, [esi - 0x10]
jmp 0x40397a
push 0x27ff
lea ecx, [ebp + 1]
push 0
push ecx
mov byte [ebp], 0
call fcn.004317a0
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
add esp, 0xc
push 0x2800
lea eax, [ebp]
push eax
mov ecx, esi
call edx
mov edi, eax
push edi
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c5da
cmp edi, 0x2800
jae 0x403aad
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
mov ecx, esi
call eax
lea ecx, [ebp - 0x28]
call fcn.0040c82a
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 1
call fcn.0040de41
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040c999
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x403bc4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2800]
xor ecx, ebp
call fcn.00432214
add ebp, 0x2804
mov esp, ebp
pop ebp
ret 8