joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140091e60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x140091e9c
mov r8, rdx
mov rdx, qword [rcx + 0x28]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rcx + 0x18]
lea r9, [0x140091ab0]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov byte [rbx + 8], 1
mov qword [rbx + 0x10], rax
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x140091eee
mov ecx, reloc.WS2_32.dll_recv
call fcn.14011ecf0
test rax, rax
mov rbx, rax
je 0x140091ecc
mov ecx, dword [0x14023bf14]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbx], rdi
mov qword [rbx + 8], rax
jmp 0x140091ece
xor ebx, ebx
mov ecx, dword [0x14023bf14]
mov rdx, rbx
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
jmp qword [sym.imp.KERNEL32.dll_TlsSetValue]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.CreateDialogParam
lea rcx, [rsp + 0x30]
or r9d, 0xffffffff
mov edx, 0x100
mov byte [rsp + 0x30], 0
mov ebx, eax
call fcn.14007b3b0
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.14007f910
lea rcx, [rsp + 0x134]
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call fcn.14011e9b0
lea rdx, [0x14020b6e8]
lea rcx, [rsp + 0x134]
call fcn.14011f050
int3

Function at 0x140091f80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
movzx esi, dl
mov rdi, rcx
test rbx, rbx
jne 0x140091fb0
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [0x14023bf14]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140092028
mov ecx, dword [0x14023bf14]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x14023bf14]
cmp qword [rax], rbx
jne 0x140091ff6
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x14023bf14]
mov rdx, qword [rax + 8]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, rbx
jmp 0x140092023
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r11, rax
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140092028
cmp qword [rcx], rbx
je 0x14009201b
mov r11, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140092008
jmp 0x140092028
mov rax, qword [rcx + 8]
mov qword [r11 + 8], rax
call fcn.14011e950
mov rcx, qword [rdi + 0x10]
movzx edx, sil
call qword [sym.imp.USER32.dll_EndDialog]
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140092240
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rdi, rcx
lea rax, [0x1401a5b28]
mov qword [rcx], rax
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140092274
call qword [sym.imp.USER32.dll_DestroyIcon]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140092283
call qword [sym.imp.USER32.dll_DestroyIcon]
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x140092329
mov ecx, dword [0x14023bf14]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140092313
mov ecx, dword [0x14023bf14]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp qword [rax], rbx
jne 0x1400922db
mov ecx, dword [0x14023bf14]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rdx, qword [rax + 8]
mov ecx, dword [0x14023bf14]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, rbx
call fcn.14011e950
jmp 0x140092313
mov ecx, dword [0x14023bf14]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r11, rax
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140092313
cmp qword [rcx], rbx
je 0x140092306
mov r11, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1400922f3
jmp 0x140092313
mov rax, qword [rcx + 8]
mov qword [r11 + 8], rax
call fcn.14011e950
xor edx, edx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_EndDialog]
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + reloc.WS2_32.dll_htonl]
mov rbx, qword [rdi + 0x40]
test rbx, rbx
je 0x140092343
mov rcx, rbx
call fcn.1400a65d0
mov rcx, rbx
call fcn.14011e950
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140092970
Function at 0x1400924c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rbx, r9
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x40], r12d
call fcn.140047ce0
mov r10, qword [rax + 0x20]
or r8d, 0xffffffff
mov rdx, qword [r10 + 0x20]
lea rcx, [rsp + 0x38]
call fcn.14007a6f0
test rbx, rbx
je 0x140092529
mov r8, rbx
lea rdx, str.:__s
lea rcx, [rsp + 0x38]
call fcn.14007aa50
or edi, 0x50000
mov rbx, qword [rsp + 0x90]
test rbx, rbx
je 0x140092577
mov rdx, rbx
mov ecx, dword [0x14023bf1c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
xor r8d, r8d
lea rdx, [0x1400923b0]
lea ecx, [r8 + 5]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov rdx, rax
mov ecx, dword [0x14023bf18]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [rsp + 0x20], r12d
or r9d, 0xffffffff
mov r8d, 0xfde9
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x88]
call fcn.14007bc10
nop
mov dword [rsp + 0x20], r12d
or r9d, 0xffffffff
mov r8d, 0xfde9
mov rdx, rsi
lea rcx, [rsp + 0x90]
call fcn.14007bc10
mov r9d, edi
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
mov rcx, rbp
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
mov rcx, qword [rsp + 0x90]
call fcn.14011e950
nop
mov rcx, qword [rsp + 0x88]
call fcn.14011e950
test rbx, rbx
je 0x14009262b
mov ecx, dword [0x14023bf18]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14009262b
mov ecx, dword [0x14023bf18]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor edx, edx
mov ecx, dword [0x14023bf18]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsp + 0x38]
call fcn.14011e950
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r12
pop rdi
pop rsi
ret

Function at 0x140092a60
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x278], rbx
mov rax, qword [0x140229498]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
test dl, dl
jne 0x140092afb
lea r9, [rsp + 0x50]
mov edx, reloc.WS2_32.dll_listen
mov r8d, 0x100
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
or r9d, 0xffffffff
mov r8d, 0xfde9
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14007ba40
nop
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rdi
lea rcx, [rbx + 0x20]
call fcn.14007ade0
nop
mov rcx, qword [rsp + 0x40]
call fcn.14011e950
mov rax, qword [rbx + 0x20]
jmp 0x140092aff
mov rax, qword [rcx + 0x20]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14011f1c0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x140092c30
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x278], rbx
mov rax, qword [0x140229498]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
lea r9, [rsp + 0x50]
mov edx, reloc.WS2_32.dll_listen
mov r8d, 0x100
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
or r9d, 0xffffffff
mov r8d, 0xfde9
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14007ba40
nop
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rdi
lea rcx, [rbx + 0x20]
call fcn.14007ade0
nop
mov rcx, qword [rsp + 0x40]
call fcn.14011e950
mov rcx, qword [rbx + 0x20]
call fcn.140120340
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14011f1c0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret

Function at 0x14009d240
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
lea rax, [0x1401a69f8]
mov qword [rcx], rax
lea rax, [0x1401a69d8]
mov qword [rcx + 0x50], rax
mov rcx, qword [rcx + 0x230]
call qword [sym.imp.USER32.dll_DestroyIcon]
lea rcx, [rdi + 0x208]
call fcn.140092970
nop
lea rcx, [rdi + 0x1e0]
call fcn.140092970
nop
lea rcx, [rdi + 0x1b8]
call fcn.140092970
nop
lea rcx, [rdi + 0x190]
call fcn.140092970
nop
lea rcx, [rdi + 0x168]
call fcn.140092970
nop
lea rcx, [rdi + 0x140]
call fcn.140092970
nop
lea rcx, [rdi + 0x118]
call fcn.140092970
nop
lea rcx, [rdi + 0xf0]
call fcn.140092970
nop
lea rbx, [rdi + 0x58]
mov qword [rsp + 0x58], rbx
mov rcx, qword [rbx + 0x60]
call fcn.14011e0c0
lea rcx, [rbx + 0x28]
call fcn.140094640
nop
lea rcx, [rbx + 0x10]
call fcn.140009210
nop
lea rax, [0x140190b70]
mov qword [rbx + 8], rax
lea rax, [0x140190b58]
mov qword [rbx], rax
lea rax, [0x1401a6890]
mov qword [rdi + 0x50], rax
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
jmp fcn.140092240

Function at 0x14009da50
Capabilities:
Get file system object information

Disassembly:
sub rsp, 0x508
mov rax, qword [0x140229498]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rax, qword [0x14023c040]
test rax, rax
jne 0x14009db03
mov edx, 0x4011
test cl, cl
mov eax, 0x4010
cmovne eax, edx
lea r8, [rsp + 0x230]
lea rcx, str..txt
mov edx, 0x80
mov r9d, 0x2b8
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
mov qword [0x14023c040], rax
jne 0x14009db03
lea r8, str.systemImageList_failed
lea rcx, [rsp + 0x30]
or r9d, 0xffffffff
mov edx, 0x100
mov byte [rsp + 0x30], al
call fcn.14007b3b0
lea rcx, [rsp + 0x130]
lea rdx, [rsp + 0x30]
mov r8d, 0x100
call fcn.14011e9b0
lea rdx, [0x14020b7d0]
lea rcx, [rsp + 0x130]
call fcn.14011f050
int3
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.14011f1c0
add rsp, 0x508
ret
Function at 0x14009ef60
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [0x14023c080]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14009efa4
nop
mov rcx, qword [rax]
mov rbx, qword [rax + 8]
mov r9, rdi
xor r8d, r8d
mov edx, 0x475
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x14009efb1
test rbx, rbx
mov rax, rbx
jne 0x14009ef80
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14009efc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x18]
mov rdi, rcx
test rbx, rbx
je 0x14009f0ee
mov ecx, dword [0x14023c080]
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14009f062
mov ecx, dword [0x14023c080]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp qword [rax], rbx
jne 0x14009f02a
mov ecx, dword [0x14023c080]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x14023c080]
mov rdx, qword [rax + 8]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, rbx
call fcn.14011e950
jmp 0x14009f062
mov ecx, dword [0x14023c080]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r11, rax
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14009f062
cmp qword [rcx], rbx
je 0x14009f055
mov r11, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x14009f042
jmp 0x14009f062
mov rax, qword [rcx + 8]
mov qword [r11 + 8], rax
call fcn.14011e950
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rdi + 0x70]
mov qword [rdi + 0x18], 0
test rcx, rcx
je 0x14009f092
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
lea rbx, [rdi + 0x40]
mov rdi, qword [rdi + 0x48]
cmp rdi, qword [rbx + 0x10]
jbe 0x14009f0a5
call fcn.14011ef50
mov rsi, qword [rbx + 0x10]
cmp qword [rbx + 8], rsi
jbe 0x14009f0b4
call fcn.14011ef50
cmp rbx, rbx
je 0x14009f0be
call fcn.14011ef50
cmp rdi, rsi
je 0x14009f0e9
cmp rdi, qword [rbx + 0x10]
jb 0x14009f0ce
call fcn.14011ef50
mov rcx, qword [rdi]
xor edx, edx
call fcn.140091990
cmp rdi, qword [rbx + 0x10]
jb 0x14009f0e3
call fcn.14011ef50
add rdi, 0x20
jmp 0x14009f0a5
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a7ec0
Capabilities:
Read clipboard data

Disassembly:
mov ecx, edx
jmp qword [sym.imp.USER32.dll_GetClipboardData]

Function at 0x1400a8020
Capabilities:
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x230
mov eax, edx
mov rbx, rcx
mov rdx, r8
mov ecx, eax
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x1400a8086
mov rbx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.SetClipboardData_s
lea rcx, [rsp + 0x124]
mov r8d, eax
mov r9, rbx
call fcn.140024950
lea rcx, [rsp + 0x20]
mov r8d, 0x104
mov rdx, rax
call fcn.14011e9b0
lea rdx, [0x14020ba18]
lea rcx, [rsp + 0x20]
call fcn.14011f050
int3
add rsp, 0x230
pop rbx
ret

Function at 0x1400a8090
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x230
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x248], rbx
mov rdi, rdx
mov rbx, rcx
xor eax, eax
mov qword [rcx], rax
mov dword [rcx + 8], eax
test r8, r8
je 0x1400a80cf
lea rdx, str.__s_
call fcn.14007aa50
jmp 0x1400a80df
or r8d, 0xffffffff
lea rdx, [0x14018fa3b]
call fcn.14007a6f0
mov rcx, rdi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400a8139
mov rbx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rbx
mov r8d, eax
lea rdx, str.OpenClipboard_s
lea rcx, [rsp + 0x28]
call fcn.140024950
lea rcx, [rsp + 0x12c]
lea rdx, [rsp + 0x28]
mov r8d, 0x104
call fcn.14011e9b0
lea rdx, [0x14020c200]
lea rcx, [rsp + 0x12c]
call fcn.14011f050
int3
mov r8, qword [rbx]
lea rdx, str.opened_clipboard_s
lea rcx, [0x14023bfe0]
call fcn.140002fd0
nop
mov rax, rbx
mov rbx, qword [rsp + 0x248]
add rsp, 0x230
pop rdi
ret

