Function at 0x49fc1f
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e6db5
call fcn.004d1ec0
sub esp, 0x4ac
mov eax, dword [0x52f220]
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov edi, ecx
call fcn.0049d321
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 0x49fc6e
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.0049629f
jmp 0x49fd8c
push 0x10
call fcn.00495c93
test eax, eax
jne 0x49fd81
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x4ac]
call fcn.0049eafe
push dword [eax]
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 2
call fcn.00402f7c
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 4
call fcn.0049d6ff
lea ecx, [ebp - 0x4b0]
call fcn.004510ac
push 0x4fe670
lea ecx, [ebp - 0x4b0]
call fcn.0049ee4f
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.004519f2
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.0049df87
test eax, eax
jne 0x49fd62
lea eax, [ebp - 0x4b4]
push eax
lea ecx, [ebp - 0x4ac]
call fcn.0049eb53
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x4b4]
call fcn.0049d6ff
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.00401591
lea ecx, [ebp - 0x4ac]
call fcn.0049d237
test eax, eax
lea ecx, [ebp - 0x4ac]
jne 0x49fca8
call fcn.00495caf
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.004d1f17
leave
ret