Function at 0x1001cd03
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100319d7
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x100421cc]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push esi
push edi
mov eax, dword [0x100421cc]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x38], ebx
push dword [edi + 4]
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c], eax
call fcn.1000902f
mov dword [esp + 0x2c0], ebx
push dword [esi + 4]
lea ecx, [esp + 0x8c]
call fcn.1000902f
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2c4], 1
call fcn.1000a5c9
mov esi, eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x8c]
call fcn.1000a5a9
push dword [esi + 4]
push dword [esi]
lea esi, [esp + 0x24]
push dword [eax + 4]
push dword [eax]
call fcn.1001cc54
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x2cc], 2
call fcn.1000b621
push ebx
push 1
mov ecx, esi
mov byte [esp + 0x2c8], 1
call fcn.10008661
mov esi, 0x1003aec0
push esi
call fcn.10020d18
pop ecx
push eax
mov eax, esi
lea esi, [esp + 0x70]
call fcn.1000b6ca
cmp dword [edi + 0x24], ebx
je 0x1001ce0f
cmp dword [edi + 0x28], 8
jb 0x1001ce05
mov eax, dword [edi + 0x14]
jmp 0x1001ce08
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x1c]
push eax
call fcn.1000f4c2
mov byte [esp + 0x2c0], 3
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
sar eax, 1
jne 0x1001ce32
call fcn.1002200a
push dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
call esi
inc eax
push eax
lea eax, [esp + 0x20]
call fcn.1001cfe3
mov eax, dword [esp + 0x2c]
mov ecx, eax
sub ecx, dword [esp + 0x28]
sar ecx, 1
jne 0x1001ce61
call fcn.1002200a
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
push dword [esp + 0x28]
sar eax, 1
push eax
call esi
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
sar eax, 1
jne 0x1001ce7f
call fcn.1002200a
lea eax, [esp + 0xa4]
push eax
push ebx
push 0x1003aec4
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0xa4]
lea ebx, [edi + 0x10]
push eax
mov ecx, ebx
call fcn.10009098
mov esi, 0x1003aecc
push esi
call fcn.10020d18
pop ecx
push eax
mov eax, esi
mov esi, ebx
call fcn.1000b6ca
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
call fcn.1000a5c9
mov esi, eax
lea eax, [esp + 0x48]
push eax
mov ecx, ebx
call fcn.1000a5a9
push dword [esi + 4]
push dword [esi]
lea esi, [esp + 0x58]
push dword [eax + 4]
push dword [eax]
call fcn.1001cc54
push eax
lea eax, [esp + 0x70]
mov byte [esp + 0x2c4], 4
mov edi, dword [edi + 0xc]
push eax
push edi
call fcn.1001d9d2
add esp, 0xc
xor edi, edi
push 0
inc edi
push edi
mov ecx, esi
mov byte [esp + 0x1f], al
mov byte [esp + 0x2c8], 3
call fcn.10008661
cmp byte [esp + 0x17], 0
je 0x1001cf4e
cmp dword [ebx + 0x18], 8
jb 0x1001cf3f
mov ebx, dword [ebx + 4]
jmp 0x1001cf42
add ebx, 4
push ebx
push dword [esp + 0x1c]
call fcn.100021bd
jmp 0x1001cf5c
mov esi, dword [esp + 0x18]
mov ecx, 0x10043e48
call fcn.10002409
lea esi, [esp + 0x1c]
call fcn.1000b5d3
push 0
push edi
lea ecx, [esp + 0x90]
call fcn.10008661
push 0
push edi
lea ecx, [esp + 0x74]
call fcn.10008661
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a0]
xor ecx, esp
call fcn.10020bb8
mov esp, ebp
pop ebp
ret 8