Function at 0x10022f30
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x10023131
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1001b2e9
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x10022fc1
mov dword [ebp - 0x58], 1
jmp 0x10022fc5
and dword [ebp - 0x58], 0
push 0
mov ecx, dword [ebp - 0x5c]
call fcn.1001b2e9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x10022ff7
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1001b2e9
cmp dword [eax], 0
jne 0x10022ff7
and dword [ebp - 0x14], 0
jmp 0x10022ffe
mov dword [ebp - 0x14], 1
push 0
mov ecx, dword [ebp - 4]
call fcn.1001b2e9
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0xc]
cmp ecx, dword [eax]
je 0x1002301d
mov dword [ebp - 0x18], 1
jmp 0x10023021
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1001b2e9
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jl 0x1002303e
mov dword [ebp - 0x1c], 1
jmp 0x10023042
and dword [ebp - 0x1c], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.1001b2e9
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
jle 0x1002305c
mov dword [ebp - 0x20], 1
jmp 0x10023060
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
jg 0x10023076
mov dword [ebp - 0x60], 1
jmp 0x1002307a
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1001b2e9
cmp dword [eax], 0
jne 0x10023092
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.1001b2e9
cmp dword [eax], 0xe4bc
jg 0x100230b8
mov dword [ebp - 0x24], 1
jmp 0x100230bc
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jg 0x100230cf
mov dword [ebp - 0x28], 1
jmp 0x100230d3
and dword [ebp - 0x28], 0
push 2
mov ecx, dword [ebp - 0x64]
call fcn.1001b2e9
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 4]
call fcn.1001b2e9
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x10023105
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
je 0x10023105
mov dword [ebp - 0x30], 1
jmp 0x10023109
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jle 0x1002311c
mov dword [ebp - 0x34], 1
jmp 0x10023120
and dword [ebp - 0x34], 0
push 2
mov ecx, dword [ebp - 0x68]
call fcn.1001b2e9
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
jmp 0x10023139
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esp, ebp
pop ebp
ret