Function at 0x10028310
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009df1d
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x100c34c0]
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.1007c850
add esp, 0xc
call fcn.100044f0
push eax
push 0x100adb04
push 0x40
lea eax, [ebp - 0x98]
push eax
call fcn.1001fbd0
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.100258c0
mov byte [ebp - 4], 1
mov edx, eax
lea ecx, [ebp - 0xc8]
call fcn.1001c9c0
mov byte [ebp - 4], 3
cmp dword [ebp - 0xcc], 0x10
jb 0x100283e5
push dword [ebp - 0xe0]
call fcn.10076e4c
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.10012110
mov edx, eax
cmp edx, 0xffffffff
je 0x100284ad
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 0x10028444
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.10010be0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x98]
push ecx
mov edx, eax
lea ecx, [ebp - 0xe0]
call fcn.10024110
add esp, 4
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xb0]
call fcn.10010a30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe0]
call fcn.10010a70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
jmp 0x10028508
lea eax, [ebp - 0xc8]
push eax
mov edx, esi
lea ecx, [ebp - 0xe0]
call fcn.100169e0
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
push ecx
mov edx, eax
lea ecx, [ebp - 0xf8]
call fcn.10024110
add esp, 4
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xb0]
call fcn.10010a30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf8]
call fcn.10010a70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe0]
call fcn.10010a70
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 0x10028530
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1002855f
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 0x100285d7
mov byte [ebp - 4], 0
cmp dword [ebp - 0xb4], 8
jb 0x1002857a
push dword [ebp - 0xc8]
call fcn.10076e4c
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 0x100285b5
push dword [ebp - 0xb0]
call fcn.10076e4c
add esp, 4
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
xor eax, eax
mov word [ebp - 0xb0], ax
jmp 0x10028678
mov byte [ebp - 4], 0
cmp dword [ebp - 0xb4], 8
jb 0x100285f2
push dword [ebp - 0xc8]
call fcn.10076e4c
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 0x1002862d
push dword [ebp - 0xb0]
call fcn.10076e4c
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 0x1002867a
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.10076e3d
mov esp, ebp
pop ebp
ret