Function at 0x1000fad0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002524c
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x10031008]
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 - 0x260], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x264], eax
mov eax, esi
or eax, dword [ebp + 0xc]
mov byte [ebp - 0x259], 1
jne 0x1000fb26
xor al, al
jmp 0x10010536
lea ecx, [ebp - 0xc8]
call fcn.100114b0
mov dword [ebp - 4], 0
cmp dword [ebp - 0xb8], 0
jne 0x1000fb4d
mov byte [ebp - 0x259], 0
jmp 0x100104ca
lea ecx, [ebp - 0xf8]
call fcn.1001ab90
mov byte [ebp - 4], 1
lea eax, [ebp - 0xf8]
push eax
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0x40]
call fcn.1001a3e0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
push dword [ebp - 0x264]
mov ecx, dword [ebp - 0x260]
push dword [ebp + 0xc]
push esi
call fcn.10011000
add esp, 0x10
test al, al
jne 0x1000fb9f
mov byte [ebp - 0x259], al
jmp 0x10010414
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.10011120
mov byte [ebp - 4], 3
cmp dword [ebp - 0x60], 0
jne 0x1000fbd1
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x259], 0
jmp 0x100103c0
xorps xmm0, xmm0
lea ecx, [ebp - 0x98]
movups xmmword [ebp - 0x98], xmm0
call fcn.10011770
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x1000fc06
cmp dword [ebp - 0x8c], 0
jne 0x1000fc06
lea ecx, [ebp - 0x8c]
push ecx
call eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10015d60
mov byte [ebp - 4], 5
mov edx, eax
push edi
lea ecx, [ebp - 0xe0]
call fcn.1001a3e0
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x1000fc6d
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fc63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000fc63
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
lea edx, [ebp - 0x70]
mov dword [ebp - 0x268], 7
lea ecx, [ebp - 0x40]
mov word [ebp - 0x27c], ax
call fcn.1000e840
test al, al
jne 0x1000fcdb
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0x40]
call fcn.1000e840
test al, al
jne 0x1000fcdb
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x1000fcbd
push dword [ebp - 0x8c]
call eax
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x259], 0
jmp 0x1001034e
lea ecx, [ebp - 0x258]
call fcn.1001a790
lea eax, [ebp - 0x258]
push eax
call fcn.1001a8f0
mov esi, eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x264], esi
call fcn.10015d60
mov byte [ebp - 4], 8
lea edx, [ebp - 0x28]
push edi
lea ecx, [ebp - 0x88]
call fcn.1001a3e0
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
push eax
call fcn.10006f50
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x1000fd69
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fd5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000fd5f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp dword [ebp - 0x18], eax
je 0x10010029
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x88]
call fcn.10007ad0
mov byte [ebp - 4], 0xa
cmp esi, 1
jne 0x1000fdff
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 5
jb 0x1000fde1
cmp edx, 8
lea esi, [ebp - 0x28]
push 0xa
cmovae esi, dword [ebp - 0x28]
lea edi, [ecx + 5]
push str..DTMP
mov dword [ebp - 0x18], edi
lea eax, [esi + ecx*2]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x264]
jmp 0x1000fdff
push 5
push str..DTMP
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x260]
push 5
call fcn.10007810
push 0x44
lea eax, [ebp - 0x13c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x13c]
call fcn.10013250
mov byte [ebp - 4], 0xb
sub esp, 0x10
call fcn.10013360
lea ecx, [ebp - 0x28]
call fcn.100194a0
test al, al
je 0x1000ff5b
lea ecx, [ebp - 0xb0]
call fcn.1001ab90
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xb0]
push eax
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0x58]
call fcn.1001a3e0
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x28]
push 1
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x13c]
push eax
call fcn.10013570
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 4
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x13c]
push 0
push eax
call fcn.10013570
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1000fee4
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000feda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000feda
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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], 0xb
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x1000ff3e
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ff34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000ff34
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.10013500
cmp eax, 1
sete byte [ebp - 0x259]
jne 0x1000ffb5
lea ecx, [ebp - 0x13c]
call fcn.100134d0
test al, al
je 0x1000ffb5
cmp esi, 1
jne 0x1000ffc0
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x28]
call fcn.1001dbb0
mov byte [ebp - 0x259], al
jmp 0x1000ffc0
lea ecx, [ebp - 0x13c]
call fcn.100134a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x13c]
call fcn.100132d0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x10010012
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010008
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010008
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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], 7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10010069
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001005f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001005f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp byte [ebp - 0x259], al
je 0x1001032a
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xb0]
call fcn.10007ad0
mov byte [ebp - 4], 0xe
cmp esi, 1
jne 0x100100ff
mov edx, dword [ebp - 0x5c]
mov eax, edx
mov ecx, dword [ebp - 0x60]
sub eax, ecx
cmp eax, 5
jb 0x100100e1
cmp edx, 8
lea esi, [ebp - 0x70]
push 0xa
cmovae esi, dword [ebp - 0x70]
lea edi, [ecx + 5]
push str..DTMP
mov dword [ebp - 0x60], edi
lea eax, [esi + ecx*2]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x264]
jmp 0x100100ff
push 5
push str..DTMP
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x70]
push dword [ebp - 0x260]
push 5
call fcn.10007810
push 0x44
lea eax, [ebp - 0x13c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x13c]
call fcn.10013250
mov byte [ebp - 4], 0xf
sub esp, 0x10
call fcn.10013360
lea ecx, [ebp - 0x70]
call fcn.100194a0
test al, al
je 0x10010252
lea ecx, [ebp - 0x88]
call fcn.1001ab90
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0x58]
call fcn.1001a3e0
add esp, 4
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x70]
push 1
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x13c]
push eax
call fcn.10013570
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 4
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x13c]
push 0
push eax
call fcn.10013570
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x100101e4
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100101da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100101da
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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], 0xf
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x1001023b
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010231
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010231
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
push 9
cmovae ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x13c]
push eax
call fcn.10013570
cmp eax, 1
sete byte [ebp - 0x259]
jne 0x100102ad
lea ecx, [ebp - 0x13c]
call fcn.100134d0
test al, al
je 0x100102ad
cmp esi, 1
jne 0x100102b8
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x70]
call fcn.1001dbb0
mov byte [ebp - 0x259], al
jmp 0x100102b8
lea ecx, [ebp - 0x13c]
call fcn.100134a0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x13c]
call fcn.100132d0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x1001030d
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010303
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010303
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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 0x1001033c
push dword [ebp - 0x8c]
call eax
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xcc]
cmp edx, 8
jb 0x10010394
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001038a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001038a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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.100119d0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x10010400
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100103f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100103f6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10010454
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001044a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001044a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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], al
mov edx, dword [ebp - 0xe4]
cmp edx, 8
jb 0x100104ad
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100104a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100104a3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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 0x10010513
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010509
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010509
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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.100224d9
mov esp, ebp
pop ebp
ret