Function at 0x1400a8370
Capabilities:
Capture webcam image

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x420
mov rdi, r8
movsxd r8, edx
xor r9d, r9d
mov edx, 0x419
mov rbx, rcx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x1400a83ed
lea r8, str.TB_COMMANDTOINDEX_error
lea rcx, [rsp + 0x120]
or r9d, eax
mov edx, 0x100
mov byte [rsp + 0x120], 0
call fcn.14007b3b0
lea rcx, [rsp + 0x220]
lea rdx, [rsp + 0x120]
mov r8d, 0x100
call fcn.14011e9b0
lea rdx, [0x14020b7d0]
lea rcx, [rsp + 0x220]
call fcn.14011f050
int3
movsxd r8, eax
mov r9, rdi
mov edx, 0x417
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jne 0x1400a8451
lea r8, str.TB_GETBUTTON_error
lea rcx, [rsp + 0x20]
or r9d, 0xffffffff
mov edx, 0x100
mov byte [rsp + 0x20], al
call fcn.14007b3b0
lea rcx, [rsp + 0x320]
lea rdx, [rsp + 0x20]
mov r8d, 0x100
call fcn.14011e9b0
lea rdx, [0x14020b7d0]
lea rcx, [rsp + 0x320]
call fcn.14011f050
int3
mov rbx, qword [rsp + 0x430]
add rsp, 0x420
pop rdi
ret
Function at 0x1400a8680
Capabilities:
Capture webcam image

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x470
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x498], rbx
mov rax, qword [0x140229498]
xor rax, rsp
mov qword [rsp + 0x468], rax
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov rsi, qword [rsp + 0x4c8]
lea rax, fcn.140009eb0
mov qword [rcx], rax
or edx, 0xffffffff
mov rcx, r9
call fcn.14007b6e0
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x4b0]
mov qword [rdi + 0x10], rax
lea rax, [0x1401a7ea8]
mov qword [rdi], rax
mov qword [rdi + 0x18], rbx
mov eax, dword [rsp + 0x4c0]
mov dword [rdi + 0x20], eax
mov eax, dword [rsp + 0x4b8]
mov dword [rdi + 0x24], eax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
or r9d, 0xffffffff
mov r8d, 0xfde9
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.14007bc10
nop
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x1400a8749
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov dword [rsp + 0x448], eax
jmp 0x1400a8750
mov dword [rsp + 0x448], ebx
mov eax, dword [rdi + 0x20]
mov dword [rsp + 0x44c], eax
mov byte [rsp + 0x450], 4
test rbp, rbp
jne 0x1400a8777
cmp qword [rdi + 8], rbp
jne 0x1400a8777
mov byte [rsp + 0x451], 1
jmp 0x1400a877f
mov byte [rsp + 0x451], 0x10
xor eax, eax
mov dword [rsp + 0x452], eax
mov word [rsp + 0x456], ax
mov qword [rsp + 0x458], rbx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x460], rax
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 0x40]
test rsi, rsi
je 0x1400a8820
movsxd r8, dword [rsi + 0x20]
xor r9d, r9d
mov edx, 0x419
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11, rax
cmp eax, 0xffffffff
jne 0x1400a8835
mov byte [rsp + 0x148], 0
or r9d, eax
lea r8, str.TB_COMMANDTOINDEX_error
mov edx, 0x100
lea rcx, [rsp + 0x148]
call fcn.14007b3b0
lea rcx, [rsp + 0x348]
lea rdx, [rsp + 0x148]
mov r8d, 0x100
call fcn.14011e9b0
lea rdx, [0x14020b7d0]
lea rcx, [rsp + 0x348]
call fcn.14011f050
int3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x418
call qword [sym.imp.USER32.dll_SendMessageW]
lea r11d, [rax + 1]
mov rax, qword [rdi + 0x18]
movsxd r8, r11d
lea r9, [rsp + 0x448]
mov edx, 0x443
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jne 0x1400a88a3
mov byte [rsp + 0x48], al
or r9d, 0xffffffff
lea r8, str.TB_INSERTBUTTON_error
mov edx, 0x100
lea rcx, [rsp + 0x48]
call fcn.14007b3b0
lea rcx, [rsp + 0x248]
lea rdx, [rsp + 0x48]
mov r8d, 0x100
call fcn.14011e9b0
lea rdx, [0x14020b7d0]
lea rcx, [rsp + 0x248]
call fcn.14011f050
nop
mov rcx, qword [rsp + 0x30]
call fcn.14011e0c0
nop
mov rax, rdi
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.14011f1c0
mov rbx, qword [rsp + 0x498]
add rsp, 0x470
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400ad900
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x240
mov rbx, rcx
lea rcx, [rsp + 0x260]
or r9d, 0xffffffff
mov r8d, 0xfde9
mov dword [rsp + 0x20], 0
call fcn.14007bc10
mov rdx, qword [rsp + 0x260]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x260]
mov ebx, eax
call fcn.14011e0c0
test ebx, ebx
je 0x1400ad9a7
lea r8, str.RegDeleteValue
lea rcx, [rsp + 0x30]
or r9d, 0xffffffff
mov edx, 0x100
mov byte [rsp + 0x30], 0
call fcn.14007b3b0
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.14007f910
lea rcx, [rsp + 0x134]
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call fcn.14011e9b0
lea rdx, [0x14020b6e8]
lea rcx, [rsp + 0x134]
call fcn.14011f050
int3
add rsp, 0x240
pop rbx
ret

