Function at 0x46ad30
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb3cf
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1508
call fcn.004c0e30
mov eax, dword [0x54c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 0x14]
mov esi, dword [ebx + 0x10]
mov dword [eax], 1
test esi, esi
je 0x46ae7d
push esi
lea ecx, [ebp - 0x150c]
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 ecx, esi
mov dword [ebp - 4], 0
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
push 4
push esi
call fcn.004c04a1
mov eax, dword [ebp - 0x150c]
xorps xmm0, xmm0
mov edx, eax
mov dword [ebp - 0x1c], 0
add esp, 8
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x46add2
sub edx, esi
lea ecx, [ebp - 0x2c]
sar edx, 1
push edx
push eax
call fcn.004197f0
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.004dbec1
add esp, 8
test eax, eax
je 0x46ae0a
cmp eax, 0xd
jne 0x46ae1c
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x46ae56
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46ae4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b168
push ecx
push edx
call fcn.004c04a1
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x150c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
cmp dword [ebx + 0xc], 0
je 0x46af29
push ecx
mov ecx, esp
mov dword [ebp - 0x150c], esp
push 0x50d9a4
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov dword [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x1514], esp
push 0x50d9a4
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0
push 1
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x1518], esp
push 0x5147e8
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
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__]
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 4], 0xffffffff
call fcn.00464540
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x3f8]
push dword [edi + 0x248]
call fcn.00464170
push 0
mov ecx, edi
call fcn.0046b670
lea ecx, [ebp - 0x3f8]
call fcn.00464690
xor eax, eax
jmp 0x46b148
lea ecx, [ebp - 0x1508]
call fcn.0041f370
call fcn.0041e8c0
lea eax, [ebp - 0x1508]
push eax
call dword [0x555a24]
add esp, 4
push 0
test al, al
jne 0x46af5d
mov ecx, edi
call fcn.0046b670
xor eax, eax
jmp 0x46b148
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]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x11da]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46af97
sub ecx, edx
lea eax, [ebp - 0x11da]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.004197f0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x14a0]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46afe0
sub ecx, edx
lea eax, [ebp - 0x14a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004197f0
sub esp, 0x28
mov byte [ebp - 4], 6
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_e7eb6b9fb9b48af58b47d63f71677fea___void__void_const__.0
mov dword [eax + 0x24], eax
call fcn.0046f0f0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 0x248]
call fcn.0046f910
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x46b067
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46b05d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b16d
push ecx
push edx
call fcn.004c04a1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x46b0a8
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46b09e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b16d
push ecx
push edx
call fcn.004c04a1
add esp, 8
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x1510], esp
push 0x50d9a4
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov dword [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x1518], esp
push 0x50d9a4
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x1514], esp
push 0x5147e8
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov ecx, esp
mov byte [ebp - 4], 9
push 0x519b60
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
lea ecx, [ebp - 0x7a8]
mov dword [ebp - 4], 0xffffffff
call fcn.0044f490
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x7a8]
push dword [edi + 0x248]
call fcn.00464170
push 0
mov ecx, edi
call fcn.0046b670
lea ecx, [ebp - 0x7a8]
call fcn.0044f5e0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c048e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.004cfc7c
call fcn.004cfc7c
int3