Function at 0x1000a520
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x100d5a16
call fcn.100ac440
sub esp, 0x58
push ebx
push esi
push edi
mov esi, ecx
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 8]
push dword [ebx]
mov eax, dword [ebp + 0x14]
push dword [eax]
lea eax, [ebp - 0x10]
push 0x100e3994
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.10001d75
add esp, 0x10
push dword [ebx]
mov ecx, esi
call fcn.1000966b
cmp dword [esi + 0xc], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
je 0x1000a5cd
mov edi, dword [esi + 0xc]
mov dword [edi + 0x350], edi
mov eax, dword [esi + 0x10]
mov dword [edi + 0x35c], eax
mov eax, dword [esi + 8]
lea ecx, [edi + 0x368]
push ebx
mov dword [edi + 0x354], eax
call fcn.10001eb6
push dword [ebp + 0xc]
lea ecx, [edi + 0x36c]
mov dword [edi + 0x358], esi
call fcn.10001eb6
push dword [ebp + 0x10]
lea ecx, [edi + 0x364]
call fcn.10001eb6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x360], eax
cmp dword [ebp - 0x14], 0
je 0x1000a820
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push dword [ebx]
lea eax, [ebp - 0x14]
push str._s.zip
push eax
mov byte [ebp - 4], 1
call fcn.10001d75
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
cmp dword [esi + 0xc], 0
je 0x1000a62f
push dword [ebp - 0x10]
call ebx
mov ecx, dword [esi + 0xc]
add edi, 0x348
push edi
push dword [ebp - 0x10]
add ecx, 0x32c
push dword [ebp - 0x14]
call fcn.10043fe6
mov dword [ebp - 0x18], eax
push 4
push dword [ebp - 0x10]
call fcn.100ad0b7
test eax, eax
pop ecx
pop ecx
je 0x1000a643
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x64]
call fcn.10008be5
mov eax, dword [esi + 0xc]
push dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
mov dword [ebp - 0x40], eax
call fcn.10001eb6
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x3c], esi
call fcn.10001eb6
mov edi, dword [ebp + 0x10]
push edi
lea ecx, [ebp - 0x34]
call fcn.10001eb6
xor eax, eax
cmp dword [ebp - 0x18], eax
mov dword [ebp - 0x60], eax
jne 0x1000a79f
mov dword [ebp - 0x18], eax
mov edi, 0x100e3624
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
cmp ecx, dword [eax + 0x250]
jne 0x1000a717
push dword [ebp - 0x10]
call ebx
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], edi
mov eax, dword [esi + 0x10]
push dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.100094a7
test eax, eax
jne 0x1000a6fd
cmp dword [ebp - 0x60], 0xc8
je 0x1000a6f1
cmp dword [ebp - 0x60], 0xce
jne 0x1000a6fd
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jne 0x1000a6fd
test eax, eax
jne 0x1000a731
inc dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], edi
call fcn.10007f89
cmp dword [ebp - 0x18], 3
jb 0x1000a69c
jmp 0x1000a740
lea ecx, [ebp - 0x64]
call fcn.10008619
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001199
xor esi, esi
jmp 0x1000a85c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], edi
call fcn.10007f89
cmp dword [ebp - 0x60], 0xc8
je 0x1000a752
cmp dword [ebp - 0x60], 0xce
jne 0x1000a75a
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x58]
je 0x1000a79c
mov eax, dword [ebp + 8]
push dword [eax]
push 0x100e3978
push str.c:PowerPlayer.txt
call fcn.1008eb92
mov eax, dword [esi + 8]
add esp, 0xc
test eax, eax
je 0x1000a797
push 0x133
lea ecx, [eax + 0xd8]
call fcn.10001d88
mov eax, dword [esi + 8]
add eax, 0xd8
push eax
call fcn.1001f130
pop ecx
push dword [ebp - 0x10]
jmp 0x1000a7c2
mov edi, dword [ebp + 0x10]
push dword [edi]
call ebx
mov eax, dword [edi]
push 1
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [esi + 8]
add ecx, 0x50
call fcn.10006277
test eax, eax
je 0x1000a7c9
push dword [edi]
call ebx
jmp 0x1000a717
push edi
mov ecx, esi
call fcn.100082b3
mov eax, dword [esi + 8]
test eax, eax
je 0x1000a7f7
push 0x152
lea ecx, [eax + 0xd8]
call fcn.10001d88
mov eax, dword [esi + 8]
add eax, 0xd8
push eax
call fcn.1001f130
pop ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
cmp ecx, dword [eax + 0x250]
lea ecx, [ebp - 0x64]
jne 0x1000a71a
call fcn.10008619
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001199
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
call fcn.1000a25f
mov eax, dword [esi + 8]
test eax, eax
je 0x1000a859
cmp dword [ebp + 0x18], 0
je 0x1000a859
push 0x134
lea ecx, [eax + 0xd8]
call fcn.10001d88
mov eax, dword [esi + 8]
add eax, 0xd8
push eax
call fcn.1001f130
pop ecx
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14