joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ec60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov ebp, edx
mov r14, rcx
mov ecx, 0x458
call fcn.140061538
mov rdi, rax
mov qword [rsp + 0x20], rax
xor r15d, r15d
mov qword [rax], r15
mov rsi, 0xffffffffffffffff
mov dword [rax + 8], esi
mov dword [rax + 0x23c], esi
mov qword [rax + 0x240], r15
mov qword [rax + 0x248], r15
test rbx, rbx
je 0x14000ecee
mov rcx, rsi
nop
inc rcx
cmp byte [rbx + rcx], r15b
jne 0x14000ecc0
inc rcx
call fcn.140061a7c
mov qword [rdi + 0x240], rax
sub rax, rbx
nop dword [rax + rax]
movzx ecx, byte [rbx]
mov byte [rax + rbx], cl
lea rbx, [rbx + 1]
test cl, cl
jne 0x14000ece0
cmp qword [rdi], 0
jne 0x14000edab
cmp dword [rdi + 8], 0xffffffff
jne 0x14000edab
lea rbx, [rdi + 0x250]
mov rdx, rbx
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop word [rax + rax]
lea rsi, [rsi + 1]
cmp word [rbx + rsi*2], 0
jne 0x14000ed20
movzx eax, word [rdi + rsi*2 + 0x24e]
cmp ax, 0x5c
je 0x14000ed55
cmp ax, 0x2f
je 0x14000ed55
sub rbx, 2
lea rbx, [rbx + 2]
cmp word [rbx], 0
jne 0x14000ed43
mov eax, dword [0x140097b9c]
mov dword [rbx], eax
mov ecx, 0x30
call fcn.140061538
mov word [rax], 0x100
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r14
mov dword [rax + 0x28], ebp
mov dword [rax + 0x2c], r15d
mov dword [rax + 0x14], r15d
mov rcx, rax
call fcn.14000cb70
mov qword [rdi], rax
test rax, rax
jne 0x14000ed8e
mov eax, 0x200
jmp 0x14000edb0
mov dword [0x1400be120], r15d
mov ecx, InitCommonControls
call fcn.140061538
mov dword [rax], 1
mov qword [rax + 8], rdi
jmp 0x14000edf5
mov eax, 0x1000000
mov dword [0x1400be120], eax
mov rcx, qword [rdi + 0x240]
test rcx, rcx
je 0x14000edc7
call fcn.140061530
mov qword [rdi + 0x240], r15
mov rcx, qword [rdi + 0x248]
test rcx, rcx
je 0x14000eddf
call fcn.140061530
mov qword [rdi + 0x248], r15
mov edx, 0x458
mov rcx, rdi
call fcn.140061530
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14000f070
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov edi, ecx
call fcn.14000efc0
test edi, edi
js 0x14000f138
call fcn.1400104b0
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test rax, rax
je 0x14000f138
call fcn.14000efc0
mov rbx, rax
mov qword [rsp + 0x78], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r15, qword [rsi]
call fcn.14000efc0
lea r14, [rax + 0x28]
mov rbp, qword [r14]
mov rax, qword [rbp + 8]
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rsp + 0x38], edx
mov rcx, rbp
cmp byte [rax + 0x19], dl
jne 0x14000f117
nop dword [rax]
mov qword [rsp + 0x30], rax
cmp dword [rax + 0x20], edi
jge 0x14000f104
mov dword [rsp + 0x38], edx
mov rax, qword [rax + 0x10]
jmp 0x14000f112
mov dword [rsp + 0x38], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], dl
je 0x14000f0f0
cmp byte [rcx + 0x19], dl
jne 0x14000f13c
cmp edi, dword [rcx + 0x20]
jl 0x14000f13c
mov rax, qword [rsi]
cmp qword [rcx + 0x28], rax
je 0x14000f193
test rbx, rbx
je 0x14000f138
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x14000f1a9
movabs rax, 0x555555555555555
cmp qword [r14 + 8], rax
je 0x14000f1c3
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], rdx
mov ecx, 0x30
call fcn.140061538
nop
mov dword [rax + 0x20], edi
mov qword [rax + 0x28], r15
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x20], xmm0
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140002500
inc dword [rsi + 0xc]
mov dword [rsi + 0x10], edi
test rbx, rbx
je 0x14000f1a7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.140001bc0
nop
int3
Function at 0x14000f1d0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1400be2c8]
test rcx, rcx
je 0x14000a010
call fcn.14000ee10
mov qword [0x1400be2c8], 0
mov rcx, qword [0x1400be2b8]
mov qword [0x1400be2b8], 0
test rcx, rcx
je 0x14000a031
mov edx, 8
call fcn.140061530
call fcn.14002aef0
mov rcx, qword [0x1400be2c0]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
call fcn.1400104b0
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000a059
mov byte [rax + 8], 1
add rsp, 0x28
jmp 0x14000f1d0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call fcn.14000efc0
call fcn.1400104b0
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test rax, rax
je 0x14000f2bd
mov ecx, dword [rax + 0xc]
cmp ecx, 1
jl 0x14000f2bd
sub ecx, 1
mov dword [rax + 0xc], ecx
jne 0x14000f2ab
call fcn.14000efc0
mov rbx, rax
mov qword [rsp + 0x30], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
call fcn.14000efc0
mov rdx, qword [rax + 0x28]
mov rax, qword [rdx + 8]
mov rdi, rdx
cmp byte [rax + 0x19], 0
jne 0x14000f25c
mov ecx, dword [rsi + 0x10]
cmp dword [rax + 0x20], ecx
jge 0x14000f250
mov rax, qword [rax + 0x10]
jmp 0x14000f256
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14000f245
cmp byte [rdi + 0x19], 0
jne 0x14000f26a
mov eax, dword [rdi + 0x20]
cmp dword [rsi + 0x10], eax
jge 0x14000f26d
mov rdi, rdx
call fcn.14000efc0
cmp rdi, qword [rax + 0x28]
je 0x14000f296
call fcn.14000efc0
lea rcx, [rax + 0x28]
mov rdx, rdi
call fcn.14000f7c0
mov edx, 0x30
mov rcx, rax
call fcn.140061530
mov dword [rsi + 0x10], 0xffffffff
test rbx, rbx
je 0x14000f2ab
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor al, al
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000ff40
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rax, vtable.nbase::FrameworkThread.1.0
mov qword [rcx], rax
mov rax, qword [rcx + 0x20]
movsxd rdx, dword [rax + 4]
lea rax, vtable.nbase::FrameworkThread.0
mov qword [rdx + rcx + 0x20], rax
call fcn.140010070
mov rdx, qword [rbx + 0x70]
cmp rdx, 0xf
jbe 0x14000ffb5
inc rdx
mov rcx, qword [rbx + 0x58]
cmp rdx, 0x1000
jb 0x14000ffb0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140010064
mov rcx, r8
call fcn.140061530
xor ebp, ebp
mov qword [rbx + 0x68], rbp
mov qword [rbx + 0x70], InitCommonControls
mov byte [rbx + 0x58], bpl
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x14000ffd6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rbx + 0x40]
test rdi, rdi
je 0x14001000b
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001000b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x14001000b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
lea rax, vtable.nbase::Thread.0
mov qword [rbx], rax
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14001004f
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x10]
test eax, eax
je 0x140010042
test rcx, rcx
je 0x14001004f
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbx + 8], ebp
mov qword [rbx + 0x10], rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
call fcn.14006a6c0
int3
Function at 0x140010070
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400b8080]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rcx
xor esi, esi
cmp byte [rcx + 0x28], sil
je 0x140010234
cmp byte [rcx + 0x29], sil
jne 0x1400101f4
cmp qword [rcx + 0x30], rsi
je 0x1400101f4
mov byte [rcx + 0x29], 1
mov rax, qword [rcx + 0x20]
movsxd rcx, dword [rax + 4]
add rcx, 0x20
add rcx, rdi
lea rdx, [rsp + 0x20]
call fcn.1400015d0
lea rax, [0x140010260]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140010116
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rcx
lock inc dword [rcx + 0xc]
mov rcx, qword [rsp + 0x28]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rdi
test rcx, rcx
je 0x140010145
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140010145
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rax, vtable.std::_Func_impl_no_alloc_class_nbase::WeakCallback_class_std::_Binder_struct_std::_Unforced__void_____thiscall_nbase::FrameworkThread::__void_____ptr64__class_nbase::FrameworkThread____ptr64____ptr64____void___.0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rdi
lea rax, [rsp + 0x70]
mov qword [rbp - 0x58], rax
mov rbx, qword [rdi + 0x30]
mov qword [rbp - 0x50], rsi
mov dword [rbp - 0x48], esi
mov byte [rbp - 0x44], 0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov qword [rbp - 8], rsi
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400106b0
mov qword [rbp - 8], rax
mov rax, qword [rbx]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [rax + 0x20]
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400101d9
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400101f4
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14001022e
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rdi + 0x10]
test eax, eax
je 0x140010221
test rcx, rcx
je 0x14001022e
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rdi + 8], esi
mov qword [rdi + 0x10], rsi
mov word [rdi + 0x28], 0
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140061510
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400104b0
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400be178]
cmp eax, 2
je 0x140010553
mov ecx, 1
xor eax, eax
lock cmpxchg dword [0x1400be178], ecx
jne 0x14001052e
mov ecx, 4
mov qword [rsp + 0x20], rbx
call fcn.140061538
mov qword [rsp + 0x30], rax
mov rbx, rax
mov dword [rax], 0
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
lea rdx, [0x1400be178]
lea rcx, [0x140010560]
mov qword [0x1400be180], rbx
call fcn.140013550
mov rax, qword [0x1400be180]
mov rbx, qword [rsp + 0x20]
mov dword [0x1400be178], 2
add rsp, 0x28
ret
cmp eax, 2
je 0x140010553
mov eax, dword [0x1400be178]
cmp eax, 2
je 0x140010553
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1400be178]
cmp eax, 2
jne 0x140010540
mov rax, qword [0x1400be180]
add rsp, 0x28
ret
Function at 0x140012090
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400be188]
cmp eax, 2
je 0x140012133
mov ecx, 1
xor eax, eax
lock cmpxchg dword [0x1400be188], ecx
jne 0x14001210e
mov ecx, 4
mov qword [rsp + 0x20], rbx
call fcn.140061538
mov qword [rsp + 0x30], rax
mov rbx, rax
mov dword [rax], 0
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
lea rdx, [0x1400be188]
lea rcx, [0x140010560]
mov qword [0x1400be190], rbx
call fcn.140013550
mov rax, qword [0x1400be190]
mov rbx, qword [rsp + 0x20]
mov dword [0x1400be188], 2
add rsp, 0x28
ret
cmp eax, 2
je 0x140012133
mov eax, dword [0x1400be188]
cmp eax, 2
je 0x140012133
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1400be188]
cmp eax, 2
jne 0x140012120
mov rax, qword [0x1400be190]
add rsp, 0x28
ret
Function at 0x140013200
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r9
mov r9, rdx
mov rsi, rcx
test rdx, rdx
jle 0x140012b89
mov qword [rsp + 0x30], rbx
nop dword [rax]
lea rbx, [r9 - 1]
sar rbx, 1
lea rdx, [rbx + rbx*4]
shl rdx, 4
add rdx, rsi
mov r8, qword [rdx]
cmp r8, qword [rdi]
jg 0x140012b54
jl 0x140012b84
mov eax, dword [rdi + 8]
cmp dword [rdx + 8], eax
jle 0x140012b84
lea rcx, [r9 + r9*4]
shl rcx, 4
add rcx, rsi
mov qword [rcx], r8
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
movzx eax, byte [rdx + 0xc]
add rdx, 0x10
mov byte [rcx + 0xc], al
add rcx, 0x10
call fcn.140013070
mov r9, rbx
test rbx, rbx
jg 0x140012b30
mov rbx, qword [rsp + 0x30]
mov rax, qword [rdi]
lea rcx, [r9 + r9*4]
shl rcx, 4
lea rdx, [rdi + 0x10]
add rcx, rsi
mov qword [rcx], rax
mov eax, dword [rdi + 8]
mov dword [rcx + 8], eax
movzx eax, byte [rdi + 0xc]
mov byte [rcx + 0xc], al
add rcx, 0x10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140013070
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [rcx]
mov rbx, rdx
mov qword [r8], rax
lea rdx, [rcx + 0x10]
mov eax, dword [rcx + 8]
mov rdi, rcx
mov dword [r8 + 8], eax
mov r14, r9
movzx eax, byte [rcx + 0xc]
lea rcx, [r8 + 0x10]
mov byte [r8 + 0xc], al
call fcn.140013070
sub rbx, rdi
movabs rax, 0x6666666666666667
imul rbx
xor r8d, r8d
xor ebx, ebx
mov rsi, rdx
sar rsi, 5
mov rax, rsi
shr rax, 0x3f
add rsi, rax
lea rbp, [rsi - 1]
sar rbp, 1
test rbp, rbp
jle 0x1400132fa
nop dword [rax]
add rbx, rbx
lea rdx, [rbx + rbx*4]
shl rdx, 4
add rdx, rdi
mov rax, qword [rdx + 0xa0]
cmp rax, qword [rdx + 0x50]
jle 0x14001329f
xor eax, eax
jmp 0x1400132b6
jge 0x1400132a8
mov eax, 1
jmp 0x1400132b6
mov ecx, dword [rdx + 0x58]
xor eax, eax
cmp dword [rdx + 0xa8], ecx
setle al
inc rax
lea rcx, [r8 + r8*4]
add rbx, rax
shl rcx, 4
add rcx, rdi
lea rdx, [rbx + rbx*4]
shl rdx, 4
add rdx, rdi
mov rax, qword [rdx]
mov qword [rcx], rax
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
movzx eax, byte [rdx + 0xc]
add rdx, 0x10
mov byte [rcx + 0xc], al
add rcx, 0x10
call fcn.140013070
mov r8, rbx
cmp rbx, rbp
jl 0x140013280
cmp r8, rbp
jne 0x140013340
test sil, 1
jne 0x140013340
lea rcx, [r8 + r8*4]
shl rcx, 4
lea rdx, [rsi + rsi*4]
add rcx, rdi
shl rdx, 4
add rdx, rdi
mov rax, qword [rdx - 0x50]
mov qword [rcx], rax
mov eax, dword [rdx - 0x48]
mov dword [rcx + 8], eax
movzx eax, byte [rdx - 0x44]
add rdx, 0xffffffffffffffc0
mov byte [rcx + 0xc], al
add rcx, 0x10
call fcn.140013070
lea r8, [rsi - 1]
mov r9, r14
mov rdx, r8
mov rcx, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
jmp 0x140012b10
Function at 0x140013890
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rax, vtable.nbase::Thread.0
mov rbx, rcx
mov qword [rcx], rax
mov edi, edx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400138e5
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x10]
test eax, eax
je 0x1400138d6
test rcx, rcx
je 0x1400138e5
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [rbx + 8], eax
mov qword [rbx + 0x10], rax
test dil, 1
je 0x1400138f8
mov edx, 0x20
mov rcx, rbx
call fcn.140061530
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140014120
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rbx, rdx
mov rdi, rcx
cmp eax, 0x12
jne 0x140014156
mov rax, qword [rcx + 0x18]
mov byte [rax + 4], 1
mov ecx, dword [rdx + 0x10]
call qword [sym.imp.USER32.dll_PostQuitMessage]
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp eax, 0x401
jne 0x140014175
mov rax, qword [rcx + 0x20]
cmp qword [rdx], rax
jne 0x140014175
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400141f0
mov edx, 0x5001
mov rcx, rbx
call qword [sym.imp.USER32.dll_CallMsgFilterW]
test eax, eax
jne 0x1400141d5
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x30]
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1400141b7
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
test al, al
jne 0x1400141c9
mov rax, qword [rdi + 0x18]
mov byte [rax + 4], 1
jmp 0x1400141c9
mov rcx, rbx
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x38]
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret

Function at 0x1400141f0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
call fcn.140012090
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor edx, edx
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
cmp byte [rax + 0x28], dl
je 0x14001425e
mov r9d, InitCommonControls
mov r8d, r9d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14001425a
mov r9d, 0x113
mov dword [rsp + 0x20], 1
mov r8d, r9d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14001425a
xchg dword [rbx + 0x10], eax
xor al, al
add rsp, 0x60
pop rbx
ret
mov cl, 1
jmp 0x14001426f
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne cl
xor eax, eax
xchg dword [rbx + 0x10], eax
test cl, cl
jne 0x140014280
xor al, al
add rsp, 0x60
pop rbx
ret
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140014120
add rsp, 0x60
pop rbx
ret
Function at 0x140014b60
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rbx, [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rdi + 0x40], 0
je 0x140014b9f
call fcn.140012090
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp rax, qword [rdi + 0x40]
jne 0x140014b9f
mov dil, 1
jmp 0x140014ba2
xor dil, dil
test rbx, rbx
je 0x140014bb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, dil
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140014c00
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x1400b8080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
xor r15d, r15d
xor dil, dil
lea rbx, [rcx + 0x18]
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rsi + 0x40], r15
je 0x140014d6f
call fcn.140012090
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp rax, qword [rsi + 0x40]
je 0x140014d6f
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400015d0
mov edi, r15d
mov r14d, r15d
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140014c9c
lock inc dword [rcx + 0xc]
mov rdi, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov r14, rcx
mov rbx, qword [rsp + 0x20]
lea r12, [0x140014dc0]
mov qword [rsp + 0x48], r12
mov qword [rbp - 0x79], rsi
test rcx, rcx
je 0x140014cd0
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140014ccb
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x20]
lea rax, vtable.std::_Func_impl_no_alloc_class_nbase::WeakCallback_class_std::_Binder_struct_std::_Unforced__void__volatile____thiscall_nbase::MessageLoopProxy::__void_____ptr64__class_nbase::MessageLoopProxy_const____ptr64____ptr64____void___.0
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x59], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], rsi
lea rax, [rbp - 0x69]
mov qword [rbp - 0x31], rax
mov rdi, qword [rsi + 0x40]
mov qword [rbp - 0x29], r15
mov dword [rbp - 0x21], r15d
mov byte [rbp - 0x1d], 0
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rbp + 0x1f], r15
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x69]
call fcn.140014ec0
mov qword [rbp + 0x1f], rax
mov rax, qword [rdi]
lea rdx, [rbp - 0x29]
mov rcx, rdi
call qword [rax + 0x20]
nop
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x140014d52
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140014d6c
mov rax, qword [rcx]
lea rdx, [rbp - 0x69]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov dil, 1
test rbx, rbx
je 0x140014d7d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test dil, dil
jne 0x140014d8f
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140061510
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14001b8f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14001b9b1
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x14001b9a1
mov rax, qword [rbx + 0x10]
mov ecx, 2
lea rsi, [rax + rax]
lea rdx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x14001b9a1
mov rcx, rax
mov qword [rsp + 0x30], rbp
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp qword [rbx + 0x18], 7
mov rbp, rax
jbe case.default.0x14001b99a
mov rbx, qword [rbx]
mov r8, rsi
mov rdx, rbx
mov rcx, rbp
call fcn.140087290
xor eax, eax
mov rcx, rdi
mov word [rsi + rbp], ax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_CloseClipboard]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
add rcx, 8
jmp 0x14001b8f0
out dx, al
xor al, 0x33
push rbp
clc
jae 0x140143db5
invalid
invalid
jrcxz 0x140143de0
mov bh, 0xd
ja 0x140143d73
insd dword [rdi], dx
invalid
stosd dword [rdi], eax
stosd dword [rdi], eax
jrcxz 0x140143e10
cwde
retf 0x9f20
stosb byte [rdi], al
and al, 0xf9
sbb dl, byte [rdx - 0x46]
jbe 0x140143e20
and al, 0x5c
pop rsi
invalid
jns 0x140143e13
invalid
adc dword ds:[rax], esi
mov ds, word [rbx]
loope 0x140143e23
invalid
cmp al, 0xed
in eax, dx
sbb cl, ah
int1
cmp r15b, byte [rax]
pushfq
mov cs, word [rbp + rbp*4 - 0x43]
in al, 0xe
cmpsb byte [rsi], byte [rdi]
sub al, 0xf1
invalid
adc al, 0x5b
invalid
xchg edi, eax
or ecx, dword [rdx + rbp*8 + 0xc]
jrcxz 0x140143e89
invalid
push rdi
jg 0x140143e64
in al, 0xdc
mov eax, 0x91a03989
xchg ecx, eax
or bl, bl
push rbp
adc bh, byte [rax]
movabs dword [0x602034a0265025ea], eax
add edi, dword [rdx]
test dword [rax - 0x6d91cfff], r13d
out dx, eax
retf
push rax
shr byte [rdi], 2
stc
xchg edi, eax
stc
int3
jo 0x140143ec4
lahf
mov esi, 0xd54afc3e
mov esi, 0xd54afc3e
xchg esi, eax
pushfq
mov eax, 0x23da6629
invalid
invalid
pop rsi
invalid