joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140100c70
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x14194e810]
test rcx, rcx
jne 0x140100c9a
xor r8d, r8d
lea edx, [rcx + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x14194e810], rax
jmp 0x140100ca3
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r10, qword [0x14194e838]
lea rax, [rbx - 0x10]
mov rcx, qword [rax]
mov r9, rax
sub r9, qword [rax + 8]
sub r10, rcx
mov qword [0x14194e838], r10
cmp qword [r9], 0
jne 0x140100cda
add qword [r9 + 0x20], rcx
lea r8, [r9 + 0x20]
mov rax, qword [r8]
mov qword [rax + r9 + 8], rax
jmp 0x140100d09
xor edx, edx
mov qword [rax + 0x20], rcx
mov rcx, qword [0x14194e830]
lea r8, [rax + 0x20]
mov qword [rax], rdx
mov r9, rax
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rdx
test rcx, rcx
je 0x140100d02
mov qword [rcx + 0x18], rax
mov qword [0x14194e830], rax
mov rcx, qword [r8]
cmp qword [rcx + r9], 0
lea rdx, [rcx + r9]
jne 0x140100d55
add rcx, qword [rdx + 0x20]
mov qword [r8], rcx
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x140100d2f
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [rdx + 0x18]
mov rax, qword [rdx + 0x10]
test rcx, rcx
je 0x140100d42
mov qword [rcx + 0x10], rax
jmp 0x140100d49
mov qword [0x14194e830], rax
mov rax, qword [r8]
mov qword [rax + r9 + 8], rax
lea rdx, [rax + r9]
cmp qword [r9 + 8], 0
jne 0x140100dbb
cmp qword [rdx], 1
jne 0x140100dbb
mov rcx, qword [0x14194e840]
lea rax, [r10 + r10*2]
sub rcx, qword [r8]
shr rax, 1
cmp rcx, rax
jbe 0x140100dbb
mov qword [0x14194e840], rcx
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x140100d90
mov rax, qword [r9 + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 0x10]
test rcx, rcx
je 0x140100da3
mov qword [rcx + 0x10], rax
jmp 0x140100daa
mov qword [0x14194e830], rax
xor edx, edx
mov r8d, 0x8000
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [0x14194e810]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_ReleaseMutex]
Function at 0x14010a608
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14010a49b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010a49b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14010a49b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14010a49b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14010a49b
cmp dword [rcx + 0x84], 0xe
jbe 0x14010a49b
cmp dword [rcx + 0xf8], 0
je 0x14010a49b
mov ecx, ebx
call fcn.14010a53c
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14010a32c
cmp dword [rbp + 0x20], 0
je 0x14010a4e8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14010a4f0
int3
xor r8d, r8d
xor edx, edx
jmp 0x14010a434
Function at 0x180004760
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x180004799
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x1800047a0
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_64
xor esi, esi
jmp 0x18000487d
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x1800047e6
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x1800047e6
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call fcn.1801bd300
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
jmp 0x1800047e9
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x18000487a
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x180004823
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
cmp r14, 0x1000
jb 0x180004856
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call fcn.1801a2c30
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x180004823
jmp 0x18000487a
test r14, r14
je 0x180004877
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call fcn.1801a2c30
sub r14, rax
jmp 0x18000487a
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov r15, r8
test r8, r8
jle 0x180004ec2
mov rdi, rdx
mov rbx, rcx
mov r15, rsi
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x180004ea7
mov rax, qword [rbx + 0x50]
mov r14d, dword [rax]
test r14d, r14d
jle 0x180004ea7
cmp r15, r14
cmovb r14, r15
mov rcx, rdi
mov r8, r14
call fcn.1801bd300
add rdi, r14
sub r15, r14
mov rax, qword [rbx + 0x50]
sub dword [rax], r14d
mov rax, qword [rbx + 0x38]
add qword [rax], r14
jmp 0x180004ebd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180004ec2
mov byte [rdi], al
inc rdi
dec r15
test r15, r15
jg 0x180004e67
sub rsi, r15
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x180008a37
Capabilities:
Encode data using base64 via winapi

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
lea r14, [rsp + 0x2c]
mov dword [r14], 0
mov qword [rsp + 0x20], r14
mov r15, qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov rcx, rdx
mov edx, r8d
mov r8d, 0x40000001
xor r9d, r9d
call r15
mov r8d, dword [r14]
dec r8d
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
mov rcx, rsi
xor edx, edx
call fcn.180009f08
cmp qword [rsi + 0x18], 8
mov r9, rsi
jb 0x180008a9c
mov r9, qword [rsi]
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov edx, edi
mov r8d, 0x40000001
call r15
movabs rax, 0x3efd9f6ee482e84
add rax, qword [0x18024dcd8]
jmp rax
Function at 0x18000cf08
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18000cf42
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18000cf47
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18000cf90
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1801c8b80]
cmp byte [rcx + rax], 0
je 0x18000cf90
dec r8
sub rdx, 1
jne 0x18000cf76
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x18000e2c8
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, rdx
mov r13, r8
mov edx, 1
mov r15, rcx
mov r12d, edx
mov r14d, edx
lea rdi, [rsi + 0x18]
cmp dword [rsi + 0x10], edx
jle 0x18000e361
lea ebx, [rdx + 7]
lea ebp, [rdx + 0xf]
test r13, r13
je 0x18000e326
mov rax, qword [r15 + 0x10]
cmp qword [rax + rbp + 8], r13
je 0x18000e326
mov rax, qword [rdi]
cmp qword [rbx + rax], 0
je 0x18000e34b
xor r12d, r12d
jmp 0x18000e34b
mov rax, qword [rdi]
mov rcx, qword [rbx + rax]
test rcx, rcx
je 0x18000e343
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x1800343ee.0]
mov edx, 1
mov rax, qword [rdi]
and qword [rbx + rax], 0
add r14d, edx
add rbp, 0x10
add rbx, 8
cmp r14d, dword [rsi + 0x10]
jl 0x18000e307
test r12d, r12d
je 0x18000e3a9
lea rcx, [r15 + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [r15 + 0x18]
mov rdx, rsi
call fcn.18000dd40
lea rcx, [r15 + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x1800343ee.0]
mov ecx, dword [r15]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x18000f26c
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 0x18000f2e3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x18000f2e3
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x18000f2d0
cmp rbx, rcx
jae 0x18000f2e3
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x18000f2bb
cmp rbx, rcx
jae 0x18000f2e3
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x18000f2e5
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 0x180014c40
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x180014ca8
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x180014c92
cmp qword [rcx + 0x18], 0
jne 0x180014c8d
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x180014cae
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], 0x40
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x180014ca8
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.18001e268
call fcn.1800103d8
int3
call fcn.1800103d8
int3

