Function at 0x10357f3
Capabilities:
Delete file
Get disk information
Set file attributes

Disassembly:
mov eax, 0x10d3ea9
call fcn.0107a498
sub esp, 0x464
mov eax, dword [0x10e607c]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0x420], ebx
push dword [esi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x43c], 0xdd7
mov dword [ebp - 0x438], ebx
call fcn.010272a6
test eax, eax
je 0x1035cdf
lea ecx, [ebp - 0x428]
call sub.MFC42u.dll_CString::CString_2
push dword [esi]
mov dword [ebp - 4], ebx
call fcn.010354d9
push eax
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call sub.MFC42u.dll_CString::Mid_1
push eax
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 1
call fcn.01078b5e
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CString::CString
push 0x10045e8
lea ecx, [ebp - 0x428]
call sub.MFC42u.dll_CString::Find_1
cmp eax, 0xffffffff
jne 0x1035c8b
push 0x1005c40
lea ecx, [ebp - 0x428]
call sub.MFC42u.dll_CString::FindOneOf
cmp eax, 0xffffffff
jne 0x1035c8b
push 0x5c
lea ecx, [ebp - 0x428]
call sub.MFC42u.dll_CString::Find_2
cmp eax, 0xffffffff
je 0x1035c8b
lea ecx, [ebp - 0x42c]
call sub.MFC42u.dll_CString::CString_2
push 0x5c
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 2
call sub.MFC42u.dll_CString::ReverseFind
inc eax
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x428]
call sub.MFC42u.dll_CString::Mid_1
push eax
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 3
call fcn.01078b5e
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 2
call sub.MFC42u.dll_CString::CString
lea ecx, [ebp - 0x42c]
call sub.MFC42u.dll_CString::TrimLeft
lea ecx, [ebp - 0x42c]
call sub.MFC42u.dll_CString::TrimRight
mov eax, dword [ebp - 0x42c]
cmp dword [eax - 8], ebx
je 0x1035974
mov eax, dword [esi]
cmp dword [eax - 8], 0x1f4
jge 0x1035974
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x42c]
call sub.MFC42u.dll_CString::Left
mov eax, dword [eax]
push 0x1005c3c
push eax
mov dword [ebp - 0x420], edi
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
mov byte [ebp - 0x415], 1
jne 0x103597a
mov byte [ebp - 0x415], bl
test byte [ebp - 0x420], 1
je 0x103598e
lea ecx, [ebp - 0x414]
call sub.MFC42u.dll_CString::CString
cmp byte [ebp - 0x415], bl
je 0x1035c73
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x1035b4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x15
jne 0x1035a4d
push esi
lea ecx, [ebp - 0x424]
call sub.MFC42u.dll_CString::CString_5
push 0x5c
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 4
call sub.MFC42u.dll_CString::Find_2
cmp eax, 0xffffffff
lea ecx, [ebp - 0x424]
je 0x1035a1f
push 0x5c
call sub.MFC42u.dll_CString::Find_2
inc eax
push eax
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x424]
call sub.MFC42u.dll_CString::Left
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 5
call fcn.01078b5e
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 4
call sub.MFC42u.dll_CString::CString
jmp 0x1035a29
push 0x1003824
call sub.MFC42u.dll_CString::operator_1
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x1035be1
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call sub.MFC42u.dll_CString::CString
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x1035c04
lea ecx, [ebp - 0x41c]
call sub.MFC42u.dll_CString::CString_2
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 6
call sub.MFC42u.dll_CString::CString_2
push dword [esi]
lea eax, [ebp - 0x410]
push eax
mov byte [ebp - 4], 7
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x410]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
add esp, 0x10
test eax, eax
je 0x1035c23
lea eax, [ebp - 0x410]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
push 0x2805
lea ecx, [ebp - 0x420]
mov word [eax], bx
call sub.MFC42u.dll_CString::LoadStringW
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x420]
lea eax, [ebp - 0x41c]
push eax
call sub.MFC42u.dll_CString::Format
add esp, 0xc
call fcn.01022d6e
cmp word [eax + 0xb88], 2
je 0x1035b12
push 1
push ebx
push 0x40
push 4
push dword [ebp - 0x41c]
push 0x2806
call fcn.01056de7
cmp eax, 6
jne 0x1035c23
lea eax, [ebp - 0x410]
push eax
call fcn.0108a121
test eax, eax
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 6
je 0x1035c2d
call sub.MFC42u.dll_CString::CString
lea ecx, [ebp - 0x41c]
mov byte [ebp - 4], 2
call sub.MFC42u.dll_CString::CString
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
push ebx
push 0x80
push 4
push ebx
push ebx
push 0xc0000000
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x414], eax
je 0x10359ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1035b85
mov dword [ebp - 0x438], 1
mov edi, dword [ebp - 0x414]
cmp edi, 0xffffffff
je 0x1035c7d
lea eax, [ebp - 0x470]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x1035c46
test byte [ebp - 0x470], 0x10
jne 0x1035c46
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
push 0x2000
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x438], ebx
je 0x1035bdc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
inc esi
jmp 0x1035c4f
push dword [ebp - 0x424]
push 0xa8
call fcn.01084486
pop ecx
pop ecx
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call sub.MFC42u.dll_CString::CString
jmp 0x1035c4d
mov eax, dword [esi]
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x80000000
push eax
call edi
mov dword [ebp - 0x414], eax
jmp 0x1035b85
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x420]
call sub.MFC42u.dll_CString::CString
lea ecx, [ebp - 0x41c]
mov byte [ebp - 4], 2
call sub.MFC42u.dll_CString::CString
jmp 0x1035b85
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call sub.MFC42u.dll_CString::CString
mov eax, esi
jmp 0x1035d9e
mov dword [ebp - 0x43c], 0x80f7
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CString::CString
lea ecx, [ebp - 0x430]
call sub.MFC42u.dll_CString::CString_2
push dword [esi]
lea eax, [ebp - 0x430]
push dword [ebp - 0x43c]
mov byte [ebp - 4], 8
push eax
call sub.MFC42u.dll_CString::Format_1
add esp, 0xc
push ebx
push ebx
push 0x30
push ebx
push dword [ebp - 0x430]
push 0xfa6
call fcn.01056de7
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CString::CString
lea ecx, [ebp - 0x428]
jmp 0x1035d93
lea ecx, [ebp - 0x414]
call sub.MFC42u.dll_CString::CString_2
lea ecx, [ebp - 0x41c]
mov dword [ebp - 4], 9
call sub.MFC42u.dll_CString::CString_2
push dword [esi]
mov byte [ebp - 4], 0xa
call fcn.010354d9
test eax, eax
je 0x1035d5c
push dword [esi]
call fcn.010354d9
push eax
lea eax, [ebp - 0x434]
push eax
mov ecx, esi
call sub.MFC42u.dll_CString::Left
push eax
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 0xb
call fcn.01078b5e
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0xa
call sub.MFC42u.dll_CString::CString
push dword [ebp - 0x414]
lea eax, [ebp - 0x41c]
push 0xa7
push eax
call sub.MFC42u.dll_CString::Format_1
add esp, 0xc
jmp 0x1035d69
push 0x63
lea ecx, [ebp - 0x41c]
call sub.MFC42u.dll_CString::LoadStringW
push ebx
push ebx
push 0x30
push ebx
push dword [ebp - 0x41c]
push 0xfa6
call fcn.01056de7
lea ecx, [ebp - 0x41c]
mov byte [ebp - 4], 9
call sub.MFC42u.dll_CString::CString
lea ecx, [ebp - 0x414]
or dword [ebp - 4], 0xffffffff
call sub.MFC42u.dll_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01078836
leave
ret 4