Function at 0x49d980
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 0x566557
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1320
call fcn.0052bda0
mov eax, dword [0x5ef300]
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 0x49dadb
push esi
lea ecx, [ebp - 0x1310]
call dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_class_SOUI::SStringW_const__]
mov ecx, esi
mov dword [ebp - 4], 0
call dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::destructor_void_]
push 8
push esi
call fcn.0052b438
add esp, 8
lea ecx, [ebp - 0x1310]
call dword [sym.imp.utilities4.dll_public:_wchar_t_const____thiscall_SOUI::SStringW::operator_wchar_t_const__void_const]
mov edx, eax
mov dword [ebp - 0x1c], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49da30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00419c10
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.00545367
add esp, 8
test eax, eax
je 0x49da68
cmp eax, 0xd
jne 0x49da7a
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 0x49dab4
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49daaa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ddeb
push ecx
push edx
call fcn.0052b438
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1310]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::destructor_void_]
cmp dword [ebx + 0xc], 0
je 0x49dba9
mov esi, dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_wchar_t_const__]
lea ecx, [ebp - 0x1324]
push str._string_common_box_sys_upload_header_failed
call esi
sub esp, 8
mov dword [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x1314], esp
push 0x58242c
call esi
sub esp, 8
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x1318], esp
push 0x58242c
call esi
sub esp, 8
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x131c], esp
push 0x58242c
call esi
push 0
push 3
sub esp, 8
mov byte [ebp - 4], 4
mov eax, esp
lea ecx, [ebp - 0x1324]
push ecx
push eax
call dword [sym.imp.soui4.dll_public:_static_class_SOUI::SUiDef____cdecl_SOUI::SSingleton2_class_SOUI::SUiDef_::getSingletonPtr_void_]
mov ecx, eax
call dword [sym.imp.soui4.dll_public:_class_SOUI::SStringW___thiscall_SOUI::SUiDef::GetString_class_SOUI::SStringW_const__]
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 1
call fcn.00490b10
lea ecx, [ebp - 0x1324]
mov byte [ebp - 4], 6
call dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::destructor_void_]
push dword [edi + 0x20]
lea eax, [ebp - 0x358]
push eax
call fcn.00490450
push 0
mov ecx, edi
call fcn.004a1e20
lea ecx, [ebp - 0x358]
call fcn.00490c80
xor eax, eax
jmp 0x49ddcb
lea ecx, [ebp - 0x1308]
call fcn.0041fce0
call fcn.0041f660
lea eax, [ebp - 0x1308]
push eax
call dword [0x5ffdf4]
add esp, 4
test al, al
jne 0x49dbdd
push 0
mov ecx, edi
call fcn.004a1e20
xor eax, eax
jmp 0x49ddcb
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0xfda]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49dc00
sub ecx, edx
lea eax, [ebp - 0xfda]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00419c10
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x12a0]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49dc44
sub ecx, edx
lea eax, [ebp - 0x12a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00419c10
sub esp, 0x28
mov byte [ebp - 4], 8
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_98c6853c2ebee97969074e488a45baba___void__void_const__.0
mov dword [eax + 0x24], eax
call fcn.004aa2c0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 0x20]
call fcn.004aaf10
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x49dcc8
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49dcbe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ddf0
push ecx
push edx
call fcn.0052b438
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x49dd09
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49dcff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ddf0
push ecx
push edx
call fcn.0052b438
add esp, 8
mov esi, dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_wchar_t_const__]
lea ecx, [ebp - 0x132c]
push str._string_common_box_sys_upload_header_success
call esi
sub esp, 8
mov dword [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x130c], esp
push 0x58242c
call esi
sub esp, 8
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x131c], esp
push 0x58242c
call esi
sub esp, 8
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x1318], esp
push 0x58242c
call esi
push 0
push 2
sub esp, 8
mov byte [ebp - 4], 0xc
mov eax, esp
lea ecx, [ebp - 0x132c]
push ecx
push eax
call dword [sym.imp.soui4.dll_public:_static_class_SOUI::SUiDef____cdecl_SOUI::SSingleton2_class_SOUI::SUiDef_::getSingletonPtr_void_]
mov ecx, eax
call dword [sym.imp.soui4.dll_public:_class_SOUI::SStringW___thiscall_SOUI::SUiDef::GetString_class_SOUI::SStringW_const__]
lea ecx, [ebp - 0x668]
mov byte [ebp - 4], 9
call fcn.00490b10
lea ecx, [ebp - 0x132c]
mov byte [ebp - 4], 0xe
call dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::destructor_void_]
push dword [edi + 0x20]
lea eax, [ebp - 0x668]
push eax
call fcn.00490450
push 0
mov ecx, edi
call fcn.004a1e20
lea ecx, [ebp - 0x668]
call fcn.00490c80
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.0052b3fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.0053775e
call fcn.0053775e
int3