Function at 0x180015ac0
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
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x180015b1e
call fcn.18000ecac
mov r8d, 0xf0
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x180015b1e
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180015b29
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.180022f5c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180016154
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 rsi, rcx
xor ebp, ebp
mov rcx, qword [rcx + 0xd0]
mov rbx, rdx
test rcx, rcx
jne 0x180016203
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x180016228
mov rcx, qword [rbx]
lea r8d, [rbp + 1]
mov edx, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub edx, edi
or r8d, edx
jge 0x1800161b4
mov edx, edi
mov rcx, rbx
call fcn.18000e7a0
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x180016228
mov dword [rdx - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov word [rax + rdi*2], bp
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1800161e0
mov eax, ebp
jmp 0x1800161ed
movsxd rdx, dword [rcx - 0xc]
call fcn.1801a4fe8
test eax, eax
js 0x180016228
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x180016228
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x180016213
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x1800343ee.0]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.18000dc84
int3

Function at 0x180016318
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 rbx, r8
mov rcx, qword [rcx + 0x40]
call fcn.18001e5b4
mov rdi, rax
test rax, rax
je 0x180016394
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x18001638f
cmp dword [rbx], 0x40
jb 0x18001638f
mov rcx, qword [rbp + 0x40]
xor r9d, r9d
or dword [rbx + 4], 1
xor r8d, r8d
or qword [rbx + 0x30], 0xffffffffffffffff
mov edx, 0x87
mov qword [rbx + 8], rcx
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x18001638f
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x180016398
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 0x1800163b0
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 rdi, rcx
mov rbx, r8
lea rcx, [0x18021d608]
mov esi, edx
call fcn.1801a4ebc
mov r8d, eax
lea rdx, [0x18021d608]
mov rcx, rbx
call fcn.18000f4dc
xor ebp, ebp
mov edx, esi
cmp qword [rdi + 0xc8], rbp
jne 0x180016492
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x1800164aa
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x1800164c5
mov rcx, qword [rbx]
lea r8d, [rbp + 1]
mov edx, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub edx, edi
or r8d, edx
jge 0x180016444
mov edx, edi
mov rcx, rbx
call fcn.18000e7a0
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x1800164c5
mov dword [rdx - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov rcx, rsi
mov word [rax + rdi*2], bp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x18001646f
mov eax, ebp
jmp 0x18001647c
movsxd rdx, dword [rcx - 0xc]
call fcn.1801a4fe8
test eax, eax
js 0x1800164c5
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1800164c5
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x1800164aa
mov rcx, rdi
call fcn.18001dd1c
test rax, rax
je 0x1800164aa
mov rdx, rbx
mov rcx, rax
call fcn.180016154
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, dword [rax - 0x10]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.18000dc84
int3

Function at 0x18001a9bc
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 r14
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x18001aa75
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x18001aa75
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x18001aa75
test rdi, rdi
je 0x18001aa75
xor r14d, r14d
xor esi, esi
call fcn.18000ecac
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x18001aa55
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
mov rcx, rbp
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18001aa75
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.1800236d0
mov edi, eax
test eax, eax
je 0x18001aa71
mov rcx, rbx
call fcn.18001a82c
mov eax, edi
jmp 0x18001aa77
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
Function at 0x18001de64
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movsxd rsi, r8d
mov rbx, rdx
mov rdi, rcx
xor ebp, ebp
cmp qword [rcx + 0xd0], rbp
jne 0x18001de9e
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x18001df42
call fcn.1800115d0
mov rcx, rax
test rax, rax
je 0x18001df5d
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1800343ee.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rcx, qword [rdi + 0xd0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rax, qword [rax + 0x118]
call qword [case.0x1800343ee.0]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1801a51ec
test eax, eax
je 0x18001df06
cmp eax, 0xc
je 0x18001df57
cmp eax, 0x50
jne 0x18001df68
test rbx, rbx
jne 0x18001df0f
mov ebx, ebp
jmp 0x18001df1a
mov rcx, rbx
call fcn.1801a4ebc
mov rbx, rax
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x18001df40
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1800343ee.0]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
call fcn.180010390
nop
mov ecx, 0x80004005
call fcn.18000dc84
nop
call fcn.1800103d8
int3

Function at 0x18001e268
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x18024df40]
xor rax, rsp
mov qword [rsp + 0x220], rax
xor ebp, ebp
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x18001e323
test rdx, rdx
je 0x18001e323
mov rcx, rdx
call fcn.1801a4ebc
xor edx, edx
mov word [rsp + 0x20], bp
mov r8d, 0x1fe
lea rcx, [rsp + 0x22]
mov rsi, rax
call fcn.1801bd9a0
mov r8d, 0x100
cmp rsi, r8
ja 0x18001e2f4
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, esi
jne 0x18001e2f4
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x18001e300
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.18000bad0
mov rbx, qword [rsp + 0x260]
add rsp, 0x230
pop rdi
pop rsi
pop rbp
ret
call fcn.1800103d8
int3
Function at 0x18001f1a4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x18001f20b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18001f21f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001f21f
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call qword [case.0x1800343ee.0]
jmp 0x18001f224
cmp dword [rcx + 8], 0
je 0x18001f21f
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x18001f224
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x180024db0
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 rsi, r8
mov rbx, rdx
mov rbp, rcx
call fcn.18000ecac
mov r8d, 5
mov rdx, rbx
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x180024e1a
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180024e1a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r9, rdi
mov r8, rsi
mov rdx, rax
mov rcx, rbp
call fcn.180024e34
jmp 0x180024e1c
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 0x1800251ac
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 qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
cmp rdx, 0x10000
jae 0x1800251eb
cmp dword [rcx + 0xe8], 0
jne 0x1800251eb
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.18000ecac
mov r8d, 5
mov rdx, rdi
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x18002522f
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18002522f
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.180025a30
jmp 0x180025231
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 0x180025338
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, rcx
mov r12, qword [rcx + 0x100]
mov rdi, qword [rcx + 0xf8]
call fcn.18000ecac
mov r13, qword [rax + 0x18]
cmp qword [rbx + 0xf0], 0
je 0x1800253a3
call fcn.18000ecac
mov r13, qword [rax + 0x18]
mov r8d, 5
mov rdx, qword [rbx + 0xf0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1800253b9
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rdi, rdi
je 0x1800253b4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test r12, r12
jne 0x1800253c2
or rax, 0xffffffffffffffff
jmp 0x18002557b
mov rcx, rbx
call fcn.180025974
mov rdi, rax
mov qword [rsp + 0x20], rax
call fcn.18001beb0
xor r14d, r14d
mov dword [rsp + 0x78], r14d
xor esi, esi
mov qword [rsp + 0x88], rsi
xor r15d, r15d
mov dword [rsp + 0x80], r15d
test rdi, rdi
je 0x1800254a3
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rdi, rax
je 0x1800254a3
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1800254a3
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
lea r14d, [rsi + 1]
mov dword [rsp + 0x78], r14d
call fcn.18000f13c
mov rdx, rax
test rax, rax
je 0x18002549b
mov rcx, qword [rax]
mov rax, qword [rcx + 0xe8]
mov rcx, rdx
call qword [case.0x1800343ee.0]
mov rsi, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x1800254a3
mov rax, qword [rax]
mov rcx, rsi
mov rax, qword [rax + 0x2a0]
call qword [case.0x1800343ee.0]
test eax, eax
je 0x1800254a3
mov rcx, rsi
call fcn.18001e048
test eax, eax
je 0x1800254a3
xor edx, edx
mov rcx, rsi
call fcn.18001e074
mov r15d, r14d
mov dword [rsp + 0x80], r14d
jmp 0x1800254a3
mov qword [rsp + 0x88], rsi
mov rcx, rbx
call fcn.18001be38
mov rcx, rdi
call fcn.180015850
mov r9, r13
mov r8, rax
mov rdx, r12
mov rcx, rbx
call fcn.1800250cc
test eax, eax
jne 0x1800254f2
cmp dword [rbx + 0x120], eax
jne 0x1800254f2
call fcn.18000ecac
mov r13, qword [rax + 0x10]
mov rcx, rdi
call fcn.180015850
mov r9, r13
mov r8, rax
mov rdx, r12
mov rcx, rbx
call fcn.1800250cc
and dword [rbx + 0x120], 0
jmp 0x18002551a
test r15d, r15d
je 0x18002552c
mov edx, 1
mov rcx, rsi
call fcn.18001e074
test r14d, r14d
je 0x18002553f
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
test rdi, rdi
je 0x180025559
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [rbx + 0x40]
jne 0x180025559
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0xc0]
call qword [case.0x1800343ee.0]
mov rcx, rbx
call fcn.1800259d0
movsxd rax, dword [rbx + 0xb8]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret