Function at 0x517150
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65c7ae
mov eax, dword fs:[0]
push eax
mov eax, 0x1598
call fcn.005bdf80
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x151c], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
cmp dword [ebp + 0x10], 0
je 0x517262
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1520], ecx
cmp dword [ebp - 0x1520], 0
je 0x517262
mov edx, dword [ebp - 0x1520]
push edx
lea ecx, [ebp - 0x1528]
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 - 0x1520]
mov dword [ebp - 0x1554], eax
mov ecx, dword [ebp - 0x1554]
mov dword [ebp - 0x1524], ecx
cmp dword [ebp - 0x1524], 0
je 0x5171fe
push 1
mov ecx, dword [ebp - 0x1524]
call fcn.004bc040
mov dword [ebp - 0x152c], eax
jmp 0x517208
mov dword [ebp - 0x152c], 0
lea ecx, [ebp - 0x1528]
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.00446a20
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
push edx
call fcn.00452450
add esp, 4
movzx eax, al
test eax, eax
je 0x517243
lea ecx, [ebp - 0x28]
call fcn.0043d1b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1528]
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 0x517376
push ecx
mov ecx, esp
mov dword [ebp - 0x15a0], esp
push 0x685cf0
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 ecx, dword [ebp - 0x1530]
mov dword [ebp - 0x159c], ecx
mov dword [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x1598], esp
push 0x685cf4
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 edx, dword [ebp - 0x1534]
mov dword [ebp - 0x1594], edx
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x157c], esp
push 0x685cf8
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0x1538], eax
mov eax, dword [ebp - 0x1538]
mov dword [ebp - 0x1590], eax
mov byte [ebp - 4], 4
push 0
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0x1558], 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 - 0x155c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7b8]
call fcn.0050f7e0
mov dword [ebp - 0x1560], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x151c]
mov edx, dword [ecx + 0x248]
push edx
lea ecx, [ebp - 0x7b8]
call fcn.0050f220
push 0
mov ecx, dword [ebp - 0x151c]
call fcn.00518660
mov dword [ebp - 0x153c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7b8]
call fcn.0050f910
mov eax, dword [ebp - 0x153c]
jmp 0x517571
lea ecx, [ebp - 0x1514]
call fcn.004799d0
lea eax, [ebp - 0x1514]
push eax
call fcn.00469af0
mov ecx, eax
call fcn.0046a570
movzx ecx, al
test ecx, ecx
jne 0x5173af
push 0
mov ecx, dword [ebp - 0x151c]
call fcn.00518660
xor eax, eax
jmp 0x517571
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 - 0x1515], dl
lea eax, [ebp - 0x11e6]
push eax
lea ecx, [ebp - 0x40]
call fcn.00446a20
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x14ac]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00446a20
mov byte [ebp - 4], 7
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x1564], esp
movzx edx, byte [ebp - 0x1515]
push edx
call fcn.00518d60
mov dword [ebp - 0x1540], eax
mov eax, dword [ebp - 0x1540]
mov dword [ebp - 0x1568], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x151c]
mov ecx, dword [eax + 0x248]
push ecx
call fcn.00528350
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.00528840
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c550
push ecx
mov ecx, esp
mov dword [ebp - 0x156c], esp
push 0x685d20
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 edx, dword [ebp - 0x1544]
mov dword [ebp - 0x1570], edx
mov dword [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x1574], esp
push 0x685d34
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 eax, dword [ebp - 0x1548]
mov dword [ebp - 0x1578], eax
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x15a4], esp
push 0x685d38
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0x154c], eax
mov ecx, dword [ebp - 0x154c]
mov dword [ebp - 0x1580], ecx
mov byte [ebp - 4], 0xb
push 0
push 3
push ecx
mov ecx, esp
mov dword [ebp - 0x1584], esp
push 0x685d4c
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0x1588], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x408]
call fcn.0050f7e0
mov dword [ebp - 0x158c], eax
mov dword [ebp - 4], 0xc
mov edx, dword [ebp - 0x151c]
mov eax, dword [edx + 0x248]
push eax
lea ecx, [ebp - 0x408]
call fcn.0050f220
push 0
mov ecx, dword [ebp - 0x151c]
call fcn.00518660
mov dword [ebp - 0x1550], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x408]
call fcn.0050f910
mov eax, dword [ebp - 0x1550]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret 0x10