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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000220b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x140002213
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x14000224a
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x140002220
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x140002275
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x14000229b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x140002280
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a460
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14002c008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a4a5
xor al, al
jmp 0x14000a4f2
cmp word [rbx], 0
je 0x14000a4bd
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a4b0
cmp word [rsp + 0x30], 0
je 0x14000a4eb
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a513
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a4d0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b520
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000f5f4
int3
Function at 0x14000aba0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001f7a0
sub rsp, rax
mov rax, qword [0x14002c008]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002dd90]
lea rsi, [0x140032dc0]
mov rdi, rcx
test r11d, r11d
jne 0x14000ac13
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
call fcn.14000a520
test al, al
je 0x14000acff
lea rcx, [rsp + 0x20]
call fcn.140013cc4
movsxd r11, dword [0x14002dd90]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002dd90], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ac54
mov r10, rsi
nop
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ac44
add rax, 2
test ecx, ecx
jne 0x14000ac30
test edx, edx
je 0x14000ac77
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ac20
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000ac60
cmp rax, 2
jne 0x14000ac7b
cmp word [rdi + 2], 0x3a
jne 0x14000ac7b
mov al, 1
jmp 0x14000acde
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000aca8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000aca8
mov bl, 1
jmp 0x14000acac
test bl, bl
je 0x14000acd3
cmp dword [0x14002dd90], 0x400
jge 0x14000acd3
mov rcx, rdi
call fcn.140013cc4
movsxd rdx, dword [0x14002dd90]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002dd90], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b520
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str._HOME_
call fcn.14000a9f0
int3
Function at 0x14000ae20
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002dd98]
test rcx, rcx
je 0x14000ae5b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000ae4e
mov rcx, qword [0x14002dd98]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002dd98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14003cdf0], 0
je 0x14000af4e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140028880]
mov qword [rsp + 0x80], rsi
lea rsi, [0x1400305c0]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000af2f
test al, 0x10
je 0x14000af2f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000aed5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000bdf4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000be3e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000be3e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000be3e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000be3e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000be3e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000be40
xor al, al
add rsp, 0x28
ret

