Function at 0x5257a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6684be
mov eax, dword fs:[0]
push eax
mov eax, 0x1594
call fcn.005c8950
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1518], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
cmp dword [ebp + 0x10], 0
je 0x5258b2
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x151c], ecx
cmp dword [ebp - 0x151c], 0
je 0x5258b2
mov edx, dword [ebp - 0x151c]
push edx
lea ecx, [ebp - 0x1524]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits__const__]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x151c]
mov dword [ebp - 0x1550], eax
mov ecx, dword [ebp - 0x1550]
mov dword [ebp - 0x1520], ecx
cmp dword [ebp - 0x1520], 0
je 0x52584e
push 1
mov ecx, dword [ebp - 0x1520]
call fcn.004c6850
mov dword [ebp - 0x1528], eax
jmp 0x525858
mov dword [ebp - 0x1528], 0
lea ecx, [ebp - 0x1524]
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__void_const]
push eax
lea ecx, [ebp - 0x28]
call fcn.00447470
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
push edx
call fcn.00452eb0
add esp, 4
movzx eax, al
test eax, eax
je 0x525893
lea ecx, [ebp - 0x28]
call fcn.0043dc00
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1524]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
cmp dword [ebp + 0xc], 0
je 0x5259c6
push ecx
mov ecx, esp
mov dword [ebp - 0x159c], esp
push 0x69368c
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0x152c], eax
mov ecx, dword [ebp - 0x152c]
mov dword [ebp - 0x1598], ecx
mov dword [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x1594], esp
push 0x693690
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0x1530], eax
mov edx, dword [ebp - 0x1530]
mov dword [ebp - 0x1590], edx
mov byte [ebp - 4], 3
push 0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x1578], esp
push 0x693694
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0x1534], eax
mov eax, dword [ebp - 0x1534]
mov dword [ebp - 0x158c], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x1554], esp
push str._nN_O4Y
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0x1558], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x408]
call fcn.0051a070
mov dword [ebp - 0x155c], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x1518]
mov edx, dword [ecx + 0x248]
push edx
lea ecx, [ebp - 0x408]
call fcn.00519ab0
push 0
mov ecx, dword [ebp - 0x1518]
call fcn.005264a0
mov dword [ebp - 0x1538], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x408]
call fcn.0051a1a0
mov eax, dword [ebp - 0x1538]
jmp 0x525bbf
lea ecx, [ebp - 0x1510]
call fcn.0047b9e0
lea eax, [ebp - 0x1510]
push eax
call fcn.0046a540
mov ecx, eax
call fcn.0046b0c0
movzx ecx, al
test ecx, ecx
jne 0x5259ff
push 0
mov ecx, dword [ebp - 0x1518]
call fcn.005264a0
xor eax, eax
jmp 0x525bbf
push 0
push 0
push 0x2738
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_HWND______thiscall_SOUI::SApplication::GetMainWnd_void_]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor edx, edx
mov byte [ebp - 0x1511], dl
lea eax, [ebp - 0x11e2]
push eax
lea ecx, [ebp - 0x40]
call fcn.00447470
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x14a8]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00447470
mov byte [ebp - 4], 7
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x1560], esp
movzx edx, byte [ebp - 0x1511]
push edx
call fcn.00527450
mov dword [ebp - 0x153c], eax
mov eax, dword [ebp - 0x153c]
mov dword [ebp - 0x1564], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x1518]
mov ecx, dword [eax + 0x248]
push ecx
call fcn.00536c00
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.005370f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
push ecx
mov ecx, esp
mov dword [ebp - 0x1568], esp
push 0x6936ac
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0x1540], eax
mov edx, dword [ebp - 0x1540]
mov dword [ebp - 0x156c], edx
mov dword [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x1570], esp
push 0x6936b0
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0x1544], eax
mov eax, dword [ebp - 0x1544]
mov dword [ebp - 0x1574], eax
mov byte [ebp - 4], 0xa
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x15a0], esp
push 0x6936b4
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0x1548], eax
mov ecx, dword [ebp - 0x1548]
mov dword [ebp - 0x157c], ecx
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x1580], esp
push 0x6936bc
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0x1584], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7b4]
call fcn.004f9300
mov dword [ebp - 0x1588], eax
mov dword [ebp - 4], 0xc
mov edx, dword [ebp - 0x1518]
mov eax, dword [edx + 0x248]
push eax
lea ecx, [ebp - 0x7b4]
call fcn.00519ab0
push 0
mov ecx, dword [ebp - 0x1518]
call fcn.005264a0
mov dword [ebp - 0x154c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7b4]
call fcn.004f9430
mov eax, dword [ebp - 0x154c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret 0x10