Function at 0x1001687f
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040d28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
xor eax, eax
mov al, byte [0x100478d9]
test eax, eax
jne 0x10016af6
mov ecx, dword [0x10001a60]
mov dword [ebp - 0x120], ecx
mov edx, dword [0x10001a64]
mov dword [ebp - 0x11c], edx
mov al, byte [0x10001a68]
mov byte [ebp - 0x118], al
mov byte [ebp - 0x11d], 0x32
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x130]
push edx
call fcn.1001a8b0
add esp, 8
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x178], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x178]
call fcn.1000b4a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.10008ea0
mov dword [ebp - 0x114], 1
jmp 0x10016944
mov ecx, dword [ebp - 0x114]
sub ecx, 1
mov dword [ebp - 0x114], ecx
cmp dword [ebp - 0x114], 0
jl 0x10016a2a
mov edx, dword [ebp - 0x114]
add edx, 0x30
mov byte [ebp - 0x11d], dl
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x140]
push ecx
call fcn.1001a8b0
add esp, 8
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x180]
call fcn.1000b4a0
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.100276c0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.10008ea0
mov cl, byte [ebp - 0x11d]
add cl, 1
mov byte [ebp - 0x11d], cl
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x150]
push eax
call fcn.1001a8b0
add esp, 8
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x188], ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x188]
call fcn.1000b4a0
push eax
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.10008ea0
jmp 0x10016935
push 0x10001a6c
lea eax, [ebp - 0x160]
push eax
call fcn.1001a8b0
add esp, 8
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x190], ecx
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x190]
call fcn.1000b4a0
push eax
lea edx, [ebp - 0x110]
push edx
call fcn.100276c0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.10008ea0
push 0x10001a7c
lea eax, [ebp - 0x170]
push eax
call fcn.1001a8b0
add esp, 8
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x198], ecx
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x198]
call fcn.1000b4a0
push eax
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.10008ea0
push 2
lea eax, [ebp - 0x110]
push eax
mov ecx, 0x100475a8
call fcn.1001bee0
mov byte [0x100478d9], 1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0xc]
mov dl, byte [ecx]
mov byte [ebp - 0x10], dl
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov byte [eax], 0
push 0x1001b250
mov ecx, dword [ebp + 8]
push ecx
push 0x100475a8
call fcn.1000a640
add esp, 8
mov ecx, eax
call fcn.1001b5e0
mov edx, dword [ebp + 8]
add edx, dword [ebp + 0xc]
mov al, byte [ebp - 0x10]
mov byte [edx], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret