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

Disassembly:
jmp 0x14007d294
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rdx
mov rbx, rcx
or dword [rcx + 8], 0xfffffff
mov qword [rcx + 0x10], rdx
and dword [rcx + 0x20], 0
mov dword [rcx + 0x24], 0x80000000
and qword [rcx + 0x28], 0
mov dword [rcx + 0x58], 0
add rcx, 0x60
call fcn.140002c89
nop
and qword [rbx + 0xb0], 0
and qword [rbx + 0xb8], 0
mov dword [rbx + 0xc8], 0
and dword [rbx + 0xd4], 0
and qword [rbx + 0xd8], 0
test rdi, 0xfffffffffffffffd
je 0x14007d318
lock inc dword [rdi + 8]
test dword [0x14016b114], 0x80000000
je 0x14007d334
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
test rax, rax
jne 0x14007d339
call fcn.140009881
mov qword [rbx + 0x18], rax
mov rax, qword [rax + 0x60]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140002423
lea rcx, [rbx + 0x60]
call fcn.1400028b5
mov qword [rbx + 0xa8], rbx
call fcn.14000106e
mov rdi, rax
cmp qword [rax + 0x40], 0
jne 0x14007d373
mov rcx, rax
call fcn.140009953
mov rax, qword [rdi + 0x40]
mov ecx, dword [rax + 0xa0]
mov dword [rbx + 0xd0], ecx
and dword [rbx + 8], 0xfffffff
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140008e3b
Capabilities:
Create thread

Disassembly:
jmp 0x140067060
jmp qword [sym.imp.KERNEL32.dll_CreateThread]

Function at 0x140008ff8
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400926e4
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140171238], eax
cmp eax, 0xffffffff
je 0x1400926fe
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140004322
lea rdx, [0x1401699d0]
lea rcx, [rsp + 0x20]
call fcn.14000763a
int3

Function at 0x140009624
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400631c0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov edi, edx
mov rbx, rcx
call fcn.14000198d
mov r8d, dword [rbx + 0x10]
mov ecx, eax
shr r8d, 2
test r8b, 1
jne 0x14006325e
mov r8d, dword [rbx + 0x10]
shr r8d, 1
test r8b, 1
je 0x1400631fe
mov eax, dword [rbx + 0x10]
shr eax, 3
shr edi, 3
sub eax, edi
jmp 0x140063203
mov eax, 1
lea r8d, [rcx + 2]
cmp eax, r8d
ja 0x14006325e
dec eax
lea rcx, [0x1400073b5]
imul eax, dword [0x14016b0fc]
xor edx, edx
mov qword [rsp + 0x30], rcx
div r8d
add eax, dword [0x14016b0fc]
jne 0x140063238
mov dword [rsp + 0x28], 4
jmp 0x140063249
and dword [rsp + 0x24], 0
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
mov eax, dword [rbx + 0x10]
test al, 1
je 0x14006325e
lea rcx, [rsp + 0x20]
call fcn.1400069d3
test al, al
jne 0x140063249
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp fcn.140007c98
Function at 0x140024a40
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14016b098]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rsi, str.ZZZZZZ
or rbx, 0xffffffffffffffff
nop
cmp byte [rsi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140024a70
movabs rbp, 0x112e0be826d694b3
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rsi
lea rdx, [rbx + 1]
mov rcx, rdi
call fcn.140003215
call fcn.1400082e7
imul rcx, rax, 0x64
mov rax, rbp
add rcx, 0x77359400
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x3b9aca00
mov qword [rsp + 0x20], rdx
sub ecx, eax
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400010cd
jmp 0x140024a85

Function at 0x1400676b0
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400676b0
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400676c3
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140004322
lea rdx, [0x1401699d0]
lea rcx, [rsp + 0x20]
call fcn.14000763a
int3

Function at 0x140067b3c
Capabilities:
Create thread

Disassembly:
jmp 0x140067b3c
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call fcn.140008e3b
mov rbx, rax
test rax, rax
je 0x140067b81
mov ecx, 1
lock xadd dword [0x140171058], ecx
inc ecx
cmp ecx, 1
jne 0x140067b81
call fcn.140008b84
lock inc dword [0x14016b114]
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140073cc0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140073cc0
mov qword [rsp + 8], rbx
mov r11, rdx
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + rdx]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 4
jb 0x140073cd8
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, r9
div rcx
mov rax, qword [rbx + 8]
movsxd rcx, edx
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x140073d22
mov ecx, dword [r11]
cmp dword [rax + 8], ecx
je 0x140073d24
mov rax, qword [rax]
test rax, rax
jne 0x140073d15
xor eax, eax
test rax, rax
je 0x140073d34
test r8, r8
je 0x140073d34
mov ecx, dword [rax + 0xc]
mov dword [r8], ecx
mov rbx, qword [rsp + 8]
ret
Function at 0x14007df38
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14007df38
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
mov r14, r8
xor ecx, ecx
mov rdi, rdx
movabs r9, 0xcbf29ce484222325
movzx eax, byte [rcx + rdi]
movabs rdx, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rdx
cmp rcx, 8
jb 0x14007df62
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, r9
div rcx
mov rax, qword [rbx + 8]
movsxd rsi, edx
mov rcx, qword [rax + rsi*8]
test rcx, rcx
je 0x14007dfac
mov rax, qword [rdi]
cmp qword [rcx + 8], rax
je 0x14007dfae
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14007df9e
xor ecx, ecx
test rcx, rcx
jne 0x14007dffc
mov ecx, 0x18
call fcn.140002c52
mov qword [rsp + 0x30], rax
mov r8, rax
test rax, rax
je 0x14007dfde
and qword [rax], 0
mov rax, qword [rdi]
mov qword [r8 + 8], rax
mov rax, qword [r14]
mov qword [r8 + 0x10], rax
jmp 0x14007dfe1
xor r8d, r8d
mov rcx, qword [rbx + 8]
mov rax, r8
mov rdx, qword [rcx + rsi*8]
mov qword [r8], rdx
mov rcx, qword [rbx + 8]
mov qword [rcx + rsi*8], r8
inc dword [rbx + 4]
jmp 0x14007dffe
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140097024
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140097024
mov qword [rsp + 8], rbx
xor r8d, r8d
mov r11, rdx
mov r10d, r8d
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
movzx eax, byte [r10 + rdx]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 4
jb 0x14009703f
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, r9
div rcx
mov rax, qword [rbx + 8]
movsxd rcx, edx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x140097089
mov eax, dword [r11]
cmp dword [rdx + 8], eax
je 0x14009708c
mov rdx, qword [rdx]
test rdx, rdx
jne 0x14009707c
mov rdx, r8
mov rbx, qword [rsp + 8]
test rdx, rdx
setne al
ret

Function at 0x1400a2ac0
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400a2ac0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x140135b60]
xor ecx, ecx
lea r8, [0x140135b58]
lea rdx, str.FlsAlloc
call fcn.1400a2520
mov rbx, rax
test rax, rax
je 0x1400a2b00
mov rcx, rax
call fcn.140004ae3
mov rcx, rdi
call rbx
jmp 0x1400a2b06
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400a2b94
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400a2b94
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140135b80]
mov ecx, 2
lea r8, [0x140135b78]
lea rdx, str.FlsGetValue
call fcn.1400a2520
mov rdi, rax
test rax, rax
je 0x1400a2bd5
mov rcx, rax
call fcn.140004ae3
mov ecx, ebx
call rdi
jmp 0x1400a2bdd
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a2c00
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400a2c00
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140135b90]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x140135b88]
call fcn.1400a2520
mov rsi, rax
test rax, rax
je 0x1400a2c4c
mov rcx, rax
call fcn.140004ae3
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x1400a2c57
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001070
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x4b8
mov rax, qword [0x14005c018]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
xor r8d, r8d
mov edx, 0x100000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x1400600f8], rax
test rax, rax
jne 0x1400010b2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [0x1400600f8], rax
xor eax, eax
lea rcx, [rsp + 0x24]
xor edx, edx
mov dword [rsp + 0x20], eax
mov r8d, 0x194
call fcn.14002f8c0
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
lea rcx, [rsp + 0x1c0]
mov r8d, 0x2d8
call fcn.14002f8c0
lea rcx, [rsp + 0x1c0]
call fcn.14000a000
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001104
Function at 0x140001a60
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x140060ac4]
lea r9, [0x140060100]
je 0x140001ac0
mov dword [0x140060ac4], eax
mov r8d, 1
mov dword [0x140060100], eax
nop dword [rax + rax]
lea eax, [r8 - 1]
movsxd rcx, eax
mov eax, dword [r9 + rcx*4]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
movsxd rax, r8d
imul edx, ecx, 0x6c078969
add edx, r8d
inc r8d
mov dword [r9 + rax*4], edx
cmp r8d, 0x270
jl 0x140001a90
jmp 0x140001ad2
mov edx, dword [0x140060ac0]
cmp edx, 0x270
jl 0x140001b8a
mov r8, r9
lea r10, [0x140050ec8]
lea rdx, [0x14006048c]
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r8 + 4]
xor ecx, dword [r8]
btr ecx, 0x1f
xor ecx, dword [r8]
mov eax, ecx
shr ecx, 1
and eax, 1
mov eax, dword [r10 + rax*4]
xor eax, ecx
xor eax, dword [r8 + 0x634]
mov dword [r8], eax
add r8, 4
cmp r8, rdx
jl 0x140001af0
lea r8, [0x140060abc]
nop word [rax + rax]
mov ecx, dword [rdx + 4]
xor ecx, dword [rdx]
btr ecx, 0x1f
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
mov eax, dword [r10 + rax*4]
xor eax, ecx
xor eax, dword [rdx - 0x38c]
mov dword [rdx], eax
add rdx, 4
cmp rdx, r8
jl 0x140001b30
mov ecx, dword [0x140060abc]
xor ecx, dword [0x140060100]
btr ecx, 0x1f
xor ecx, dword [0x140060abc]
mov eax, ecx
shr ecx, 1
and eax, 1
mov eax, dword [r10 + rax*4]
xor eax, ecx
xor eax, dword [0x140060730]
mov dword [0x140060abc], eax
xor edx, edx
movsxd rax, edx
inc edx
mov dword [0x140060ac0], edx
mov ecx, dword [r9 + rax*4]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff1858ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xbf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
add rsp, 0x28
ret

Function at 0x140001d20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14005c018]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r8
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov r9d, 1
mov qword [rsp + 0x30], 0xffffffff80000002
mov rcx, 0xffffffff80000002
mov ebx, 0xffffffff
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001dcb
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
cmove ebx, dword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 4
jne 0x140001dcb
cmp dword [rsp + 0x44], ebx
jne 0x140001dcb
mov eax, dword [rsp + 0x40]
jmp 0x140001dcd
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400111c0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140003d80
Capabilities:
Connect socket
Resolve dns

