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

Disassembly:
mov eax, 0x467701
call fcn.00461c40
sub esp, 0x22c
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x18]
lea esi, [edi + 0x18]
mov ecx, esi
call dword [eax + 0x60]
cmp eax, 5
jne 0x43d801
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
je 0x43d801
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call dword [edx + 0x48]
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
lea ecx, [ebp - 0x20]
push dword [ebp + 8]
push dword [ebp - 0x18]
push 0
call dword [sym.imp.MSVCP60.dll_public:_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::compare_unsigned_int__unsigned_int__unsigned_short_int_const___unsigned_int_const]
test eax, eax
jne 0x43d7f2
mov ecx, dword [edi + 0x58]
push 3
call dword [sym.imp.Miracle.dll_Ordinal_333]
mov ecx, dword [edi + 0x58]
mov esi, dword [sym.imp.Miracle.dll_Ordinal_169]
call esi
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov ecx, dword [edi + 0x58]
call esi
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
xor eax, eax
jmp 0x43d9ca
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
push dword [ebp + 8]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
je 0x43d82c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ax, word [0x4845cc]
mov ecx, 0x81
mov word [ebp - 0x238], ax
xor eax, eax
lea edi, [ebp - 0x236]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [ebp - 0x238]
push eax
call edi
pop ecx
lea eax, [ebp - 0x238]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x43d87c
push str..png
push eax
call edi
pop ecx
pop ecx
lea eax, [ebp - 0x238]
push eax
call ebx
test eax, eax
je 0x43d896
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], 0
je 0x43d8a8
push str..ses
push dword [ebp - 0x10]
call edi
pop ecx
pop ecx
lea eax, [ebp - 0x238]
push eax
call ebx
test eax, eax
je 0x43d8c2
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str..zapc
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call dword [sym.imp.Ht4Dll.dll_public:_static_int___cdecl_CHT4StrTool::EqualI_unsigned_short_int_const___unsigned_short_int_const__]
pop ecx
test eax, eax
pop ecx
je 0x43d9b0
mov edi, dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
lea eax, [ebp - 0x238]
push str..info
push eax
call edi
lea eax, [ebp - 0x238]
push eax
call ebx
test eax, eax
je 0x43d90f
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x238]
push str..jpg
push eax
call edi
lea eax, [ebp - 0x238]
push eax
call ebx
test eax, eax
je 0x43d937
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x238]
push str..xml
push eax
call edi
lea eax, [ebp - 0x238]
push eax
call ebx
test eax, eax
je 0x43d95f
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x30]
call fcn.004251c5
sub esp, 0x10
mov dword [ebp - 4], 1
mov dword [ebp + 8], esp
mov al, byte [ebp + 0xb]
mov ebx, esp
push 0
mov ecx, ebx
mov byte [ebx], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov edi, 0x4845cc
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
push edi
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea ecx, [ebp - 0x30]
call fcn.004251e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004251db
mov eax, dword [esi]
push 0
push 0
push 0x3ce3
mov ecx, esi
call dword [eax + 0x74]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4