joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001670
Capabilities:
Create pipe

Disassembly:
push rbp
push rsi
sub rsp, 0x68
mov ebp, edx
mov rsi, rcx
test rcx, rcx
jne 0x14000168a
xor eax, eax
add rsp, 0x68
pop rsi
pop rbp
ret
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x60], r15
lea r15d, [rdi + 3]
mov ebx, edi
cmp edx, 1
jne 0x14000172d
xor r9d, r9d
xor ecx, ecx
mov r8d, edx
mov r15d, 0x40000003
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400016ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Failed_to_create_event:__d_n
mov edx, eax
call fcn.1400e3f7c
xor eax, eax
jmp 0x1400017e2
mov ecx, 0x28
call fcn.1400e3e80
mov rbx, rax
test rax, rax
je 0x140001715
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
jmp 0x140001718
mov rbx, rdi
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x18], r14
xor r9d, r9d
lea r8, [rsp + 0x48]
lea rcx, str.D:_A_OICI_GA___BG__D_OICI_GA___AN__A_OICI_GRGWGX___AU__A_OICI_GA___BA_S:_ML__NW___ME_
lea edx, [r9 + 1]
mov dword [rsp + 0x40], 0x18
mov dword [rsp + 0x50], edi
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
xor ecx, ecx
call fcn.1400dbe60
lea rcx, [rsp + 0x40]
mov r9d, 0xff
cmp eax, 8
mov edx, r15d
cmovle rcx, rdi
xor r8d, r8d
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0x1388
mov rcx, rsi
mov dword [rsp + 0x28], 0x200
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400017b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateNamedPipe_failed_with__d._n
mov edx, eax
call fcn.1400e3f7c
xor eax, eax
jmp 0x1400017e2
mov ecx, 0x448
call fcn.1400e3e80
test rax, rax
je 0x1400017df
mov r9d, ebp
mov r8, rsi
mov rdx, r14
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.1400019d0
mov rdi, rax
mov rax, rdi
mov r14, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov r15, qword [rsp + 0x60]
add rsp, 0x68
pop rsi
pop rbp
ret

Function at 0x140001c50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x24], 0
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
jne 0x140001ccd
cmp dword [rcx + 0x20], 0
je 0x140001c79
call fcn.140001e90
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140001c8c
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rbx + 8]
mov edx, 1
call fcn.140001810
mov qword [rbx + 0x10], rax
test rax, rax
je 0x140001cb5
mov rcx, rbx
mov qword [rax + 0x438], rbx
call fcn.140001e20
mov dword [rbx + 0x24], eax
cmp dword [rbx + 0x24], 0
jne 0x140001ccd
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x10]
mov r8d, edi
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400015f0
Function at 0x140001e20
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rdi, rcx
je 0x140001e78
cmp dword [rcx + 0x20], 0
jne 0x140001e78
mov r9, rcx
mov qword [rsp + 0x40], rbx
xor ebx, ebx
lea r8, [0x140001f40]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, 0xffffffffffffffff
mov qword [rdi + 0x18], rax
mov eax, 1
setne bl
mov dword [rdi + 0x20], ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x140002910
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
mov r11, qword [rcx + 0x28]
mov edi, r9d
mov rsi, r8
cmp rax, r11
je 0x140002944
mov r10, qword [rax]
cmp rdx, qword [r10 + 0x18]
je 0x140002956
add rax, 8
cmp rax, r11
jne 0x140002932
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, r10
test r10, r10
je 0x140002944
mov rdx, rbx
call fcn.140003c80
test eax, eax
je 0x140002944
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400015f0

Function at 0x140002990
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov edi, edx
mov rbp, rcx
mov eax, 0x3d
cmp edx, eax
cmovg edi, eax
lea ecx, [rax + 0x6b]
call fcn.1400e3e80
mov qword [rsp + 0x70], rax
xor esi, esi
test rax, rax
je 0x1400029d6
mov rcx, rax
call fcn.140002100
mov rbx, rax
jmp 0x1400029d9
mov rbx, rsi
mov rcx, rbx
call fcn.1400022c0
test eax, eax
je 0x140002a4e
test edi, edi
jle 0x140002a0d
nop dword [rax]
mov edx, 1
mov rcx, rbp
call fcn.140001670
mov rdx, rax
mov rcx, rbx
call fcn.1400023e0
dec rdi
jne 0x1400029f0
cmp dword [rbx + 8], 0
je 0x140002a4e
cmp dword [rbx + 0xc], 0
jne 0x140002a4e
mov dword [rsp + 0x68], esi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x140003110]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x78], rax
cmp rax, 0xffffffffffffffff
setne sil
mov dword [rbx + 0xc], esi
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140005fd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
lea rdi, [0x140176838]
mov ecx, dword [rdi]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140006008
inc ebx
add rdi, 4
cmp ebx, 7
jb 0x140005fe3
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140006f30
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.SynECR.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
test rax, rax
jne 0x140006f5c
xor edi, edi
mov dword [rbx + 8], edi
jmp 0x14000702f
lea rdx, str.SynCR_Init
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SynCR_SetParam
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SynCR_GetParam
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SynCR_Recog
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SynCR_CleanUp
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140006fce
call rax
mov dword [rbx + 8], eax
cmp qword [rbx + 0x10], 0
je 0x140007007
cmp qword [rbx + 0x18], 0
je 0x140007007
cmp qword [rbx + 0x20], 0
je 0x140007007
cmp qword [rbx + 0x28], 0
je 0x140007007
cmp qword [rbx + 0x30], 0
je 0x140007007
cmp dword [rbx + 8], 0
je 0x140007007
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [rbx + 8]
xor edi, edi
test ecx, ecx
je 0x14000701e
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x14000701b
call rax
mov dword [rbx + 8], edi
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000702f
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx], rdi
mov qword [rbx + 0x30], rdi
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140009230
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x10020
call fcn.1400e5730
sub rsp, rax
mov rsi, rdx
mov rdi, r8
lea rdx, [rsp + 0x20]
mov r8d, 0x7fff
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebx, eax
cmp eax, 0x7fff
jbe 0x14000926c
xor eax, eax
jmp 0x140009285
test eax, eax
je 0x140009268
lea r8, [rsp + 0x20]
mov r9, rdi
mov rdx, rdi
mov rcx, rsi
call fcn.1400e5350
mov eax, ebx
lea r11, [rsp + 0x10020]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000c350
Capabilities:
Extract resource via kernel32 functions

Disassembly:
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
jne 0x14000c383
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000c3c9
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000c3c4
nop
cmp rbx, rcx
jae 0x14000c3c9
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x14000c3b0
cmp rbx, rcx
jb 0x14000c3cd
xor eax, eax
jmp 0x14000c3d9
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ea30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword [rcx + 0x788]
test rcx, rcx
jne fcn.14006df80
ret
Function at 0x140024380
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp dword [0x14026e1a8], 0
mov edi, r8d
mov esi, edx
mov rbx, rcx
je 0x1400243bd
mov ecx, 0x30
call qword [sym.imp.USER32.dll_MessageBeep]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x18
call fcn.1400e3e80
mov r9, rax
test rax, rax
je 0x1400243de
xor eax, eax
mov qword [r9], rax
mov qword [r9 + 8], rax
mov qword [r9 + 0x10], rax
jmp 0x1400243e1
xor r9d, r9d
mov rax, qword [0x14026e1a0]
xor ecx, ecx
mov qword [r9], rcx
mov qword [r9 + 8], rax
mov dword [r9], esi
mov dword [r9 + 4], edi
mov qword [r9 + 0x10], rbx
cmp qword [rbx + 0x90], rcx
jne 0x140024431
cmp dword [0x14026e1a8], ecx
jne 0x140024431
lea rax, [rsp + 0x58]
lea r8, [0x140024450]
xor edx, edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x90], rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x140029e80
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
lea rax, vtable.CManagedPointingDeviceList.0
mov qword [rcx], rax
mov rcx, qword [rcx + 0x60]
test rcx, rcx
je 0x140029eb1
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rdx, qword [rbx + 0x50]
test rdx, rdx
je 0x140029ec2
mov rcx, rbx
call fcn.14002bf50
mov rdx, qword [rbx + 0x58]
test rdx, rdx
je 0x140029ed3
mov rcx, rbx
call fcn.14002bf50
mov rcx, rbx
call fcn.14002af00
nop
lea rax, vtable.CSynList_class_CManagedPointingDevice_.0
mov qword [rbx], rax
mov rcx, rbx
call fcn.14005c6f0
lea rcx, [rbx + 0x20]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
Function at 0x140029f10
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov qword [rbp - 9], 0xfffffffffffffffe
mov rbx, rcx
xor r14d, r14d
mov dword [rbp + 0x67], r14d
lea rdi, vtable.CSynList_class_CRegistryKey_.0
mov qword [rbp - 0x59], rdi
lea rcx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rbp - 0x3d], 1
mov qword [rbp - 0x51], r14
mov qword [rbp - 0x49], r14
mov dword [rbp - 0x41], r14d
lea rax, vtable.CMultiLevelRegistryKey.0
mov qword [rbp - 0x59], rax
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPEnh
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x59]
call fcn.1400c98b0
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rbp + 0x67]
lea rdx, str.UltraNavCopyInternalSettings
lea rcx, [rbp - 0x59]
call fcn.1400c9b80
mov eax, r14d
cmp dword [rbp + 0x67], eax
setne al
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x4c], r14d
lea edx, [r14 + 4]
mov rcx, rbx
call fcn.14002a150
mov esi, eax
mov qword [rbp - 0x69], 0xffffffff80000001
lea rax, str.Control_PanelMouse
mov qword [rbp - 0x61], rax
lea r9, [rbp - 0x69]
mov r8, rbx
lea rdx, [0x14002bff0]
mov rcx, rbx
call fcn.14002bdc0
mov qword [rbx + 0x50], rax
xor edx, edx
lea rcx, [rbp - 1]
call fcn.1400c91f0
nop
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPEnh
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 1]
call fcn.1400c9360
mov dword [rbp + 0x6f], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x6f]
lea r8, [rbp + 0x77]
lea rdx, str.ApplyPTPEnableDisable
lea rcx, [rbp + 7]
call fcn.1400dfa30
mov eax, r14d
cmp dword [rbp + 0x77], eax
setne al
test eax, eax
je 0x14002a081
mov qword [rbp - 0x69], 0xffffffff80000001
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionPrecisionTouchPadStatus
mov qword [rbp - 0x61], rax
lea r9, [rbp - 0x69]
mov r8, rbx
lea rdx, [0x14002c0c0]
mov rcx, rbx
call fcn.14002bdc0
mov qword [rbx + 0x58], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, rbx
lea r8, [0x14002c190]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x60], rax
lea rcx, [rbp - 1]
call fcn.1400c9300
nop
mov qword [rbp - 0x59], rdi
mov rbx, qword [rbp - 0x51]
test rbx, rbx
je 0x14002a125
nop
test rbx, rbx
je 0x14002a125
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 8]
test rcx, rcx
je 0x14002a0d8
mov qword [rcx + 8], rax
jmp 0x14002a0dc
mov qword [rbp - 0x51], rax
mov rcx, qword [rbx + 8]
mov rax, qword [rbx + 0x10]
test rcx, rcx
je 0x14002a0ef
mov qword [rcx + 0x10], rax
jmp 0x14002a0f3
mov qword [rbp - 0x49], rax
mov rdi, qword [rbx + 8]
cmp dword [rbp - 0x3d], 0
je 0x14002a112
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002a112
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx], r14
mov rcx, rbx
call fcn.1400e3e78
mov rbx, rdi
dec dword [rbp - 0x41]
test rdi, rdi
jne 0x14002a0c0
lea rcx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, esi
add rsp, 0xd0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14002e270
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
xor eax, eax
mov rsi, rdx
mov rdi, rcx
mov qword [rcx], rax
mov qword [rsp + 0x90], rax
or rbx, 0xffffffffffffffff
call fcn.140030a40
cmp word [rax], 0
je 0x14002e300
xor eax, eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x40], 0x38
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
call fcn.140030a40
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002e300
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x14026d44c]
test al, 1
jne 0x14002e321
or eax, 1
mov dword [0x14026d44c], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14026d448], eax
jmp 0x14002e327
mov eax, dword [0x14026d448]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14002e34d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x14026d448]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
xor edx, edx
lea r9, [0x140123b70]
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x15]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x14002e38d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x14002e39c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
lea r11, [rsp + 0x80]
mov rax, rdi
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002e3c0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
xor eax, eax
mov rsi, rdx
mov rdi, rcx
mov qword [rcx], rax
mov qword [rsp + 0x90], rax
or rbx, 0xffffffffffffffff
call fcn.140030a40
cmp word [rax], 0
je 0x14002e450
xor eax, eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x40], 0x38
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
call fcn.140030a40
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002e450
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x14026d454]
test al, 1
jne 0x14002e471
or eax, 1
mov dword [0x14026d454], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14026d450], eax
jmp 0x14002e477
mov eax, dword [0x14026d450]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14002e49d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x14026d450]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
xor edx, edx
lea r9, [0x140126488]
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x15]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x14002e4dd
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x14002e4ec
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
lea r11, [rsp + 0x80]
mov rax, rdi
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002e510
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
xor eax, eax
mov rsi, rdx
mov rdi, rcx
mov qword [rcx], rax
mov qword [rsp + 0x90], rax
or rbx, 0xffffffffffffffff
call fcn.140030a40
cmp word [rax], 0
je 0x14002e5a0
xor eax, eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x40], 0x38
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
call fcn.140030a40
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002e5a0
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x14026d444]
test al, 1
jne 0x14002e5c1
or eax, 1
mov dword [0x14026d444], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14026d440], eax
jmp 0x14002e5c7
mov eax, dword [0x14026d440]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14002e5ed
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x14026d440]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
xor edx, edx
lea r9, [0x140126610]
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x15]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x14002e62d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x14002e63c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
lea r11, [rsp + 0x80]
mov rax, rdi
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002e660
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
xor eax, eax
mov rsi, rdx
mov rdi, rcx
mov qword [rcx], rax
mov qword [rsp + 0x90], rax
or rbx, 0xffffffffffffffff
call fcn.140030a40
cmp word [rax], 0
je 0x14002e6f0
xor eax, eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x40], 0x38
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
call fcn.140030a40
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002e6f0
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x14026d43c]
test al, 1
jne 0x14002e711
or eax, 1
mov dword [0x14026d43c], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14026d438], eax
jmp 0x14002e717
mov eax, dword [0x14026d438]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14002e73d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x14026d438]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
xor edx, edx
lea r9, [0x1401226f0]
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x15]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x14002e77d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x14002e78c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
lea r11, [rsp + 0x80]
mov rax, rdi
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret