joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b5704
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp dword [r8 + 0xa0], 0xffffffff
mov rdi, r9
mov r14, qword [rbp + 0x60]
mov rsi, r8
mov r15d, edx
mov r12, rcx
je 0x1400b5750
and qword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call fcn.1400b5570
lea rbx, [rsi + 0x40]
mov rcx, rbx
lea rdx, [rbp - 0x40]
call fcn.14008cd90
mov eax, dword [rbp - 0x40]
bswap eax
mov dword [rbp - 0x28], eax
mov eax, dword [rbp - 0x3c]
bswap eax
mov dword [rbp - 0x24], eax
mov eax, dword [rbp - 0x38]
bswap eax
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x34]
bswap eax
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x30]
bswap eax
mov dword [rbp - 0x18], eax
test rdi, rdi
je 0x1400b57c3
cmp byte [r14], 0
je 0x1400b57c3
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x1400b57fe
mov rax, rsi
mov ecx, 4
movdqu xmm0, xmmword [rax]
pxor xmm0, xmmword [0x140118f70]
movdqu xmmword [rax], xmm0
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x1400b57cb
mov rcx, rbx
call fcn.14008ceac
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbx
call fcn.14008ced4
test rdi, rdi
je 0x1400b583b
cmp byte [r14], 0
jne 0x1400b583b
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rdi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rdi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rdi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.14008ced4
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.14008cd90
mov eax, dword [rbp - 0x40]
bswap eax
mov dword [rbp - 0x28], eax
mov eax, dword [rbp - 0x3c]
bswap eax
mov dword [rbp - 0x24], eax
mov eax, dword [rbp - 0x38]
bswap eax
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x34]
bswap eax
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x30]
bswap eax
mov dword [rbp - 0x18], eax
test r15d, r15d
je 0x1400b5895
mov r8, r15
lea rdx, [rbp - 0x28]
mov rcx, r12
call fcn.1400effa0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400eebd0
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400b912c
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rdx]
mov r9, rdx
and qword [r11 + 0x20], 0
lea rdx, [r11 + 0x20]
and qword [r11 + 0x10], 0
mov rdi, rcx
mov rcx, r9
mov rsi, r8
call qword [rax + 0x90]
mov ebx, eax
test eax, eax
js 0x1400b91cb
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400b91c2
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x14011d610]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x1400b91b2
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x1400b91a7
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
test ebx, ebx
js 0x1400b91cb
test rcx, rcx
jne 0x1400b923c
cmp qword [rdi + 0x10], 0
je 0x1400b923c
cmp qword [rdi + 0x40], 0
jne 0x1400b923c
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1400b923c
mov rcx, rdi
call fcn.1400b9ab8
mov rsi, rax
test rax, rax
je 0x1400b923c
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov dword [rsp + 0x30], 0x204
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x10]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rsi
call fcn.1400f5a08
mov rsi, qword [rsp + 0x60]
not ebx
shr ebx, 0x1f
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400ba1b8
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x2040
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x2030], rax
xor ebx, ebx
mov r8, rcx
cmp dword [rcx + 0x4c], ebx
je 0x1400ba3dd
cmp byte [rcx + 0x49], bl
je 0x1400ba3dd
cmp dword [rdx + 0x10], 6
jb 0x1400ba3dd
mov rax, qword [rdx]
mov ecx, 0x400c
cmp word [rax + 0x78], cx
jne 0x1400ba3dd
mov rax, qword [rax + 8]
lea edi, [rbx + 5]
or ecx, 0xffffffff
mov word [rax], cx
cmp dword [r8 + 0x4c], 2
mov rax, qword [rdx]
mov rcx, qword [rax + 0x80]
mov rsi, qword [rcx + 8]
jne 0x1400ba247
call fcn.1400b8de8
mov edi, eax
lea r15, str.open
mov edx, edi
lea rbp, [0x14010d188]
mov r14d, 1
test edi, edi
je 0x1400ba390
sub edx, r14d
je 0x1400ba361
sub edx, r14d
je 0x1400ba33c
cmp edx, 2
jne 0x1400ba3b2
mov dword [rsp + 0x28], 0x800
lea r9, [rsp + 0x30]
mov r8, rbp
mov qword [rsp + 0x20], rbp
lea rdx, str.http_shellopencommand
mov rcx, 0xffffffff80000000
call fcn.14009f6a4
lea edx, [r14 + 0x21]
cmp word [rsp + 0x30], dx
jne 0x1400ba3c2
lea rcx, [rsp + 0x32]
call fcn.1400efd40
mov rdi, rax
test rax, rax
je 0x1400ba3c2
lea rcx, [rsp + 0x30]
call fcn.140079330
mov rcx, rax
lea r8d, [r14 + 8]
lea rdx, str.opera.exe
call fcn.1400911b4
test eax, eax
jne 0x1400ba3c2
mov r9, rsi
mov word [rdi + 2], bx
lea r8, str._newwindow__s
mov edx, 0x800
lea rcx, [rsp + 0x1030]
call fcn.1400026d0
lea r8, [rsp + 0x30]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x1030]
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, rax
jmp 0x1400ba3bc
mov r9, rsi
lea r8, str.__new_window__s
mov edx, 0x800
lea rcx, [rsp + 0x1030]
call fcn.1400026d0
lea r8, str.chrome.exe
jmp 0x1400ba317
mov r9, rsi
lea r8, str._new_window__s
mov edx, 0x800
lea rcx, [rsp + 0x1030]
call fcn.1400026d0
mov dword [rsp + 0x28], r14d
lea r8, str.firefox.exe
mov qword [rsp + 0x20], rbp
jmp 0x1400ba321
mov dword [rsp + 0x28], r14d
lea r8, str.iexplore.exe
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, rax
lea eax, [rdi - 3]
test eax, 0xfffffffd
je 0x1400ba3c2
cmp rbx, 0x20
ja 0x1400ba3dd
mov dword [rsp + 0x28], r14d
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x20], rbp
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.1400eebd0
lea r11, [rsp + 0x2040]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400bb194
Capabilities:
Get disk information
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x5360]
mov eax, 0x5460
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x5350], rax
mov rsi, rcx
mov rdi, rdx
mov rcx, rdx
call fcn.140079330
mov edx, 0x3a
mov rcx, rax
call fcn.1400efd40
xor r14d, r14d
test rax, rax
je 0x1400bb22b
cmp byte [0x14019d442], r14b
jne 0x1400bb22b
lea ecx, [r14 + 0x65]
call fcn.140088044
mov ecx, 0x528
mov rbx, rax
call fcn.140088044
mov rdx, rax
lea r9d, [r14 + 0x31]
mov r8, rbx
mov rcx, rsi
call fcn.1400c67dc
cmp eax, 1
jne 0x1400bb3d3
mov byte [0x14019d442], al
lea rdx, [rbp + 0xf50]
mov rcx, rdi
sub rdx, rdi
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400bb238
lea rcx, [rbp + 0xf50]
call fcn.140079384
mov ebx, 0x800
lea rdx, [rsp + 0x50]
mov r8d, ebx
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0x50]
mov word [rbp + 0xf4e], r14w
call fcn.140079330
cmp word [rax], r14w
je 0x1400bb311
jmp 0x1400bb2ff
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14000f870
test al, al
jne 0x1400bb311
mov ecx, 0x14d
call fcn.140088044
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, str.__s__n_s
mov edx, 0xa00
lea rcx, [rbp + 0x3f50]
call fcn.1400026d0
mov ecx, 0x65
call fcn.140088044
mov r8, rax
lea rdx, [rbp + 0x3f50]
mov r9d, 0x34
mov rcx, rsi
call fcn.1400c67dc
cmp eax, 6
jne 0x1400bb3d3
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140068b34
lea rcx, [rsp + 0x50]
call fcn.140068fe0
test al, al
je 0x1400bb28c
call fcn.14006c160
cmp eax, 0x501
jb 0x1400bb3d7
mov r9, rbx
lea r8, [rbp + 0x2f50]
mov rdx, rdi
lea rcx, [0x14016c120]
call fcn.140040780
mov r8, rbx
lea rdx, [rbp + 0x1f50]
lea rcx, [rbp + 0x2f50]
call fcn.140078790
mov dword [rsp + 0x38], r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea rcx, [rbp + 0x1f50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400bb3d7
test dword [rsp + 0x40], 0x80000
je 0x1400bb3d7
mov ecx, 0x65e
call fcn.140088044
mov r8, rax
lea r9, [rbp + 0x1f50]
mov edx, 0xa00
lea rcx, [rbp + 0x3f50]
call fcn.1400026d0
mov ecx, 0x65
call fcn.140088044
mov r8, rax
lea rdx, [rbp + 0x3f50]
mov r9d, 0x30
mov rcx, rsi
call fcn.1400c67dc
xor al, al
jmp 0x1400bb3d9
mov al, 1
mov rcx, qword [rbp + 0x5350]
xor rcx, rsp
call fcn.1400eebd0
lea r11, [rsp + 0x5460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400c4708
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1400c47a8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rdx, [0x14015572e]
lea rcx, str.Rar_CM
mov r8d, 0x800
xor ebp, ebp
call fcn.1400c5450
mov rsi, rax
test rax, rax
je 0x1400c4794
or r8, 0xffffffffffffffff
mov rdi, r8
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x1400c4752
inc r8
cmp word [rbx + r8*2], bp
jne 0x1400c475b
mov r9, rsi
mov edx, 2
mov rcx, rbx
call fcn.1400f6318
mov rcx, rsi
call fcn.1400f5f4c
mov eax, dword [0x140156730]
test rdi, rdi
mov ecx, 3
cmovne eax, ecx
mov dword [0x140156730], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c5164
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1040
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor ebp, ebp
mov sil, r8b
cmp word [0x1401482e8], bp
mov rdi, rdx
mov rbx, rcx
je 0x1400c51b3
mov r8, rdx
lea rdx, [0x1401482e8]
call fcn.14008e130
jmp 0x1400c5252
lea r9, [0x14010d188]
mov dword [rsp + 0x20], edi
mov r8, rbx
lea rdx, str.TempFolder
lea rcx, [0x14010d5d8]
call fcn.14009f7ec
movzx eax, word [rbx]
mov word [rsp + 0x30], bp
test ax, ax
je 0x1400c5211
mov r8d, 0x800
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1400c5209
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008e130
movzx eax, word [rbx]
test ax, ax
jne 0x1400c521b
test sil, sil
je 0x1400c5229
test ax, ax
je 0x1400c5252
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400c5252
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400c523d
cmp word [rbx], bp
jne 0x1400c5252
movups xmm0, xmmword [str._rartemp]
movups xmmword [rbx], xmm0
movzx eax, word [0x14011a860]
mov word [rbx + 0x10], ax
mov rdx, rdi
mov rcx, rbx
call fcn.14007795c
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400eebd0
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1040
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c5280
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor r8d, r8d
lea rdx, str.NoDrives
lea rcx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
mov ebx, eax
call fcn.14009f660
not eax
and eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400c552c
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x2030
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rdi, rdx
mov rsi, r8
mov rdx, rcx
mov r8d, 0x7ff
lea rcx, [rsp + 0x1020]
mov bl, r9b
call fcn.14008e130
xor ebp, ebp
test bl, bl
je 0x1400c55d0
cmp byte [0x1401697b0], bpl
jne 0x1400c558c
cmp byte [0x1401696fb], bpl
mov eax, ebp
je 0x1400c5591
mov eax, 1
test al, al
lea rcx, [rsp + 0x1020]
mov r9d, ebp
setne r9b
add r9d, 0x61
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bp
jne 0x1400c55aa
lea rcx, [rsp + 0x1020]
mov edx, 2
lea rcx, [rcx + rax*2]
lea r8, [0x14011a838]
call fcn.1400026d0
mov ebx, 0x800
lea rcx, [rsp + 0x20]
mov edx, ebx
xor r8d, r8d
call fcn.1400c5164
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.14007795c
mov r8d, ebx
lea rdx, [rsp + 0x1020]
lea rcx, [rsp + 0x20]
call fcn.14008e0f8
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1400694b4
test rax, rax
je 0x1400c563b
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400c563b
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14008e130
mov al, 1
jmp 0x1400c5660
mov ecx, 0x1f7
call fcn.140088044
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400d1d24
lea rcx, [0x14017d200]
call fcn.140063230
xor al, al
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400eebd0
mov rbx, qword [rsp + 0x2068]
add rsp, 0x2030
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c5684
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov r12, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r15, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, r15
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea r8, [rsp + 0x60]
mov edx, 0x20
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r8d, dword [rsp + 0x68]
mov rcx, r15
mov edx, dword [rsp + 0x64]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rbx
mov rcx, r14
mov rsi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rsi
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [rsp + 0x68]
mov rbx, rax
mov r9d, dword [rsp + 0x64]
mov ecx, r9d
mov dword [rsp + 0x50], 0xcc0020
neg ecx
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x40], ecx
mov rcx, rbp
and dword [rsp + 0x38], 0
lea r8d, [r9 - 1]
mov dword [rsp + 0x30], r8d
xor r8d, r8d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [rsp + 0x68]
xor r8d, r8d
mov r9d, dword [rsp + 0x64]
xor edx, edx
mov dword [rsp + 0x40], 0xcc0020
mov rcx, r14
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret

Function at 0x1400c5ad8
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
mov edx, 1
lea rcx, str.Shutdown
call fcn.14000ba7c
test eax, eax
je 0x1400c5b2c
cmp byte [0x14017d20a], 0
jne 0x1400c5b2c
cmp byte [0x14015cb10], 0
jne 0x1400c5b2c
lea rdx, [rsp + 0x38]
mov byte [rsp + 0x38], 1
lea rcx, [0x1400c4f20]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x38], 0
je 0x1400c5b2c
mov ecx, ebx
call fcn.14008eb78
add rsp, 0x20
pop rbx
ret

