Function at 0x410f1b
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push 0x29c
mov eax, 0x58c178
call fcn.0055fbd8
mov esi, dword [ebp + 8]
push esi
call fcn.00411448
pop ecx
test al, al
je 0x4111e8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4111e8
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00565ca0
add esp, 0xc
lea ecx, [ebp - 0x260]
push 0x60af24
call fcn.00402f50
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.004129e6
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.00412bb1
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00412bb1
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 3
push eax
call fcn.0040ff7e
lea eax, [ebp - 0x278]
push eax
call fcn.0040ff7e
add esp, 0x20
lea eax, [ebp - 0x290]
lea ecx, [ebp - 0x278]
push eax
call fcn.00403820
test al, al
je 0x411012
lea eax, [ebp - 0x218]
push eax
call fcn.0057175e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.004030d0
jmp 0x411038
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.00412b00
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.00402ec0
lea ecx, [ebp - 0x230]
call fcn.00402e60
xor edi, edi
push 0x60af24
lea ecx, [ebp - 0x230]
call fcn.00402f50
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x230]
call fcn.00402e30
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x230]
push eax
call fcn.004032d0
push 0x5908fc
call fcn.0057175e
pop ecx
push eax
push 0x5908fc
lea ecx, [ebp - 0x230]
call fcn.004032d0
test edi, edi
jle 0x4110e6
mov eax, edi
cdq
push edx
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.004104f6
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 5
jb 0x4110c8
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004032d0
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 4
call fcn.00402e60
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00411448
pop ecx
test al, al
je 0x411142
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x411142
cmp edi, 0xa
jge 0x4111b1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
inc edi
call fcn.00402e60
jmp 0x41103a
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push esi
call fcn.005720d7
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00411448
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 0xc
test al, al
je 0x41119f
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 5
cmovae eax, dword [ebp - 0x230]
push 0
push eax
call edi
push esi
call fcn.00411448
pop ecx
test al, al
je 0x4111b1
push 5
push 0
push esi
call edi
lea ecx, [ebp - 0x230]
call fcn.00402e60
lea ecx, [ebp - 0x278]
call fcn.00402e60
lea ecx, [ebp - 0x290]
call fcn.00402e60
lea ecx, [ebp - 0x248]
call fcn.00402e60
lea ecx, [ebp - 0x260]
call fcn.00402e60
call fcn.0055fb93
ret