joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002910
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rcx
mov qword [r11 - 0x38], rcx
mov r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
mov rax, rcx
sub rax, r8
xor r14d, r14d
cmp rax, 3
jb 0x1400029da
lea rax, [r8 + 3]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0xf
jbe 0x14000296f
mov rdi, qword [rbx]
lea rax, [0x1400075e7]
mov esi, 3
lea r15, [0x1400075e4]
cmp rax, rdi
jbe 0x1400029a2
lea rax, [rdi + r8]
cmp r15, rax
ja 0x1400029a2
cmp rdi, r15
ja 0x14000299a
mov rbp, r14
jmp 0x1400029a5
mov rbp, rdi
sub rbp, r15
jmp 0x1400029a5
mov rbp, rsi
lea rcx, [rdi + 3]
inc r8
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rbp
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + rbp]
sub rsi, rbp
lea rdx, [r15 + 3]
add rdx, rbp
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400029ee
mov esi, 3
mov qword [rsp + 0x28], rsi
mov edx, esi
mov rcx, rbx
call fcn.140004de0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
lea rax, str.cmd.exe
mov qword [rsp + 0x48], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140002a4d
mov rax, qword [rbx]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x140002a83
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140002ade
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140002ad9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002b1a
mov rcx, r8
call fcn.140005c6c
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400059d0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000545c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140005496
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000549b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400054e4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400073c0]
cmp byte [rcx + rax], 0
je 0x1400054e4
dec r8
sub rdx, 1
jne 0x1400054ca
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000658c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400065d6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400065d6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400065d6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400065d6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400065d6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400065d8
xor al, al
add rsp, 0x28
ret
Function at 0x140071640
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x14007166b
xor ecx, ecx
lea r9, [0x1400f3430]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x140071650
ret

Function at 0x140074e30
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14011b170]
mov ecx, dword [0x14011089c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140074e96
lea rcx, [0x14011b160]
xor edx, edx
call fcn.14005c600
mov eax, dword [0x14011b188]
mov ecx, dword [0x14011089c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140074ed1
lea rcx, [0x14011b178]
xor edx, edx
add rsp, 0x28
jmp fcn.14005c600
lea rcx, [0x14011b170]
call fcn.140075230
cmp dword [0x14011b170], 0xffffffff
jne 0x140074e55
xorps xmm0, xmm0
movups xmmword [0x14011b160], xmm0
lea rcx, [0x14011b160]
xor edx, edx
call fcn.140037400
lea rcx, [0x14011b170]
call fcn.1400752c8
jmp 0x140074e55
lea rcx, [0x14011b188]
call fcn.140075230
cmp dword [0x14011b188], 0xffffffff
jne 0x140074e84
xorps xmm0, xmm0
movups xmmword [0x14011b178], xmm0
lea rcx, [0x14011b178]
xor edx, edx
call fcn.140037400
lea rcx, [0x14011b188]
call fcn.1400752c8
jmp 0x140074e84

Function at 0x140075020
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x14011b190]
cmp rsi, 1
jbe 0x140075043
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14005c600
lea rcx, [0x14011b190]
call fcn.14003dc00
test al, al
je 0x140075088
xorps xmm0, xmm0
movups xmmword [0x14011b198], xmm0
lea rdi, [0x14011b190]
lea rsi, [0x14011b198]
mov rcx, rsi
xor edx, edx
call fcn.140037400
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.14003dcc0
jmp 0x140075033
mov rsi, qword [0x14011b190]
jmp 0x140075033

Function at 0x140084744
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140084898
Function at 0x1400995e8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14009961f
call fcn.14009c644
mov dword [rax], 0x16
call fcn.14009e9a8
xor eax, eax
jmp 0x1400996ad
mov rdx, r9
mov rcx, r8
call fcn.1400996d0
mov rbx, rax
test rax, rax
je 0x1400996aa
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140099740]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140099697
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14009c684
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14009967e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14009968d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14006d0d0
jmp 0x1400996aa
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400996a7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140099814
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14009995c

