Function at 0x1001a960
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100376eb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x7b8
mov eax, dword [0x1004002c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x258
lea eax, [ebp - 0x720]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x720]
push 0x258
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__getcwd]
add esp, 8
test eax, eax
je 0x1001b009
push 0x258
lea eax, [ebp - 0x270]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edx, [ebx + 8]
cmp dword [ebx + 0x1c], 0x10
cmovae edx, dword [ebx + 8]
mov dword [ebp - 0x730], 0xdbb3ca4c
mov dword [ebp - 0x72c], 0x7d895df8
mov eax, dword [ebp - 0x730]
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x780], eax
mov dword [ebp - 0x77c], ecx
mov dword [ebp - 0x730], 0xf64b0226
mov dword [ebp - 0x72c], 0x167fb0ee
mov eax, dword [ebp - 0x730]
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x778], eax
mov dword [ebp - 0x774], ecx
mov dword [ebp - 0x730], 0xfeefb969
mov dword [ebp - 0x72c], 0x7d895d8b
mov eax, dword [ebp - 0x730]
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x740], eax
mov dword [ebp - 0x730], 0xf64b0226
mov dword [ebp - 0x72c], 0x167fb0ee
mov eax, dword [ebp - 0x730]
mov dword [ebp - 0x738], eax
lea eax, [ebp - 0x720]
push edx
push eax
mov dword [ebp - 0x73c], ecx
lea eax, [ebp - 0x780]
mov ecx, dword [ebp - 0x72c]
movaps xmm1, xmmword [ebp - 0x780]
push eax
mov dword [ebp - 0x734], ecx
lea eax, [ebp - 0x270]
pxor xmm1, xmmword [ebp - 0x740]
push eax
movaps xmmword [ebp - 0x780], xmm1
call fcn.100011a0
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 0x10
cmp byte [0x10040f64], 0
jne 0x1001abee
mov dword [ebp - 0x730], 0xfeefdb1b
mov dword [ebp - 0x72c], 0x7d895d8b
mov eax, dword [ebp - 0x730]
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x790], eax
mov dword [ebp - 0x78c], ecx
mov dword [ebp - 0x730], 0xf64b0226
mov dword [ebp - 0x72c], 0x167fb0ee
mov eax, dword [ebp - 0x730]
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x788], eax
mov dword [ebp - 0x784], ecx
mov dword [ebp - 0x730], 0xfeefb969
mov dword [ebp - 0x72c], 0x7d895d8b
mov eax, dword [ebp - 0x730]
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x740], eax
mov dword [ebp - 0x730], 0xf64b0226
mov dword [ebp - 0x72c], 0x167fb0ee
mov eax, dword [ebp - 0x730]
mov dword [ebp - 0x738], eax
lea eax, [ebp - 0x790]
mov dword [ebp - 0x73c], ecx
mov ecx, dword [ebp - 0x72c]
movaps xmm1, xmmword [ebp - 0x790]
push eax
mov dword [ebp - 0x734], ecx
lea eax, [ebp - 0x270]
pxor xmm1, xmmword [ebp - 0x740]
push eax
movaps xmmword [ebp - 0x790], xmm1
call esi
add esp, 8
test eax, eax
je 0x1001abe7
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [0x10040f64], 1
mov dword [ebp - 0x730], 0xfeef9208
mov dword [ebp - 0x72c], 0x7d895d8b
mov eax, dword [ebp - 0x730]
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x7a0], eax
mov dword [ebp - 0x79c], ecx
mov dword [ebp - 0x730], 0xf64b0226
mov dword [ebp - 0x72c], 0x167fb0ee
mov eax, dword [ebp - 0x730]
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x798], eax
mov dword [ebp - 0x794], ecx
mov dword [ebp - 0x730], 0xfeefb969
mov dword [ebp - 0x72c], 0x7d895d8b
mov eax, dword [ebp - 0x730]
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x740], eax
mov dword [ebp - 0x730], 0xf64b0226
mov dword [ebp - 0x72c], 0x167fb0ee
mov eax, dword [ebp - 0x730]
mov dword [ebp - 0x738], eax
lea eax, [ebp - 0x7a0]
mov dword [ebp - 0x73c], ecx
mov ecx, dword [ebp - 0x72c]
movaps xmm1, xmmword [ebp - 0x7a0]
push eax
mov dword [ebp - 0x734], ecx
lea eax, [ebp - 0x270]
pxor xmm1, xmmword [ebp - 0x740]
push eax
movaps xmmword [ebp - 0x7a0], xmm1
call esi
add esp, 8
mov dword [ebp - 0x72c], eax
test eax, eax
je 0x1001b009
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x728], eax
lea eax, [ebp - 0x728]
mov dword [ebp - 0x724], edx
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x4c8]
push 0x258
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esi]
add esp, 0xc
mov edi, dword [esi + 4]
mov esi, dword [esi + 8]
mov dword [ebp - 0x738], 0xc48b9c32
mov dword [ebp - 0x734], 0x58b339ae
mov eax, dword [ebp - 0x738]
mov ecx, dword [ebp - 0x734]
mov dword [ebp - 0x770], eax
mov dword [ebp - 0x76c], ecx
mov dword [ebp - 0x738], 0xf64b5f42
mov dword [ebp - 0x734], 0x167fb0ee
mov eax, dword [ebp - 0x738]
mov ecx, dword [ebp - 0x734]
mov dword [ebp - 0x768], eax
mov dword [ebp - 0x764], ecx
mov dword [ebp - 0x738], 0xfeefb969
mov dword [ebp - 0x734], 0x7d895d8b
mov eax, dword [ebp - 0x738]
mov ecx, dword [ebp - 0x734]
push edx
mov dword [ebp - 0x750], eax
mov dword [ebp - 0x738], 0xf64b0226
mov dword [ebp - 0x734], 0x167fb0ee
mov eax, dword [ebp - 0x738]
mov dword [ebp - 0x748], eax
lea eax, [ebp - 0x770]
push edi
mov dword [ebp - 0x74c], ecx
mov ecx, dword [ebp - 0x734]
movaps xmm1, xmmword [ebp - 0x770]
push esi
push eax
mov dword [ebp - 0x744], ecx
lea eax, [ebp - 0x4c8]
pxor xmm1, xmmword [ebp - 0x750]
push eax
movaps xmmword [ebp - 0x770], xmm1
call fcn.100011a0
mov edx, dword [ebx + 0x20]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x7b8], 0
add esp, 0x14
mov dword [ebp - 0x7b4], 0
movups xmmword [ebp - 0x7c8], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001ae21
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x7c8]
call fcn.10027f30
mov byte [ebp - 4], 1
lea edx, [ebp - 0x7b0]
mov dword [ebp - 0x738], 0xfeefb949
mov dword [ebp - 0x734], 0x7d895d8b
mov eax, dword [ebp - 0x738]
mov ecx, dword [ebp - 0x734]
mov dword [ebp - 0x7b0], eax
mov dword [ebp - 0x7ac], ecx
mov dword [ebp - 0x738], 0xf64b0226
mov dword [ebp - 0x734], 0x167fb0ee
mov eax, dword [ebp - 0x738]
mov ecx, dword [ebp - 0x734]
mov dword [ebp - 0x7a8], eax
mov dword [ebp - 0x7a4], ecx
mov dword [ebp - 0x738], 0xfeefb969
mov dword [ebp - 0x734], 0x7d895d8b
mov eax, dword [ebp - 0x738]
mov ecx, dword [ebp - 0x734]
mov dword [ebp - 0x750], eax
mov dword [ebp - 0x738], 0xf64b0226
mov dword [ebp - 0x74c], ecx
mov dword [ebp - 0x734], 0x167fb0ee
mov eax, dword [ebp - 0x738]
mov ecx, dword [ebp - 0x734]
mov dword [ebp - 0x748], eax
lea eax, [ebp - 0x7c8]
mov dword [ebp - 0x744], ecx
lea ecx, [ebp - 0x770]
movaps xmm1, xmmword [ebp - 0x750]
pxor xmm1, xmmword [ebp - 0x7b0]
push eax
movaps xmmword [ebp - 0x7b0], xmm1
call fcn.10027660
mov edx, eax
add esp, 4
cmp dword [edx + 0x14], 0x10
jb 0x1001af26
mov edx, dword [edx]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1001af28
lea edi, [ebp - 0x4c8]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001af38
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x75c]
cmp ecx, 0x10
jb 0x1001af84
mov edx, dword [ebp - 0x770]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001af7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001afcb
push ecx
push edx
call fcn.100344bf
add esp, 8
mov ecx, dword [ebp - 0x7b4]
mov dword [ebp - 0x760], 0
mov dword [ebp - 0x75c], 0xf
mov byte [ebp - 0x770], 0
cmp ecx, 0x10
jb 0x1001afdb
mov edx, dword [ebp - 0x7c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001afd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001afd1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100344bf
add esp, 8
mov esi, dword [ebp - 0x72c]
lea eax, [ebx + 0x24]
push eax
push 0
lea eax, [ebp - 0x4c8]
push eax
push esi
call fcn.10001150
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfprintf]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x1c
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x1001b03f
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b035
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001b035
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100344bf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10033e43
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret