Function at 0x100c30c0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f02c2
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x1011f07c]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push eax
mov dword [esp + 0x28], edx
mov dword [ecx + 0x38], 3
mov esi, 0xfffffffd
call fcn.10030df0
mov edi, eax
xor ebx, ebx
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
je 0x100c33ae
push 0x22c
lea eax, [esp + 0x5c]
push ebx
push eax
mov dword [esp + 0x60], ebx
call sub.MSVCR90.dll_memset
xor eax, eax
xor esi, esi
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
call dword [0x100f3984]
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x29c], esi
call fcn.100b3b30
push edi
lea ecx, [esp + 0x58]
xor edx, edx
mov byte [esp + 0x29c], 1
call fcn.10030ea0
add esp, 4
test eax, eax
jne 0x100c336e
mov eax, dword [esp + 0x280]
cmp dword [esp + 0x20], eax
jge 0x100c31c7
test ebx, ebx
je 0x100c31b1
push ebx
call sub.mfc90u.dll_delete__
mov eax, dword [esp + 0x284]
add esp, 4
push eax
mov dword [esp + 0x24], eax
call sub.mfc90u.dll_new__
mov ebx, eax
mov eax, dword [esp + 0x284]
add esp, 4
cmp dword [edi], 1
jne 0x100c32fc
mov edi, dword [edi + 4]
push eax
push ebx
push esi
call fcn.10030b20
mov dword [0x10122714], eax
test eax, eax
jne 0x100c3306
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x58]
push edx
push eax
lea ecx, [esp + 0x18]
push str._s_s
push ecx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov edx, dword [esp + 0x20]
add esp, 0x10
push edx
call fcn.100c33e0
lea ecx, [esp + 0x28]
call sub.mfc90u.dll_CFile::CFile
push 0
mov byte [esp + 0x29c], 2
mov eax, dword [esp + 0x14]
push 0x9002
push eax
lea ecx, [esp + 0x34]
call sub.mfc90u.dll_CFile::Open
test eax, eax
je 0x100c32cd
mov ecx, dword [esp + 0x280]
push ecx
push ebx
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CFile::Write
mov eax, dword [esp + 0x280]
cdq
push edx
push eax
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CFile::SetLength
lea edx, [esp + 0x274]
push edx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x268]
push eax
lea ecx, [esp + 0x274]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea ecx, [esp + 0x28]
call sub.mfc90u.dll_CFile::Close
mov eax, dword [esp + 0x260]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
lea edx, [esp + 0x10]
push edx
push ecx
push eax
call fcn.100b4030
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.100c0540
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
mov byte [esp + 0x298], 1
call fcn.100e6fb6
mov edx, dword [esp + 0x14]
inc esi
push edx
lea ecx, [esp + 0x58]
mov edx, esi
mov dword [esp + 0x20], esi
call fcn.10030ea0
mov edi, dword [esp + 0x18]
jmp 0x100c3185
mov dword [0x10122714], 0x80000
mov eax, dword [esp + 0x4c]
mov ebx, dword [eax]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x18], 0xfffffffc
mov edi, dword [esp + 0x4c]
test esi, esi
je 0x100c3326
cmp esi, dword [esp + 0x38]
je 0x100c332c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, edi
je 0x100c336a
mov edi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test esi, esi
jne 0x100c3362
call edi
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x100c3345
call edi
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
jne 0x100c3366
call edi
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x100c335e
call edi
mov ebx, dword [ebx]
jmp 0x100c3318
mov eax, dword [esi]
jmp 0x100c333e
mov eax, dword [esi]
jmp 0x100c3357
mov edi, dword [esp + 0x14]
call fcn.100311d0
lea edi, [esp + 0x38]
call fcn.100c05d0
mov edx, dword [esp + 0x4c]
push edx
call sub.mfc90u.dll_delete_1
mov eax, dword [esp + 0x3c]
add esp, 4
push eax
mov dword [esp + 0x50], 0
call sub.mfc90u.dll_delete_1
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x18]
jmp 0x100c33b0
mov eax, esi
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.100e78b2
mov esp, ebp
pop ebp
ret 8