Function at 0x1000c810
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f206
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x1002a008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x264], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x260], eax
mov eax, esi
or eax, dword [ebp + 0xc]
mov byte [ebp - 0x259], 1
jne 0x1000c866
xor al, al
jmp 0x1000d1d1
lea ecx, [ebp - 0xc8]
call fcn.1000e0e0
mov dword [ebp - 4], 0
cmp dword [ebp - 0xb8], 0
jne 0x1000c88d
mov byte [ebp - 0x259], 0
jmp 0x1000d165
lea ecx, [ebp - 0xf8]
call fcn.100155e0
mov byte [ebp - 4], 1
lea eax, [ebp - 0xf8]
push eax
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0x28]
call fcn.10014e40
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
push dword [ebp - 0x260]
mov ecx, dword [ebp - 0x264]
push dword [ebp + 0xc]
push esi
call fcn.1000dc30
add esp, 0x10
test al, al
jne 0x1000c8df
mov byte [ebp - 0x259], al
jmp 0x1000d0af
mov edx, edi
lea ecx, [ebp - 0x88]
call fcn.1000dd50
mov byte [ebp - 4], 3
cmp dword [ebp - 0x78], 0
jne 0x1000c914
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x259], 0
jmp 0x1000d055
xorps xmm0, xmm0
lea ecx, [ebp - 0x98]
movups xmmword [ebp - 0x98], xmm0
call fcn.1000e360
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x1000c949
cmp dword [ebp - 0x8c], 0
jne 0x1000c949
lea ecx, [ebp - 0x8c]
push ecx
call eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10011290
mov byte [ebp - 4], 5
mov edx, eax
push edi
lea ecx, [ebp - 0xe0]
call fcn.10014e40
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x1000c9b0
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c9a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000c9a6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
lea edx, [ebp - 0x88]
mov dword [ebp - 0x268], 7
lea ecx, [ebp - 0x28]
mov word [ebp - 0x27c], ax
call fcn.1000b540
test al, al
jne 0x1000ca21
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0x28]
call fcn.1000b540
test al, al
jne 0x1000ca21
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x1000ca03
push dword [ebp - 0x8c]
call eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x259], 0
jmp 0x1000cfe3
lea ecx, [ebp - 0x258]
call fcn.100151e0
lea eax, [ebp - 0x258]
push eax
call fcn.10015340
mov esi, eax
lea eax, [ebp - 0x70]
push eax
call fcn.10011290
mov byte [ebp - 4], 8
lea edx, [ebp - 0x70]
push edi
lea ecx, [ebp - 0x58]
call fcn.10014e40
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
push eax
call fcn.10005fc0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1000caa3
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ca99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000ca99
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x60], eax
je 0x1000cd03
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.10006a50
mov byte [ebp - 4], 0xa
cmp esi, 1
jne 0x1000cae2
push str..DTMP
lea ecx, [ebp - 0x70]
call fcn.10006250
push 0x44
lea eax, [ebp - 0x13c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x13c]
call fcn.1000e7d0
mov byte [ebp - 4], 0xb
sub esp, 0x10
call fcn.1000e8e0
lea ecx, [ebp - 0x70]
call fcn.10013f20
test al, al
je 0x1000cc3e
lea ecx, [ebp - 0xb0]
call fcn.100155e0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xb0]
push eax
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0x40]
call fcn.10014e40
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x70]
push 1
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x13c]
push eax
call fcn.1000eaf0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 4
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x13c]
push 0
push eax
call fcn.1000eaf0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1000cbc7
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cbbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000cbbd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x1000cc21
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cc17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000cc17
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.1000ea80
cmp eax, 1
sete byte [ebp - 0x259]
jne 0x1000cc95
lea ecx, [ebp - 0x13c]
call fcn.1000ea50
test al, al
je 0x1000cc95
cmp esi, 1
jne 0x1000cca0
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.10018270
mov byte [ebp - 0x259], al
jmp 0x1000cca0
lea ecx, [ebp - 0x13c]
call fcn.1000ea20
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x13c]
call fcn.1000e850
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1000ccef
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cce5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000cce5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x1000cd43
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cd39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000cd39
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp byte [ebp - 0x259], al
je 0x1000cfbf
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb0]
call fcn.10006a50
mov byte [ebp - 4], 0xe
cmp esi, 1
jne 0x1000cd8e
push str..DTMP
lea ecx, [ebp - 0x88]
call fcn.10006250
push 0x44
lea eax, [ebp - 0x13c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x13c]
call fcn.1000e7d0
mov byte [ebp - 4], 0xf
sub esp, 0x10
call fcn.1000e8e0
lea ecx, [ebp - 0x88]
call fcn.10013f20
test al, al
je 0x1000cede
lea ecx, [ebp - 0x58]
call fcn.100155e0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0x40]
call fcn.10014e40
add esp, 4
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x88]
push 1
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x13c]
push eax
call fcn.1000eaf0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 4
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x13c]
push 0
push eax
call fcn.1000eaf0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1000ce76
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ce6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000ce6c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1000ceca
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cec0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000cec0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
push 9
cmovae ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x13c]
push eax
call fcn.1000eaf0
cmp eax, 1
sete byte [ebp - 0x259]
jne 0x1000cf42
lea ecx, [ebp - 0x13c]
call fcn.1000ea50
test al, al
je 0x1000cf42
cmp esi, 1
jne 0x1000cf4d
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x88]
call fcn.10018270
mov byte [ebp - 0x259], al
jmp 0x1000cf4d
lea ecx, [ebp - 0x13c]
call fcn.1000ea20
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x13c]
call fcn.1000e850
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x1000cfa2
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cf98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000cf98
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x1000cfd1
push dword [ebp - 0x8c]
call eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xcc]
cmp edx, 8
jb 0x1000d029
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d01f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d01f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.1000e5c0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x1000d098
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d08e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d08e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000d0ef
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d0e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d0e5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0xe4]
cmp edx, 8
jb 0x1000d148
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d13e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d13e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xb4]
cmp edx, 8
jb 0x1000d1ae
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d1a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d1a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0xb8], 0
mov word [ebp - 0xc8], ax
mov al, byte [ebp - 0x259]
mov dword [ebp - 0xb4], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ca39
mov esp, ebp
pop ebp
ret