Function at 0x1000b110
Capabilities:
Delete file

Disassembly:
sub esp, 0x428
mov eax, dword [0x10063790]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
push 0x206
lea eax, [esp + 0x1e]
mov edi, ecx
push 0
push eax
mov dword [esp + 0x1c], edi
mov word [esp + 0x24], 0
call fcn.1003d360
add esp, 0xc
push 0x206
lea ecx, [esp + 0x226]
push 0
push ecx
mov word [esp + 0x22c], 0
call fcn.1003d360
add esp, 0xc
mov dword [esp + 0x14], 0
xor ebx, ebx
call fcn.10032f40
mov esi, eax
test esi, esi
je 0x1000b24d
lea eax, [esp + 0x18]
mov ecx, eax
mov edx, 0x104
sub edi, ecx
nop
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x1000b1b0
movzx ecx, word [edi + eax]
test cx, cx
je 0x1000b1b0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1000b190
jmp 0x1000b1b4
test edx, edx
jne 0x1000b1b7
sub eax, 2
lea edx, [esp + 0x18]
push edx
mov word [eax], bx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, dword [esi]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
test eax, eax
jne 0x1000b1e9
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test eax, eax
je 0x1000b1e9
mov ebx, 1
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
test ebx, ebx
je 0x1000b249
test byte [0x10065ac4], 1
jne 0x1000b218
or dword [0x10065ac4], 1
call fcn.1001db00
push 0x10051230
call fcn.1003c413
add esp, 4
mov eax, dword [esp + 0x10]
push eax
push str.Volume__s_is_encrypted_by_bitlocker.
mov eax, 0x10065ac8
call fcn.1001e660
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.1003c13d
add esp, 0x428
ret
mov edi, dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1003caad
add esp, 4
call fcn.1003caba
push eax
call fcn.1003caba
push eax
push str.ST_d._d
lea ecx, [esp + 0x22c]
push 0x104
push ecx
call fcn.10003980
lea eax, [esp + 0x2c]
mov esi, edi
mov ecx, eax
add esp, 0x14
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x1000b2b1
movzx ecx, word [esi + eax]
test cx, cx
je 0x1000b2b1
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1000b291
jmp 0x1000b2b5
test edx, edx
jne 0x1000b2b8
sub eax, 2
lea edx, [esp + 0x18]
push edx
mov word [eax], 0
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov ecx, 0x104
lea eax, [esp + 0x18]
cmp word [eax], 0
je 0x1000b2e1
add eax, 2
sub ecx, 1
jne 0x1000b2d1
jmp 0x1000b303
test ecx, ecx
je 0x1000b303
mov eax, 0x104
sub eax, ecx
mov edx, 0x104
sub edx, eax
lea ecx, [esp + eax*2 + 0x18]
lea eax, [esp + 0x220]
call fcn.100067e0
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x18]
push eax
call esi
push 0
push 0
push 1
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x1000b344
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x18]
push edx
call esi
mov eax, 1
jmp 0x1000b37d
test byte [0x10065ac4], 1
jne 0x1000b366
or dword [0x10065ac4], 1
call fcn.1001db00
push 0x10051230
call fcn.1003c413
add esp, 4
push edi
push str.Volume__s_cannot_be_writable_
mov eax, 0x10065ac8
call fcn.1001e660
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x42c]
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0x7fe1fffb
pop ebx
xor ecx, esp
add eax, 0x801e0005
call fcn.1003c13d
add esp, 0x428
ret