Function at 0x10009770
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100805ee
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x100aa080]
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 - 0x158], ecx
mov esi, dword [ebp + 8]
push 0
call fcn.1005f8d4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x2c], edx
push eax
call fcn.1005e6fb
push 0x98
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.10058d80
add esp, 0x14
lea ecx, [ebp - 0x13c]
call fcn.10004cf0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x148], eax
mov eax, str._Y__m__d__H__M__S
mov dword [ebp - 0x144], str._Y__m__d__H__M__S
mov dword [ebp - 0x140], str._Y__m__d__H__M__S
inc eax
cmp byte [eax], 0
jne 0x10009812
lea edx, [ebp - 0x148]
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x13c]
call fcn.1000bd30
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x138]
call fcn.10005f30
push 8
push str.crashes_
push ecx
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 1
call fcn.1000c920
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x140], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x154], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x144], xmm0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x154]
push 4
mov byte [eax], 0
push str..zip
mov byte [ebp - 4], 2
call fcn.10006290
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov byte [ebp - 4], 4
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x140]
cmp ecx, 0xf
jbe 0x10009929
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000991f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009afa
push ecx
push edx
call fcn.10056fe2
add esp, 8
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x15c]
cmp ecx, 0xf
jbe 0x10009982
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009978
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009afa
push ecx
push edx
call fcn.10056fe2
add esp, 8
push 0x50
lea eax, [ebp - 0x80]
mov dword [ebp - 0x160], 0
push 0
push eax
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
call fcn.10058d80
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x80]
cmova edx, dword [ebp - 0x28]
add esp, 4
call fcn.10016a50
add esp, 8
test eax, eax
jne 0x100099e4
mov edx, str.Failed_to_initialize_zip_archive.
mov ecx, 0x100b3ce0
call fcn.100072d0
push eax
call fcn.10007570
add esp, 4
jmp 0x10009a92
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x100099ee
mov eax, dword [edi]
sub esp, 0xc
lea ecx, [ebp - 0x80]
mov edx, 0x10090fdc
push eax
call fcn.10017ff0
add esp, 0x10
test eax, eax
jne 0x10009a0d
mov edx, str.Failed_to_add_minidump_to_zip_archive.
jmp 0x10009a34
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x10009a17
mov eax, dword [esi]
sub esp, 0xc
lea ecx, [ebp - 0x80]
mov edx, 0x10091014
push eax
call fcn.10017ff0
add esp, 0x10
test eax, eax
jne 0x10009a51
mov edx, str.Failed_to_add_crash_reason_to_zip_archive.
mov ecx, 0x100b3ce0
call fcn.100072d0
push eax
call fcn.10007570
add esp, 4
lea ecx, [ebp - 0x80]
call fcn.10016790
jmp 0x10009a92
lea ecx, [ebp - 0x80]
call fcn.10018160
lea ecx, [ebp - 0x80]
call fcn.10016790
cmp dword [edi + 0x14], 0xf
jbe 0x10009a69
mov edi, dword [edi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call edi
cmp dword [esi + 0x14], 0xf
jbe 0x10009a7a
mov esi, dword [esi]
push esi
call edi
mov eax, dword [ebp - 0x158]
cmp dword [eax + 0x14], 0xf
jbe 0x10009a8b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10009ac2
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009ab8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009aff
push ecx
push edx
call fcn.10056fe2
add esp, 8
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100042a0
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.10056f9a
mov esp, ebp
pop ebp
ret
call fcn.1005e284
call fcn.1005e284
int3