joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140092300
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.1400b47f4
test rax, rax
mov rsi, rax
je 0x14009237d
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
test rbx, rbx
movzx edi, ax
je 0x140092378
cmp dword [rbx], 0x38
jb 0x140092378
mov rax, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x140092378
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140092381
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140093474
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
call fcn.1400a02f0
mov rbx, rax
mov rax, qword [rax + 0x78]
test rax, rax
je 0x1400934ab
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x1400934ab
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 0x1400934db
test rbx, rbx
je 0x1400934db
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400934db
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 0x140097338
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 0x1400973f0
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 0x140097388
mov edx, edi
mov rcx, rbx
call fcn.140003510
test edi, edi
mov rdx, qword [rbx]
js 0x1400973e5
cmp edi, dword [rdx - 0xc]
jg 0x1400973e5
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 0x1400973b9
xor eax, eax
jmp 0x1400973c2
call fcn.1400d00c0
test eax, eax
js 0x1400973da
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1400973da
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
and word [rax + rcx*2], 0
jmp 0x140097400
mov ecx, 0x80070057
call fcn.1400034f0
int3
mov ecx, 0x80070057
call fcn.1400034f0
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 0x14009a01c
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 0x14009a084
call fcn.1400a02a0
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 0x14009a084
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x14009a0a6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140099a78
test rdi, rdi
mov esi, eax
je 0x14009a0a4
test rbx, rbx
je 0x14009a0a4
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 0x14009a9fc
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
call fcn.1400922cc
test eax, eax
je 0x14009aa24
mov eax, 1
jmp 0x14009aafe
mov rdx, qword [str.AfxClosePending]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetPropW]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14009aaa7
cmp dword [rax], 1
jne 0x14009aa9e
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x476
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jne 0x14009aa9e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [str.AfxClosePending]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_RemovePropW]
test rax, rax
je 0x14009aa8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xc0]
jmp 0x14009aa1a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [rdi + 8], 0x100
jne 0x14009aaf3
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14009aaf3
cmp qword [rdi + 0x10], 9
je 0x14009aad5
cmp qword [rdi + 0x10], 0x21
je 0x14009aad5
cmp qword [rdi + 0x10], 0x22
jne 0x14009aaf3
mov rcx, qword [rbx + 0x40]
mov r9, rdi
xor r8d, r8d
mov edx, 0x475
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jne 0x14009aa1a
mov rdx, rdi
mov rcx, rbx
call fcn.140092ab8
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14009bc90
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 0x14009bcb9
mov rdi, qword [rdx + 0x10]
jmp 0x14009bd0a
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 0x14009bcda
call fcn.1400a501c
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rdi, rax
jne 0x14009bcf4
call fcn.1400a501c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
jne 0x14009bd0a
call fcn.1400a501c
call fcn.1400a02a0
cmp qword [rax + 0x68], 0
je 0x14009bd24
mov rdx, rdi
mov rcx, rbp
call fcn.14009a1d0
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14009ba48
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
mov rsi, rax
je 0x14009bd4b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xb8], 0
test rsi, rsi
je 0x14009bd5a
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 0x14009df84
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 0x14009dfc2
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14009e076
call fcn.14009d5e8
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14009dfe1
mov ecx, 0x80004005
call fcn.1400034f0
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
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.1400d0d90
test eax, eax
je 0x14009e049
cmp eax, 0xc
je 0x14009e043
cmp eax, 0x16
je 0x14009e03d
cmp eax, 0x22
je 0x14009e03d
cmp eax, 0x50
je 0x14009e049
call fcn.1400a0610
int3
call fcn.1400a0610
int3
call fcn.1400a05c8
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 0x14009e074
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14009ebe4
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
cmp qword [rcx + 0xb0], 0
mov rdi, qword [rcx + 0xc0]
mov rbp, qword [rcx + 0xb8]
mov rsi, rcx
je 0x14009ec41
call fcn.1400a02a0
mov rdx, qword [rsi + 0xb0]
mov r8d, 5
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rbp, rbp
je 0x14009ec52
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rdi, rdi
mov ebx, 1
je 0x14009ec8f
cmp word [rdi + 2], 0xffff
mov ecx, dword [rdi]
jne 0x14009ec73
mov ecx, dword [rdi + 0xc]
movzx edx, word [rdi + 0x12]
movzx eax, word [rdi + 0x14]
jmp 0x14009ec7b
mov dx, word [rdi + 0xa]
mov ax, word [rdi + 0xc]
test ecx, 0x1801
jne 0x14009ec8d
test dx, dx
jne 0x14009ec8d
test ax, ax
je 0x14009ec8f
xor ebx, ebx
cmp qword [rsi + 0xb0], 0
je 0x14009eca2
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14009f39c
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, r8
mov rbx, rdx
mov r13, rcx
xor edi, edi
call fcn.1400a02a0
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
cmp rax, rdi
mov rsi, rax
je 0x14009f3f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r12
mov rdx, rdi
mov rcx, r13
call fcn.14009ed1c
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x14009f48c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CPropertyPage.virtual_624
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test rdx, 0xffffffffffff0000
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
jne 0x14009f4cb
cmp dword [rcx + 0xa8], 0
jne 0x14009f4cb
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.1400a02a0
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14009f430
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a19cc
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x14012df80]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov edx, 0x105
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400a1a02
xor eax, eax
jmp 0x1400a1a4f
lea rcx, [rsp + 0x20]
call fcn.1400d00c0
cmp word [rsp + rax*2 + 0x1e], 0x5c
je 0x1400a1a2e
lea r8, [0x1400fc394]
lea rcx, [rsp + 0x20]
mov edx, 0x105
call fcn.1400d0f60
test eax, eax
jne 0x1400a19fe
lea rcx, [rsp + 0x20]
mov r8, rbx
mov edx, 0x105
call fcn.1400d0f60
test eax, eax
jne 0x1400a19fe
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400cd6e0
add rsp, 0x240
pop rbx
ret

Function at 0x1400ad108
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
cmp qword [rcx + 0x100], 0
mov rdi, rcx
jne 0x1400ad1a6
cmp qword [rcx + 0xe8], 0
je 0x1400ad1a6
call fcn.1400a02a0
mov rdx, qword [rdi + 0xe8]
mov r8d, 5
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400ad1a6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rbp, rax
je 0x1400ad1a6
call fcn.1400a02a0
mov rsi, qword [rax + 0x68]
test rsi, rsi
je 0x1400ad1a6
mov ecx, 0x20
call fcn.140091360
mov r9, qword [rsi]
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [r9 + 0x28]
mov qword [rdi + 0x100], rbx
mov rax, qword [rdi + 0x100]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b2640
Capabilities:
Get geographical location

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x2f0
mov rax, qword [0x14012df80]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
cmp r8d, 0x800
mov eax, r8d
mov rsi, rdx
mov rbx, rcx
jne 0x1400b26b2
lea r8, [0x1400f4b28]
lea rcx, [rsp + 0xa0]
mov edx, 4
call fcn.1400d0eb0
test eax, eax
je 0x1400b26d4
cmp eax, 0xc
je 0x1400b26ac
cmp eax, 0x16
je 0x1400b26a6
cmp eax, 0x22
je 0x1400b26a6
cmp eax, 0x50
je 0x1400b26d4
call fcn.1400a0610
int3
call fcn.1400a0610
int3
call fcn.1400a05c8
int3
mov r9d, 4
lea r8, [rsp + 0xa0]
mov ecx, eax
lea edx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400b27f7
call fcn.1400cf300
mov edi, dword [rax]
call fcn.1400cf300
lea rcx, [rsp + 0xb0]
and dword [rax], 0
lea rax, [rsp + 0xa0]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov esi, 0x112
lea r8d, [rsi - 1]
mov rdx, rsi
call fcn.1400d0c80
mov ebx, eax
call fcn.1400cf300
cmp dword [rax], 0
je 0x1400b275c
call fcn.1400cf300
cmp dword [rax], 0
je 0x1400b2763
cmp dword [rax], 0xc
je 0x1400b2751
cmp dword [rax], 0x16
je 0x1400b2746
cmp dword [rax], 0x22
je 0x1400b2746
cmp dword [rax], 0x50
je 0x1400b2763
mov ecx, 0x80004005
call fcn.1400034f0
int3
mov ecx, 0x80070057
call fcn.1400034f0
int3
mov ecx, 0x8007000e
call fcn.1400034f0
int3
call fcn.1400cf300
mov dword [rax], edi
cmp ebx, 0xffffffff
je 0x1400b27f7
cmp ebx, esi
jae 0x1400b27f7
lea rcx, [rsp + 0xb0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor edx, edx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x6c]
mov rbx, rax
mov dword [rsp + 0x30], 0x70
call fcn.1400cfef0
lea rcx, str.KERNEL32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b27e2
lea rdx, str.FindActCtxSectionStringW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400b27e2
lea rcx, [rsp + 0x30]
xor edx, edx
mov r9, rbx
mov qword [rsp + 0x20], rcx
lea r8d, [rdx + 2]
xor ecx, ecx
call rax
mov rcx, rbx
test eax, eax
jne 0x1400b27ea
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x1400b27f9
xor eax, eax
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400cd6e0
add rsp, 0x2f0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b34cc
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 [0x14012df80]
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 0x1400b35cb
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 0x1400b35a2
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.14000a8b0
nop
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.1400b34cc
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 0x1400b3589
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [rsp + 0x20], 0
je 0x1400b3592
jmp 0x1400b35a2
jmp 0x1400b3522
cmp ebx, 0x103
je 0x1400b35b2
cmp ebx, 0x3f2
jne 0x1400b35c0
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.1400cd6e0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400b41f0
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 0x1400b427d
lea ebx, [rsi + 7]
lea r13d, [rsi + 0xf]
test r14, r14
je 0x1400b4249
mov rax, qword [r12 + 0x10]
cmp qword [rax + r13 + 8], r14
je 0x1400b4249
mov rax, qword [rdi + 0x18]
cmp qword [rbx + rax], 0
je 0x1400b4269
xor esi, esi
jmp 0x1400b4269
mov rax, qword [rdi + 0x18]
mov rcx, qword [rbx + rax]
test rcx, rcx
je 0x1400b4260
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 0x1400b4229
test esi, esi
je 0x1400b42c4
lea rcx, [r12 + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [r12 + 0x18]
mov rdx, rdi
call fcn.1400b3d10
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 0x1400b4548
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x14012df80]
xor rax, rsp
mov qword [rsp + 0x220], rax
test rcx, rcx
mov rbx, rdx
mov rdi, rcx
jne 0x1400b457d
call fcn.1400a0610
int3
test rdx, rdx
jne 0x1400b4588
call fcn.1400a0610
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.1400cfef0
mov r8d, 0x100
cmp esi, r8d
ja 0x1400b45da
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, esi
jne 0x1400b45da
lea rcx, [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400b45e6
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400cd6e0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400b61c0
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, [0x1400b6190]
lea rcx, [0x140135e80]
mov r13d, r8d
call fcn.1400b3c34
xor ebx, ebx
cmp rax, rbx
mov rsi, rax
jne 0x1400b6204
call fcn.1400a0610
int3
cmp word [rax + 0x10], bx
jne 0x1400b638d
call fcn.1400a02a0
mov rcx, qword [rax + 0xc8]
mov rdi, qword [rcx]
cmp qword [rdi + 8], rbx
jne 0x1400b624d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp rax, rbx
mov qword [rdi + 8], rax
jne 0x1400b624d
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 0x1400b6306
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 0x1400b62c3
call rax
and ax, 0x3ff
cmp ax, 0x11
jne 0x1400b62c3
lea rcx, str.MS_UI_Gothic
call fcn.1400b60ac
cmp eax, ebx
je 0x1400b62c3
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 0x1400b62e7
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 0x1400b6306
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
cmp rax, rbx
je 0x1400b6306
mov r8, r12
mov rdx, rbp
mov rcx, rax
call fcn.1400b5fd8
mov rax, qword [rbp]
mov ecx, 0xffffffff
mov eax, dword [rax - 0x10]
add eax, 1
add rax, rax
cmp rax, rcx
jbe 0x1400b6328
mov ecx, 0x80070057
call fcn.1400034f0
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 0x1400b6347
call fcn.1400a05c8
int3
mov r8, qword [rbp]
mov eax, dword [r8 - 0x10]
add eax, 1
movsxd rdx, eax
call fcn.1400d0eb0
cmp eax, ebx
je 0x1400b6384
cmp eax, 0xc
je 0x1400b637e
cmp eax, 0x16
je 0x1400b6378
cmp eax, 0x22
je 0x1400b6378
cmp eax, 0x50
je 0x1400b6384
call fcn.1400a0610
int3
call fcn.1400a0610
int3
call fcn.1400a05c8
int3
movzx eax, word [r12]
mov word [rsi + 0x10], ax
mov rdi, qword [rsi + 8]
cmp rdi, rbx
jne 0x1400b639a
mov eax, ebx
jmp 0x1400b63a2
mov rcx, rdi
call fcn.1400d00c0
mov r8d, eax
mov rdx, rdi
mov rcx, rbp
call fcn.140003940
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
Function at 0x1400c4ca0
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
push r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
test r8, r8
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
je 0x1400c4d12
call fcn.1400a02a0
mov r8d, 0xf0
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400c4d12
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x1400c4d5f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rsi, rsi
mov edi, 1
je 0x1400c4d3f
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
test rbx, rbx
mov edi, eax
je 0x1400c4d3f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x1400c4d5d
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
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 0x1400c5c5c
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
test r8d, r8d
mov rbx, rcx
jne 0x1400c5c6e
xor eax, eax
jmp 0x1400c5c9f
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 0x1400c5c9b
mov rbx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.1400c7f10
mov eax, dword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret