Function at 0x100109d0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3c80
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10145188]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ebx
mov dword [ebx], vtable.CDuiFileSendAndReceiveWnd.0
mov dword [ebx + 0x10], vtable.CDuiFileSendAndReceiveWnd.1.0
mov dword [ebx + 0x20], vtable.CDuiFileSendAndReceiveWnd.2.0
mov dword [ebx + 0x24], vtable.CDuiFileSendAndReceiveWnd.3.0
mov dword [ebx + 0x28], vtable.CDuiFileSendAndReceiveWnd.4.0
mov dword [ebx + 0x468], 0x100f223c
push 0
mov ecx, ebx
mov dword [ebp - 4], 0xc
call dword [sym.imp.DuiLib_u.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.RJCenterControl.dll_void___cdecl_RJCMSG::cm_msg_recv_unreg_struct_HWND_____unsigned_int_]
add esp, 8
cmp dword [ebx + 0x738], 0
je 0x10010a59
lea eax, [ebx + 0x6e0]
push eax
call fcn.10003990
push str..lock
lea edi, [ebx + 0x6a4]
lea ecx, [ebp - 0x2c]
push edi
push ecx
call fcn.10016370
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x10010a81
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10010a9e
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x10010a97
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x18], esi
mov esi, dword [sym.imp.mfc100u.dll_delete_1]
jb 0x10010ab2
mov edx, dword [ebp - 0x2c]
push edx
call esi
add esp, 4
lea ecx, [ebx + 0x740]
mov byte [ebp - 4], 0xb
call fcn.100051c0
lea ecx, [ebx + 0x740]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [ebx + 0x6d4], 8
jb 0x10010ae2
mov eax, dword [ebx + 0x6c0]
push eax
call esi
add esp, 4
xor edx, edx
xor eax, eax
mov dword [ebx + 0x6d4], 7
mov dword [ebx + 0x6d0], edx
mov word [ebx + 0x6c0], ax
cmp dword [edi + 0x14], 8
jb 0x10010b0d
mov eax, dword [edi]
push eax
call esi
add esp, 4
xor edx, edx
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], edx
mov word [edi], cx
cmp dword [ebx + 0x69c], 8
jb 0x10010b33
mov eax, dword [ebx + 0x688]
push eax
call esi
add esp, 4
xor edx, edx
mov dword [ebx + 0x69c], 7
mov dword [ebx + 0x698], edx
xor eax, eax
mov word [ebx + 0x688], ax
mov ecx, dword [ebx + 0x670]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebx + 0x670]
mov dword [ecx + 4], ecx
mov dword [ebx + 0x674], edx
cmp eax, dword [ebx + 0x670]
je 0x10010b82
lea ecx, [ecx]
mov edi, dword [eax]
push eax
call esi
add esp, 4
mov eax, edi
cmp edi, dword [ebx + 0x670]
jne 0x10010b70
mov eax, dword [ebx + 0x670]
push eax
call esi
lea esi, [ebx + 0x660]
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 0xe
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x34]
call fcn.10015120
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.mfc100u.dll_delete_1]
lea esi, [ebx + 0x650]
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0xf
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x30]
call fcn.10015120
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.mfc100u.dll_delete_1]
lea esi, [ebx + 0x640]
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0x10
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x30]
call fcn.10015cb0
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.mfc100u.dll_delete_1]
lea esi, [ebx + 0x630]
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0x11
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x30]
call fcn.10015270
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.mfc100u.dll_delete_1]
lea esi, [ebx + 0x620]
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0x12
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x30]
call fcn.10015270
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.mfc100u.dll_delete_1]
lea esi, [ebx + 0x610]
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0x13
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x30]
call fcn.10015120
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.mfc100u.dll_delete_1]
add esp, 4
lea ecx, [ebx + 0x4a8]
mov byte [ebp - 4], 0
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_]
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.10002820
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d0962
mov esp, ebp
pop ebp
ret