Function at 0x440c50
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b88d4
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x4f52c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4f4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f4f18
call edx
add eax, 0x10
mov dword [ebp - 0x834], eax
mov dword [ebp - 4], 0
mov eax, dword [0x4f4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f4f18
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x838], edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x82e]
mov byte [ebp - 4], 1
push ecx
mov word [ebp - 0x830], ax
call fcn.0049dad0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 1
push 0x10
lea edx, [ebp - 0x830]
push edx
push 0
call esi
test eax, eax
je 0x440dcd
lea eax, [ebp - 0x830]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440d00
sub eax, edx
lea ecx, [ebp - 0x830]
sar eax, 1
push ecx
lea edx, [ebp - 0x834]
push edx
mov ebx, eax
call fcn.00401c50
mov eax, dword [ebp - 0x834]
cmp dword [eax - 0xc], 0
je 0x440dcd
lea ecx, [ebp - 0x834]
push ecx
lea edx, [ebp - 0x83c]
push edx
mov ebx, 0x4c891c
call fcn.00404180
push eax
lea eax, [ebp - 0x840]
push eax
mov ebx, 0x4d4060
mov byte [ebp - 4], 2
call fcn.00404180
add esp, 0x10
lea edi, [ebp - 0x838]
mov byte [ebp - 4], 3
call fcn.00404260
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x840]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440d9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440dc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x838]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x626]
push edx
mov word [ebp - 0x628], cx
call fcn.0049dad0
add esp, 0xc
push 1
push 0x19
lea eax, [ebp - 0x628]
push eax
push 0
call esi
test eax, eax
je 0x440ecd
lea eax, [ebp - 0x628]
lea edx, [eax + 2]
jmp 0x440e10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440e10
sub eax, edx
lea ecx, [ebp - 0x628]
sar eax, 1
push ecx
lea edx, [ebp - 0x834]
push edx
mov ebx, eax
call fcn.00401c50
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x840]
push ecx
mov ebx, 0x4c891c
call fcn.00404180
push eax
lea edx, [ebp - 0x83c]
push edx
mov ebx, 0x4d4060
mov byte [ebp - 4], 4
call fcn.00404180
add esp, 0x10
lea edi, [ebp - 0x838]
mov byte [ebp - 4], 5
call fcn.00404260
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440e9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x840]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440ec0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x838]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41e]
push edx
mov word [ebp - 0x420], cx
call fcn.0049dad0
add esp, 0xc
push 1
push 0
lea eax, [ebp - 0x420]
push eax
push 0
call esi
test eax, eax
je 0x440fdd
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
jmp 0x440f10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440f10
sub eax, edx
lea ecx, [ebp - 0x420]
sar eax, 1
push ecx
lea edx, [ebp - 0x834]
push edx
mov ebx, eax
call fcn.00401c50
mov eax, dword [ebp - 0x834]
cmp dword [eax - 0xc], 0
je 0x440fdd
lea ecx, [ebp - 0x834]
push ecx
lea edx, [ebp - 0x840]
push edx
mov ebx, 0x4c891c
call fcn.00404180
push eax
lea eax, [ebp - 0x83c]
push eax
mov ebx, 0x4d4060
mov byte [ebp - 4], 6
call fcn.00404180
add esp, 0x10
lea edi, [ebp - 0x838]
mov byte [ebp - 4], 7
call fcn.00404260
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440faa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x840]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440fd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x838]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.0049dad0
add esp, 0xc
push 1
push 0x17
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x441165
mov ecx, dword [ebp - 0x834]
cmp dword [ecx - 0xc], 0
je 0x441165
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
jmp 0x441030
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441030
sub eax, edx
lea edx, [ebp - 0x218]
sar eax, 1
push edx
lea ecx, [ebp - 0x834]
push ecx
mov ebx, eax
call fcn.00401c50
lea edx, [ebp - 0x834]
push edx
lea eax, [ebp - 0x848]
push eax
mov ebx, 0x4c891c
call fcn.00404180
push eax
lea ecx, [ebp - 0x844]
push ecx
mov ebx, 0x4d4078
mov byte [ebp - 4], 8
call fcn.00404180
push eax
lea edx, [ebp - 0x840]
push edx
mov ebx, 0x4c891c
mov byte [ebp - 4], 9
call fcn.00404180
push eax
lea eax, [ebp - 0x83c]
push eax
mov ebx, 0x4d4060
mov byte [ebp - 4], 0xa
call fcn.00404180
add esp, 0x20
lea edi, [ebp - 0x838]
mov byte [ebp - 4], 0xb
call fcn.00404260
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4410e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x840]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44110c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x844]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441132
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x848]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441158
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x838]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441185
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x834]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4411ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049908b
mov esp, ebp
pop ebp
ret