Function at 0x4042a0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x436250
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
lea ecx, [esp + 8]
mov dword [esp + 0x48], ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CStdioFile::CStdioFile
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CFile::CFile_1
mov eax, dword [esp + 0x50]
mov byte [esp + 0x48], 5
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 0x1001
push 0x200
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
jne 0x4043a4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 4
call fcn.004350dc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 3
call fcn.00434ef6
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.00434eae
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call fcn.00434eae
lea ecx, [esp + 8]
mov byte [esp + 0x48], bl
call fcn.00434eae
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call fcn.00434eae
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 8
cmp dword [esi + 0x18c], ebx
jle 0x4044bd
push ebp
push edi
mov edi, dword [esp + 0x5c]
lea ecx, [esp + 0x5c]
push ebx
push ecx
lea ecx, [esi + 0x184]
call fcn.004011f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 6
call fcn.00434ed8
lea ecx, [esp + 0x5c]
mov byte [esp + 0x50], 5
call fcn.00434eae
mov edx, dword [esp + 0x10]
push 0
push 0
push edx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x4044ac
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFile::GetLength
mov ebp, eax
cmp ebp, 5
jl 0x4044ac
push ebp
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
push ebp
push esi
call dword [eax + 0x3c]
push esi
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 7
call fcn.00434ed8
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 5
call fcn.00434eae
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFile::Close
push ebp
push esi
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CStdioFile::Write
push esi
call dword [sym.imp.MSVCRT.dll_free]
mov edx, dword [edi]
mov eax, dword [esp + 0x18]
lea ecx, [ebx + 1]
add esp, 4
mov dword [edx + 0x164], ecx
mov ecx, dword [edi]
mov eax, dword [eax + 0x18c]
mov dword [ecx + 0x160], eax
mov eax, dword [edi]
mov ecx, dword [edi + 0x1c]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x4044a8
push 0xa
push ecx
push 0x475
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x18c]
inc ebx
cmp ebx, eax
jl 0x4043b6
pop edi
pop ebp
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 4
call fcn.004350dc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 3
call fcn.00434ef6
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.00434eae
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call fcn.00434eae
lea ecx, [esp + 8]
mov byte [esp + 0x48], 0
call fcn.00434eae
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call fcn.00434eae
mov ecx, dword [esp + 0x40]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8