Function at 0x1002ab40
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100954bd
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x100b84c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor eax, eax
mov word [ebp - 0x98], ax
push 0x7e
push eax
lea eax, [ebp - 0x96]
push eax
call fcn.10073e30
add esp, 0xc
call fcn.10004850
push eax
push 0x100a7654
push 0x40
lea eax, [ebp - 0x98]
push eax
call fcn.10022540
add esp, 0x10
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
xor eax, eax
mov word [ebp - 0xb0], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xe0]
call fcn.10028070
mov byte [ebp - 4], 1
mov edx, eax
lea ecx, [ebp - 0xc8]
call fcn.1001f4e0
mov byte [ebp - 4], 3
cmp dword [ebp - 0xcc], 0x10
jb 0x1002ac15
push dword [ebp - 0xe0]
call fcn.1006e29c
add esp, 4
mov dword [ebp - 0xcc], 0xf
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0xe0], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0xc8]
mov edi, dword [ebp - 0xb4]
cmp edi, 8
cmovae eax, dword [ebp - 0xc8]
push dword [ebp - 0xb8]
push 0
push eax
mov ecx, esi
call fcn.100207a0
mov edx, eax
cmp edx, 0xffffffff
je 0x1002acdd
lea ecx, [ebp - 0xc8]
cmp edi, 8
cmovae ecx, dword [ebp - 0xc8]
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002ac74
sub ecx, edi
sar ecx, 1
lea eax, [ecx + edx]
push eax
push 0
lea eax, [ebp - 0xf8]
push eax
mov ecx, esi
call fcn.10013820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x98]
push ecx
mov edx, eax
lea ecx, [ebp - 0xe0]
call fcn.10019500
add esp, 4
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xb0]
call fcn.10013690
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe0]
call fcn.100136d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
jmp 0x1002ad38
lea eax, [ebp - 0xc8]
push eax
mov edx, esi
lea ecx, [ebp - 0xe0]
call fcn.10019610
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
push ecx
mov edx, eax
lea ecx, [ebp - 0xf8]
call fcn.10019500
add esp, 4
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xb0]
call fcn.10013690
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf8]
call fcn.100136d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe0]
call fcn.100136d0
mov dword [ebp - 4], 3
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
cmovae eax, dword [ebp - 0xb0]
cmp dword [esi + 0x14], 8
jb 0x1002ad60
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1002ad8f
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
cmovae eax, dword [ebp - 0xb0]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1002ae07
mov byte [ebp - 4], 0
cmp dword [ebp - 0xb4], 8
jb 0x1002adaa
push dword [ebp - 0xc8]
call fcn.1006e29c
add esp, 4
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], 0
xor eax, eax
mov word [ebp - 0xc8], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x9c], 8
jb 0x1002ade5
push dword [ebp - 0xb0]
call fcn.1006e29c
add esp, 4
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
xor eax, eax
mov word [ebp - 0xb0], ax
jmp 0x1002aea8
mov byte [ebp - 4], 0
cmp dword [ebp - 0xb4], 8
jb 0x1002ae22
push dword [ebp - 0xc8]
call fcn.1006e29c
add esp, 4
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], 0
xor eax, eax
mov word [ebp - 0xc8], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x9c], 8
jb 0x1002ae5d
push dword [ebp - 0xb0]
call fcn.1006e29c
add esp, 4
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
xor eax, eax
mov word [ebp - 0xb0], ax
mov al, 1
jmp 0x1002aeaa
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006e28d
mov esp, ebp
pop ebp
ret