Function at 0x1001d64b
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064405
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x84
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001d691
push 0xe9f
push 1
push 0x69bc
call fcn.1001d98a
add esp, 0xc
jmp 0x1001d979
lea eax, [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x1001d6d5
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1001d979
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x6c], 0x227b
cmp dword [ebp - 0x6c], 0x127f
jge 0x1001d7f6
and dword [ebp - 0x1c], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push str._ld__ld
call fcn.1004b73b
add esp, 0xc
mov byte [ebp - 0x15], 0
xor eax, eax
inc eax
je 0x1001d7d0
cmp dword [ebp - 0x1c], 2
jl 0x1001d743
cmp dword [ebp - 0x14], 2
jl 0x1001d743
mov eax, dword [ebp - 0x1c]
dec eax
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
dec eax
dec eax
mov dword [ebp - 0x14], eax
jmp 0x1001d778
cmp dword [ebp - 0x1c], 1
jl 0x1001d761
cmp dword [ebp - 0x14], 0xc
jl 0x1001d761
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
sub eax, 0xc
mov dword [ebp - 0x14], eax
jmp 0x1001d778
cmp dword [ebp - 0x14], 0x16
jl 0x1001d772
mov eax, dword [ebp - 0x14]
sub eax, 0x16
mov dword [ebp - 0x14], eax
jmp 0x1001d778
mov byte [ebp - 0x15], 1
jmp 0x1001d7d0
cmp dword [ebp - 0x14], 0x16
jl 0x1001d789
mov eax, dword [ebp - 0x14]
sub eax, 0x16
mov dword [ebp - 0x14], eax
jmp 0x1001d7cb
cmp dword [ebp - 0x14], 0xc
jl 0x1001d7a7
cmp dword [ebp - 0x1c], 1
jl 0x1001d7a7
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
sub eax, 0xc
mov dword [ebp - 0x14], eax
jmp 0x1001d7cb
cmp dword [ebp - 0x14], 2
jl 0x1001d7c5
cmp dword [ebp - 0x1c], 2
jl 0x1001d7c5
mov eax, dword [ebp - 0x1c]
dec eax
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
dec eax
dec eax
mov dword [ebp - 0x14], eax
jmp 0x1001d7cb
mov byte [ebp - 0x15], 0
jmp 0x1001d7d0
jmp 0x1001d71c
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1001d7e8
push str.Hanako
call fcn.1004b7db
pop ecx
mov dword [ebp - 0x4c], eax
jmp 0x1001d7f6
push str.Ciel
call fcn.1004b7db
pop ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], 0x259
mov dword [ebp - 0x84], str.ruslbj_lajpq_hnvoknd_mimcodc
cmp dword [ebp - 0x30], 0x639
jle 0x1001d8ae
and dword [ebp - 0x2c], 0
jmp 0x1001d836
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6256
jge 0x1001d89f
and dword [ebp - 0x24], 0
jmp 0x1001d84c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x67b2
jge 0x1001d89d
and dword [ebp - 0x28], 0
jmp 0x1001d862
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2545
jge 0x1001d89b
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
shl eax, cl
cdq
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
push dword [ebp - 0x90]
push dword [ebp - 0x94]
mov ecx, 0x10081838
call fcn.10001e6d
jmp 0x1001d85b
jmp 0x1001d845
jmp 0x1001d82f
push 0
push 0x1d8a
push 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0xfa
jge 0x1001d8d1
mov edx, dword [ebp - 0x84]
mov ecx, 0x10081838
call fcn.100038af
jmp 0x1001d8ed
or dword [ebp - 4], 0xffffffff
jmp 0x1001d8f7
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0xf
jmp 0x1001d92e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0x1d
jle 0x1001d979
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x70], 1
push dword [ebp - 0x58]
push dword [ebp - 0x60]
push 0x6d35
push dword [ebp - 0x68]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x20]
push 0x76ae
lea eax, [ebp - 0x80]
push eax
push 1
push dword [ebp - 0x88]
push 1
call fcn.10018094
add esp, 0x30
jmp 0x1001d923
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret