Function at 0x1002b20a
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002b228
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1002ba41
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xf4], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xf8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xf0], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], 0x7478
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0xfc], 7
mov dword [ebp - 0x2c], 0
jmp 0x1002b296
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1002b2ac
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x114], 0xcc9f
jmp 0x1002b28f
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1002b3f2
cmp dword [ebp - 0x24], 0
jne 0x1002b314
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x24]
cmp eax, 0x912e
jg 0x1002b2db
mov dword [ebp - 0x9c], 1
jmp 0x1002b2e2
and dword [ebp - 0x9c], 0
mov eax, 0x1c09
sub eax, dword [ebp - 0x9c]
cmp eax, 0xffffffff
jne 0x1002b2fe
mov dword [ebp - 0xa8], 1
jmp 0x1002b305
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0xffffffff
jne 0x1002b314
and dword [ebp - 0x5c], 0
jmp 0x1002b31b
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], 0xc415
jg 0x1002b330
mov dword [ebp - 0xb0], 1
jmp 0x1002b337
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x18], eax
je 0x1002b351
mov dword [ebp - 0x64], 1
jmp 0x1002b355
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
add eax, 0xc089
cmp eax, dword [ebp - 0x30]
jg 0x1002b36e
mov dword [ebp - 0xb8], 1
jmp 0x1002b375
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xb8], eax
jl 0x1002b389
mov dword [ebp - 0x6c], 1
jmp 0x1002b38d
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x6c]
cmp eax, 0x3cfcb8f
jne 0x1002b3a9
cmp dword [ebp - 0x18], 0
jne 0x1002b3a9
and dword [ebp - 0xc0], 0
jmp 0x1002b3b3
mov dword [ebp - 0xc0], 1
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xc0], eax
jge 0x1002b3cd
cmp dword [ebp - 0x18], 0
jne 0x1002b3cd
and dword [ebp - 0xdc], 0
jmp 0x1002b3d7
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1002b3f2
and dword [ebp - 0x74], 0
jmp 0x1002b3f9
mov dword [ebp - 0x74], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x114]
cmp dword [ebp - 0x74], eax
jge 0x1002b417
mov dword [ebp - 0xc8], 1
jmp 0x1002b41e
and dword [ebp - 0xc8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x114]
cmp dword [ebp - 0xc8], eax
jne 0x1002b43c
mov dword [ebp - 0x7c], 1
jmp 0x1002b440
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 1
jg 0x1002b452
mov dword [ebp - 0xd0], 1
jmp 0x1002b459
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
neg eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x20], eax
jl 0x1002b6f4
mov dword [ebp - 0x84], 0xf2a5cf69
mov dword [ebp - 4], 0
jmp 0x1002b490
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x1002b4a6
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x120], 1
jmp 0x1002b489
mov dword [ebp - 4], 0
jmp 0x1002b4b6
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x1002b4cc
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x130], 0x60e0689b
jmp 0x1002b4af
mov dword [ebp - 4], 0
jmp 0x1002b4dc
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x1002b4f2
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x150], 1
jmp 0x1002b4d5
mov dword [ebp - 0x20], 0xfffffffa
jmp 0x1002b502
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xf
je 0x1002b6f2
mov dword [ebp - 0xd4], 0x602a0500
mov dword [ebp - 0x28], 0x4e81
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x124], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x120]
cmp dword [ebp - 0xd4], eax
jg 0x1002b543
mov dword [ebp - 0x38], 1
jmp 0x1002b547
and dword [ebp - 0x38], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp + eax - 0x130], ecx
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x120]
cmp eax, dword [ebp - 0x38]
jle 0x1002b574
mov dword [ebp - 0x8c], 1
jmp 0x1002b57b
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x84], 0x28db1ae9
jne 0x1002b593
mov dword [ebp - 0xd8], 1
jmp 0x1002b59a
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0xd8], eax
jne 0x1002b5b4
mov dword [ebp - 0xb4], 1
jmp 0x1002b5bb
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0xb4]
jne 0x1002b5d5
mov dword [ebp - 0x94], 1
jmp 0x1002b5dc
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1002b632
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1002b5ff
push 1
call fcn.1002a923
pop ecx
mov dword [ebp - 0x28], 0x1d
jmp 0x1002b60f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x28
jge 0x1002b62d
lea eax, [ebp - 0xd4]
push eax
push 0
push 0x42b1
call fcn.100333b1
add esp, 0xc
jmp 0x1002b608
jmp 0x1002b6ed
mov dword [ebp - 0xe8], 1
mov eax, 0xb8af
test eax, eax
je 0x1002b661
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x150], 0
je 0x1002b661
mov dword [ebp - 0xa4], 1
jmp 0x1002b668
and dword [ebp - 0xa4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x24]
cmp dword [ebp + eax - 0x150], ecx
jne 0x1002b689
cmp dword [ebp - 0x18], 0
je 0x1002b689
mov dword [ebp - 0x50], 1
jmp 0x1002b68d
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0x50], eax
jge 0x1002b6a4
mov dword [ebp - 0xbc], 1
jmp 0x1002b6ab
and dword [ebp - 0xbc], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x120]
mov ecx, dword [ebp - 0xbc]
lea eax, [eax + ecx + 1]
mov ecx, dword [ebp - 0xa4]
sub ecx, eax
cmp ecx, dword [ebp - 0xe8]
jle 0x1002b6dd
mov dword [ebp - 0xcc], 1
jmp 0x1002b6e4
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x40], eax
jmp 0x1002b4fb
jmp 0x1002b6fc
push 0
call fcn.1002fa8b
pop ecx
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0xf0]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + 0x10091848]
mov ecx, dword [ebp - 0x100]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x4c]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov dword [ebp - 0xc], 0x5d6c05ba
mov dword [ebp - 0x44], 0x9643747c
mov dword [ebp - 0x48], 0
mov dword [ebp - 0xc], 0
jmp 0x1002b74b
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xfffffffa
je 0x1002ba22
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0x10], 0
jmp 0x1002b76f
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1002b782
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 8], 0xeede0b40
jmp 0x1002b768
mov dword [ebp - 0x10], 0
jmp 0x1002b792
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1002b7a5
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x58], 0xd9751230
jmp 0x1002b78b
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 8], 0xfffffffd
jmp 0x1002b7ca
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 8]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 8], 0xffffffe8
jle 0x1002ba1d
mov dword [ebp - 0x3c], 0xa8fad749
mov dword [ebp - 0xec], 0
mov dword [ebp - 0x34], 0
jmp 0x1002b7fc
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1002b812
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x10c], 0xfad5befa
jmp 0x1002b7f5
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x10c]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x140], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc]
inc ecx
imul ecx, dword [ebp - 0xc]
cmp dword [ebp + eax - 8], ecx
jg 0x1002b84d
mov dword [ebp - 0xac], 1
jmp 0x1002b854
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0xac], eax
jne 0x1002b86b
mov dword [ebp - 0xc4], 1
jmp 0x1002b872
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 8]
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x58]
cmp dword [ebp + eax - 8], ecx
mov dword [ebp - 0x48], 0xffffffff
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x13c], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x10c]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x48], 0
jne 0x1002b8d1
mov dword [ebp - 0x88], 1
jmp 0x1002b8d8
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x3c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 8]
cmp dword [ebp - 0x3c], eax
jle 0x1002b8fc
mov dword [ebp - 0x90], 1
jmp 0x1002b903
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x90], eax
je 0x1002b91a
mov dword [ebp - 0x98], 1
jmp 0x1002b921
and dword [ebp - 0x98], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10c]
imul eax, dword [ebp - 0x98]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 8]
jl 0x1002b94d
mov dword [ebp - 0xa0], 1
jmp 0x1002b954
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0x91f32afc
jne 0x1002b969
mov dword [ebp - 0x54], 1
jmp 0x1002b96d
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0xfffffffc
jae 0x1002b97c
mov dword [ebp - 0x60], 1
jmp 0x1002b980
and dword [ebp - 0x60], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
add eax, dword [ebp - 0x60]
cmp eax, 0xbf68d270
jae 0x1002b9a0
mov dword [ebp - 0xe0], 1
jmp 0x1002b9a7
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0xe4]
cmp dword [ebp - 0x44], eax
jne 0x1002b9c4
mov dword [ebp - 0x68], 1
jmp 0x1002b9c8
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0xf6679856
jae 0x1002b9da
mov dword [ebp - 0x70], 1
jmp 0x1002b9de
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 1
jle 0x1002b9ed
mov dword [ebp - 0x78], 1
jmp 0x1002b9f1
and dword [ebp - 0x78], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x10c]
cmp dword [ebp - 0x78], eax
jne 0x1002ba0b
mov dword [ebp - 0x80], 1
jmp 0x1002ba0f
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xec], eax
jmp 0x1002b7b5
jmp 0x1002b744
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x1002ba41
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret