Function at 0x1000ea40
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018a92e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x101ef110]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
push eax
movlpd qword [ebp - 0xb4], xmm0
call fcn.10005340
mov dword [ebp - 4], 0
lea eax, [ebp - 0x5c]
push 0x10
push eax
call fcn.100114f0
add esp, 8
lea ecx, [ebp - 0x9c]
call fcn.10016d50
mov byte [ebp - 4], 1
push 4
mov dword [ebp - 0xac], 0
call fcn.1016101d
add esp, 4
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
push 0x101c30e4
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10010040
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.100171d0
mov bl, al
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x1000eb57
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000eb4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f1d8
push edx
push ecx
call fcn.101614ae
add esp, 8
mov esi, dword [ebp - 0xac]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
test bl, bl
je 0x1000ef1c
mov ecx, dword [ebp - 0x7c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x1000eb8a
mov al, 1
jmp 0x1000eb8c
xor al, al
test al, al
je 0x1000ebe3
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x1000ebe3
mov edi, dword [ebp - 0x60]
lea eax, [ebp - 0x74]
mov ebx, dword [ebp - 0x74]
cmp edi, 8
cmovae eax, ebx
cmp word [eax], 0x2e
jne 0x1000ebe3
cmp edx, 1
je 0x1000ebc6
cmp edi, 8
lea eax, [ebp - 0x74]
cmovae eax, ebx
cmp word [eax + 2], 0x2e
jne 0x1000ebe3
cmp edx, 2
jne 0x1000ebe3
mov ebx, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xb4]
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa0], edi
jmp 0x1000ec9d
or ecx, 0
je 0x1000ebec
mov al, 1
jmp 0x1000ebee
xor al, al
test al, al
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
je 0x1000ec59
call fcn.10010110
add esp, 0xc
mov byte [ebp - 4], 5
push eax
call fcn.1000ea40
mov edi, eax
mov ebx, edx
add esp, 4
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x1000ec8d
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ec83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f1dd
jmp 0x1000ec83
call fcn.10010110
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.1001d560
movzx eax, al
cdq
mov edi, eax
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xa0], edi
mov ebx, edx
jmp 0x1000ec23
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x9c]
mov ecx, esi
push eax
call fcn.10016e50
test al, al
je 0x1000ef28
mov ecx, dword [ebp - 0x7c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x1000ecc4
mov al, 1
jmp 0x1000ecc6
xor al, al
test al, al
je 0x1000ed08
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x1000ed08
mov edi, dword [ebp - 0x60]
lea eax, [ebp - 0x74]
mov ebx, dword [ebp - 0x74]
cmp edi, 8
cmovae eax, ebx
cmp word [eax], 0x2e
jne 0x1000ed08
cmp edx, 1
je 0x1000eef8
cmp edi, 8
lea eax, [ebp - 0x74]
cmovae eax, ebx
cmp word [eax + 2], 0x2e
jne 0x1000ed08
cmp edx, 2
je 0x1000eef8
or ecx, 0
je 0x1000ed11
mov al, 1
jmp 0x1000ed13
xor al, al
test al, al
je 0x1000ee0b
mov byte [ebp - 4], 7
xor eax, eax
or dword [ebp - 0xa4], 1
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
call fcn.10010200
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.10008550
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
cmovae eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x2c]
push eax
call fcn.10008550
lea eax, [ebp - 0x2c]
push eax
call fcn.1000ea40
mov edi, dword [ebp - 0xa0]
add esp, 4
mov ebx, dword [ebp - 0xa8]
add edi, eax
mov dword [ebp - 0xa0], edi
adc ebx, edx
and dword [ebp - 0xa4], 0xfffffffe
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1000edf2
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ede8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f1d8
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jmp 0x1000ef04
mov byte [ebp - 4], 8
xor eax, eax
or dword [ebp - 0xa4], 2
lea ecx, [ebp - 0x44]
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
call fcn.10010200
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x44]
push eax
call fcn.10008550
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
cmovae eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x44]
push eax
call fcn.10008550
lea ecx, [ebp - 0x44]
call fcn.1001d560
mov edi, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xa8]
movzx eax, al
cdq
add edi, eax
mov dword [ebp - 0xa0], edi
adc ebx, edx
and dword [ebp - 0xa4], 0xfffffffd
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x1000eee2
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000eed8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f1d8
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
jmp 0x1000ef04
mov edi, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xa8]
lea eax, [ebp - 0x9c]
mov ecx, esi
push eax
call fcn.10016e50
test al, al
jne 0x1000ecb3
jmp 0x1000ef28
mov ebx, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xb4]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1000ef40
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x1000ef40
mov dword [esi], 0xffffffff
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1000eff1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 9
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.1001de90
test al, al
je 0x1000f0a9
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1000f0a9
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1000efdd
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000efd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f1dd
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
add edi, 1
adc ebx, 0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1000f013
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x1000f013
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.101614ae
add esp, 8
mov dword [ebp - 0xac], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x1000f075
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f06b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f1dd
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov edx, ebx
mov dword [ebp - 0x48], 7
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1016100c
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1000f0e7
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f0dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f1dd
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.1001cd30
mov dword [ebp - 0xa0], eax
cmp eax, 0xffffffff
je 0x1000eff7
xor edx, edx
lea ecx, [ebp - 0x5c]
call fcn.1001cc10
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1000eff1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.1001de90
test al, al
je 0x1000f177
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1000ef9f
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1000f1b1
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f1a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f1dd
push edx
push ecx
call fcn.101614ae
add esp, 8
mov edx, dword [ebp - 0xa0]
lea ecx, [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.1001cc10
jmp 0x1000eff7
call fcn.10168a09
call fcn.10168a09
int3