Function at 0x1400c64dc
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400c6598
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdx, rcx
lea r8, [0x140117a50]
mov rcx, qword [0x14017d140]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400c65cd
xor eax, eax
jmp 0x1400c66cd
mov rcx, qword [0x14017d140]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400c65c6
mov rcx, qword [0x14017d140]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400c65c6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400c65c6
and qword [rsp + 0x40], 0
mov edx, edi
mov ecx, 2
mov esi, edi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400c66c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400c66bf
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.1400effa0
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1400c66b6
mov rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.1400c6450
mov rcx, qword [rsp + 0x38]
mov rbx, rax
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rbx, rbx
je 0x1400c66b6
mov ecx, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test ecx, ecx
jne 0x1400c66a9
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x40]
mov r8d, 0xffffff
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x1400c66a9
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c6c0c
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400c6c20
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
test bl, bl
jne 0x1400c6c5d
mov ecx, 0x627
call fcn.140088044
mov rcx, rax
mov rdx, rdi
call fcn.1400d1d24
lea rcx, [0x14017d200]
call fcn.140063230
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c93b8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x440
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov ebp, edx
mov dword [rcx], 0x3c8
mov r14, rcx
lea rdx, [rsp + 0x30]
mov rcx, qword [rcx + 8]
mov esi, 0x200
mov r8d, esi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0x40
lea rcx, [rsp + 0x30]
call fcn.140046224
or rbx, 0xffffffffffffffff
cmp word [0x1401a1b50], 0
je 0x1400c948a
lea rcx, [rsp + 0x30]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400c9427
mov eax, dword [0x1401137b8]
mov rdi, rbx
mov dword [rcx], eax
movzx eax, word [0x1401137bc]
mov word [rcx + 4], ax
lea rax, [rsp + 0x30]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400c944c
mov ecx, 0x5aa
call fcn.140088044
mov r9, rax
lea rcx, [rsp + 0x30]
lea rax, [0x1401a1b50]
mov rdx, rsi
sub rdx, rdi
mov qword [rsp + 0x20], rax
lea rcx, [rcx + rdi*2]
lea r8, str._s:__s
call fcn.1400026d0
cmp byte [0x1401a1b48], 0
je 0x1400c94ec
lea rcx, [rsp + 0x30]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400c949c
mov eax, dword [0x1401137b8]
mov dword [rcx], eax
movzx eax, word [0x1401137bc]
mov word [rcx + 4], ax
lea rax, [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400c94be
mov ecx, 0x2fd
call fcn.140088044
sub rsi, rbx
lea rcx, [rsp + 0x30]
lea rcx, [rcx + rbx*2]
mov r8, rax
mov r9d, ebp
mov rdx, rsi
call fcn.1400026d0
lea rcx, [r14 + 0x28]
mov r8d, 0x80
lea rdx, [rsp + 0x30]
call fcn.14008e130
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400eebd0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1400c9d68
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x1430
call fcn.1400eeb60
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x1420], rax
mov rbx, rdx
mov edx, ecx
mov rcx, qword [0x140146cf0]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, 0xa00
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r10, [rsp + 0x20]
mov rcx, rbx
sub r10, rbx
movzx r8d, word [rcx]
movzx r9d, word [rcx + r10]
sub r8d, r9d
jne 0x1400c9dd8
add rcx, 2
test r9d, r9d
jne 0x1400c9dc1
test r8d, r8d
je 0x1400c9de9
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x1420]
xor rcx, rsp
call fcn.1400eebd0
mov rbx, qword [rsp + 0x1450]
add rsp, 0x1430
pop rdi
ret
Function at 0x1400c9e0c
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x448
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rcx, qword [0x140146cf0]
test rcx, rcx
je 0x1400c9f58
mov r8d, 0x200
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x14019e4b8]
cmp eax, 0xa
je 0x1400c9e9b
lea rcx, [rsp + 0x30]
lea rdx, [0x1401a04c0]
mov r9, rdx
sub r9, rcx
movzx r8d, word [rcx]
movzx r10d, word [rcx + r9]
sub r8d, r10d
jne 0x1400c9e83
add rcx, 2
test r10d, r10d
jne 0x1400c9e6c
test r8d, r8d
je 0x1400c9e9b
mov rcx, qword [0x140146cf0]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x14019e4b8]
cmp eax, 3
jne 0x1400c9eb7
lea rdx, [0x1401a15c0]
mov ecx, 0x9c
call fcn.1400c9d68
mov eax, dword [0x14019e4b8]
cmp eax, 2
jbe 0x1400c9ec1
cmp eax, 0xa
jne 0x1400c9eeb
lea rdx, [0x1401a15c0]
mov ecx, 0x9c
call fcn.1400c9d68
lea rcx, [0x14019e4c0]
call fcn.140079330
mov rdx, rax
mov ecx, 0x9b
call fcn.1400c9d68
mov ecx, dword [0x1401dd210]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1401a30f4], eax
jle 0x1400c9f36
lea rcx, [0x1401a30f4]
call fcn.1400ef300
cmp dword [0x1401a30f4], 0xffffffff
jne 0x1400c9f36
and dword [0x1401a30f0], 0
lea rcx, [0x1401a30f4]
call fcn.1400ef2a0
mov edx, reloc.SHELL32.dll_SHRestricted
lea rcx, [0x1401a30f0]
call fcn.140045d40
test al, al
je 0x1400c9f58
mov rcx, qword [0x140146cf0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400eebd0
add rsp, 0x448
ret