Disassembly:
push rbp
push rsi
push r15
sub rsp, 0x30
mov rax, qword [0x14005c018]
xor rax, rsp
mov qword [rsp + 0x28], rax
movzx r15d, dx
lea r9, [rsp + 0x20]
xor edx, edx
rol r15w, 8
xor r8d, r8d
xor ebp, ebp
xor esi, esi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140003dc2
lea rax, [rbp - 1]
jmp 0x140003f8d
mov qword [rsp + 0x58], rbx
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r14
test rbx, rbx
je 0x140003e92
nop
mov eax, dword [rbx + 4]
cmp eax, 2
jne 0x140003e32
mov edi, dword [rbx + 0x10]
mov r14, qword [rbx + 0x20]
test rdi, rdi
jne 0x140003dfb
xor ebp, ebp
jmp 0x140003e80
mov rcx, qword [0x1400600f8]
lea r8, [rdi + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x140003e80
xor ecx, ecx
test rdi, rdi
je 0x140003e80
nop dword [rax]
movzx eax, byte [rcx + r14]
mov byte [rcx + rbp], al
inc rcx
cmp rcx, rdi
jb 0x140003e20
jmp 0x140003e80
cmp eax, 0x17
jne 0x140003e80
mov edi, dword [rbx + 0x10]
mov r14, qword [rbx + 0x20]
test rdi, rdi
jne 0x140003e47
xor esi, esi
jmp 0x140003e80
mov rcx, qword [0x1400600f8]
lea r8, [rdi + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x140003e80
xor eax, eax
test rdi, rdi
je 0x140003e80
nop dword [rax]
movzx ecx, byte [rax + r14]
mov byte [rax + rsi], cl
inc rax
cmp rax, rdi
jb 0x140003e70
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140003de0
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rbx, 0xffffffffffffffff
lea edi, [rbx + 0x1d]
lea r14d, [rbx + 0x11]
test rbp, rbp
je 0x140003ef9
movzx ecx, word [rbp]
lea edx, [rbx + 2]
lea r8d, [rbx + 7]
mov word [rbp + 2], r15w
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140003ef9
cmp word [rbp], 2
mov r8d, edi
mov rdx, rbp
mov rcx, rax
cmove r8d, r14d
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x140003ef9
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, 0xffffffffffffffff
test rsi, rsi
je 0x140003f4d
cmp rbx, 0xffffffffffffffff
jne 0x140003f4d
movzx ecx, word [rsi]
lea edx, [rbx + 2]
lea r8d, [rbx + 7]
mov word [rsi + 2], r15w
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140003f4d
cmp word [rsi], 2
mov rdx, rsi
mov rcx, rax
cmove edi, r14d
mov r8d, edi
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x140003f4d
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, 0xffffffffffffffff
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
test rbp, rbp
je 0x140003f6e
mov rcx, qword [0x1400600f8]
mov r8, rbp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
je 0x140003f85
mov rcx, qword [0x1400600f8]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400111c0
add rsp, 0x30
pop r15
pop rsi
pop rbp
ret
Function at 0x140004e50
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14005c018]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x140004e93
mov eax, 0x80004005
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400111c0
add rsp, 0x40
pop rbx
ret
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor edx, edx
lea rax, [rsp + 0x30]
lea r9, [0x140045d90]
mov qword [rsp + 0x20], rax
lea rcx, [0x140045d80]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140004ee2
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400111c0
add rsp, 0x40
pop rbx
ret
Function at 0x14000c920
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xc8
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbp, rcx
add rcx, 0x108
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
movzx ebx, byte [rbp + 0x100]
lea rcx, [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
test bl, bl
je 0x14000c965
mov rcx, rbp
call fcn.14000c780
mov rax, qword [rbp + 0x138]
test rax, rax
je 0x14000c97a
cmp dword [rax + 0xbc], 0
jne 0x14000c996
mov byte [rsp + 0xf0], 1
lea rcx, [rbp + 0x120]
lea rdx, [rsp + 0xf0]
call fcn.140007af0
lea rax, [rsp + 0x38]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x100], rax
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140005080
mov rsi, rax
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x58]
call fcn.140005080
mov rdi, rax
lea rcx, [rsp + 0x78]
call fcn.140005060
mov rbx, rax
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x98]
call fcn.140005080
nop
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8, rax
xor edx, edx
call fcn.140002e40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14000e390
Capabilities:
Terminate process
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
add rcx, 0x40
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
movzx ebx, byte [rdi + 0x38]
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
test bl, bl
je 0x14000e543
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x14000e3d4
cmp dword [rax + 0xbc], 0
jne 0x14000e3e6
lea rdx, [rsp + 0x40]
mov byte [rsp + 0x40], 1
mov rcx, rdi
call fcn.140007af0
mov rbx, qword [rdi + 0x30]
test rbx, rbx
je 0x14000e44b
cmp dword [rbx + 8], 0
je 0x14000e559
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 8], eax
je 0x14000e564
movups xmm0, xmmword [rbx]
xor edx, edx
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
call fcn.14000ff1c
test eax, eax
jne 0x14000e56f
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14000e44b
cmp dword [rcx + 8], eax
jne 0x14000e553
lea edx, [rax + 0x10]
call fcn.1400111e4
mov qword [rdi + 0x30], 0
mov rcx, qword [0x1400600d0]
test rcx, rcx
je 0x14000e52b
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x1400600c8]
xor edx, edx
mov qword [0x1400600d0], 0
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x1400600f0]
mov qword [0x1400600c8], 0
test rcx, rcx
je 0x14000e49a
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [0x1400600e8]
test rcx, rcx
je 0x14000e4ac
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [0x1400600e0]
test rcx, rcx
je 0x14000e4be
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [0x1400600d8]
test rcx, rcx
je 0x14000e4d0
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [0x1400600f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400600e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400600e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400600d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400600d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400600c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400600c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea rcx, [rdi + 0x40]
mov byte [rdi + 0x38], 0
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call fcn.140033a00
int3
mov ecx, 1
call fcn.14000fe90
int3
mov ecx, 5
call fcn.14000fe90
int3
mov ecx, 2
call fcn.14000fe90
int3
Function at 0x140014968
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14001497b
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140014f7c
lea rdx, [0x14005a100]
lea rcx, [rsp + 0x20]
call fcn.14002f3c0
int3

Function at 0x14001f1e4
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x14005f2d8]
xor edx, edx
jmp fcn.140014968

