Function at 0x14000ded4
Capabilities:
Capture screenshot
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov rax, qword [0x140059d90]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r12, r9
mov r14, r8
mov r13d, edx
mov rsi, rcx
xor edi, edi
mov byte [rsp + 0x50], dil
lea r15d, [rdi + 1]
cmp edx, dword [0x14005c420]
jne 0x14000df2a
mov byte [rsp + 0x50], r15b
mov r13d, r15d
mov eax, 0x405
cmp r9w, ax
jne 0x14000e0c3
mov rcx, qword [0x14005c3f8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14000e0c3
cmp dword [0x14005c408], r15d
jne 0x14000dfd5
mov dword [0x14005c408], edi
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [0x14005c858]
mov qword [rsp + 0x58], rax
lea r15, [rsi + 0x68]
cmp qword [r15 + 0x18], 0x10
jb 0x14000df82
mov r15, qword [r15]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rbx, rax
mov rdx, qword [rsp + 0x58]
mov rcx, r15
call sub.hccutils.DLL_FindResources
mov rcx, rax
mov qword [rsp + 0x20], rdi
lea r9, [0x14000cab4]
mov r8, rbx
mov edx, 0x1914
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14005c3f8], rax
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov r15d, 1
jmp 0x14000e0c3
cmp dword [0x14005c40c], r15d
jne 0x14000e0c3
mov dword [0x14005c40c], edi
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbp + 0x38], SafeArrayAccessData
mov qword [rbp + 0x30], rdi
mov byte [rbp + 0x20], dil
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rbp + 0x20]
call fcn.1400213f0
lea rcx, str.DPTopologyApp.exe
call fcn.140020e10
mov r8, rax
lea rdx, str.DPTopologyApp.exe
lea rcx, [rbp + 0x20]
call fcn.1400033ac
xor edx, edx
lea r8d, [rdx + 0x18]
lea rcx, [rbp - 0x78]
call fcn.1400213f0
mov ebx, 0x68
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.1400213f0
mov dword [rbp - 0x50], ebx
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rdx, qword [rbp + 0x20]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x4000020
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000e0b3
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rbp + 0x38], 0x10
jb 0x14000e0c3
mov rcx, qword [rbp + 0x20]
call fcn.140020508
cmp r13d, 0x7e
ja 0x14000e544
je 0x14000e53b
mov eax, r13d
dec eax
je 0x14000e522
dec eax
je 0x14000e4c2
sub eax, 4
je 0x14000e4a1
sub eax, 0x25
je 0x14000e1f9
dec eax
jne 0x14000e56b
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDC]
mov r13, rax
xor edx, edx
lea r8d, [rdx + 0x2c]
lea rcx, [rbp + 0x20]
call fcn.1400213f0
mov dword [rbp + 0x20], SafeArrayCreateVectorEx
cmp qword [rsi + 0x28], rdi
je 0x14000e137
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rsi + 0x28], rdi
mov r9d, dword [rsi + 0x64]
lea r8, [rsi + 0x28]
mov edx, SafeArrayGetDim
mov ecx, dword [rsi + 0x60]
call fcn.140001d6c
cmp qword [rsi + 0x28], rdi
jne 0x14000e15c
mov qword [r12 + 0xc], rdi
jmp 0x14000e1e4
mov dword [rsp + 0x30], edi
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsi + 0x28]
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetDIBits]
mov r11d, dword [rbp + 0x28]
mov dword [r12 + 0x10], r11d
xor edx, edx
lea rcx, str.Progman
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x14000e1ca
mov edx, 0xffffffec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x16
jae 0x14000e1ca
mov ecx, 0x36
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, r15d
sub ecx, eax
mov eax, dword [rbp + 0x24]
lea ecx, [rax + rcx*2]
jmp 0x14000e1df
mov ecx, 0x36
call qword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
mov ecx, dword [rbp + 0x24]
sub ecx, eax
sub ecx, 6
mov dword [r12 + 0xc], ecx
mov rdx, r13
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edi, r15d
jmp 0x14000e637
cmp qword [rsi + 0x28], rdi
je 0x14000e637
mov rcx, qword [r12 + 0x20]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r14, rax
mov rcx, qword [r12 + 0x20]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r15, rax
mov ebx, dword [r12 + 0x34]
sub ebx, dword [r12 + 0x2c]
mov r13d, dword [r12 + 0x30]
sub r13d, dword [r12 + 0x28]
mov rdx, qword [rsi + 0x28]
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x70], rax
test r15, r15
je 0x14000e497
test r14, r14
je 0x14000e497
mov r8d, ebx
mov edx, r13d
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rsi, rax
test rax, rax
je 0x14000e497
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp - 0x80], rax
mov rcx, qword [r12 + 0x20]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x58], rax
mov r8d, ebx
mov edx, r13d
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x78], rax
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x68], rax
mov edx, 0xffffff
mov rcx, r14
call qword [sym.imp.GDI32.dll_SetBkColor]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebx
mov r9d, r13d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.GDI32.dll_BitBlt]
mov edx, 0xffffff
mov rcx, qword [r12 + 0x20]
call qword [sym.imp.GDI32.dll_SetBkColor]
mov dword [rsp + 0x60], eax
xor edx, edx
mov rcx, qword [r12 + 0x20]
call qword [sym.imp.GDI32.dll_SetTextColor]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14000e47e
mov dword [rsp + 0x40], 0xcc0020
mov ecx, dword [r12 + 0x2c]
mov dword [rsp + 0x38], ecx
mov ecx, dword [r12 + 0x28]
mov dword [rsp + 0x30], ecx
mov rcx, qword [r12 + 0x20]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9d, r13d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x40], 0x660046
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebx
mov r9d, r13d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x40], 0x8800c6
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], ebx
mov r9d, r13d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x40], 0x660046
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebx
mov r9d, r13d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9d, r13d
mov r8d, dword [r12 + 0x2c]
mov edx, dword [r12 + 0x28]
mov rcx, qword [r12 + 0x20]
call qword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [rsp + 0x60]
mov rcx, qword [r12 + 0x20]
call qword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [rsp + 0x64]
mov rcx, qword [r12 + 0x20]
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rdx, qword [rbp - 0x80]
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, qword [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000e497
call qword [sym.imp.GDI32.dll_DeleteObject]
mov edi, 1
jmp 0x14000e637
cmp qword [rsi + 0x18], rdi
je 0x14000e637
cmp byte [rsi + 0x50], dil
jne 0x14000e637
mov rcx, rsi
call fcn.14000d26c
jmp 0x14000e637
cmp qword [rsi + 0x18], rdi
je 0x14000e4d0
mov rcx, rsi
call fcn.14000d26c
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14000e4e3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsi + 0x10], rdi
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x14000e4f6
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rsi + 0x28], rdi
mov rcx, rsi
call fcn.14000d248
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
mov edx, 2
mov r9, r12
mov r8, r14
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_DefWindowProcA]
mov edi, eax
jmp 0x14000e637
cmp byte [rsp + 0x50], dil
jne 0x14000e52e
mov edx, r15d
jmp 0x14000e50b
mov rcx, rsi
call fcn.14000d080
jmp 0x14000e637
mov dword [0x14005c414], r15d
jmp 0x14000e591
mov eax, r13d
sub eax, 0x111
je 0x14000e616
sub eax, 0x2f9
je 0x14000e5d1
sub eax, 0x157f
je 0x14000e5ca
sub eax, 0x66f3
je 0x14000e58a
dec eax
je 0x14000e570
mov edx, r13d
jmp 0x14000e50b
mov rcx, rsi
call fcn.14000ce50
cmp al, r15b
jne 0x14000e637
mov dword [0x14005c418], r15d
jmp 0x14000e591
mov dword [0x14005c410], r15d
mov eax, dword [0x14005c41c]
test eax, eax
je 0x14000e5ab
mov edx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_KillTimer]
mov dword [0x14005c41c], edi
lea r9, [0x14000d5b4]
xor edx, edx
xor ecx, ecx
mov r8d, 0x1f4
call qword [sym.imp.USER32.dll_SetTimer]
mov dword [0x14005c41c], eax
jmp 0x14000e637
call fcn.1400185dc
jmp 0x14000e637
cmp r12, 0x201
jl 0x14000e637
cmp r12, 0x209
jg 0x14000e637
cmp r14, 0x64
jne 0x14000e637
cmp byte [rsi + 0x50], dil
jne 0x14000e637
mov qword [0x14005c3e8], rdi
lea rcx, [0x14005c3e8]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov byte [rsi + 0x50], r15b
lea r9, [0x14000d2b8]
mov r8d, 0x12c
jmp 0x14000e62a
mov dword [0x14005c3d8], r14d
lea r9, [0x14000d6b4]
mov r8d, 0x12d
mov rdx, r15
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetTimer]
mov eax, edi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140021570
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret