Function at 0x474a20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bfc3
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x55f43c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], ecx
lea ecx, [ebp - 0x1e4]
call fcn.00456860
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1e4]
push eax
call fcn.004b82c0
mov ecx, eax
call fcn.004b99a0
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x474a93
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.00456a30
jmp 0x474dd9
cmp dword [ebp - 0x2c], 0xa
jge 0x474aa5
mov dword [ebp - 0x230], 0xa
jmp 0x474aae
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x2c], edx
push 0x52485a
lea ecx, [ebp - 0x1f8]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 1
call fcn.004b82c0
lea eax, [ebp - 0x1f8]
push eax
call fcn.004b8540
add esp, 4
push str.Bin_Logs
lea ecx, [ebp - 0x1f8]
call dword [sym.imp.mfc100.dll_Ordinal_1483]
lea ecx, [ebp - 0x1f4]
call fcn.004758a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004758a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1f4]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x204], esp
push str..icl
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0x234], eax
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x208], esp
lea eax, [ebp - 0x1f8]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x22c]
call fcn.00455840
lea ecx, [ebp - 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x20c], esp
push str..log
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0x240], eax
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x244], edx
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x210], esp
lea eax, [ebp - 0x1f8]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x22c]
call fcn.00455840
lea ecx, [ebp - 0x1fc]
push ecx
lea ecx, [ebp - 0x1f4]
call fcn.0045e710
lea ecx, [ebp - 0x1f4]
call fcn.00475930
cmp eax, dword [ebp - 0x2c]
jbe 0x474cb2
mov edx, dword [0x55fc1c]
cmp dword [edx], 5
jl 0x474c5a
mov eax, 1
test eax, eax
je 0x474c33
push 0x116a
push 0x529d00
push 0x529d1c
lea ecx, [ebp - 0x1fc]
call fcn.004760e0
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push str.icl_file_count_is_large_than__d__remove_the_oldest_one._____s_t_s___s__line:_d____n
push 5
mov eax, dword [0x55fc1c]
push eax
call fcn.00496cb0
add esp, 0x20
jmp 0x474c5a
lea ecx, [ebp - 0x1fc]
call fcn.004760e0
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push str.icl_file_count_is_large_than__d__remove_the_oldest_one._____s_n
push 5
mov eax, dword [0x55fc1c]
push eax
call fcn.00496cb0
add esp, 0x14
xor ecx, ecx
jne 0x474be7
lea ecx, [ebp - 0x1fc]
call fcn.004760e0
mov ecx, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x1fc]
call fcn.00476100
mov eax, dword [eax]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x1f4]
call fcn.00475950
jmp 0x474bd3
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0045e710
lea ecx, [ebp - 0x1c]
call fcn.00475930
cmp eax, dword [ebp - 0x2c]
jbe 0x474d9c
mov ecx, dword [0x55fc1c]
cmp dword [ecx], 5
jl 0x474d47
mov edx, 1
test edx, edx
je 0x474d1f
push 0x1171
push str.CMMPTDlg::DeleteIclLog_Ex
push str.MMPTDlg2.cpp
lea ecx, [ebp - 0x200]
call fcn.004760e0
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push str.debug_log_file_count_is_large_than__d__remove_the_oldest_one._____s_t_s___s__line:_d____n
push 5
mov edx, dword [0x55fc1c]
push edx
call fcn.00496cb0
add esp, 0x20
jmp 0x474d47
lea ecx, [ebp - 0x200]
call fcn.004760e0
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push str.debug_log_file_count_is_large_than__d__remove_the_oldest_one._____s_n
push 5
mov edx, dword [0x55fc1c]
push edx
call fcn.00496cb0
add esp, 0x14
xor eax, eax
jne 0x474cd2
lea ecx, [ebp - 0x200]
call fcn.004760e0
mov ecx, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x200]
call fcn.00476100
mov edx, dword [eax]
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x220]
push eax
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00475950
jmp 0x474cc1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00475880
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1f4]
call fcn.00475880
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1f8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.00456a30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00501b98
mov esp, ebp
pop ebp
ret