Function at 0x14009c9a8
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140121038]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1400f1a38]
mov rbp, rcx
call fcn.1400ae85c
xor edi, edi
test rax, rax
je 0x14009ca8e
mov ebx, edi
call fcn.14009c644
mov r14d, dword [rax]
call fcn.14009c644
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400a1270
mov rsi, rax
test rax, rax
je 0x14009ca1f
call fcn.14009c644
mov dword [rax], r14d
jmp 0x14009ca49
call fcn.14009c644
cmp dword [rax], 0x22
jne 0x14009ca86
call fcn.14009c644
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400a1270
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14009ca86
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x14009ca4d
cmp rax, 3
je 0x14009ca68
mov rcx, rsi
call fcn.14009c904
test al, al
je 0x14009ca79
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x14009ca79
mov dil, 1
mov rcx, rbx
call fcn.14006d0d0
mov al, dil
jmp 0x14009ca90
mov rcx, rbx
call fcn.14006d0d0
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140087020
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14001123f
Capabilities:
Terminate process

Disassembly:
jmp 0x140014200
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400112e4
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015550
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015570
xor al, al
jmp 0x1400155f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015583
xor al, al
jmp 0x1400155f1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400155ad
xor al, al
jmp 0x1400155f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400155c1
xor al, al
jmp 0x1400155f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400155d3
xor al, al
jmp 0x1400155f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400155ef
xor al, al
jmp 0x1400155f1
mov al, 1
add rsp, 0x38
ret
Function at 0x140013430
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001143d
movzx eax, al
test eax, eax
jne 0x140013450
mov ecx, 7
call fcn.14001139d
nop
mov byte [rsp + 0x20], 0
call fcn.1400113b6
mov byte [rsp + 0x21], al
cmp dword [0x14001e878], 1
jne 0x140013474
mov ecx, 7
call fcn.14001139d
nop
jmp 0x1400134cc
cmp dword [0x14001e878], 0
jne 0x1400134c7
mov dword [0x14001e878], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111d6
test eax, eax
je 0x1400134a8
mov eax, 0xff
jmp 0x1400135d1
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.1400113a7
mov dword [0x14001e878], 2
jmp 0x1400134cc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011384
call fcn.140011311
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013529
mov rcx, qword [rsp + 0x30]
call fcn.140011181
movzx eax, al
test eax, eax
je 0x140013529
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140027020]
nop
call fcn.140011348
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001355d
mov rcx, qword [rsp + 0x38]
call fcn.140011181
movzx eax, al
test eax, eax
je 0x14001355d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113f7
nop
call fcn.140013680
mov dword [rsp + 0x28], eax
call fcn.1400112e4
movzx eax, al
test eax, eax
jne 0x14001357c
mov ecx, dword [rsp + 0x28]
call fcn.14001105f
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001358b
call fcn.140011401
nop
xor edx, edx
mov cl, 1
call fcn.140011172
mov eax, dword [rsp + 0x28]
jmp 0x1400135d1
add rsp, 0x68
ret
Function at 0x14000a4d0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14000a4dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14000a4ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14000a4d5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14000a505
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14000a4f2
sub eax, 3
jb 0x14000a51f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14000a556
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14000a546
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14000a544
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14000a533
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14000a492
jmp 0x14000a4dd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1400
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14000a5a2
cmp rsi, rcx
jae 0x14000a5aa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14000a589
cmp al, 0x8f
ja 0x14000a589
cmp byte [rsi - 2], 0xf
je 0x14000a58f
sub al, 0xe8
cmp al, 1
ja 0x14000a573
cmp rsi, rcx
jae 0x14000a5aa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14000a579
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14000a5aa
lodsb al, byte [rsi]
jmp 0x14000a589
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x8000]
mov eax, dword [rdi]
or eax, eax
je 0x14000a607
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xa504]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14000a5b7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14000a601
mov qword [rbx], rax
add rbx, 8
jmp 0x14000a5d7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14000a641
cmp al, 0xef
ja 0x14000a633
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14000a613
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14000a622
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14000a695
sub rsp, 0xffffffffffffff80
jmp 0x1400017b0
Function at 0x140039fb1
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffff8508e460
call fcn.14003a05f
dec dl
mov qword [r13 - 0x20a], rsi
push 0x1880cba4
sub ecx, 0xffffffd2
call fcn.14003a05f
test dh, 0xdd
lea eax, [rsp + 0x28]
mov dword [rsp + 0x4c], esi
xchg esi, eax
push 0x20
mov edi, dword [rsp + 0x4c]
push 8
xor ecx, 0xffffff87
push rsp
call rdi
xor r8b, bpl
call qword [rsp + 0x50]
dec byte [rsp]
cld
jne 0x140039fe4
pop rax
nop
push 1
lea eax, [rax + 0x439875e5]
xchg ch, dh
mov ecx, 0x5e6c9855
call fcn.140039f9f
mov dword [rsi + 0x14], 0xc
pop qword [rsi + 0x1c]
lea eax, [rbp - 0x1be]
push rax
mov dword [rsi + 0x18], esi
sub byte [rsi + 2], 0xfc
push 4
mov ecx, edi
add edi, 0x39
push 3
mov cl, 0x27
lea esi, [rsi + 0x14]
push rsi
add dword [rbp + 0x159], ebp
call qword [fcn.140039e3d]
sub dword [rbp + 0x159], ebp
ret
Function at 0x14000396c
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140003a21
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [0x140074e88]
lea rsi, [0x140074e80]
and dword [rsp + 0x3c], 0
mov edi, eax
movabs rax, 0x4d54ee85da812030
add rdx, rax
cmp rdx, 1
jbe 0x1400039cc
mov r8, qword [0x140074e80]
mov edx, edi
mov rcx, rsi
call qword [r8 + 0x30]
jmp 0x1400039d1
test edi, edi
setne al
lea rcx, str.C:Program_Files__x86_Microsoft_Visual_Studio2022BuildToolsVCToolsMSVC14.35.32215include_boost_asio_detail_impl_win_tss_ptr.ipp
movzx eax, al
add rax, 2
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x48], rax
lea rcx, str.win_tss_ptr_create
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x30], 0x2e
mov dword [rsp + 0x34], 0x1a
test al, 1
je 0x140003a21
cmp rax, 1
jne 0x140003a33
test edi, edi
setne al
test al, al
jne 0x140003a33
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
lea r8, [rsp + 0x20]
lea rdx, [0x140064dd8]
lea rcx, [rsp + 0x38]
call fcn.140003890
int3