Function at 0x1400ada40
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x250
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x260], rbx
mov rax, r8
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0
or r9d, 0xffffffff
mov r8d, 0xfde9
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14007bc10
nop
mov dword [rsp + 0x20], 0
or r9d, 0xffffffff
mov r8d, 0xfde9
mov rdx, rdi
lea rcx, [rsp + 0x278]
call fcn.14007bc10
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x30]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x278]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x278]
call fcn.14011e0c0
test edi, edi
je 0x1400adb4a
mov byte [rsp + 0x40], 0
or r9d, 0xffffffff
lea r8, str.setString
mov edx, 0x100
lea rcx, [rsp + 0x40]
call fcn.14007b3b0
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.14007f910
lea rcx, [rsp + 0x144]
lea rdx, [rsp + 0x40]
mov r8d, 0x104
call fcn.14011e9b0
lea rdx, [0x14020b6e8]
lea rcx, [rsp + 0x144]
call fcn.14011f050
nop
mov rcx, qword [rsp + 0x30]
call fcn.14011e0c0
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret

Function at 0x1400adb90
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rdi, rcx
mov rbx, r8
lea rcx, [rsp + 0x260]
or r9d, 0xffffffff
mov r8d, 0xfde9
mov dword [rsp + 0x20], 0
call fcn.14007bc10
mov r11d, dword [rbx]
mov rax, qword [rbx + 8]
mov rdx, qword [rsp + 0x260]
mov rcx, qword [rdi]
mov dword [rsp + 0x28], r11d
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x260]
mov ebx, eax
call fcn.14011e0c0
test ebx, ebx
je 0x1400adc58
lea r8, str.setBinary
lea rcx, [rsp + 0x30]
or r9d, 0xffffffff
mov edx, 0x100
mov byte [rsp + 0x30], 0
call fcn.14007b3b0
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.14007f910
lea rcx, [rsp + 0x134]
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call fcn.14011e9b0
lea rdx, [0x14020b6e8]
lea rcx, [rsp + 0x134]
call fcn.14011f050
int3
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x1400adc70
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x240
xor eax, eax
test r8b, r8b
mov rbx, rcx
setne al
lea rcx, [r11 + 0x20]
mov r8d, 0xfde9
or r9d, 0xffffffff
mov dword [r11 + 0x18], eax
mov dword [rsp + 0x20], 0
call fcn.14007bc10
mov rdx, qword [rsp + 0x268]
mov rcx, qword [rbx]
lea rax, [rsp + 0x260]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x268]
mov ebx, eax
call fcn.14011e0c0
test ebx, ebx
je 0x1400add3f
lea r8, str.setInt
lea rcx, [rsp + 0x30]
or r9d, 0xffffffff
mov edx, 0x100
mov byte [rsp + 0x30], 0
call fcn.14007b3b0
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.14007f910
lea rcx, [rsp + 0x134]
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call fcn.14011e9b0
lea rdx, [0x14020b6e8]
lea rcx, [rsp + 0x134]
call fcn.14011f050
int3
add rsp, 0x240
pop rbx
ret