joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b51f4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov rdx, qword [0x14019d178]
lea r10, [0x14018bbb0]
mov eax, ecx
mov r9d, ecx
xor rdx, rax
mov eax, dword [0x14019d178]
shr eax, 8
movzx r8d, dl
mov edx, dword [r10 + r8*4]
xor edx, eax
movzx eax, dl
add eax, dword [0x14019d17c]
imul ecx, eax, 0x8088405
mov dword [0x14019d178], edx
inc ecx
mov eax, ecx
mov dword [0x14019d17c], ecx
mov ecx, dword [0x14019d180]
shr rax, 0x18
xor rax, qword [0x14019d180]
movzx eax, al
shr ecx, 8
mov eax, dword [r10 + rax*4]
xor eax, ecx
mov dword [0x14019d180], eax
mov eax, r9d
ret
Function at 0x1400b57e8
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x48
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov eax, dword [r8 + 0xa0]
mov rsi, r9
mov r14, qword [rsp + 0xa0]
mov rdi, r8
mov ebp, edx
mov r15, rcx
cmp eax, 0xffffffff
je 0x1400b594e
mov ebx, 4
cmp eax, 0x40
jbe 0x1400b5874
lea rcx, [r8 + 0x40]
lea rdx, [rsp + 0x20]
call fcn.14008cf44
mov eax, dword [rsp + 0x20]
xor edx, edx
bswap eax
mov dword [rdi], eax
mov r8, rdi
lea rax, [rsp + 0x24]
sub r8, rax
mov ecx, dword [rsp + rdx*4 + 0x24]
lea rax, [r8 + rdx*4]
inc rdx
bswap ecx
mov dword [rsp + rax + 0x28], ecx
cmp rdx, rbx
jl 0x1400b5854
mov dword [rdi + 0xa0], 0x14
test rsi, rsi
je 0x1400b58b3
cmp byte [r14], 0
je 0x1400b58b3
movups xmm0, xmmword [rsi]
lea rbx, [rdi + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x1400b590a
mov ecx, dword [rdi + 0xa0]
mov r8d, 0x40
sub r8d, ecx
xor edx, edx
add rcx, rdi
call fcn.1400f24e0
mov rax, rdi
movdqa xmm1, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj_]
movdqu xmm0, xmmword [rax]
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
lea rax, [rax + 0x10]
sub rbx, 1
jne 0x1400b58cf
lea rbx, [rdi + 0x40]
mov rcx, rbx
call fcn.14008d060
mov r8d, 0x40
mov rdx, rdi
mov rcx, rbx
call fcn.14008d088
test rsi, rsi
je 0x1400b5947
cmp byte [r14], 0
jne 0x1400b5947
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x50], xmm1
mov byte [r14], 1
or dword [rdi + 0xa0], 0xffffffff
test ebp, ebp
je 0x1400b5961
mov r8, rbp
lea rcx, [rdi + 0x40]
mov rdx, r15
call fcn.14008d088
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b597c
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 [0x1401412b0]
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 0x1400b59c8
and qword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call fcn.1400b57e8
lea rbx, [rsi + 0x40]
mov rcx, rbx
lea rdx, [rbp - 0x40]
call fcn.14008cf44
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 0x1400b5a3b
cmp byte [r14], 0
je 0x1400b5a3b
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 0x1400b5a76
mov rax, rsi
mov ecx, 4
movdqu xmm0, xmmword [rax]
pxor xmm0, xmmword [0x14011af90]
movdqu xmmword [rax], xmm0
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x1400b5a43
mov rcx, rbx
call fcn.14008d060
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbx
call fcn.14008d088
test rdi, rdi
je 0x1400b5ab3
cmp byte [r14], 0
jne 0x1400b5ab3
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.14008d088
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.14008cf44
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 0x1400b5b0d
mov r8, r15
lea rdx, [rbp - 0x28]
mov rcx, r12
call fcn.1400f2690
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400b93b0
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 0x1400b944f
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400b9446
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x14011f6e0]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x1400b9436
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x1400b942b
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 0x1400b944f
test rcx, rcx
jne 0x1400b94c0
cmp qword [rdi + 0x10], 0
je 0x1400b94c0
cmp qword [rdi + 0x40], 0
jne 0x1400b94c0
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1400b94c0
mov rcx, rdi
call fcn.1400b9d3c
mov rsi, rax
test rax, rax
je 0x1400b94c0
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.1400f8128
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 0x1400ba43c
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.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x2030], rax
xor ebx, ebx
mov r8, rcx
cmp dword [rcx + 0x4c], ebx
je 0x1400ba661
cmp byte [rcx + 0x49], bl
je 0x1400ba661
cmp dword [rdx + 0x10], 6
jb 0x1400ba661
mov rax, qword [rdx]
mov ecx, 0x400c
cmp word [rax + 0x78], cx
jne 0x1400ba661
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 0x1400ba4cb
call fcn.1400b9064
mov edi, eax
lea r15, str.open
mov edx, edi
lea rbp, [0x14010f1a8]
mov r14d, 1
test edi, edi
je 0x1400ba614
sub edx, r14d
je 0x1400ba5e5
sub edx, r14d
je 0x1400ba5c0
cmp edx, 2
jne 0x1400ba636
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.14009f89c
lea edx, [r14 + 0x21]
cmp word [rsp + 0x30], dx
jne 0x1400ba646
lea rcx, [rsp + 0x32]
call fcn.1400f2430
mov rdi, rax
test rax, rax
je 0x1400ba646
lea rcx, [rsp + 0x30]
call fcn.1400796e4
mov rcx, rax
lea r8d, [r14 + 8]
lea rdx, str.opera.exe
call fcn.140091370
test eax, eax
jne 0x1400ba646
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 0x1400ba640
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 0x1400ba59b
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 0x1400ba5a5
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 0x1400ba646
cmp rbx, 0x20
ja 0x1400ba661
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.1400f12e0
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 0x1400bb418
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.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x5350], rax
mov rsi, rcx
mov rdi, rdx
mov rcx, rdx
call fcn.1400796e4
mov edx, 0x3a
mov rcx, rax
call fcn.1400f2430
xor r14d, r14d
test rax, rax
je 0x1400bb4af
cmp byte [0x14019f442], r14b
jne 0x1400bb4af
lea ecx, [r14 + 0x65]
call fcn.1400881f8
mov ecx, 0x528
mov rbx, rax
call fcn.1400881f8
mov rdx, rax
lea r9d, [r14 + 0x31]
mov r8, rbx
mov rcx, rsi
call fcn.1400c6a54
cmp eax, 1
jne 0x1400bb64c
mov byte [0x14019f442], 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 0x1400bb4bc
lea rcx, [rbp + 0xf50]
call fcn.140079738
mov ebx, 0x800
lea rdx, [rsp + 0x50]
mov r8d, ebx
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400bb650
lea rcx, [rsp + 0x50]
call fcn.1400796e4
cmp word [rax], r14w
je 0x1400bb59a
jmp 0x1400bb588
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14000fa04
test al, al
jne 0x1400bb59a
mov ecx, 0x14d
call fcn.1400881f8
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.1400881f8
mov r8, rax
lea rdx, [rbp + 0x3f50]
mov r9d, 0x34
mov rcx, rsi
call fcn.1400c6a54
cmp eax, 6
jne 0x1400bb64c
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140068ee4
lea rcx, [rsp + 0x50]
call fcn.140069390
test al, al
je 0x1400bb515
mov r9, rbx
lea r8, [rbp + 0x2f50]
mov rdx, rdi
lea rcx, [0x14016e120]
call fcn.14004091c
mov r8, rbx
lea rdx, [rbp + 0x1f50]
lea rcx, [rbp + 0x2f50]
call fcn.140078b44
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 0x1400bb650
test dword [rsp + 0x40], 0x80000
je 0x1400bb650
mov ecx, 0x65e
call fcn.1400881f8
mov r8, rax
lea r9, [rbp + 0x1f50]
mov edx, 0xa00
lea rcx, [rbp + 0x3f50]
call fcn.1400026d0
mov ecx, 0x65
call fcn.1400881f8
mov r8, rax
lea rdx, [rbp + 0x3f50]
mov r9d, 0x30
mov rcx, rsi
call fcn.1400c6a54
xor al, al
jmp 0x1400bb652
mov al, 1
mov rcx, qword [rbp + 0x5350]
xor rcx, rsp
call fcn.1400f12e0
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 0x1400c4984
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1400c4a24
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, [0x14015772e]
lea rcx, str.Rar_CM
mov r8d, 0x800
xor ebp, ebp
call fcn.1400c56c8
mov rsi, rax
test rax, rax
je 0x1400c4a10
or r8, 0xffffffffffffffff
mov rdi, r8
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x1400c49ce
inc r8
cmp word [rbx + r8*2], bp
jne 0x1400c49d7
mov r9, rsi
mov edx, 2
mov rcx, rbx
call fcn.1400f8a38
mov rcx, rsi
call fcn.1400f866c
mov eax, dword [0x140158730]
test rdi, rdi
mov ecx, 3
cmovne eax, ecx
mov dword [0x140158730], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c53e0
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.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor ebp, ebp
mov sil, r8b
cmp word [0x14014a2e8], bp
mov rdi, rdx
mov rbx, rcx
je 0x1400c5427
lea rdx, [0x14014a2e8]
jmp 0x1400c54c0
lea r9, [0x14010f1a8]
mov dword [rsp + 0x20], edi
mov r8, rbx
lea rdx, str.TempFolder
lea rcx, [0x14010f5f8]
call fcn.14009f9e4
mov r8d, 0x800
mov word [rsp + 0x30], bp
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
movzx ecx, word [rbx]
test cx, cx
je 0x1400c548a
dec eax
cmp eax, 0x7fe
ja 0x1400c5482
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008e2e4
movzx ecx, word [rbx]
test cx, cx
jne 0x1400c5494
test sil, sil
je 0x1400c54a2
test cx, cx
je 0x1400c54c8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400c54c8
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400c54b6
cmp word [rbx], bp
jne 0x1400c54c8
lea rdx, str._rartemp
mov rcx, rbx
mov r8, rdi
call fcn.14008e2e4
mov rdx, rdi
mov rcx, rbx
call fcn.140077d10
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1040
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c54f8
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.14009f858
not eax
and eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400c57a4
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x2030
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
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.14008e2e4
xor ebp, ebp
test bl, bl
je 0x1400c5848
cmp byte [0x14016b7b0], bpl
jne 0x1400c5804
cmp byte [0x14016b6fb], bpl
mov eax, ebp
je 0x1400c5809
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 0x1400c5822
lea rcx, [rsp + 0x1020]
mov edx, 2
lea rcx, [rcx + rax*2]
lea r8, [0x14011c858]
call fcn.1400026d0
mov ebx, 0x800
lea rcx, [rsp + 0x20]
mov edx, ebx
xor r8d, r8d
call fcn.1400c53e0
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140077d10
mov r8d, ebx
lea rdx, [rsp + 0x1020]
lea rcx, [rsp + 0x20]
call fcn.14008e2ac
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140069868
test rax, rax
je 0x1400c58b3
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400c58b3
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14008e2e4
mov al, 1
jmp 0x1400c58d8
mov ecx, 0x1f7
call fcn.1400881f8
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400d2e64
lea rcx, [0x14017f200]
call fcn.14006355c
xor al, al
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0x2068]
add rsp, 0x2030
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c58fc
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 0x1400c5d50
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
mov edx, 1
lea rcx, str.Shutdown
call fcn.14000bb98
test eax, eax
je 0x1400c5da4
cmp byte [0x14017f20a], 0
jne 0x1400c5da4
cmp byte [0x14015eb10], 0
jne 0x1400c5da4
lea rdx, [rsp + 0x38]
mov byte [rsp + 0x38], 1
lea rcx, [0x1400c519c]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x38], 0
je 0x1400c5da4
mov ecx, ebx
call fcn.14008ed2c
add rsp, 0x20
pop rbx
ret

Function at 0x1400c6754
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 0x1400c6810
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, [0x140119a70]
mov rcx, qword [0x14017f140]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400c6845
xor eax, eax
jmp 0x1400c6945
mov rcx, qword [0x14017f140]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400c683e
mov rcx, qword [0x14017f140]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400c683e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400c683e
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 0x1400c6940
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400c6937
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.1400f2690
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 0x1400c692e
mov rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.1400c66c8
mov rcx, qword [rsp + 0x38]
mov rbx, rax
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rbx, rbx
je 0x1400c692e
mov ecx, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test ecx, ecx
jne 0x1400c6921
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x40]
mov r8d, 0xffffff
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x1400c6921
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 0x1400c6e84
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 0x1400c6e98
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 0x1400c6ed5
mov ecx, 0x627
call fcn.1400881f8
mov rcx, rax
mov rdx, rdi
call fcn.1400d2e64
lea rcx, [0x14017f200]
call fcn.14006355c
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret