Function at 0x1002569a
Capabilities:
Delete file

Disassembly:
push 0x34
mov eax, 0x1005139f
call fcn.1004f931
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ebx, 0x1005b1e8
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.1002721b
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.100271b5
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1002a468
push 3
pop ebx
mov edi, 0x10006b98
mov dword [ebp - 4], ebx
push edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.1002721b
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10027b5a
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1002a468
push dword [ebp + 8]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.1002721b
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10027b5a
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1002a468
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x20]
push 0x10007074
mov byte [ebp - 4], 0xd
call fcn.1002721b
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.100271b5
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1002a468
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0x14]
mov byte [ebp - 4], 0x10
mov esi, dword [esi + 0x140]
mov ecx, esi
call fcn.1001a3d7
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.10027b5a
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x20]
push edi
mov byte [ebp - 4], 0x12
call fcn.1002721b
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x18]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10027b5a
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1002a468
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 0x15
push dword [eax]
call fcn.1002721b
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x18]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10027b5a
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1002a468
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10025864
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10025841
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x10025908
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1002585e
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
js 0x1002590d
mov edi, dword [ebp - 0x18]
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
test eax, eax
jne 0x10025976
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x10025893
movzx eax, ax
or eax, 0x80070000
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x10025976
mov eax, dword [0x1005b1e8]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [0x10060380]
mov ecx, 0x1005b1e8
call ebx
add eax, 0x10
mov dword [ebp - 0x20], eax
push esi
push edi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1b
push 0x1000cc38
push eax
call fcn.10028a40
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
push 0x1000cbd8
push esi
push ebx
push eax
push 0x100071b0
push 1
call fcn.1001b4b3
add esp, 0x1c
lea ecx, [esi - 0x10]
call fcn.1002a468
mov ebx, dword [ebp - 0x14]
jmp 0x10025a90
mov ebx, 0x80004005
mov eax, dword [0x1005b1e8]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call edi
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x19
push 0x1000cba4
push eax
call fcn.10028a40
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, dword [ebp - 0x14]
push ebx
push 0x1000cbd8
push esi
push edi
push eax
push 0x100071b0
push 1
call fcn.1001b4b3
add esp, 0x1c
lea ecx, [esi - 0x10]
call fcn.1002a468
jmp 0x10025a8d
mov eax, dword [0x1005b1e8]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [0x10060380]
mov ecx, 0x1005b1e8
call ebx
add eax, 0x10
mov dword [ebp - 0x20], eax
push esi
push edi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1d
push 0x1000cc80
push eax
call fcn.10028a40
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, dword [ebp - 0x20]
push 0x1000cbd8
push esi
push ebx
push eax
push 0x10008e04
push 4
call fcn.1001b4b3
add esp, 0x18
mov byte [ebp - 4], 3
lea ecx, [esi - 0x10]
call fcn.1002a468
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push edi
push dword [eax + 0x14c]
call fcn.10047072
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jns 0x10025a90
mov ecx, dword [0x1005b1e8]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x20], eax
push edi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1f
push 0x1000ccc0
push eax
call fcn.10028a40
add esp, 0xc
jmp 0x100258cd
mov edi, dword [ebp - 0x18]
lea ecx, [edi - 0x10]
call fcn.1002a468
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.1002a468
mov eax, ebx
call fcn.1004f878
ret 0x10