Function at 0x100829f0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e8bc1
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x102683e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x2dc], ebx
mov edi, ecx
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 3
xor eax, eax
mov dword [ebp - 0x44], 7
push 0x102285e8
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.10003c10
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
mov edx, edi
lea ecx, [ebp - 0xa0]
call fcn.100636d0
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x44], 8
jb 0x10082aa3
push dword [ebp - 0x58]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0x2d0]
mov word [ebp - 0x58], ax
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
push ecx
push eax
mov dword [ebp - 0x48], 0
call fcn.101acd32
add esp, 8
mov dword [ebp - 0x2d8], eax
test eax, eax
jns 0x10082aec
xor esi, esi
jmp 0x10082d82
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, 0x102285f0
lea eax, [ebp - 0x2ac]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10082b26
test dx, dx
je 0x10082b22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10082b26
add eax, 4
add ecx, 4
test dx, dx
jne 0x10082b00
xor eax, eax
jmp 0x10082b2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10082d43
mov ecx, 0x102285f4
lea eax, [ebp - 0x2ac]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10082b66
test dx, dx
je 0x10082b62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10082b66
add eax, 4
add ecx, 4
test dx, dx
jne 0x10082b40
xor eax, eax
jmp 0x10082b6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10082d43
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
cmp word [ebp - 0x2ac], ax
jne 0x10082b94
xor ecx, ecx
jmp 0x10082baf
lea ecx, [ebp - 0x2ac]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10082ba0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x70]
call fcn.10003c10
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.100636d0
add esp, 4
mov byte [ebp - 4], 6
cmp dword [ebp - 0x5c], 8
jb 0x10082be9
push dword [ebp - 0x70]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
test byte [ebp - 0x2d0], 0x10
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jne 0x10082dfd
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
cmp esi, edi
je 0x10082d0a
jmp 0x10082c20
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.100040d0
mov byte [ebp - 4], 7
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
cmp word [ebp - 0x2ac], ax
je 0x10082c7f
lea eax, [ebp - 0x2ac]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10082c70
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x88]
call fcn.10003c10
mov byte [ebp - 4], 8
mov ebx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x30]
cmp ebx, edx
jae 0x10082ca4
xor bl, bl
jmp 0x10082cce
or ecx, 0xffffffff
lea eax, [ebp - 0x40]
cmp edx, 0xffffffff
cmovb ecx, edx
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x88]
push eax
push edx
sub ebx, edx
push ebx
call fcn.1001fb30
test eax, eax
sete bl
cmp dword [ebp - 0x74], 8
jb 0x10082ce2
push dword [ebp - 0x88]
call fcn.101a02f0
add esp, 4
test bl, bl
jne 0x10082db7
mov byte [ebp - 4], 6
cmp dword [ebp - 0x2c], 8
jb 0x10082cff
push dword [ebp - 0x40]
call fcn.101a02f0
add esp, 4
add esi, 0x18
cmp esi, edi
jne 0x10082c20
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmovae eax, dword [ebp - 0x28]
push 4
push 0
push eax
call esi
mov edi, dword [ebp - 0x2d4]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 8
jb 0x10082d3d
push dword [ebp - 0x28]
call fcn.101a02f0
add esp, 4
mov ebx, dword [ebp - 0x2dc]
lea eax, [ebp - 0x2d0]
push eax
push dword [ebp - 0x2d8]
call fcn.101ace59
add esp, 8
test eax, eax
je 0x10082af2
push dword [ebp - 0x2d8]
call fcn.101ad065
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x10082d76
mov edi, dword [edi]
push 4
push 0
push edi
call esi
mov esi, 1
cmp dword [ebp - 0x8c], 8
jb 0x10082d99
push dword [ebp - 0xa0]
call fcn.101a02f0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101a0193
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x2c], 8
jb 0x10082dc8
push dword [ebp - 0x40]
call fcn.101a02f0
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10082d22
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 4
cmovae eax, dword [ebp - 0x28]
push 0
push eax
jmp 0x10082d20
mov edx, ebx
lea ecx, [ebp - 0x28]
call fcn.100829f0
jmp 0x10082d28