Function at 0x140003efc
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
or r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x1400780c8], eax
test eax, eax
je 0x140003f53
mov rcx, qword [rbx + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x140003f74
mov rdx, qword [rbx + 8]
lea rcx, [fcn.140003e18]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x30
pop rbx
ret
Function at 0x140004a24
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
lea rax, [rcx + 0x28]
neg rcx
mov ecx, dword [0x1400780dc]
sbb rbx, rbx
and rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x140004a55
cmp qword [rax], rbx
je 0x140004a5f
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140004a4c
jmp 0x140004b27
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140004b27
mov ecx, dword [rbx + 0x50]
test ecx, ecx
je 0x140004af8
cmp ecx, 1
jne 0x140004b27
lea rdx, [rbx + 0x58]
mov dword [rbx + 0x50], 2
lea rcx, [rbp - 0x40]
call fcn.140027e48
xorps xmm0, xmm0
lea rax, vtable.boost::asio::multiple_exceptions.0
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x18]
movups xmmword [rbp - 0x28], xmm0
call fcn.140027e48
lea rcx, [rbp - 0x40]
call fcn.140027f28
lea rcx, [rbp - 0x50]
call fcn.140027e9c
lea r8, [0x140071c58]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.140027e70
lea rcx, [rbp - 0x18]
call fcn.140027f28
lea rax, vtable.std::exception.0
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x30], rax
call fcn.14002bc28
jmp 0x140004b11
lea rcx, [rbp - 0x50]
mov dword [rbx + 0x50], 1
call fcn.140027e9c
lea rcx, [rbp - 0x50]
call fcn.140027ea8
lea rdx, [rbp - 0x50]
lea rcx, [rbx + 0x58]
call fcn.140027e40
lea rcx, [rbp - 0x50]
call fcn.140027f28
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret

