Function at 0x4269c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4947e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x49b38c
mov dword [ebp - 4], 0
mov ecx, 5
mov esi, str.CGRecData::CGRecData
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x2c], 0
jmp 0x426a17
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x10]
movsx eax, word [edx + 0x999]
cmp dword [ebp - 0x2c], eax
jge 0x426a7b
mov cx, word [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00404750
push eax
mov dx, word [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004049a0
push eax
mov eax, dword [ebp - 0x10]
movsx ecx, word [eax + 0x880]
push ecx
push 0
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_recipeproject_trp_3.3d_3.3d_3.3d.bck
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x426a0e
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x8ac]
push edx
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 0x8ce]
push ecx
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 0x8cc]
push eax
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx + 0x8ca]
push edx
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 0x8c4]
push ecx
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 0x8c8]
push eax
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx + 0x8c2]
push edx
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 0x882]
push ecx
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 0x880]
push eax
push 1
push 5
mov ecx, dword [ebp - 0x10]
call fcn.00406250
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx + 0x880]
mov word [ebp - 0x1ba], dx
mov word [ebp - 0x1cd], 1
push 3
call sub.RECHEAD.dll_Ordinal_60_1
push 0
lea eax, [ebp - 0x1d0]
push eax
call sub.RECHEAD.dll_Ordinal_20_1
test eax, eax
jne 0x426b64
lea ecx, [ebp - 0x1d4]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
push 0x232
lea ecx, [ebp - 0x1d4]
call sub.MFC42.DLL_CString::LoadStringA
push 0
push 0x30
lea ecx, [ebp - 0x1d4]
call fcn.00406000
push eax
call sub.MFC42.DLL_AfxMessageBox
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d4]
call sub.MFC42.DLL_CString::CString
jmp 0x426c23
movsx esi, word [ebp - 0x1d0]
call sub.WINDCS32.dll_Ordinal_53_1
cmp esi, eax
jne 0x426c23
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x1652], 0
je 0x426c23
mov word [ebp - 0x1d0], 0
push 3
call sub.RECHEAD.dll_Ordinal_60_1
lea edx, [ebp - 0x1d0]
push edx
push 0
call fcn.004019d0
mov eax, dword [eax + 0x20]
push eax
call sub.RECHEAD.dll_Ordinal_22
test eax, eax
jne 0x426be5
push 0xa
mov cx, word [0x4a90bc]
push ecx
call sub.TraceAPI.dll_Ordinal_20
add esp, 8
test eax, eax
je 0x426be3
push str.Couldnt_unlock_RP_Header
lea edx, [ebp - 0x28]
push edx
push 0xa
mov ax, word [0x4a90bc]
push eax
call sub.TraceAPI.dll_Ordinal_30_1
add esp, 0x10
jmp 0x426c15
push 0x1e
mov cx, word [0x4a90bc]
push ecx
call sub.TraceAPI.dll_Ordinal_20
add esp, 8
test eax, eax
je 0x426c15
push str.RP_Header_unlocked_successfully
lea edx, [ebp - 0x28]
push edx
push 0x1e
mov ax, word [0x4a90bc]
push eax
call sub.TraceAPI.dll_Ordinal_30_1
add esp, 0x10
push 3
call fcn.004019d0
mov ecx, eax
call fcn.00437bf0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x1656], 0
je 0x426c3f
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1656]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x979], 0
jne 0x426c93
mov ecx, dword [ebp - 0x10]
call fcn.0040a5e0
and eax, 0xff
test eax, eax
jne 0x426c93
push 1
call sub.RECHEAD.dll_Ordinal_60_1
push 0
mov edx, dword [ebp - 0x10]
movsx eax, word [edx + 0x880]
push eax
call sub.userlog.dll_Ordinal_5
add esp, 8
test eax, eax
je 0x426c93
mov ecx, dword [ebp - 0x10]
movsx edx, word [ecx + 0x880]
push edx
call fcn.004019d0
mov ecx, eax
call fcn.00437c90
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1656], 0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x165a], 0
je 0x426cf4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x165a]
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1d8], ecx
cmp dword [ebp - 0x1d8], 0
je 0x426cea
push 1
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1d8]
call dword [eax]
mov dword [ebp - 0x1e0], eax
jmp 0x426cf4
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.004020e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret