joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140098040
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
sub rsp, 0x48
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140098059
xor eax, eax
add rsp, 0x48
ret
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x40], rdi
xor edi, edi
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 3]
add rcx, 4
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbx, rax
jne 0x1400980b3
lea rcx, str.SetHDFrontPanelRetasking:_CreateFile:_INVALID_HANDLE_VALUE_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x48
ret
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov r9d, 8
mov edx, 0x1d6090
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14009810f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.SetHDFrontPanelRetasking:_DeviceIoControl:_IOCTL_HDAUD_SET_FRONT_PANEL_RETASKING_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x48
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x48
ret

Function at 0x1400981b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp dword [0x1401cad6c], 0
mov edi, r9d
mov rsi, r8
je 0x1400981d6
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x68]
lea rdx, str.ST.wav
lea rcx, [0x1401cad60]
mov qword [0x1401cad80], rax
mov qword [rsp + 0x40], rbx
mov dword [0x1401cad6c], 1
call fcn.140098320
test eax, eax
mov ebx, eax
je 0x1400982d3
lea rcx, [0x140000000]
mov word [0x1401cc5e8], 0xfffe
mov word [0x1401cc5f8], 0x16
mov rax, qword [rcx + 0x13c398]
mov rdx, rsi
mov qword [rcx + 0x1cc600], rax
mov rax, qword [rcx + 0x13c3a0]
mov qword [rcx + 0x1cc608], rax
movzx eax, word [0x1401cc5f6]
lea rcx, [0x1401cad60]
mov word [0x1401cc5fa], ax
mov dword [0x1401cc5fc], edi
call fcn.1400984f0
test eax, eax
mov ebx, eax
je 0x1400982d3
lea rcx, [0x1401cad60]
call fcn.140098660
test eax, eax
mov ebx, eax
je 0x1400982d3
mov rcx, qword [0x1401cad78]
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x60]
lea r9, [0x1401cad60]
lea r8, [0x1400987d0]
mov ebx, eax
lea rax, [0x1401cad68]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
test ebx, ebx
mov qword [0x1401cad60], rax
je 0x140098301
xor ebx, ebx
mov rcx, qword [0x1401cc610]
test rcx, rcx
je 0x1400982ef
call fcn.1400fa7c0
mov qword [0x1401cc610], 0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rsi, qword [rsp + 0x48]
mov ebx, 1
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400aa020
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2e0
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rax, qword [rcx + 0xa8]
xor edi, edi
mov rbp, rcx
add rax, 0x27770
mov dword [rsp + 0x80], edi
mov dword [rsp + 0x84], edi
mov dword [rsp + 0x90], edi
mov esi, edi
mov dword [rsp + 0x94], edi
je 0x1400aa0ab
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0xc0]
lea r8, [0x14012c778]
lea rdx, str.BkgBitmap
lea rcx, str.WelcomeDialog
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rax, qword [str.___t_n]
lea rcx, [rsp + 0xb0]
lea r8, [rsp + 0x50]
mov qword [rcx], rax
movzx eax, word [0x14013c898]
lea rdx, [rsp + 0xb0]
mov word [rcx + 8], ax
lea rcx, [rsp + 0xc0]
call fcn.1400fa5e0
test rax, rax
je 0x1400aa1fa
mov rcx, rax
call fcn.1400fa6e0
test eax, eax
je 0x1400aa110
cmp eax, 1
jne 0x1400aa110
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
nop
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x1400aa1ec
mov rcx, rax
call fcn.1400fa6e0
add rdi, 1
cmp rdi, 0xa
mov dword [rsp + rdi*4 + 0x6c], eax
jl 0x1400aa110
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x1400aa1ec
mov rcx, rax
call fcn.1400fa6e0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x1400aa1ec
mov rcx, rax
call fcn.1400fa6e0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x1400aa1ec
mov rcx, rax
call fcn.1400fa6e0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x1400aa1ec
mov rcx, rax
call fcn.1400fa6e0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x1400aa1ec
mov rcx, rax
call fcn.1400fa6e0
mov edi, dword [rsp + 0x90]
mov esi, dword [rsp + 0x94]
mov rcx, qword [rbp + 0xa8]
mov r9d, dword [rsp + 0x84]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rcx + 0x19488]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], edi
lea rbx, [rbp + 0xe0]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
call fcn.140016740
mov rdx, qword [rbx]
mov r9b, 0xff
movzx r8d, r9b
mov rcx, rbp
mov dword [rbp + 0x100], edi
mov dword [rbp + 0x104], esi
mov byte [rsp + 0x20], 0xff
call fcn.1400a9cd0
mov rcx, qword [rbp + 0x40]
mov r8d, 1
mov rdx, rax
call qword [sym.imp.USER32.dll_SetWindowRgn]
mov eax, 1
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400f9790
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400afb10
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x2e0
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
xor ebx, ebx
mov rbp, rdx
mov rdx, qword [rcx + 0x110]
add rdx, 0x27770
mov rax, r8
mov rsi, rcx
mov dword [rsp + 0x80], ebx
mov dword [rsp + 0x84], ebx
mov dword [rsp + 0x90], ebx
mov edi, ebx
mov dword [rsp + 0x94], ebx
je 0x1400afb9b
test rax, rax
je 0x1400afb9b
mov qword [rsp + 0x28], rdx
lea r9, [rsp + 0xc0]
lea r8, [0x14012c778]
lea rcx, str.ExpertMode
mov rdx, rax
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rax, qword [str.___t_n]
lea rcx, [rsp + 0xb0]
lea r8, [rsp + 0x50]
mov qword [rcx], rax
movzx eax, word [0x14013c898]
lea rdx, [rsp + 0xb0]
mov word [rcx + 8], ax
lea rcx, [rsp + 0xc0]
call fcn.1400fa5e0
test rax, rax
je 0x1400afcea
mov rcx, rax
call fcn.1400fa6e0
test eax, eax
je 0x1400afc00
cmp eax, 1
jne 0x1400afc00
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
nop
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x1400afcdc
mov rcx, rax
call fcn.1400fa6e0
add rbx, 1
cmp rbx, 0xa
mov dword [rsp + rbx*4 + 0x6c], eax
jl 0x1400afc00
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x1400afcdc
mov rcx, rax
call fcn.1400fa6e0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x1400afcdc
mov rcx, rax
call fcn.1400fa6e0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x1400afcdc
mov rcx, rax
call fcn.1400fa6e0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x1400afcdc
mov rcx, rax
call fcn.1400fa6e0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call fcn.1400fa5e0
test rax, rax
je 0x1400afcdc
mov rcx, rax
call fcn.1400fa6e0
mov ebx, dword [rsp + 0x90]
mov edi, dword [rsp + 0x94]
mov rcx, qword [rsi + 0x110]
mov r9d, dword [rsp + 0x84]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rcx + 0x19488]
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call fcn.140016740
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400f9790
mov rbx, qword [rsp + 0x318]
add rsp, 0x2e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c8649
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test r8, r8
je 0x1400c87fc
mov r11, rsp
push r14
push r15
sub rsp, 0x5d8
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x5a0], rax
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x20], rsi
xor esi, esi
mov r15, r8
mov r14, rcx
mov r8, rdx
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x38], r13
lea edx, [rsi + 0x1b]
lea rcx, [rsp + 0x20]
mov r13, rsi
call fcn.1400f9e00
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp rcx, 1
mov rbx, rcx
jbe 0x1400c871c
mov qword [rsp + 0x5d0], rbp
lea rbp, [rcx - 1]
mov qword [rsp + 0x5b8], r12
lea rdi, [rsp + 0x58]
lea rsi, [rsp + rcx*2 + 0x56]
lea r12, [rbp + rbp]
nop
nop
nop
lea rdx, [rdi - 0x38]
mov r8, r12
mov rcx, rdi
call fcn.1400fd180
movzx edx, word [rsi - 0x38]
add rsi, 0x36
mov word [rdi - 2], dx
mov word [rsi - 0x36], r13w
add rdi, 0x36
sub rbp, 1
jne 0x1400c86e0
mov r12, qword [rsp + 0x5b8]
mov rbp, qword [rsp + 0x5d0]
xor esi, esi
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r14
repne scasw ax, word [rdi]
mov rdi, r15
mov r8, rsi
not rcx
lea r10, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
test r10, r10
not rcx
lea r11, [rcx - 1]
je 0x1400c87c1
mov r9, r14
nop
nop
test rbx, rbx
mov rax, rsi
je 0x1400c8770
movzx edx, word [r14 + r8*2]
nop
cmp word [rsp + rax*2 + 0x20], dx
je 0x1400c8770
add rax, 1
cmp rax, rbx
jb 0x1400c8760
cmp rax, rbx
je 0x1400c87b8
test rbx, rbx
mov rcx, rsi
je 0x1400c87ad
movzx edi, word [r15 + r13*2]
lea rdx, [rsp + rax*2 + 0x20]
cmp word [rdx], di
je 0x1400c879b
add rcx, 1
add rdx, 0x36
cmp rcx, rbx
jb 0x1400c8787
jmp 0x1400c87ad
imul rcx, rcx, 0x36
add r9, 2
movzx eax, word [rsp + rcx + 0x20]
mov word [r9 - 2], ax
add r13, 1
cmp r13, r11
cmovae r13, rsi
add r8, 1
cmp r8, r10
jb 0x1400c8750
mov rdi, qword [rsp + 0x5c0]
mov rsi, qword [rsp + 0x5c8]
mov rbx, qword [rsp + 0x600]
mov r13, qword [rsp + 0x5b0]
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.1400f9790
add rsp, 0x5d8
pop r15
pop r14
ret 0
Function at 0x1400cca68
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
lea r8, [rsp + 0x30]
mov rdx, qword [rdx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, eax
test eax, eax
jne 0x1400ccb67
mov r9d, 0x104
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, eax
test eax, eax
jne 0x1400ccb3e
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.14000af70
nop
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.1400cca68
mov ebx, eax
test eax, eax
setne byte [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400ccb25
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.DSOUND.dll_DirectSoundCaptureEnumerateW]
cmp byte [rsp + 0x20], 0
je 0x1400ccb2e
jmp 0x1400ccb3e
jmp 0x1400ccabe
cmp ebx, 0x103
je 0x1400ccb4e
cmp ebx, 0x3f2
jne 0x1400ccb5c
mov rdx, qword [rsi]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400f9790
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400d3cf8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
call fcn.1400de274
mov rbx, rax
mov rax, qword [rax + 0x78]
test rax, rax
je 0x1400d3d2f
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x1400d3d2f
xor r9d, r9d
xor r8d, r8d
mov edx, 0x401
call qword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
mov rbx, qword [rbx + 0xa0]
je 0x1400d3d5f
test rbx, rbx
je 0x1400d3d5f
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400d3d5f
mov rax, qword [rbx]
or rdx, 0xffffffffffffffff
mov rcx, rbx
call qword [rax + 0x2d0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d7278
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0xa0], 0
mov rbx, rdx
mov rsi, rcx
jne 0x1400d7330
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r8, qword [rbx]
mov edx, 1
mov ecx, dword [r8 - 0xc]
sub edx, dword [r8 - 8]
movsxd rdi, eax
sub ecx, edi
or edx, ecx
jge 0x1400d72c8
mov edx, edi
mov rcx, rbx
call fcn.1400025c0
test edi, edi
mov rdx, qword [rbx]
js 0x1400d7325
cmp edi, dword [rdx - 0xc]
jg 0x1400d7325
mov dword [rdx - 0x10], edi
mov rax, qword [rbx]
lea r8d, [rdi + 1]
and word [rax + rdi*2], 0
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400d72f9
xor eax, eax
jmp 0x1400d7302
call fcn.1400fcb50
test eax, eax
js 0x1400d731a
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1400d731a
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
and word [rax + rcx*2], 0
jmp 0x1400d7340
mov ecx, 0x80070057
call fcn.1400025a0
int3
mov ecx, 0x80070057
call fcn.1400025a0
int3
mov rcx, qword [rcx + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x118]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400d9e7c
Capabilities:
Extract resource via kernel32 functions

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
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
test rdx, rdx
mov rsi, rdx
mov rbp, rcx
je 0x1400d9ee4
call fcn.1400de224
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400d9ee4
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x1400d9f06
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.1400d98d8
test rdi, rdi
mov esi, eax
je 0x1400d9f04
test rbx, rbx
je 0x1400d9f04
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x1400dbc4c
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
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x1400dbc75
mov rdi, qword [rdx + 0x10]
jmp 0x1400dbcc6
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rbx + 8]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov rdi, rax
jne 0x1400dbc96
call fcn.1400cf0c8
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rdi, rax
jne 0x1400dbcb0
call fcn.1400cf0c8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
jne 0x1400dbcc6
call fcn.1400cf0c8
call fcn.1400de224
cmp qword [rax + 0x68], 0
je 0x1400dbce0
mov rdx, rdi
mov rcx, rbp
call fcn.1400da030
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.1400dba04
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
mov rsi, rax
je 0x1400dbd07
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xb8], 0
test rsi, rsi
je 0x1400dbd16
mov rdi, rsi
mov qword [rbp + 0xb8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400dcf88
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x1400dcfc6
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400dd07a
call fcn.1400cc6e8
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400dcfe5
mov ecx, 0x80004005
call fcn.1400025a0
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.1400fbb60
test eax, eax
je 0x1400dd04d
cmp eax, 0xc
je 0x1400dd047
cmp eax, 0x16
je 0x1400dd041
cmp eax, 0x22
je 0x1400dd041
cmp eax, 0x50
je 0x1400dd04d
call fcn.1400d1dcc
int3
call fcn.1400d1dcc
int3
call fcn.1400d1d84
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x1400dd078
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.DSOUND.dll_DirectSoundCaptureEnumerateW + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400df280
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
test r8d, r8d
mov rbx, rcx
jne 0x1400df292
xor eax, eax
jmp 0x1400df2c3
mov rcx, qword [rcx + 8]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400df2bf
mov rbx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.1400f4d88
mov eax, dword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
Function at 0x1400e32d8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x220], rax
test rcx, rcx
mov rbx, rdx
mov rdi, rcx
jne 0x1400e330d
call fcn.1400d1dcc
int3
test rdx, rdx
jne 0x1400e3318
call fcn.1400d1dcc
int3
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
and word [rsp + 0x20], 0
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x1fe
mov esi, eax
call fcn.1400fce30
mov r8d, 0x100
cmp esi, r8d
ja 0x1400e336a
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, esi
jne 0x1400e336a
lea rcx, [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400e3376
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400f9790
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400e3c94
Capabilities:
Set thread local storage value

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 r13
push r14
sub rsp, 0x20
mov esi, 1
mov r14, r8
mov rdi, rdx
cmp dword [rdx + 0x10], esi
mov r12, rcx
mov ebp, esi
jle 0x1400e3d21
lea ebx, [rsi + 7]
lea r13d, [rsi + 0xf]
test r14, r14
je 0x1400e3ced
mov rax, qword [r12 + 0x10]
cmp qword [rax + r13 + 8], r14
je 0x1400e3ced
mov rax, qword [rdi + 0x18]
cmp qword [rbx + rax], 0
je 0x1400e3d0d
xor esi, esi
jmp 0x1400e3d0d
mov rax, qword [rdi + 0x18]
mov rcx, qword [rbx + rax]
test rcx, rcx
je 0x1400e3d04
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rax, qword [rdi + 0x18]
and qword [rbx + rax], 0
add ebp, 1
add r13, 0x10
add rbx, 8
cmp ebp, dword [rdi + 0x10]
jl 0x1400e3ccd
test esi, esi
je 0x1400e3d68
lea rcx, [r12 + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [r12 + 0x18]
mov rdx, rdi
call fcn.1400e37b4
lea rcx, [r12 + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r11, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [r11]
mov ecx, dword [r12]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x1400f3fa4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12, rdx
mov rbp, rcx
lea rdx, [0x1400f3f74]
lea rcx, [0x1401c9640]
mov r13d, r8d
call fcn.1400e36d8
xor ebx, ebx
cmp rax, rbx
mov rsi, rax
jne 0x1400f3fe8
call fcn.1400d1dcc
int3
cmp word [rax + 0x10], bx
jne 0x1400f4171
call fcn.1400de224
mov rcx, qword [rax + 0xc8]
mov rdi, qword [rcx]
cmp qword [rdi + 8], rbx
jne 0x1400f4031
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp rax, rbx
mov qword [rdi + 8], rax
jne 0x1400f4031
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp rax, rbx
mov qword [rdi + 8], rax
setne al
mov byte [rdi + 0x10], al
mov rdi, qword [rdi + 8]
cmp rdi, rbx
je 0x1400f40ea
lea rcx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.GetUserDefaultUILanguage
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rbx
je 0x1400f40a7
call rax
and ax, 0x3ff
cmp ax, 0x11
jne 0x1400f40a7
lea rcx, str.MS_UI_Gothic
call fcn.1400f3e90
cmp eax, ebx
je 0x1400f40a7
mov eax, r13d
mov r9w, 0xfc11
mov edx, 5
neg eax
mov rcx, rdi
sbb r8, r8
and r8d, 0xe
add r8, 0x3ee
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
cmp rax, rbx
jne 0x1400f40cb
neg r13d
mov r8d, 5
mov rcx, rdi
sbb rdx, rdx
and edx, 0xe
add rdx, 0x3ee
call qword [sym.imp.KERNEL32.dll_FindResourceW]
cmp rax, rbx
je 0x1400f40ea
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
cmp rax, rbx
je 0x1400f40ea
mov r8, r12
mov rdx, rbp
mov rcx, rax
call fcn.1400f32b8
mov rax, qword [rbp]
mov ecx, 0xffffffff
mov eax, dword [rax - 0x10]
add eax, 1
add rax, rax
cmp rax, rcx
jbe 0x1400f410c
mov ecx, 0x80070057
call fcn.1400025a0
int3
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp rax, rbx
mov rcx, rax
mov qword [rsi + 8], rax
jne 0x1400f412b
call fcn.1400d1d84
int3
mov r8, qword [rbp]
mov eax, dword [r8 - 0x10]
add eax, 1
movsxd rdx, eax
call fcn.1400f9e00
cmp eax, ebx
je 0x1400f4168
cmp eax, 0xc
je 0x1400f4162
cmp eax, 0x16
je 0x1400f415c
cmp eax, 0x22
je 0x1400f415c
cmp eax, 0x50
je 0x1400f4168
call fcn.1400d1dcc
int3
call fcn.1400d1dcc
int3
call fcn.1400d1d84
int3
movzx eax, word [r12]
mov word [rsi + 0x10], ax
mov rdi, qword [rsi + 8]
cmp rdi, rbx
jne 0x1400f417e
mov eax, ebx
jmp 0x1400f4186
mov rcx, rdi
call fcn.1400fcb50
mov r8d, eax
mov rdx, rdi
mov rcx, rbp
call fcn.14000ace0
movzx r11d, word [rsi + 0x10]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
cmp r11w, 0xffff
mov word [r12], r11w
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret