Function at 0x1000cb40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021e36
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x1002e008]
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 0x1000cb96
xor al, al
jmp 0x1000d501
lea ecx, [ebp - 0xc8]
call fcn.1000e410
mov dword [ebp - 4], 0
cmp dword [ebp - 0xb8], 0
jne 0x1000cbbd
mov byte [ebp - 0x259], 0
jmp 0x1000d495
lea ecx, [ebp - 0xf8]
call fcn.10017b80
mov byte [ebp - 4], 1
lea eax, [ebp - 0xf8]
push eax
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0x28]
call fcn.100173d0
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.1000df60
add esp, 0x10
test al, al
jne 0x1000cc0f
mov byte [ebp - 0x259], al
jmp 0x1000d3df
mov edx, edi
lea ecx, [ebp - 0x88]
call fcn.1000e080
mov byte [ebp - 4], 3
cmp dword [ebp - 0x78], 0
jne 0x1000cc44
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 0x1000d385
xorps xmm0, xmm0
lea ecx, [ebp - 0x98]
movups xmmword [ebp - 0x98], xmm0
call fcn.1000e690
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x1000cc79
cmp dword [ebp - 0x8c], 0
jne 0x1000cc79
lea ecx, [ebp - 0x8c]
push ecx
call eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10012c30
mov byte [ebp - 4], 5
mov edx, eax
push edi
lea ecx, [ebp - 0xe0]
call fcn.100173d0
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x1000cce0
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ccd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000ccd6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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.1000b870
test al, al
jne 0x1000cd51
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0x28]
call fcn.1000b870
test al, al
jne 0x1000cd51
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x1000cd33
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 0x1000d313
lea ecx, [ebp - 0x258]
call fcn.10017780
lea eax, [ebp - 0x258]
push eax
call fcn.100178e0
mov esi, eax
lea eax, [ebp - 0x70]
push eax
call fcn.10012c30
mov byte [ebp - 4], 8
lea edx, [ebp - 0x70]
push edi
lea ecx, [ebp - 0x58]
call fcn.100173d0
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
push eax
call fcn.10006150
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1000cdd3
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cdc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000cdc9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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 0x1000d033
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.10006be0
mov byte [ebp - 4], 0xa
cmp esi, 1
jne 0x1000ce12
push str..DTMP
lea ecx, [ebp - 0x70]
call fcn.100063e0
push 0x44
lea eax, [ebp - 0x13c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x13c]
call fcn.10010170
mov byte [ebp - 4], 0xb
sub esp, 0x10
call fcn.10010280
lea ecx, [ebp - 0x70]
call fcn.100164b0
test al, al
je 0x1000cf6e
lea ecx, [ebp - 0xb0]
call fcn.10017b80
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xb0]
push eax
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0x40]
call fcn.100173d0
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.10010490
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.10010490
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1000cef7
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ceed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000ceed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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 0x1000cf51
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cf47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000cf47
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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.10010420
cmp eax, 1
sete byte [ebp - 0x259]
jne 0x1000cfc5
lea ecx, [ebp - 0x13c]
call fcn.100103f0
test al, al
je 0x1000cfc5
cmp esi, 1
jne 0x1000cfd0
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.1001aba0
mov byte [ebp - 0x259], al
jmp 0x1000cfd0
lea ecx, [ebp - 0x13c]
call fcn.100103c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x13c]
call fcn.100101f0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1000d01f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d015
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d015
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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 0x1000d073
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d069
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d069
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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 0x1000d2ef
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb0]
call fcn.10006be0
mov byte [ebp - 4], 0xe
cmp esi, 1
jne 0x1000d0be
push str..DTMP
lea ecx, [ebp - 0x88]
call fcn.100063e0
push 0x44
lea eax, [ebp - 0x13c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x13c]
call fcn.10010170
mov byte [ebp - 4], 0xf
sub esp, 0x10
call fcn.10010280
lea ecx, [ebp - 0x88]
call fcn.100164b0
test al, al
je 0x1000d20e
lea ecx, [ebp - 0x58]
call fcn.10017b80
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0x40]
call fcn.100173d0
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.10010490
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.10010490
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1000d1a6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d19c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d19c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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 0x1000d1fa
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d1f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d1f0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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.10010490
cmp eax, 1
sete byte [ebp - 0x259]
jne 0x1000d272
lea ecx, [ebp - 0x13c]
call fcn.100103f0
test al, al
je 0x1000d272
cmp esi, 1
jne 0x1000d27d
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x88]
call fcn.1001aba0
mov byte [ebp - 0x259], al
jmp 0x1000d27d
lea ecx, [ebp - 0x13c]
call fcn.100103c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x13c]
call fcn.100101f0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x1000d2d2
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d2c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d2c8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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 0x1000d301
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 0x1000d359
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d34f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d34f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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.1000e8f0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x1000d3c8
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d3be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d3be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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 0x1000d41f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d415
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d415
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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 0x1000d478
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d46e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d46e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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 0x1000d4de
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d4d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000d4d4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
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.1001f349
mov esp, ebp
pop ebp
ret