Function at 0x14001fb78
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x14005f2d8]
jmp fcn.140014968
Function at 0x14002b6d4
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14002b790]
mov r9, qword [r9 + 8]
jmp fcn.14001cbe8

Function at 0x14002b768
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14002b7a0]
mov r9, qword [r9 + 8]
jmp fcn.14001cbe8

Function at 0x140034fcc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140034df8
Function at 0x100002454
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x100004758], rdi
je 0x1000024a2
cmp rax, rdi
jne 0x100002495
mov edi, 1
mov r12d, edi
jmp 0x1000024a7
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100002479
mov edi, 1
mov eax, dword [0x100004750]
cmp eax, edi
jne 0x1000024bd
mov ecx, 0x1f
call fcn.100167000
jmp 0x10000251a
mov eax, dword [0x100004750]
test eax, eax
jne 0x100002514
mov dword [0x100004750], edi
lea r13, [0x100001290]
lea rsi, [0x100001278]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x100002506
test eax, eax
jne 0x100002506
mov rcx, qword [rsi]
test rcx, rcx
je 0x1000024fb
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x1000024e4
test eax, eax
je 0x10000251a
mov eax, 0xff
jmp 0x1000025ec
mov dword [0x100004184], edi
mov eax, dword [0x100004750]
cmp eax, edi
jne 0x100002541
lea rdx, [0x100001270]
lea rcx, [0x100001260]
call sub.msvcrt.dll__initterm
mov dword [0x100004750], 2
test r12d, r12d
jne 0x10000254f
xor eax, eax
xchg qword [0x100004758], rax
cmp qword [0x100004760], 0
je 0x100002578
lea rcx, [0x100004760]
call fcn.10000284c
test eax, eax
je 0x100002578
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100004760]
mov r8, qword [0x100004168]
mov rdx, qword [0x100004170]
mov ecx, dword [0x100004160]
call fcn.100001b54
mov dword [0x100004180], eax
cmp dword [0x100004164], 0
jne 0x1000025a8
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100004184], 0
jne 0x1000025bd
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100004180]
jmp 0x1000025ec
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.100002960
add rsp, 0x28
jmp 0x100002454