Function at 0x10001390
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b27b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x750
mov eax, dword [section..data]
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 fcn.10004a90
add esp, 0xc
lea eax, [ebp - 0x720]
push 0x258
push eax
call fcn.1000a37f
push 0x258
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.10004a90
add esp, 0x14
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 0xf
cmova eax, dword [ebx + 8]
push eax
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x270]
push str._s_s
push eax
call fcn.10001080
add esp, 0x10
cmp byte [0x100256a5], 0
jne 0x1000147a
lea eax, [ebp - 0x270]
push 0x10021be4
push eax
call fcn.10006fb3
add esp, 8
test eax, eax
je 0x10001473
push eax
call fcn.100070ef
add esp, 4
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [0x100256a5], 1
lea eax, [ebp - 0x270]
push 0x10021be8
push eax
call fcn.10006fb3
add esp, 8
mov dword [ebp - 0x72c], eax
test eax, eax
je 0x100016f9
push 0
call fcn.1000a41c
add esp, 4
mov dword [ebp - 0x728], eax
lea eax, [ebp - 0x728]
mov dword [ebp - 0x724], edx
push eax
call fcn.1000a715
add esp, 4
mov esi, eax
lea eax, [ebp - 0x4c8]
push 0x258
push 0
push eax
call fcn.10004a90
add esp, 0xc
lea eax, [ebp - 0x4c8]
push dword [esi]
push dword [esi + 4]
push dword [esi + 8]
push str.__d:_d:_d_
push eax
call fcn.10001080
mov edx, dword [ebx + 0x20]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x734], 0
add esp, 0x14
mov dword [ebp - 0x730], 0
movups xmmword [ebp - 0x744], xmm0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001520
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x744]
call fcn.10002b80
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x730]
mov eax, edx
mov ecx, dword [ebp - 0x734]
sub eax, ecx
cmp eax, 1
jb 0x100015de
cmp edx, 0xf
lea esi, [ebp - 0x744]
lea eax, [ecx + 1]
cmova esi, dword [ebp - 0x744]
mov dword [ebp - 0x734], eax
cmp esi, 0x10021bf9
jae 0x10001594
lea eax, [esi + ecx]
cmp eax, 0x10021bf8
jb 0x10001594
cmp esi, 0x10021bf8
ja 0x1000158a
xor edi, edi
jmp 0x10001599
mov edi, esi
sub edi, 0x10021bf8
jmp 0x10001599
mov edi, 1
push dword [ebp - 0x734]
lea eax, [esi + 1]
push esi
push eax
call fcn.10006050
add esp, 0xc
push edi
push 0x10021bf8
push esi
call fcn.10006050
add esp, 0xc
lea ecx, [edi + 0x10021bf9]
mov edx, 1
lea eax, [esi + edi]
sub edx, edi
push edx
push ecx
push eax
call fcn.10006050
add esp, 0xc
lea eax, [ebp - 0x744]
jmp 0x100015f6
push 1
sub esp, 8
lea ecx, [ebp - 0x744]
push dword [ebp - 0x72c]
push 1
call fcn.10002c70
movups xmm1, xmmword [eax]
lea edx, [ebp - 0x760]
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x750], xmm0
movups xmmword [ebp - 0x760], xmm1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x74c], 0xf
movd eax, xmm1
cmova edx, eax
mov dword [ebp - 0x748], eax
mov esi, edx
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10001640
lea edi, [ebp - 0x4c8]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10001650
mov eax, dword [ebp - 0x74c]
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]
cmp eax, 0xf
jbe 0x100016a2
mov edx, dword [ebp - 0x748]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10001698
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001747
push ecx
push edx
call fcn.10003275
add esp, 8
mov ecx, dword [ebp - 0x730]
cmp ecx, 0xf
jbe 0x100016d8
mov edx, dword [ebp - 0x744]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100016ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001747
push ecx
push edx
call fcn.10003275
add esp, 8
mov esi, dword [ebp - 0x72c]
lea eax, [ebx + 0x24]
push eax
push ecx
lea edx, [ebp - 0x4c8]
mov ecx, esi
call fcn.10001010
push esi
call fcn.100070ef
add esp, 0xc
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x10001729
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000171f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000174c
push ecx
push edx
call fcn.10003275
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.10003232
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1000ac4b
call fcn.1000ac4b
int3