joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005830
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x140005848
xor eax, eax
test eax, eax
jne 0x140005848
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
shl rax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1400058b0
mov eax, dword [rsp + 0x38]
jmp 0x140005933
cmp dword [rsp + 0x30], 1
je 0x1400058c5
cmp dword [rsp + 0x30], 2
je 0x1400058c5
mov eax, reloc.WSOCK32.dll_listen
jmp 0x140005933
cmp qword [rsp + 0x60], 0
je 0x140005919
cmp dword [rsp + 0x34], 0
je 0x14000590f
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
test rdx, rdx
jne 0x140005906
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rcx*2 - 2]
test eax, eax
je 0x14000590d
mov eax, reloc.WSOCK32.dll_listen
jmp 0x140005933
jmp 0x140005919
xor ecx, ecx
mov rax, qword [rsp + 0x60]
mov word [rax], cx
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x48
ret
Function at 0x140005940
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x140005958
xor eax, eax
test eax, eax
jne 0x140005958
cmp qword [rsp + 0x60], 0
je 0x140005980
mov rax, qword [rsp + 0x68]
cmp dword [rax], 2
jae 0x140005980
mov eax, 0x7a
jmp 0x140005a93
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
shl rax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1400059dc
mov eax, dword [rsp + 0x38]
jmp 0x140005a93
cmp dword [rsp + 0x30], 7
je 0x1400059ed
mov eax, reloc.WSOCK32.dll_listen
jmp 0x140005a93
cmp qword [rsp + 0x60], 0
je 0x140005a79
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
test rdx, rdx
jne 0x140005a72
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
cmp rax, 1
jb 0x140005a72
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rcx*2 - 2]
test eax, eax
jne 0x140005a72
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
cmp rax, 1
jbe 0x140005a79
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rcx*2 - 4]
test eax, eax
je 0x140005a79
mov eax, reloc.WSOCK32.dll_listen
jmp 0x140005a93
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x48
ret

Function at 0x140005aa0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x140005ab3
xor eax, eax
test eax, eax
jne 0x140005ab3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x140005b00
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x140005b18
xor eax, eax
test eax, eax
jne 0x140005b18
cmp qword [rsp + 0x60], 0
je 0x140005b36
mov dword [rsp + 0x34], 1
jmp 0x140005b3e
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140005b54
mov eax, reloc.WSOCK32.dll_listen
jmp 0x140005b96
xor eax, eax
test eax, eax
jne 0x140005b24
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x48
ret

Function at 0x140005ba0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x140005bb3
xor eax, eax
test eax, eax
jne 0x140005bb3
cmp qword [rsp + 0x70], 0
je 0x140005bd1
mov dword [rsp + 0x48], 1
jmp 0x140005bd9
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140005bf2
mov eax, reloc.WSOCK32.dll_listen
jmp 0x140005c73
xor eax, eax
test eax, eax
jne 0x140005bbf
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x30]
lea rax, [rax + rcx*2]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x40], 1
jne 0x140005c0a
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x58
ret
Function at 0x1400199f0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x140019a08
xor eax, eax
test eax, eax
jne 0x140019a08
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x140019bd0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x140019be7
xor eax, eax
test eax, eax
jne 0x140019be7
cmp qword [rsp + 0x80], 0
jne 0x140019c0b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x58
ret

Function at 0x14001b970
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x2c], 0
jmp 0x14001b9a6
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x2c], eax
jge 0x14001ba09
movsxd rdx, dword [rsp + 0x2c]
imul rdx, rdx, 0x10
movsxd rcx, dword [rsp + 0x2c]
imul rcx, rcx, 0x10
xor r9d, r9d
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + rdx + 8]
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx + rcx]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WSOCK32.dll_send]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jg 0x14001b9f5
movsxd rax, dword [rsp + 0x28]
jmp 0x14001ba0e
movsxd rcx, dword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
add rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14001b99b
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x14001ba20
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x2c], 0
jmp 0x14001ba5e
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x2c], eax
jge 0x14001bb5c
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x220], 0
je 0x14001bb5c
movsxd rcx, dword [rsp + 0x2c]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + rcx]
mov qword [rsp + 0x30], rax
movsxd rcx, dword [rsp + 0x2c]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + rcx + 8]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], 0
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x38]
sub eax, ecx
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x220], 0
je 0x14001bae6
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1400d9220
test eax, eax
je 0x14001bae4
jmp 0x14001bae6
jmp 0x14001bac1
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x220], 0
jne 0x14001baf8
xor eax, eax
jmp 0x14001bb73
movsxd rcx, dword [rsp + 0x2c]
imul rcx, rcx, 0x10
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + rcx + 8]
mov rdx, qword [rsp + 0x30]
add rdx, rax
movsxd rax, dword [rsp + 0x38]
sub rdx, rax
xor r9d, r9d
mov r8d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WSOCK32.dll_recv]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jg 0x14001bb3d
xor eax, eax
jmp 0x14001bb73
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x28], eax
movsxd rcx, dword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
add rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14001ba53
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x220], 0
jne 0x14001bb6e
xor eax, eax
jmp 0x14001bb73
mov rax, qword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x14002bac0
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002baed
xor al, al
jmp 0x14002bba3
mov r8d, reloc.OLEAUT32.dll_SafeArrayLock
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14002bb42
mov r8d, 4
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14002bb42
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x14002bba3
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14002bb7e
cmp dword [rsp + 0x34], 2
jne 0x14002bb7a
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002bb7c
jmp 0x14002bb7e
jmp 0x14002bb52
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rsp + 0x34], 4
jne 0x14002bba1
mov al, 1
jmp 0x14002bba3
xor al, al
add rsp, 0x58
ret
Function at 0x14004e520
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov edx, 0x2c0
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004e569
mov eax, dword [rsp + 0x20]
jmp 0x14004e6cc
mov dword [rsp + 0x3c], 0x2c0
lea rdx, [rsp + 0x3c]
mov rcx, qword [rsp + 0x28]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14004e5fd
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rsp + 0x28], 0
cmp dword [rsp + 0x38], 0x6f
jne 0x14004e5f4
mov edx, dword [rsp + 0x3c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004e5cb
mov eax, dword [rsp + 0x20]
jmp 0x14004e6cc
lea rdx, [rsp + 0x3c]
mov rcx, qword [rsp + 0x28]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x14004e5f2
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [rsp + 0x20]
jmp 0x14004e6cc
jmp 0x14004e5fd
mov eax, dword [rsp + 0x20]
jmp 0x14004e6cc
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x28]
add rcx, 0xc
call fcn.14004e290
test eax, eax
je 0x14004e671
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x194], 0x10
jbe 0x14004e631
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetDim
jmp 0x14004e640
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x194]
mov dword [rsp + 0x40], eax
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
add rdx, 0x198
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
add rcx, rax
call fcn.1400a9470
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004e607
cmp qword [rsp + 0x30], 0
je 0x14004e699
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rsp + 0x20], 0
jne 0x14004e6c8
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor edx, edx
call fcn.1400a87c0
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x140050c90
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x248], rax
xor eax, eax
mov word [rsp + 0x30], ax
lea rdx, str.Global_
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.14000e620
mov rdx, qword [rax + 0xa0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str._is_running
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r8, [rsp + 0x30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov r11, rax
mov rax, qword [rsp + 0x260]
mov qword [rax + 0x2a8], r11
mov rax, qword [rsp + 0x260]
cmp qword [rax + 0x2a8], 0
je 0x140050d58
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140050d58
mov rcx, qword [rsp + 0x260]
mov rcx, qword [rcx + 0x2a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11, qword [rsp + 0x260]
mov qword [r11 + 0x2a8], 0
mov rax, qword [rsp + 0x260]
cmp qword [rax + 0x2a8], 0
jne 0x140050d77
mov dword [rsp + 0x240], 1
jmp 0x140050d82
mov dword [rsp + 0x240], 0
mov eax, dword [rsp + 0x240]
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x258
ret
Function at 0x140079208
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 0x140079246
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400792fa
call fcn.14007289c
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140079265
mov ecx, 0x80004005
call fcn.140001e80
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.1400b0858
test eax, eax
je 0x1400792cd
cmp eax, 0xc
je 0x1400792c7
cmp eax, 0x16
je 0x1400792c1
cmp eax, 0x22
je 0x1400792c1
cmp eax, 0x50
je 0x1400792cd
call fcn.1400724e8
int3
call fcn.1400724e8
int3
call fcn.1400724a0
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 0x1400792f8
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 0x14007a6ec
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.140096af0
mov rsi, rax
test rax, rax
je 0x14007a768
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14007a763
cmp dword [rbx], 0x40
jb 0x14007a763
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14007a763
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14007a76c
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 0x140081630
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
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140081698
call fcn.140077b48
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 0x140081698
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400816ba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140081040
mov esi, eax
test rdi, rdi
je 0x1400816b8
test rbx, rbx
je 0x1400816b8
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 0x1400824d0
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 rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x14008250f
cmp dword [rcx + 0xa8], 0
jne 0x14008250f
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.140077b48
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.140082474
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 0x14008a400
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 0x14008a429
mov rdi, qword [rdx + 0x10]
jmp 0x14008a47a
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rbx + 8]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14008a44a
call fcn.1400867c8
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14008a464
call fcn.1400867c8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14008a47a
call fcn.1400867c8
call fcn.140077b48
cmp qword [rax + 0x68], 0
je 0x14008a494
mov rdx, rdi
mov rcx, rbp
call fcn.140088c88
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14008a21c
mov rcx, qword [rbp + 0xb8]
mov rsi, rax
test rcx, rcx
je 0x14008a4bb
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xb8], 0
test rsi, rsi
je 0x14008a4ca
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 0x1400942a8
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
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x14009431a
call fcn.140077b48
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 0x14009431a
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140094367
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x140094347
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x140094347
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x140094365
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 0x1400adce0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400bd7b4
nop
cmp dword [0x1402b1be8], 1
je 0x1400adc8c
mov dword [0x1402b1be4], 1
mov byte [0x1402b1be0], r12b
test ebx, ebx
jne 0x1400adc78
mov rcx, qword [0x1404be210]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400adc65
mov rcx, qword [0x1404be208]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400adc04
call fcn.1400b2930
cmp qword [rdi], rax
jne 0x1400adc04
jmp 0x1400adbea
cmp rdi, rsi
jb 0x1400adc65
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400b2930
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1404be210]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1404be208]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400adc43
cmp r13, rax
je 0x1400adc63
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400adbea
lea rdx, [0x140205988]
lea rcx, [0x140205970]
call fcn.1400ada34
lea rdx, [0x140205998]
lea rcx, [0x140205990]
call fcn.1400ada34
nop
test r12d, r12d
je 0x1400adc9b
mov ecx, 8
call fcn.1400bd6b4
test r12d, r12d
jne 0x1400adcc6
mov dword [0x1402b1be8], 1
lea ecx, [r12 + 8]
call fcn.1400bd6b4
mov ecx, r15d
call fcn.1400ad9c8
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400adb54

Function at 0x1400adcec
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400adb54