Function at 0x10010f30
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018703e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x101fe070]
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.10008eb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x5c]
push 0x10
push eax
call fcn.10014290
add esp, 8
lea ecx, [ebp - 0x9c]
call fcn.10018cc0
mov byte [ebp - 4], 1
push 4
mov dword [ebp - 0xac], 0
call fcn.1015c042
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 0x101c0690
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100125f0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.10019140
mov bl, al
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x10011047
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001103d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100116c8
push edx
push ecx
call fcn.1015c4d3
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 0x1001140c
mov ecx, dword [ebp - 0x7c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x1001107a
mov al, 1
jmp 0x1001107c
xor al, al
test al, al
je 0x100110d3
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x100110d3
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 0x100110d3
cmp edx, 1
je 0x100110b6
cmp edi, 8
lea eax, [ebp - 0x74]
cmovae eax, ebx
cmp word [eax + 2], 0x2e
jne 0x100110d3
cmp edx, 2
jne 0x100110d3
mov ebx, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xb4]
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa0], edi
jmp 0x1001118d
or ecx, 0
je 0x100110dc
mov al, 1
jmp 0x100110de
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 0x10011149
call fcn.100126c0
add esp, 0xc
mov byte [ebp - 4], 5
push eax
call fcn.10010f30
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 0x1001117d
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011173
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100116cd
jmp 0x10011173
call fcn.100126c0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.1001a1a0
movzx eax, al
cdq
mov edi, eax
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xa0], edi
mov ebx, edx
jmp 0x10011113
push edx
push ecx
call fcn.1015c4d3
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.10018dc0
test al, al
je 0x10011418
mov ecx, dword [ebp - 0x7c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100111b4
mov al, 1
jmp 0x100111b6
xor al, al
test al, al
je 0x100111f8
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x100111f8
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 0x100111f8
cmp edx, 1
je 0x100113e8
cmp edi, 8
lea eax, [ebp - 0x74]
cmovae eax, ebx
cmp word [eax + 2], 0x2e
jne 0x100111f8
cmp edx, 2
je 0x100113e8
or ecx, 0
je 0x10011201
mov al, 1
jmp 0x10011203
xor al, al
test al, al
je 0x100112fb
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.10012ad0
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.10009360
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.10009360
lea eax, [ebp - 0x2c]
push eax
call fcn.10010f30
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 0x100112e2
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100112d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100116c8
push edx
push ecx
call fcn.1015c4d3
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jmp 0x100113f4
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.10012ad0
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.10009360
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.10009360
lea ecx, [ebp - 0x44]
call fcn.1001a1a0
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 0x100113d2
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100113c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100116c8
push edx
push ecx
call fcn.1015c4d3
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
jmp 0x100113f4
mov edi, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xa8]
lea eax, [ebp - 0x9c]
mov ecx, esi
push eax
call fcn.10018dc0
test al, al
jne 0x100111a3
jmp 0x10011418
mov ebx, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xb4]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10011430
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x10011430
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 0x100114e1
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.1001aad0
test al, al
je 0x10011599
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 0x10011599
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x100114cd
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100114c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100116cd
push edx
push ecx
call fcn.1015c4d3
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 0x10011503
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x10011503
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.1015c4d3
add esp, 8
mov dword [ebp - 0xac], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.10009040
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x10011565
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001155b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100116cd
push edx
push ecx
call fcn.1015c4d3
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.1015c023
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x100115d7
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100115cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100116cd
push edx
push ecx
call fcn.1015c4d3
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.10019970
mov dword [ebp - 0xa0], eax
cmp eax, 0xffffffff
je 0x100114e7
xor edx, edx
lea ecx, [ebp - 0x5c]
call fcn.10019850
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 0x100114e1
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.1001aad0
test al, al
je 0x10011667
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 0x1001148f
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x100116a1
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011697
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100116cd
push edx
push ecx
call fcn.1015c4d3
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.10019850
jmp 0x100114e7
call fcn.101616ac
call fcn.101616ac
int3