Function at 0x419380
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477bf5
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x48f120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x18]
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00418d10
add esp, 0xc
test al, al
jne 0x4193f0
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
sub esp, 8
mov eax, esp
mov dword [eax], 0x479497
mov dword [eax + 4], 0
call fcn.00419600
add esp, 0x1c
jmp 0x4195d6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xec]
mov dword [ebp - 0xa4], 0x47bac0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0xa0], 5
push eax
call fcn.00443b80
add esp, 0xc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
push dword [ebp + 8]
sub esp, 8
mov eax, esp
mov dword [eax], 0x479497
mov dword [eax + 4], 0
call fcn.00419600
add esp, 0x1c
test al, al
jne 0x419489
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x17d], 0
jmp 0x4195c8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x134], str..old
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x130], 4
push eax
call fcn.00443b80
add esp, 0xc
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
call esi
cmp eax, 1
je 0x41953d
sub esp, 8
mov eax, esp
mov dword [eax], 0x479498
mov dword [eax + 4], 0
lea eax, [ebp - 0x5c]
push eax
call fcn.00419220
add esp, 0xc
mov esi, eax
mov ecx, edi
push esi
call fcn.00406960
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0x5c]
mov dword [edi + 0x18], eax
call fcn.004063e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x17d], 0
jmp 0x4195c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp + 0x10]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
cmp eax, 1
je 0x4195a7
sub esp, 8
mov eax, esp
mov dword [eax], 0x479498
mov dword [eax + 4], 0
lea eax, [ebp - 0x5c]
push eax
call fcn.00419220
add esp, 0xc
mov esi, eax
mov ecx, edi
push esi
call fcn.00406960
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0x5c]
mov dword [edi + 0x18], eax
call fcn.004063e0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp + 0x10]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov byte [ebp - 0x17d], 0
jmp 0x4195c0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x17d], 1
lea ecx, [ebp - 0x40]
call fcn.004063e0
lea ecx, [ebp - 0x28]
call fcn.004063e0
mov al, byte [ebp - 0x17d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004481b5
mov esp, ebp
pop ebp
ret