Function at 0x14000f5e8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000f453
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f453
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f453
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f453
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f453
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f453
cmp dword [rcx + 0xf8], 0
je 0x14000f453
mov ecx, ebx
call fcn.14000f504
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f2e0
nop
cmp dword [rbp + 0x20], 0
je 0x14000f4a1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f4ac
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f3e4
Function at 0x140018bd0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140018c57
mov rsi, rbx
cmp word [rax], bp
je 0x140018c16
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140018c00
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140018bfc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016400
mov rdi, rax
test rax, rax
je 0x140018c44
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000d3c0
mov rbp, rdi
xor ecx, ecx
call fcn.140015424
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b220
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b236
mov al, 1
jmp 0x14001b296
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b247
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b294
mov ecx, dword [rcx + 0x18]
nop
call fcn.140019374
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b294
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b294
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b294
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b296
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001f6b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f6d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f6d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001000
Capabilities:
Initialize winsock library
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x1d0
mov rax, qword [0x1402aa8c0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor eax, eax
mov qword [0x1402c2440], 0xffffffffffffffff
lea rcx, str.Cryptsp.dll
mov dword [0x1402c2448], eax
mov qword [0x1402c2450], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14000112d
lea rdx, str.CryptAcquireContextW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptCreateHash
mov rcx, rbx
mov qword [0x1402bf7d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptHashData
mov rcx, rbx
mov qword [0x1402bf7d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptDeriveKey
mov rcx, rbx
mov qword [0x1402bf7c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptEncrypt
mov rcx, rbx
mov qword [0x1402bf7c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptDecrypt
mov rcx, rbx
mov qword [0x1402bf7b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptDestroyHash
mov rcx, rbx
mov qword [0x1402bf7b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptDestroyKey
mov rcx, rbx
mov qword [0x1402bf7a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptReleaseContext
mov rcx, rbx
mov qword [0x1402bf7a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402bcd98], rax
lea rcx, [0x1401f7e90]
call fcn.1401c8fa4
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1401c8d10
add rsp, 0x1d0
pop rbx
ret
Function at 0x1400056a0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rbx, 0xffffffffffffffff
mov qword [rbp + 0x58], 0
mov rsi, rbx
mov dword [rbp - 0x40], 0x83485150
mov r14, rdx
mov dword [rbp - 0x3c], 0xb94878ec
mov r15, rcx
mov dword [rbp - 0x30], 0x215ff
mov dword [rbp - 0x2c], 0x8eb0000
mov word [rbp - 0x20], 0xb948
mov dword [rbp - 0x16], 0x48018948
mov dword [rbp - 0x12], 0x5978c483
mov qword [rbp - 0xe], 0xc358
mov word [rbp - 6], 0
inc rsi
cmp byte [rdx + rsi], 0
jne 0x140005710
lea rcx, [0x140261a88]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movsxd r12, esi
mov r9d, 0x3000
add r12, 0x3d
mov dword [rsp + 0x20], 0x40
mov r8, r12
xor edx, edx
mov rcx, r15
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
mov qword [rbp - 0x28], rdi
lea rcx, [rax + 0x3c]
mov qword [rbp - 0x38], rcx
lea r13, [rax + 0x34]
mov rcx, r12
mov qword [rbp - 0x1e], r13
call fcn.14002970c
movups xmm0, xmmword [rbp - 0x40]
mov ecx, dword [rbp - 8]
mov rdi, rax
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rax + 0x10], xmm1
movsd xmm1, qword [rbp - 0x10]
movups xmmword [rax + 0x20], xmm0
movsd qword [rax + 0x30], xmm1
mov dword [rax + 0x38], ecx
nop word [rax + rax]
cmp byte [r14 + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x1400057b0
lea r8, [rbx + 1]
mov rdx, r14
lea rcx, [rax + 0x3c]
call fcn.1401cabb0
xor r14d, r14d
mov r9, r12
mov r8, rdi
mov qword [rsp + 0x20], r14
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rbp + 0x50]
mov r9, rsi
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], r14d
xor edx, edx
mov rcx, r15
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r8d, dword [rbp + 0x50]
xor edx, edx
mov ecx, 0x100040
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rcx, rax
mov edx, 0x1388
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140005837
xor eax, eax
jmp 0x140005881
mov r9d, 8
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x58]
mov rdx, r13
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
mov r8, r12
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov edx, 1
mov rcx, rdi
call fcn.14000bac0
mov rax, qword [rbp + 0x58]
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400083b0
Capabilities:
Enumerate processes
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1402aa8c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
call qword [sym.imp.USER32.dll_GetTopWindow]
cmp qword [0x1402bff18], 0
mov rsi, rax
jne 0x1400085a6
lea rbp, [0x1402c0550]
test rsi, rsi
je 0x1400085a6
mov eax, dword [0x1402ac17c]
cmp eax, 0xfffffffe
je 0x14000842e
test eax, eax
je 0x140008425
lea rdx, [0x1402bf9e8]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [0x1402ac17c]
cmp eax, 0xfffffffe
jne 0x1400084ae
lea rdx, [0x1402bf9e8]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, dword [0x1402bf9e8]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
test rax, rax
je 0x1400084a8
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000849f
cmp edi, dword [rsp + 0x28]
jne 0x14000848d
lea r8, [rsp + 0x4c]
mov edx, 0x104
lea rcx, [0x1402bfd10]
call fcn.14000a5e0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140008471
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1402ac17c]
test eax, eax
je 0x1400084e0
cmp eax, 0xfffffffe
je 0x1400084c4
cmp dword [0x1402bf9e8], eax
je 0x1400084e0
jmp 0x140008576
lea rdx, [0x1402c0340]
lea rcx, [0x1402bfd10]
call fcn.1401ca8b0
test rax, rax
je 0x140008576
mov r8d, 0x104
lea rdx, [0x1402c0130]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0x104
lea rcx, [0x1402c0130]
call fcn.1401d1f48
lea rdx, [0x1402c0760]
lea rcx, [0x1402c0130]
call fcn.1401ca8b0
test rax, rax
je 0x140008576
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbp + rax*2], 0
jne 0x140008530
test rax, rax
je 0x14000859f
mov r8d, 0x104
lea rdx, [0x1402bff20]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rcx, [0x1402bff20]
call fcn.1401d1ee0
mov rdx, rbp
lea rcx, [0x1402bff20]
call fcn.1401ca8b0
test rax, rax
jne 0x14000859f
mov rcx, rsi
call fcn.1400083b0
mov edx, 2
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindow]
cmp qword [0x1402bff18], 0
mov rsi, rax
je 0x1400083f7
jmp 0x1400085a6
mov qword [0x1402bff18], rsi
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401c8d10
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14000bd80
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0x170]
mov rbx, rcx
mov edx, 0x4b1
mov rcx, rdi
call fcn.14003d4f8
lea r8, [rbx + 0x258]
mov edx, 0x4b1
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14003d918
Function at 0x14000c1f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000c265
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000c265
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000c255
nop
cmp rbx, rcx
jae 0x14000c265
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000c240
cmp rbx, rcx
jae 0x14000c265
cmp word [rbx], 0
je 0x14000c265
mov rax, rbx
jmp 0x14000c267
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000c280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov eax, r8d
mov rsi, rdx
shr eax, 4
mov edi, r8d
inc ax
mov r14, rcx
movzx edx, ax
mov r8d, 6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x14000c39b
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000c39b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000c39b
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000c329
nop word [rax + rax]
cmp rbx, rcx
jae 0x14000c39b
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000c310
cmp rbx, rcx
jae 0x14000c39b
movzx edi, word [rbx]
test di, di
je 0x14000c39b
mov r10, qword [r14]
mov ecx, 1
movzx edx, di
mov eax, dword [r10 - 0xc]
sub ecx, dword [r10 - 8]
sub eax, edi
or ecx, eax
jge 0x14000c35f
mov edx, edi
mov rcx, r14
call fcn.14000b6b0
mov r10, qword [r14]
movzx edx, word [rbx]
movzx r9d, dx
lea r8, [rbx + 2]
mov rdx, rdi
mov rcx, r10
call fcn.1401d22f0
xor edx, edx
test eax, eax
je 0x14000c382
cmp eax, 0xc
je 0x14000c3be
cmp eax, 0x50
jne 0x14000c3b8
mov rcx, qword [r14]
cmp edi, dword [rcx - 0xc]
jg 0x14000c3c4
mov dword [rcx - 0x10], edi
mov eax, 1
mov rcx, qword [r14]
mov word [rcx + rdi*2], dx
jmp 0x14000c39d
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.1400355ac
int3
call fcn.1400355d0
int3
mov ecx, 0x80070057
call fcn.14000bb00
int3
Function at 0x14000c3d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov edi, edx
mov ecx, edx
call fcn.140039910
mov rsi, rax
test rax, rax
jne 0x14000c405
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov eax, edi
mov qword [rsp + 0x30], rbx
shr eax, 4
mov r8d, 6
inc ax
mov qword [rsp + 0x38], rbp
movzx edx, ax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x14000c4fd
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000c4fd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000c4fd
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000c48e
cmp rbx, rcx
jae 0x14000c4fd
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000c475
cmp rbx, rcx
jae 0x14000c4fd
movzx edi, word [rbx]
test di, di
je 0x14000c4fd
mov r10, qword [r14]
mov ebp, 1
mov ecx, ebp
movzx edx, di
mov eax, dword [r10 - 0xc]
sub ecx, dword [r10 - 8]
sub eax, edi
or ecx, eax
jge 0x14000c4c6
mov edx, edi
mov rcx, r14
call fcn.14000b6b0
mov r10, qword [r14]
movzx edx, word [rbx]
movzx r9d, dx
lea r8, [rbx + 2]
mov rdx, rdi
mov rcx, r10
call fcn.1401d22f0
xor ecx, ecx
test eax, eax
je 0x14000c4e9
cmp eax, 0xc
je 0x14000c524
cmp eax, 0x50
jne 0x14000c51e
mov rax, qword [r14]
cmp edi, dword [rax - 0xc]
jg 0x14000c52a
mov dword [rax - 0x10], edi
mov rax, qword [r14]
mov word [rax + rdi*2], cx
jmp 0x14000c501
xor ecx, ecx
mov ebp, ecx
mov rbx, qword [rsp + 0x30]
mov eax, ebp
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.1400355ac
int3
call fcn.1400355d0
int3
mov ecx, 0x80070057
call fcn.14000bb00
int3