Function at 0x14000904c
Capabilities:
Capture screenshot

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov rax, qword [0x1400267d0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
xor edi, edi
mov r14, r9
mov qword [rsp + 0x68], r9
mov r12, r8
mov esi, edx
mov rbp, rcx
lea r15d, [rdi + 1]
mov r13b, dil
cmp edx, dword [0x1400284e8]
jne 0x140009099
mov r13b, r15b
mov esi, r15d
mov eax, 0x405
cmp r9w, ax
jne 0x14000914f
mov rcx, qword [0x1400284d0]
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, edi
jne 0x14000914f
cmp dword [0x1400284d8], r15d
jne 0x14000914f
mov ecx, 0x3e8
mov dword [0x1400284d8], edi
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rbp + 0xa8], 0x10
mov rax, qword [0x1400284f8]
mov qword [rsp + 0x60], rax
jb 0x1400090fa
mov r15, qword [rbp + 0x90]
jmp 0x140009101
lea r15, [rbp + 0x90]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rdx, qword [rsp + 0x60]
mov rcx, r15
mov rbx, rax
call sub.hccutils.DLL_FindResources
lea r9, [0x140007e54]
mov r8, rbx
mov edx, 0x1914
mov rcx, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov edx, 5
mov rcx, rax
mov qword [0x1400284d0], rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov r15d, 1
cmp esi, 0x7e
ja 0x1400095d7
je 0x1400095ce
mov eax, esi
sub eax, r15d
je 0x1400095b7
sub eax, r15d
je 0x140009557
sub eax, 4
je 0x140009536
sub eax, 0x25
je 0x14000928f
cmp eax, r15d
jne 0x1400095fb
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_GetDC]
xor edx, edx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x2c]
mov rsi, rax
call fcn.14000ce70
mov dword [rsp + 0x78], 0x28
cmp qword [rbp + 0x28], rdi
je 0x1400091c6
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rbp + 0x28], rdi
mov ecx, dword [rbp + 0x80]
lea r8, [rbp + 0x28]
mov edx, SafeArrayGetDim
call fcn.1400012fc
cmp qword [rbp + 0x28], rdi
jne 0x1400091ed
mov dword [r14 + 0x10], edi
mov dword [r14 + 0xc], edi
jmp 0x14000927a
mov rdx, qword [rbp + 0x28]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.GDI32.dll_GetDIBits]
mov r11d, dword [rsp + 0x80]
lea rcx, str.Progman
xor edx, edx
mov dword [r14 + 0x10], r11d
call qword [sym.imp.USER32.dll_FindWindowA]
cmp rax, rdi
je 0x140009260
mov edx, 0xffffffec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x16
jae 0x140009260
mov ecx, 0x36
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, r15d
sub ecx, eax
mov eax, dword [rsp + 0x7c]
lea ecx, [rax + rcx*2]
jmp 0x140009276
mov ecx, 0x36
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [rsp + 0x7c]
add eax, eax
sub ecx, eax
sub ecx, 6
mov dword [r14 + 0xc], ecx
mov rcx, qword [rbp + 8]
mov rdx, rsi
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edi, r15d
jmp 0x140009699
cmp qword [rbp + 0x28], rdi
je 0x140009699
mov rcx, qword [r14 + 0x20]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, qword [r14 + 0x20]
mov rsi, rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r13d, dword [r14 + 0x34]
mov r12d, dword [r14 + 0x30]
mov rcx, rax
sub r13d, dword [r14 + 0x2c]
sub r12d, dword [r14 + 0x28]
mov rdi, rax
mov r8d, r13d
mov edx, r12d
mov qword [rsp + 0x60], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, qword [rbp + 0x28]
mov rcx, rsi
mov rbx, rax
mov qword [rsp + 0x70], rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rbx
mov rcx, rdi
mov r15, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [r14 + 0x20]
mov rbp, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, r13d
mov edx, r12d
mov rcx, rsi
mov rbx, rax
mov qword [rsp + 0x50], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rbx
mov rdx, rax
mov r14, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, qword [rsp + 0x58]
mov edx, 0xffffff
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.GDI32.dll_SetBkColor]
mov dword [rsp + 0x40], 0xcc0020
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov r9d, r12d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.GDI32.dll_BitBlt]
mov rbx, qword [rsp + 0x68]
mov edx, 0xffffff
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov edi, eax
call qword [sym.imp.GDI32.dll_SetTextColor]
mov dword [rsp + 0x40], 0xcc0020
mov ebx, eax
mov rax, qword [rsp + 0x68]
mov r9d, r12d
mov ecx, dword [rax + 0x2c]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x38], ecx
mov ecx, dword [rax + 0x28]
mov dword [rsp + 0x30], ecx
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x20], r13d
call qword [sym.imp.GDI32.dll_BitBlt]
xor eax, eax
mov dword [rsp + 0x40], 0x660046
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov r9d, r12d
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.GDI32.dll_BitBlt]
mov rcx, qword [rsp + 0x50]
xor eax, eax
mov dword [rsp + 0x40], 0x8800c6
mov r9d, r12d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.GDI32.dll_BitBlt]
mov rcx, qword [rsp + 0x50]
xor eax, eax
mov dword [rsp + 0x40], 0x660046
mov r9d, r12d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.GDI32.dll_BitBlt]
xor eax, eax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x50]
mov r9d, r12d
mov r12, qword [rsp + 0x68]
mov r8d, dword [r12 + 0x2c]
mov edx, dword [r12 + 0x28]
mov rcx, qword [r12 + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call qword [sym.imp.GDI32.dll_BitBlt]
mov rcx, qword [r12 + 0x20]
mov edx, edi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rcx, qword [r12 + 0x20]
mov edx, ebx
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rdi, qword [rsp + 0x60]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, qword [rsp + 0x50]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rsi, qword [rsp + 0x58]
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov edi, 1
jmp 0x140009699
cmp qword [rbp + 0x18], rdi
je 0x140009699
cmp byte [rbp + 0x70], dil
jne 0x140009699
mov rcx, rbp
call fcn.1400084e4
jmp 0x140009699
cmp qword [rbp + 0x18], rdi
je 0x140009565
mov rcx, rbp
call fcn.1400084e4
mov rcx, qword [rbp + 0x10]
cmp rcx, rdi
je 0x140009578
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rbp + 0x10], rdi
mov rcx, qword [rbp + 0x28]
cmp rcx, rdi
je 0x14000958b
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rbp + 0x28], rdi
mov rcx, rbp
call fcn.1400084c0
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
mov edx, 2
mov rcx, qword [rbp + 8]
mov r9, r14
mov r8, r12
call qword [sym.imp.USER32.dll_DefWindowProcA]
mov edi, eax
jmp 0x140009699
cmp r13b, dil
jne 0x1400095c1
mov edx, r15d
jmp 0x1400095a0
mov rcx, rbp
call fcn.14000830c
jmp 0x140009699
mov dword [0x1400284e0], r15d
jmp 0x140009606
cmp esi, 0x111
je 0x140009678
cmp esi, 0x40a
je 0x140009647
cmp esi, 0x1989
je 0x140009640
cmp esi, 0x807c
je 0x1400095ff
mov edx, esi
jmp 0x1400095a0
mov dword [0x1400284dc], r15d
mov eax, dword [0x1400284e4]
cmp eax, edi
je 0x140009621
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_KillTimer]
mov dword [0x1400284e4], edi
lea r9, [0x140008c90]
xor edx, edx
xor ecx, ecx
mov r8d, 0x1f4
call qword [sym.imp.USER32.dll_SetTimer]
mov dword [0x1400284e4], eax
jmp 0x140009699
call fcn.14000a8f0
jmp 0x140009699
cmp r14, 0x201
jl 0x140009699
cmp r14, 0x209
jg 0x140009699
cmp r12, 0x64
jne 0x140009699
cmp byte [rbp + 0x70], dil
jne 0x140009699
mov byte [rbp + 0x70], r15b
lea r9, [0x140008530]
mov r8d, 0x12c
jmp 0x14000968c
mov dword [0x1400284b8], r12d
lea r9, [0x140008d50]
mov r8d, 0x12d
mov rcx, qword [rbp + 8]
mov rdx, r15
call qword [sym.imp.USER32.dll_SetTimer]
mov eax, edi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14000cff0
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret