Function at 0x49faa2
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e5693
call fcn.004d1d50
sub esp, 0x4ac
mov eax, dword [0x52e400]
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov edi, ecx
call fcn.0049d1e6
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov eax, dword [ebp - 0x18]
and dword [ebp - 4], 0
dec eax
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp word [eax], 0x5c
je 0x49faf1
push 0x5c
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_]
push str..thunderskin
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
and dword [ebp - 0x50], 0
and dword [ebp - 0x4c], 0
mov word [ebp - 0x54], 0x5c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x4ac]
call fcn.00495cd7
jmp 0x49fc0f
push 0x10
call fcn.004956eb
test eax, eax
jne 0x49fc04
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x4ac]
call fcn.0049e961
push dword [eax]
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 2
call fcn.00403035
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 4
call fcn.0049d5c5
lea ecx, [ebp - 0x4b0]
call fcn.0044f077
push 0x4ffed8
lea ecx, [ebp - 0x4b0]
call fcn.0049ecc2
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, dword [ebp - 0x4b0]
mov ecx, dword [eax - 0xc]
lea edx, [ebp - 0x48]
push edx
push ecx
push eax
mov byte [ebp - 4], 5
call fcn.0044f9bd
add esp, 0xc
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, edi
call fcn.0049ddc5
test eax, eax
jne 0x49fbe5
lea eax, [ebp - 0x4b4]
push eax
lea ecx, [ebp - 0x4ac]
call fcn.0049e9b6
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x4b4]
call fcn.0049d5c5
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 0x4b0]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401572
lea ecx, [ebp - 0x4ac]
call fcn.0049d0fc
test eax, eax
lea ecx, [ebp - 0x4ac]
jne 0x49fb2b
call fcn.00495707
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
mov al, 1
pop edi
call fcn.004d1da7
leave
ret