Function at 0x14000530c
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
xor ebp, ebp
mov rsi, r9
mov r14, rdx
mov rdi, rcx
mov ebx, ebp
cmp rcx, 0xffffffffffffffff
je 0x140005404
test r8b, r8b
je 0x140005375
mov al, byte [rdx]
test al, 8
je 0x140005375
or al, 8
mov dword [rsp + 0x70], ebp
mov byte [rdx], al
lea r9, [rsp + 0x70]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea rcx, [rsp + 0x30]
setne dl
call fcn.140005260
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, rsi
mov ebx, eax
setne dl
call fcn.140005260
test ebx, ebx
je 0x140005404
mov edx, 0x2733
lea rcx, [rsp + 0x30]
call fcn.140012ea8
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140002cd0
test al, al
jne 0x1400053d1
mov edx, 0x4d5
lea rcx, [rsp + 0x30]
call fcn.140012ea8
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140002cd0
test al, al
je 0x140005404
lea r8, [rsp + 0x70]
mov dword [rsp + 0x70], ebp
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [r14], 0xfc
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
mov rcx, rsi
mov ebx, eax
setne dl
call fcn.140005260
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14000541c
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x20], r9d
push rdi
sub rsp, 0x60
and qword [rax - 0x38], 0
lea r9, [rax + 0x20]
and qword [rax - 0x40], 0
and dword [rax - 0x48], 0
mov rbx, qword [rsp + 0x90]
and dword [rax + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSASend]
mov dl, 1
mov rcx, rbx
mov edi, eax
call fcn.140005260
cmp qword [rbx + 0x10], 1
movabs r9, 0x4800144005b3
je 0x140005474
mov ecx, dword [rbx]
mov r8d, ecx
jmp 0x1400054a4
mov rcx, qword [rbx + 8]
mov rax, r9
mov r8d, dword [rbx]
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul ecx, ecx, 0x3e8
add ecx, r8d
cmp ecx, 0x40
jne 0x1400054b0
mov edx, 0x2746
jmp 0x1400054f2
cmp qword [rbx + 0x10], 1
jne 0x1400054e4
mov rcx, qword [rbx + 8]
mov rax, r9
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add r8d, eax
cmp r8d, 0x4d2
jne 0x1400054fa
mov edx, 0x274d
mov rcx, rbx
call fcn.140012e1c
test edi, edi
je 0x140005503
or eax, 0xffffffff
jmp 0x140005521
and qword [rsp + 0x50], 0
xorps xmm0, xmm0
mov eax, dword [rsp + 0x88]
movups xmmword [rbx], xmm0
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbx + 0x10], xmm0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14000742c
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x60
mov rax, qword [0x1400741e8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rdx
mov qword [rsp + 0x28], rcx
mov rdi, rcx
mov rbx, r8
mov rcx, qword [r8]
xorps xmm0, xmm0
add rcx, 2
xorps xmm1, xmm1
movabs r12, 0xaaaaaaaaaaaaaaab
mov bpl, 0x3d
mov rax, r12
mul rcx
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
lea rcx, [rsp + 0x30]
shr rdx, 1
shl rdx, 2
mov r8, rdx
mov dl, bpl
call fcn.140014864
mov r11, qword [rbx]
lea r10, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
lea r15, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov r9, r11
mov rax, r12
cmovae r10, qword [rsp + 0x30]
xor r8d, r8d
mul r11
shr rdx, 1
lea rax, [rdx + rdx*2]
sub r9, rax
sub r11, r9
je 0x14000754d
lea rcx, [r11 - 1]
mov rax, r12
mul rcx
lea rbx, [rsi + 2]
shr rdx, 1
inc rdx
movzx eax, byte [rbx - 1]
movzx ecx, byte [rbx - 2]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx]
shl rcx, 8
lea rbx, [rbx + 3]
or rcx, rax
mov rax, rcx
shr rax, 0x12
mov al, byte [rax + r15]
mov byte [r10 + r8], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
mov al, byte [rax + r15]
mov byte [r10 + r8 + 1], al
mov rax, rcx
shr rax, 6
and ecx, 0x3f
and eax, 0x3f
mov al, byte [rax + r15]
mov byte [r10 + r8 + 2], al
mov al, byte [rcx + r15]
mov byte [r10 + r8 + 3], al
add r8, 4
sub rdx, 1
jne 0x1400074e5
test r9, r9
je 0x1400075b4
movzx eax, byte [r11 + rsi]
sub r9, 1
je 0x14000756a
movzx edx, byte [r11 + rsi + 1]
shl eax, 8
or edx, eax
jmp 0x14000756c
mov edx, eax
mov eax, edx
mov ecx, edx
shr eax, 2
shr ecx, 0xa
test r9, r9
cmovne eax, ecx
mov ecx, edx
shr ecx, 4
and ecx, 0x3f
mov al, byte [rax + r15]
mov byte [r10 + r8], al
mov eax, edx
and eax, 3
shl eax, 4
test r9, r9
cmovne eax, ecx
mov al, byte [rax + r15]
mov byte [r10 + r8 + 1], al
je 0x1400075af
and edx, 0xf
shl edx, 2
mov bpl, byte [rdx + r15]
mov byte [r10 + r8 + 2], bpl
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movups xmmword [rdi], xmm0
and qword [rdi + 0x10], 0
mov r8d, 0x20
and qword [rdi + 0x18], 0
mov rcx, rdi
call fcn.14002bc80
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140029d70
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret