Function at 0x4a603b
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e5e2a
call fcn.004d1d50
sub esp, 0x7c
mov eax, dword [0x52e400]
push ebx
mov ebx, dword [ebp + 8]
xor eax, ebp
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
cmp eax, 3
je 0x4a6065
cmp eax, 2
jne 0x4a6082
mov ecx, dword [esi + 0x9c]
mov eax, dword [esi + 0x98]
jmp 0x4a607a
cmp dword [eax], ebx
je 0x4a607e
add eax, 4
cmp eax, ecx
jne 0x4a6073
cmp eax, ecx
jne 0x4a6089
xor al, al
jmp 0x4a61e8
push edi
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [esi + 0x94]
call fcn.004a3a93
mov ecx, ebx
call fcn.004a7231
test eax, eax
mov dword [ebp - 0x68], eax
je 0x4a60c5
lea edi, [esi + 0xa4]
mov ecx, dword [edi]
push eax
call fcn.004a3d9a
mov ecx, dword [edi]
call fcn.004a434e
mov ecx, dword [ebp - 0x68]
call fcn.004a3823
mov ecx, ebx
call fcn.004a6aba
mov ecx, ebx
call fcn.004a666f
test eax, eax
je 0x4a61d3
lea ecx, [ebp - 0x64]
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_void_]
xor edi, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
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_void_]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004a666f
push eax
call fcn.004a65a2
pop ecx
pop ecx
lea eax, [ebp - 0x64]
push eax
mov ecx, ebx
call fcn.004a666f
push eax
call sub.MSVCR71.dll_strlen
pop ecx
push eax
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
call fcn.0044fd65
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
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]
mov ecx, dword [esi + 0xa4]
push eax
call fcn.004a3305
push edi
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_]
cmp dword [ebp - 0x18], edi
jbe 0x4a61ac
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor esi, esi
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x78], 0x414
mov dword [ebp - 0x72], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x6e], esi
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]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x84], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
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_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
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_]
test ebx, ebx
pop edi
je 0x4a61e6
mov ecx, ebx
call fcn.004a6f2d
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
pop ecx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1da7
leave
ret 4