joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400449e0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movzx edi, dl
mov rbx, rcx
mov eax, 1
lock xadd dword [0x1403ca908], eax
inc eax
cmp eax, 1
jne 0x140044a2d
lea ecx, [rax + 1]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x1403ca90c], eax
test dil, dil
je 0x140044a40
xor eax, eax
lock xadd dword [0x1403ca90c], eax
test eax, eax
jne 0x140044a64
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140250db0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
mov dword [rsp + 0x20], eax
lea rdx, str.winsock
lea rax, [0x14035ccc8]
mov byte [rsp + 0x24], 1
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
call fcn.140034c00
int3

Function at 0x1400456c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400456f1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14004576b
mov rdi, r14
mov rcx, rbx
call fcn.14004a7f0
test rax, rax
jle 0x140045743
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14026f680
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14004575b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140045763
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140045705
sub r14, rdi
jmp 0x140045858
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140045782
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140045784
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400457b9
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14026f680
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140045855
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x1400457f4
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140045830
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1402864d0
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x140045876
cmp rbp, rax
ja 0x140045800
mov r8, rdi
test rdi, rdi
je 0x140045855
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1402864d0
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub r14, rbp
jmp 0x140045858
Function at 0x140045dd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140045dfd
xor eax, eax
jmp 0x140045f21
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140045e37
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140045e37
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140045f21
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140045f14
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140045e7a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140045e89
movsx ecx, dil
jmp 0x140045ebb
movzx eax, dil
lea rdx, vtable.std::codecvt_char__char__struct__Mbstatet_.0
mov byte [rsp + 0x40], al
mov r10, qword [rcx]
cmp r10, rdx
jne 0x140045f3f
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x48], rcx
movsx ecx, al
mov rdx, qword [rbx + 0x80]
call fcn.1402804ac
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140045f19
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140045f02
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.140285c18
cmp rsi, rax
jne 0x140045f14
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x140045f19
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140250db0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [r10 + 0x38]
test eax, eax
js 0x140045f14
cmp eax, 1
jle 0x140045ed5
cmp eax, 3
jne 0x140045f14
movzx eax, byte [rsp + 0x40]
jmp 0x140045eb8
Function at 0x14004a290
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14004a341
cmp byte [rcx + 0x71], 0
je 0x14004a341
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14004a2ed
mov rcx, qword [rbx + 0x68]
lea rdx, vtable.std::codecvt_char__char__struct__Mbstatet_.0
mov rax, qword [rcx]
cmp rax, rdx
jne 0x14004a356
mov byte [rbx + 0x71], 0
mov al, 1
jmp 0x14004a2ef
xor al, al
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140250db0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14004a338
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.140285c18
cmp rdi, rax
jne 0x14004a2ed
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14004a2ef
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140250db0
add rsp, 0x60
pop rbx
ret
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r8, [rsp + 0x38]
lea r9, [rsp + 0x58]
call qword [rax + 0x40]
test eax, eax
je 0x14004a307
sub eax, 1
je 0x14004a30b
cmp eax, 2
je 0x14004a2e5
jmp 0x14004a2ed

Function at 0x140061d40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rcx]
movups xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rsp + 0x68], xmm1
lea rdi, [rdx + 8]
mov rsi, qword [rdx]
mov rbx, qword [rdi]
mov ecx, dword [0x1403caaf0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140061da2
cmp qword [rax], rbx
je 0x140061e31
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140061d90
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
mov ecx, 0x80
call fcn.140034dd0
nop
xor edx, edx
mov qword [rax + 0x20], rdx
lea rcx, [0x140062e70]
mov qword [rax + 0x28], rcx
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov dword [rax + 0x30], edx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rax + 0x38], xmm0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rax + 0x48], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rax + 0x58], xmm1
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rax + 0x68], xmm0
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
mov r8, rax
mov rdx, rdi
mov rcx, rsi
call fcn.140037050
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
cmp qword [rax + 8], 0
je 0x140061da2
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140062f20
nop
jmp 0x140061e1c
Function at 0x140061e50
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0x100
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rdx
lea rdx, [rsp + 0x30]
call fcn.140062a80
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0xa0], rcx
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0xb0], rcx
lea rax, method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_8
mov qword [rdi + 0x10], rax
lea rax, [0x14035ce80]
mov qword [rdi + 0x20], rax
mov rdx, rdi
lea rcx, [rsp + 0x90]
mov rax, qword [rsp + 0xa0]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 0x18], 0
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0xb8], rax
lea rax, [0x14035c800]
mov qword [rdi + 0x28], rax
mov rax, qword [rdi + 0x10]
mov rdx, qword [rax]
lea rax, [sym.ethminer.exe_public_virtual:_void___cdecl_Json::CharReader::destructor_void____ptr64]
cmp rdx, rax
je 0x140061f0a
mov rcx, rdi
call rdx
nop
mov rax, qword [rsp + 0xb0]
mov r8, qword [rax + 0x18]
test r8, r8
je 0x140061f4c
lea rax, [0x140062c30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x90]
call r8
jmp 0x140061fed
movups xmm6, xmmword [rbx]
movups xmm7, xmmword [rbx + 0x10]
movups xmm8, xmmword [rbx + 0x20]
mov ecx, dword [0x1403caaa8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140061f98
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140061f98
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140061f98
mov qword [rcx + 0x10], 0
movzx ecx, byte [rax]
cmp cl, 0x10
jb 0x140061f90
mov byte [rax + 0x40], cl
jmp 0x140061fa6
mov rcx, rax
call fcn.1400e9a90
mov ecx, 0x41
call fcn.140250dd4
mov byte [rax + 0x40], reloc.WS2_32.dll_recv
movups xmmword [rax + 8], xmm6
movups xmmword [rax + 0x18], xmm7
movups xmmword [rax + 0x28], xmm8
lea rcx, [0x140062d40]
mov qword [rax], rcx
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x90]
mov rax, qword [rsp + 0xb0]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140061fed
xor edx, edx
mov rcx, rax
call qword [rax]
nop
lea rcx, [rsp + 0x90]
mov rax, qword [rsp + 0xa0]
call qword [rax]
nop
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140250db0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rdi
ret
Function at 0x140062c40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rsp + 0x48], xmm1
lea rdi, [rcx + 8]
mov rsi, qword [rcx]
mov rbx, qword [rdi]
mov ecx, dword [0x1403caaf0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140062c92
nop dword [rax]
cmp qword [rax], rbx
je 0x140062d0a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140062c80
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
mov ecx, 0x60
call fcn.140034dd0
nop
xor edx, edx
mov qword [rax + 0x20], rdx
lea rcx, [0x140062f80]
mov qword [rax + 0x28], rcx
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov dword [rax + 0x30], edx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rax + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rax + 0x48], xmm1
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
mov r8, rax
mov rdx, rdi
mov rcx, rsi
call fcn.140037050
nop
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
cmp qword [rax + 8], 0
je 0x140062c92
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140063010
nop
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
add rcx, 0x10
add rsp, 0x28
jmp 0x140062c40

Function at 0x140062f20
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rsp + 0x48], xmm1
lea rdi, [rcx + 8]
mov rsi, qword [rcx]
mov rbx, qword [rdi]
mov ecx, dword [0x1403caaf0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140062c92
nop dword [rax]
cmp qword [rax], rbx
je 0x140062d0a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140062c80
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
mov ecx, 0x60
call fcn.140034dd0
nop
xor edx, edx
mov qword [rax + 0x20], rdx
lea rcx, [0x140062f80]
mov qword [rax + 0x28], rcx
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov dword [rax + 0x30], edx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rax + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rax + 0x48], xmm1
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
mov r8, rax
mov rdx, rdi
mov rcx, rsi
call fcn.140037050
nop
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
cmp qword [rax + 8], 0
je 0x140062c92
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140063010
nop
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
add rcx, 0x10
add rsp, 0x28
jmp 0x140062c40
Function at 0x1400697c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2a0
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0x298], rax
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x40], rax
mov rax, qword [rdx + 0x18]
mov qword [rsp + 0x48], rax
add rdx, 0x20
lea rcx, [rsp + 0x50]
call fcn.140066d30
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x160], xmm0
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x170]
call fcn.140068b50
nop
lea rsi, [rdi + 8]
mov rdi, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1403caaf0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140069854
cmp qword [rax], rbx
je 0x14006993b
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140069842
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x170]
mov ecx, 0x290
call fcn.140034dd0
mov r9, rax
xor r10d, r10d
mov qword [rax + 0x20], r10
lea rax, [0x14006a670]
mov qword [r9 + 0x28], rax
mov qword [r9], r10
mov qword [r9 + 8], r10
mov qword [r9 + 0x10], r10
mov qword [r9 + 0x18], r10
mov dword [r9 + 0x30], r10d
lea rcx, [r9 + 0x38]
lea rdx, [rsp + 0x40]
call fcn.140068b50
movaps xmm2, xmmword [rsp + 0x160]
movups xmmword [rcx + 0x120], xmm2
add rcx, 0x130
lea rdx, [rsp + 0x170]
call fcn.140068b50
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], r10
mov r8, r9
mov rdx, rsi
mov rcx, rdi
call fcn.140037050
nop
lea rcx, [rsp + 0x260]
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
lea rcx, [rsp + 0x1b0]
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
lea rcx, [rsp + 0x130]
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
lea rcx, [rsp + 0x80]
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
mov rcx, qword [rsp + 0x298]
xor rcx, rsp
call fcn.140250db0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
cmp qword [rax + 8], 0
je 0x140069854
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14006a940
nop
jmp 0x1400698e2
Function at 0x14006a940
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
lea rdi, [rcx + 0x130]
lea rsi, [rcx + 0x128]
mov rbp, qword [rcx + 0x120]
mov rbx, qword [rsi]
mov ecx, dword [0x1403caaf0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14006a98e
cmp qword [rax], rbx
je 0x14006a9f6
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14006a980
mov qword [rsp + 0x20], rdi
mov rdx, rdi
mov ecx, 0x160
call fcn.140034dd0
mov r9, rax
xor r10d, r10d
mov qword [rax + 0x20], r10
lea rax, [0x14006aa80]
mov qword [r9 + 0x28], rax
mov qword [r9], r10
mov qword [r9 + 8], r10
mov qword [r9 + 0x10], r10
mov qword [r9 + 0x18], r10
mov dword [r9 + 0x30], r10d
lea rcx, [r9 + 0x38]
mov rdx, rdi
call fcn.140068b50
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], r10
mov r8, r9
mov rdx, rsi
mov rcx, rbp
call fcn.140037050
nop
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp qword [rax + 8], 0
je 0x14006a98e
mov rdx, rdi
mov rcx, rdi
call fcn.140063010
nop
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14006acf0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x14006ad18
mov qword [rdi], 0
mov rax, rdi
add rsp, 0x20
pop rdi
ret
cmp qword [rsp + 0x40], 0
jle 0x14006ad08
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x38]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14006ad4c
inc ebx
cmp ebx, 3
ja 0x14006ad82
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14006ad36
mov rbx, qword [rsp + 0x30]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x38]
xorps xmm0, xmm0
mulsd xmm1, qword [0x1403677b0]
cvtsi2sd xmm0, qword [rsp + 0x40]
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov qword [rdi], rax
mov rax, rdi
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov qword [rdi], 0
add rsp, 0x20
pop rdi
ret
Function at 0x14006cf20
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
lea rsi, [rdx + 0x10]
mov rdx, qword [rsi]
cmp rdx, 0xf
jbe 0x14006cf7d
xor r8d, r8d
call fcn.140012870
mov qword [rbx + 0x10], rbp
mov r15d, 0xfffffffa
mov r14, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14006cf93
mov r14, qword [rdi]
mov rdi, r14
mov r13, qword [rsi]
add r13, rdi
cmp r14, r13
je 0x14006d09f
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop dword [rax]
shl ebp, 8
movzx eax, byte [r14]
add ebp, eax
add r15d, 8
js 0x14006d03d
movsxd r12, ebp
movsxd rdi, r15d
lea ecx, [r15 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov esi, edx
imul eax, edx, 0xfffffffa
add r15d, eax
nop dword [rax + rax]
mov rax, r12
mov rcx, rdi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14006d01d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14006d012
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14006d033
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140053a30
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sub rdi, 6
sub rsi, 1
jne 0x14006cfe0
inc r14
cmp r14, r13
jne 0x14006cfb0
cmp r15d, 0xfffffffa
jle 0x14006d09f
lea ecx, [r15 + 8]
shl ebp, 8
movsxd rdx, ebp
sar rdx, cl
and edx, 0x3f
movzx r9d, byte [rdx + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14006d090
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14006d085
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14006d09f
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140053a30
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x14006d0f0
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14006d0d5
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14006d0cd
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14006d0e7
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140053a30
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x14006d0b0
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14006dd20
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
xor r9d, r9d
mov rdi, r8
mov dword [rsp + 0x20], r9d
nop
mov r8d, edi
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x14006dd6b
call fcn.140285d54
cmp dword [rax], 4
jne 0x14006dd6b
mov r9d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
jmp 0x14006dd40
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14006dd80
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14006ddef
call fcn.140285d54
cmp dword [rax], 4
je 0x14006ddc0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140250db0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x14006de20
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14006de8e
call fcn.140285d54
cmp dword [rax], 4
je 0x14006de60
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140250db0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret