Function at 0x43ec20
Capabilities:
Delete file

Disassembly:
push 0x43c
mov eax, 0x46c09d
call fcn.00468ea6
mov ebx, ecx
mov dword [ebp - 0x444], ebx
mov eax, dword [0x475014]
mov edi, 0x100
cmp eax, 0x475014
je 0x43ec66
test dword [eax + 0x1c], edi
je 0x43ec66
cmp byte [eax + 0x19], 4
jb 0x43ec66
push dword [eax + 0x14]
mov edx, 0x40da20
push dword [eax + 0x10]
push 0x2d
pop ecx
call fcn.00414ca8
push 0
push 0
push 0x1032
push dword [ebx + 0x144]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x43eed0
push eax
push 0x40b98c
push 0x40b9a8
mov ecx, 0x4769f0
call dword [sym.imp.MFC42u.dll_CWinApp::GetProfileIntW]
test eax, eax
je 0x43ed50
lea ecx, [ebp - 0x440]
call dword [sym.imp.MFC42u.dll_CString::CString_3]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x440]
mov edx, 0xef33
call fcn.004216fb
mov ebx, eax
test ebx, ebx
je 0x43ed22
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43ecfa
test dword [ecx + 0x1c], edi
je 0x43ecfa
cmp byte [ecx + 0x19], 2
jb 0x43ecfa
push ebx
push 0x40ac4c
push dword [ecx + 0x14]
mov edx, 0x40da20
push dword [ecx + 0x10]
push 0x2e
pop ecx
call fcn.00414cf4
call fcn.00416549
test eax, eax
je 0x43ed17
push 0x5a02cf
push ebx
push 0x8003
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x440]
jmp 0x43eec6
push ecx
mov ecx, dword [ebp - 0x440]
push 0x34
pop edx
call fcn.00422563
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
cmp eax, 6
jne 0x43eeca
call dword [sym.imp.MFC42u.dll_CString::CString]
mov ebx, dword [ebp - 0x444]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [ebx + 0x144]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x444], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x226]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x228]
lea ecx, [ebx + 0x124]
push 0x104
push eax
push 0
push dword [ebp - 0x444]
call dword [sym.imp.MFC42u.dll_CListCtrl::GetItemText_1]
lea ecx, [ebp - 0x438]
call fcn.0041f3e1
test eax, eax
jne 0x43ee18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43edf2
test dword [ecx + 0x1c], edi
je 0x43edf2
cmp byte [ecx + 0x19], 2
jb 0x43edf2
push ebx
push 0x40d7dc
push dword [ecx + 0x14]
mov edx, 0x40da20
push dword [ecx + 0x10]
push 0x2f
pop ecx
call fcn.00414cf4
call fcn.00416549
test eax, eax
je 0x43eed0
push 0x5a02eb
push ebx
push 0x8003
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x43eed0
lea ecx, [ebp - 0x43c]
call dword [sym.imp.MFC42u.dll_CString::CString_3]
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x43c]
push 0x4094f4
push eax
call dword [sym.imp.MFC42u.dll_CString::Format]
add esp, 0x10
mov dword [ebp - 4], 1
push dword [ebp - 0x43c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43eed6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43eea3
test dword [ecx + 0x1c], edi
je 0x43eea3
cmp byte [ecx + 0x19], 2
jb 0x43eea3
push ebx
push 0x40b700
push dword [ecx + 0x14]
mov edx, 0x40da20
push dword [ecx + 0x10]
push 0x31
pop ecx
call fcn.00414cf4
call fcn.00416549
test eax, eax
je 0x43eec0
push 0x5a0303
push ebx
push 0x8003
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x43c]
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.MFC42u.dll_CString::CString]
call fcn.00468de4
ret
push 0
push dword [ebp - 0x444]
push 0x1008
push dword [ebx + 0x144]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x43eec0
call fcn.00416549
test eax, eax
je 0x43eec0
push 0x5a0309
push 0x3eb
jmp 0x43eeb2