Function at 0x4db230
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x44], 0
je 0x4db24d
mov eax, 1
jmp 0x4db407
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x34
mov ecx, dword [ebp - 8]
and ecx, 0x80000007
jns 0x4db26b
dec ecx
or ecx, 0xfffffff8
inc ecx
test ecx, ecx
je 0x4db28b
mov edx, dword [ebp - 8]
add edx, 8
mov eax, dword [ebp - 8]
and eax, 0x80000007
jns 0x4db284
dec eax
or eax, 0xfffffff8
inc eax
sub edx, eax
mov dword [ebp - 0x24], edx
jmp 0x4db291
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xc], edx
push 0x80
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 2
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x34
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x34]
call dword [edx + 0x28]
test eax, eax
je 0x4db404
mov ecx, dword [ebp - 0x20]
add ecx, 0x34
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x34]
call dword [edx + 0x38]
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0xc]
cdq
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x34]
jne 0x4db304
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
je 0x4db31f
mov ecx, dword [ebp - 0x20]
add ecx, 0x34
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x34]
call dword [eax + 0x54]
mov dword [ebp - 4], 0
jmp 0x4db404
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x44], 1
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x48
call dword [0x502474]
mov ecx, dword [ebp - 0x20]
add ecx, 0x34
call fcn.00432950
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
push eax
call sub.MFC71.DLL_operator_new
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x4db36d
xor eax, eax
jmp 0x4db407
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x34
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x34]
call dword [edx + 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
je 0x4db3a5
xor eax, eax
jmp 0x4db407
push 1
push 0x520170
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00436040
add esp, 0x10
push 0x34
push 0
mov eax, dword [ebp - 0x20]
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
push 0x34
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call sub.MSVCR71.dll_memcpy
add esp, 0xc
mov dword [ebp - 4], 1
cmp dword [ebp - 0x10], 0
je 0x4db404
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 4