Function at 0x401980
Capabilities:
Contain obfuscated stackstrings
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4726ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 0x280]
mov dword [ebp - 0x10], esp
push eax
push 2
mov dword [ebp - 0x24], ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov cl, 0x6f
mov dl, 0x66
mov byte [ebp - 0x8f], cl
mov byte [ebp - 0x83], cl
mov byte [ebp - 0x81], cl
mov byte [ebp - 0x79], cl
mov byte [ebp - 0x69], cl
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x8e], dl
mov byte [ebp - 0x80], dl
mov al, 0x72
mov dl, 0x6e
mov byte [ebp - 0x50], cl
push 0
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x90], 0x53
mov byte [ebp - 0x8d], 0x74
mov byte [ebp - 0x8c], 0x77
mov byte [ebp - 0x8b], 0x61
mov byte [ebp - 0x8a], al
mov byte [ebp - 0x89], 0x65
mov byte [ebp - 0x88], 0x5c
mov byte [ebp - 0x87], 0x4d
mov byte [ebp - 0x86], 0x69
mov byte [ebp - 0x85], 0x63
mov byte [ebp - 0x84], al
mov byte [ebp - 0x82], 0x73
mov byte [ebp - 0x7f], 0x74
mov byte [ebp - 0x7e], 0x5c
mov byte [ebp - 0x7d], 0x57
mov byte [ebp - 0x7c], 0x69
mov byte [ebp - 0x7b], dl
mov byte [ebp - 0x7a], 0x64
mov byte [ebp - 0x78], 0x77
mov byte [ebp - 0x77], 0x73
mov byte [ebp - 0x76], 0x5c
mov byte [ebp - 0x75], 0x43
mov byte [ebp - 0x74], 0x75
mov byte [ebp - 0x73], al
mov byte [ebp - 0x72], al
mov byte [ebp - 0x71], 0x65
mov byte [ebp - 0x70], dl
mov byte [ebp - 0x6f], 0x74
mov byte [ebp - 0x6e], 0x56
mov byte [ebp - 0x6d], 0x65
mov byte [ebp - 0x6c], al
mov byte [ebp - 0x6b], 0x73
mov byte [ebp - 0x6a], 0x69
mov byte [ebp - 0x68], dl
mov byte [ebp - 0x67], 0x5c
mov byte [ebp - 0x66], 0x52
mov byte [ebp - 0x65], 0x75
mov byte [ebp - 0x64], dl
mov byte [ebp - 0x63], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edi, [ebp - 0x90]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [ebp - 0x50]
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x401af3
mov edi, dword [ebp - 0x4c]
mov ecx, esi
mov edx, ecx
lea esi, [ebp - 0x90]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov eax, dword [0x48c0f4]
mov ecx, dword [str.TravelCheap]
mov edx, dword [0x48c0f0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x27c]
mov dword [ebp - 4], 0
test eax, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 1
je 0x401cea
lea ecx, [ebp - 0x20]
push 0x480f28
push ecx
mov dword [ebp - 0x20], 0xd
call sub.MSVCRT.dll__CxxThrowException
mov dl, byte [0x48cf70]
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [eax]
push ecx
push 0
push 0x48cf70
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea edx, [ebp - 0x60]
mov byte [ebp - 4], 3
push edx
call fcn.00403650
add esp, 4
mov eax, dword [eax + 4]
mov byte [ebp - 4], 4
test eax, eax
jne 0x401b87
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov dword [ebp - 0x18], eax
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x38]
sub edx, ecx
cmp edx, esi
ja 0x401baf
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x401bef
mov eax, dword [ebp - 0x38]
push 0
lea ecx, [ebp - 0x40]
lea ebx, [eax + esi]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x401bef
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
push ebx
lea edi, [edx + ecx]
mov ecx, esi
mov esi, dword [ebp - 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, str.__start
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x38]
sub edx, ecx
cmp edx, esi
ja 0x401c26
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x401c68
mov eax, dword [ebp - 0x38]
push 0
lea ecx, [ebp - 0x40]
lea ebx, [eax + esi]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x401c68
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
push ebx
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, str.__start
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x401c74
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x1c]
push ecx
push 0x20006
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401cbc
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x401c9b
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
push edx
push eax
push 1
lea eax, [ebp - 0x30]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x401ce4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x401cdb
cmp al, 0xff
je 0x401cdb
dec al
mov byte [ecx], al
mov eax, 0x401d20
ret
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 0x401d20
ret
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x401cf6
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401d23
mov edx, dword [ebx]
mov ecx, ebx
mov dword [ebp - 4], 0
call dword [edx + 0x60]
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x401d63
mov al, byte [ecx - 1]
test al, al
je 0x401d59
cmp al, 0xff
je 0x401d59
dec al
mov byte [ecx - 1], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret