Function at 0x4015c3
Capabilities:
Delete file
Move file

Disassembly:
jmp 0x404c92
push ebp
lea ebp, [esp - 0x1454]
mov eax, 0x1454
call fcn.0040c150
push 0xffffffffffffffff
push 0x439a0a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4481f4]
xor eax, ebp
mov dword [ebp + 0x1450], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00401460
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004010b9
push 0x104
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00401375
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x43f9bc
push eax
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0040150a
push dword [ebp - 0x18]
call fcn.0040235f
test eax, eax
pop ecx
je 0x404ea8
push 0x40
push 0x43fa88
push dword [ebp - 0x18]
call fcn.0040c020
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x404e39
push 0x144e
lea eax, [ebp + 2]
push ebx
push eax
mov word [ebp], bx
call fcn.0040d8b0
mov esi, 0x43fa30
add esp, 0xc
push dword [ebp - 0x20]
lea eax, [ebp]
push 0xa28
push eax
call fcn.0040d95c
add esp, 0xc
test eax, eax
je 0x404e30
lea eax, [ebp]
push eax
call fcn.0040afb6
test eax, eax
pop ecx
je 0x404e1c
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.004013ca
push esi
push 0x43fa84
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00401109
push esi
push 0x43fa80
lea ecx, [ebp - 0x14]
call fcn.00401109
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
je 0x404e0d
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x43f94c
call fcn.004013ca
lea eax, [ebp - 0x14]
push eax
call fcn.004013b6
cmp al, bl
pop ecx
pop ecx
je 0x404e0d
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
je 0x404e0d
push ebx
push 0x43fa68
lea ecx, [ebp - 0x14]
call fcn.00401140
test eax, eax
jne 0x404e0d
mov ecx, dword [ebp - 0x24]
push ebx
push dword [ebp - 0x14]
call fcn.0040101e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401050
push 0x208
lea eax, [ebp]
push ebx
push eax
call fcn.0040d8b0
jmp 0x404d63
push dword [ebp - 0x20]
call fcn.0040bdc3
pop ecx
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
cmp eax, ebx
jne 0x404ea8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004010b9
push 0x104
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00401375
push 0x43fa34
push eax
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0040150a
mov edi, dword [ebp - 0x14]
push edi
call fcn.0040235f
test eax, eax
pop ecx
je 0x404e88
push edi
call esi
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push edi
call fcn.0040235f
test eax, eax
pop ecx
je 0x404ea0
push edi
call esi
lea ecx, [edi - 0x10]
call fcn.00401050
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401050
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401050
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1450]
xor ecx, ebp
call fcn.0040bc38
add ebp, 0x1454
leave
ret