Function at 0x1000c4e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025884
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10381040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
call fcn.100066b0
add eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 4
jge 0x1000c523
mov dword [ebp - 0x24], 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x34]
call edx
movzx eax, al
test eax, eax
jne 0x1000c554
xor al, al
jmp 0x1000c849
mov dword [ebp - 0x60], str.staredit_scenario.chk
push 0x10
call fcn.10023e54
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0
je 0x1000c582
mov ecx, dword [ebp - 0x34]
call fcn.10020180
mov dword [ebp - 0x38], eax
jmp 0x1000c589
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10003840
movzx ecx, al
test ecx, ecx
jne 0x1000c5e4
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x38]
call ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
je 0x1000c5d6
push 1
mov ecx, dword [ebp - 0x3c]
call fcn.10003950
mov dword [ebp - 0x5c], eax
jmp 0x1000c5dd
mov dword [ebp - 0x5c], 0
xor al, al
jmp 0x1000c849
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10020460
lea edx, [ebp - 0x28]
push edx
push 0
push 0
mov eax, dword [ebp - 0x44]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
call ecx
movzx edx, al
test edx, edx
jne 0x1000c650
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x38]
call edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x1000c642
push 1
mov ecx, dword [ebp - 0x40]
call fcn.10003950
mov dword [ebp - 0x64], eax
jmp 0x1000c649
mov dword [ebp - 0x64], 0
xor al, al
jmp 0x1000c849
push 0
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x2c]
call edx
movzx eax, al
test eax, eax
jne 0x1000c6ae
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
je 0x1000c6a0
push 1
mov ecx, dword [ebp - 0x48]
call fcn.10003950
mov dword [ebp - 0x6c], eax
jmp 0x1000c6a7
mov dword [ebp - 0x6c], 0
xor al, al
jmp 0x1000c849
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x30]
call ecx
movzx edx, al
test edx, edx
jne 0x1000c6f6
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x38]
call edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x1000c6e8
push 1
mov ecx, dword [ebp - 0x4c]
call fcn.10003950
mov dword [ebp - 0x70], eax
jmp 0x1000c6ef
mov dword [ebp - 0x70], 0
xor al, al
jmp 0x1000c849
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 0
je 0x1000c711
push 1
mov ecx, dword [ebp - 0x50]
call fcn.10003950
mov dword [ebp - 0x74], eax
jmp 0x1000c718
mov dword [ebp - 0x74], 0
push 0x100274bc
mov ecx, dword [ebp + 0xc]
call fcn.10003980
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1000c741
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x38]
call ecx
xor al, al
jmp 0x1000c849
mov dword [ebp - 0x1c], 0
jmp 0x1000c753
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp + 0x10]
call fcn.100066b0
cmp dword [ebp - 0x1c], eax
jae 0x1000c83b
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.10006690
mov ecx, eax
call fcn.10006600
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 0xe]
test eax, eax
je 0x1000c836
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + 0xe]
push edx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x30]
push edx
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
call ecx
movzx edx, al
test edx, edx
jne 0x1000c7f1
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x38]
call edx
xor al, al
jmp 0x1000c849
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
call ecx
movzx edx, al
test edx, edx
jne 0x1000c82a
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
call edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x38]
call edx
xor al, al
jmp 0x1000c849
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
call edx
jmp 0x1000c74a
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x38]
call edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc