Function at 0x51ec20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66470e
mov eax, dword fs:[0]
push eax
mov eax, 0x1598
call fcn.005c5930
mov eax, dword [0x7060c4]
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 0x51ed32
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1520], ecx
cmp dword [ebp - 0x1520], 0
je 0x51ed32
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 0x51ecce
push 1
mov ecx, dword [ebp - 0x1524]
call fcn.004c6160
mov dword [ebp - 0x152c], eax
jmp 0x51ecd8
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.00446d70
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
push edx
call fcn.004527a0
add esp, 4
movzx eax, al
test eax, eax
je 0x51ed13
lea ecx, [ebp - 0x28]
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
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 0x51ee46
push ecx
mov ecx, esp
mov dword [ebp - 0x15a0], esp
push 0x68e3bc
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 0x68e3c0
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 0x68e3c4
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 3
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.005146f0
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.00514130
push 0
mov ecx, dword [ebp - 0x151c]
call fcn.00520130
mov dword [ebp - 0x153c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7b8]
call fcn.00514820
mov eax, dword [ebp - 0x153c]
jmp 0x51f041
lea ecx, [ebp - 0x1514]
call fcn.0047a3f0
lea eax, [ebp - 0x1514]
push eax
call fcn.00469f10
mov ecx, eax
call fcn.0046a9a0
movzx ecx, al
test ecx, ecx
jne 0x51ee7f
push 0
mov ecx, dword [ebp - 0x151c]
call fcn.00520130
xor eax, eax
jmp 0x51f041
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.00446d70
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x14ac]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00446d70
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.00520830
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.00532d10
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.00533310
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
push ecx
mov ecx, esp
mov dword [ebp - 0x156c], esp
push 0x68e3ec
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 0x68e400
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 0x68e404
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 2
push ecx
mov ecx, esp
mov dword [ebp - 0x1584], esp
push 0x68e418
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.005146f0
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.00514130
push 0
mov ecx, dword [ebp - 0x151c]
call fcn.00520130
mov dword [ebp - 0x1550], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x408]
call fcn.00514820
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.005c4766
mov esp, ebp
pop ebp
ret 0x10