Function at 0x10001610
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 0x1002025b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x750
mov eax, dword [0x10029040]
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.1000a9c0
add esp, 0xc
lea eax, [ebp - 0x720]
push 0x258
push eax
call fcn.1000f8da
push 0x258
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.1000a9c0
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.100011a0
add esp, 0x10
cmp byte [0x1002a771], 0
jne 0x100016fa
lea eax, [ebp - 0x270]
push 0x10026b88
push eax
call fcn.1000c757
add esp, 8
test eax, eax
je 0x100016f3
push eax
call fcn.1000c97a
add esp, 4
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [0x1002a771], 1
lea eax, [ebp - 0x270]
push 0x10026b8c
push eax
call fcn.1000c757
add esp, 8
mov dword [ebp - 0x730], eax
test eax, eax
je 0x10001940
push 0
call fcn.1000f977
add esp, 4
mov dword [ebp - 0x728], eax
lea eax, [ebp - 0x728]
mov dword [ebp - 0x724], edx
push eax
call fcn.1000fc6e
add esp, 4
mov esi, eax
lea eax, [ebp - 0x4c8]
push 0x258
push 0
push eax
call fcn.1000a9c0
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.100011a0
add esp, 0x14
lea ecx, [ebp - 0x760]
push dword [ebx + 0x20]
call fcn.10001500
mov edi, eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x1000182d
cmp dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov dword [edi + 0x10], edx
mov esi, edi
jbe 0x100017aa
mov esi, dword [edi]
cmp esi, 0x10026b9d
jae 0x100017df
lea eax, [esi + ecx]
cmp eax, 0x10026b9c
jb 0x100017df
cmp esi, 0x10026b9c
ja 0x100017d0
mov dword [ebp - 0x72c], 0
jmp 0x100017e9
mov eax, esi
sub eax, 0x10026b9c
mov dword [ebp - 0x72c], eax
jmp 0x100017e9
mov dword [ebp - 0x72c], 1
push edx
lea eax, [esi + 1]
push esi
push eax
call fcn.1000beb0
add esp, 0xc
push dword [ebp - 0x72c]
push 0x10026b9c
push esi
call fcn.1000beb0
mov eax, dword [ebp - 0x72c]
add esp, 0xc
mov edx, 1
sub edx, eax
lea ecx, [eax + 0x10026b9d]
add eax, esi
push edx
push ecx
push eax
call fcn.1000beb0
add esp, 0xc
jmp 0x10001843
push 1
sub esp, 8
mov ecx, edi
push dword [ebp - 0x730]
push 1
call fcn.10009290
mov edi, eax
movups xmm1, xmmword [edi]
lea edx, [ebp - 0x748]
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x738], xmm0
movups xmmword [ebp - 0x748], xmm1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
movd eax, xmm1
mov byte [edi], 0
cmp dword [ebp - 0x734], 0xf
mov dword [ebp - 0x72c], eax
cmova edx, eax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10001887
lea edi, [ebp - 0x4c8]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10001897
mov eax, dword [ebp - 0x734]
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 0x100018e9
mov edx, dword [ebp - 0x72c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100018df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000198e
push ecx
push edx
call fcn.1000981e
add esp, 8
mov ecx, dword [ebp - 0x74c]
cmp ecx, 0xf
jbe 0x1000191f
mov edx, dword [ebp - 0x760]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10001915
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000198e
push ecx
push edx
call fcn.1000981e
add esp, 8
mov esi, dword [ebp - 0x730]
lea eax, [ebx + 0x24]
push eax
push ecx
lea edx, [ebp - 0x4c8]
mov ecx, esi
call fcn.10001130
push esi
call fcn.1000c97a
add esp, 0xc
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x10001970
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10001966
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001993
push ecx
push edx
call fcn.1000981e
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.100094c1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1000feca
call fcn.1000feca
int3