joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003ae0
Capabilities:
Hash data using fnv

Disassembly:
mov eax, 0x18
call fcn.140251b90
sub rsp, rax
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 8], rax
mov r10, r9
mov r11, rcx
mov r9d, edx
test edx, edx
jne 0x140003b1d
xor eax, eax
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.140250db0
add rsp, 0x18
ret
mov r8, qword [r8]
xor edx, edx
mov qword [rsp], r8
movzx eax, byte [rsp + 1]
movzx ecx, r8b
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
mov eax, ecx
div r9d
mov rax, qword [r11 + rdx*8]
lea rdx, [r11 + rdx*8]
test rax, rax
je 0x140003bb4
cmp qword [rax + 8], r8
je 0x140003bb4
mov rdx, rax
mov rax, qword [rax]
test rax, rax
jne 0x140003ba3
test r10, r10
je 0x140003bbc
mov dword [r10], ecx
mov rax, rdx
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.140250db0
add rsp, 0x18
ret
Function at 0x140004060
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x420
call fcn.140251b90
sub rsp, rax
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0x410], rax
mov rbx, rcx
mov rsi, rdx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x3c0
call fcn.14026fa90
xor eax, eax
xor edx, edx
mov qword [rsp + 0x3e0], rax
mov qword [rsp + 0x3e8], rax
mov qword [rsp + 0x3f0], rax
mov qword [rsp + 0x3f8], rax
mov qword [rsp + 0x400], rax
mov qword [rsp + 0x408], rax
lea r8, [0x1402beec0]
nop dword [rax]
movzx ecx, byte [rdx + r8]
inc rdx
movzx eax, cl
xor cl, 0x5c
xor al, 0x36
mov byte [rsp + rdx + 0x3df], cl
mov byte [rsp + rdx + 0x1f], al
cmp rdx, 0x10
jb 0x1400040e0
lea rdx, [0x140004690]
lea rcx, [0x1403c36e8]
call fcn.14000cbc0
mov rax, qword [0x1403c36d8]
mov dword [rsp + 0x34], 0x2b0c
mov ecx, dword [rax + 0x60]
mov dword [rsp + 0x30], ecx
call fcn.14000cc20
mov dword [rsp + 0x38], eax
call fcn.14000ca60
lea rdx, [0x140004690]
lea rcx, [0x1403c36e8]
mov dword [rsp + 0x3c], eax
call fcn.14000cbc0
mov rax, qword [0x1403c36d8]
mov qword [rsp + 0x48], rbx
mov rcx, qword [rax + 0x38]
xor ebx, ebx
lea rdi, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
nop dword [rax + rax]
lea rdx, [0x140004690]
lea rcx, [0x1403c36e8]
call fcn.14000cbc0
mov rax, qword [0x1403c36d8]
mov rcx, qword [rax + 0x28]
movsxd rax, dword [rcx]
cmp rbx, rax
jae 0x14000422a
lea rdx, [0x140004690]
lea rcx, [0x1403c36e8]
call fcn.14000cbc0
mov rax, qword [0x1403c36d8]
xor edx, edx
mov r9, qword [rax + 0x28]
movsxd r8, dword [r9]
test r8, r8
jle 0x1400041d9
lea rax, [r9 + 8]
mov rcx, qword [rax]
cmp dword [rcx], ebx
je 0x1400041e3
inc rdx
add rax, 8
cmp rdx, r8
jl 0x1400041c6
mov eax, 0x65
jmp 0x14000428e
mov rcx, qword [r9 + rdx*8 + 8]
inc rbx
add rdi, 0x1c
mov rax, qword [rcx + 0x148]
mov qword [rdi - 0x2c], rax
mov rax, qword [rcx + 0x150]
mov qword [rdi - 0x24], rax
mov eax, dword [rcx + 0x298]
mov dword [rdi - 0x1c], eax
mov eax, dword [rcx + 0x290]
mov dword [rdi - 0x18], eax
mov eax, dword [rcx + 0x294]
mov dword [rdi - 0x14], eax
cmp rbx, 0x20
jb 0x140004170
movabs rcx, 0xb3b3b3b3b3b3b3b3
lea rdx, [rsp + 0x20]
mov r8d, 0x3c0
mov qword [rsp + 0x3d0], rcx
mov qword [rsp + 0x3d8], rcx
lea rcx, [rsp + 0x3f0]
call fcn.1400043c0
movabs rcx, 0x2020202020202020
lea rdx, [rsp + 0x3e0]
mov qword [rsp + 0x3f0], rcx
mov qword [rsp + 0x3f8], rcx
mov r8d, 0x30
mov rcx, rsi
call fcn.1400043c0
xor eax, eax
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.140250db0
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400042c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, 0x50
call fcn.140251b90
sub rsp, rax
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ecx, ecx
call fcn.1402876c4
lea rdx, [0x1402bedb0]
lea rcx, [rsp + 0x20]
mov rbx, rax
call qword [0x1403c43e0]
test eax, eax
jne 0x14000432c
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140004060
test eax, eax
jne 0x1400043a6
mov rax, qword [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rdx, rbx
mov ecx, 0x2b0c
call qword [rax + reloc.WS2_32.dll_htonl]
test eax, eax
je 0x140004346
mov ecx, eax
call fcn.1400036f0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140250db0
add rsp, 0x50
pop rbx
ret
xor r8b, r8b
xor eax, eax
nop dword [rax + rax]
movzx edx, byte [rsp + rax + 0x3b]
movzx ecx, byte [rsp + rax + 0x3a]
add rax, 4
xor cl, byte [rsp + rax + 0x26]
xor dl, byte [rsp + rax + 0x27]
or dl, cl
movzx ecx, byte [rsp + rax + 0x35]
xor cl, byte [rsp + rax + 0x25]
or dl, cl
movzx ecx, byte [rsp + rax + 0x24]
xor cl, byte [rsp + rax + 0x34]
or dl, cl
or r8b, dl
cmp rax, 0x10
jb 0x140004350
test r8b, r8b
je 0x1400043a4
mov eax, 0x67
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140250db0
add rsp, 0x50
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140250db0
add rsp, 0x50
pop rbx
ret
Function at 0x1400043c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x78
call fcn.140251b90
sub rsp, rax
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor eax, eax
mov r10, r8
mov r9, rdx
mov r11, rcx
cmp rax, 0x10
jae 0x1400045b4
mov byte [rsp + rax + 0x50], 0
inc rax
cmp rax, 0x10
jb 0x1400043f1
xor r8b, r8b
xor edx, edx
mov qword [rsp + 0x70], rbx
lea rbx, str._.C
test r10, r10
je 0x140004444
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
movzx eax, r8b
xor rcx, rax
mov rax, rdx
inc rdx
movzx r8d, byte [rcx + rbx]
and eax, 0xf
mov byte [rsp + rax + 0x50], r8b
cmp rdx, r10
jb 0x140004420
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
test r10, r10
je 0x14000452a
lea rax, [rsp + 0x30]
sub r9, rax
add r9, 2
dec r10
shr r10, 4
inc r10
nop word [rax + rax]
xor r8d, r8d
lea rdx, [rsp + 0x30]
add rdx, r8
add r8, 4
movzx ecx, byte [rdx + r9 - 2]
movzx eax, byte [rdx - 0x10]
xor al, cl
mov byte [rdx], cl
movzx ecx, byte [rdx + r9 - 1]
mov byte [rdx + 0x10], al
movzx eax, byte [rdx - 0xf]
mov byte [rdx + 1], cl
xor al, cl
movzx ecx, byte [rdx + r9]
mov byte [rdx + 0x11], al
movzx eax, byte [rdx - 0xe]
mov byte [rdx + 2], cl
xor al, cl
movzx ecx, byte [rdx + r9 + 1]
mov byte [rdx + 0x12], al
movzx eax, byte [rdx - 0xd]
mov byte [rdx + 3], cl
xor al, cl
mov byte [rdx + 0x13], al
cmp r8, 0x10
jb 0x140004493
xor ecx, ecx
xor r8d, r8d
xor eax, eax
movzx edx, byte [rcx + rbx]
movzx ecx, byte [rsp + rax + 0x20]
inc rax
xor edx, ecx
mov byte [rsp + rax + 0x1f], dl
movzx ecx, dl
cmp rax, 0x2f
jb 0x1400044f2
lea rax, [rcx + r8]
inc r8
movzx ecx, al
cmp r8, 0x11
jb 0x1400044f0
add r9, 0x10
dec r10
jne 0x140004490
xor edx, edx
nop dword [rax]
movzx ecx, byte [rsp + rdx + 0x50]
movzx eax, byte [rsp + rdx + 0x20]
inc rdx
xor al, cl
mov byte [rsp + rdx + 0x2f], cl
mov byte [rsp + rdx + 0x3f], al
cmp rdx, 0x10
jb 0x140004530
xor eax, eax
xor r8d, r8d
nop word [rax + rax]
xor edx, edx
movzx ecx, byte [rax + rbx]
movzx eax, byte [rsp + rdx + 0x20]
inc rdx
xor ecx, eax
mov byte [rsp + rdx + 0x1f], cl
movzx eax, cl
cmp rdx, 0x2f
jb 0x140004562
add rax, r8
inc r8
movzx eax, al
cmp r8, 0x11
jb 0x140004560
mov rax, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x70]
mov qword [r11], rax
mov rax, qword [rsp + 0x28]
mov qword [r11 + 8], rax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140250db0
add rsp, 0x78
ret
call fcn.140250f4c
int3
Function at 0x14000a9a0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x40
call fcn.140251b90
sub rsp, rax
mov rsi, qword [rdx]
lea r14, [rcx + 0x60]
mov rbx, rdx
mov edx, dword [r14]
mov rdi, rcx
mov rcx, qword [r14 + 0x10]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call fcn.140003ae0
test rax, rax
je 0x14000aa23
mov rax, qword [rax]
test rax, rax
je 0x14000aa23
mov rax, qword [rax + 0x10]
cmp byte [rax + 4], 0
je 0x14000aa11
cmp byte [rbx + 0x1c], 0
je 0x14000aa11
mov edx, 1
mov byte [rax + 4], dl
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor edx, edx
mov byte [rax + 4], dl
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov edx, dword [rdi + 0xe8]
mov rcx, qword [rdi + 0xf8]
lea r8, [rsp + 0x28]
xor r9d, r9d
call fcn.140003ae0
test rax, rax
je 0x14000aa45
mov rax, qword [rax]
mov rdi, qword [rax + 0x10]
mov r8, qword [rbx + 8]
lea rcx, [rsp + 0x38]
mov rdx, qword [rdi + 8]
call qword [0x1403c3f48]
cmp eax, 0x1f4
je 0x14000abbe
test eax, eax
je 0x14000aa7d
mov ecx, eax
call fcn.1400036f0
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x18
call fcn.14000cad0
test rax, rax
je 0x14000abcb
mov edx, dword [rbx + 0x18]
mov r9, qword [rsp + 0x38]
movzx r8d, byte [rbx + 0x1c]
mov dword [rax], edx
lea rdx, [rsp + 0x28]
mov rcx, r14
mov byte [rax + 4], r8b
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r9
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
call fcn.14000b400
mov ecx, dword [rdi + 0x60]
test ecx, ecx
jne 0x14000aae0
lea edx, [rcx + 1]
lea rcx, [rdi + 0x60]
call fcn.14000bb70
mov ecx, dword [rdi + 0x60]
test ecx, ecx
je 0x14000abcb
mov r8, qword [rdi + 0x70]
test ecx, ecx
jne 0x14000aaf3
mov ebp, dword [rsp + 0x20]
xor ebx, ebx
jmp 0x14000ab82
movzx eax, byte [rsp + 0x21]
movzx ebp, sil
xor edx, edx
xor ebp, 0x811c9dc5
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x22]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x23]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x24]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x25]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x26]
imul ebp, ebp, 0x1000193
xor ebp, eax
movzx eax, byte [rsp + 0x27]
imul ebp, ebp, 0x1000193
xor ebp, eax
imul ebp, ebp, 0x1000193
mov eax, ebp
div ecx
mov rax, qword [r8 + rdx*8]
lea rbx, [r8 + rdx*8]
test rax, rax
je 0x14000ab82
cmp qword [rax + 8], rsi
je 0x14000ab82
mov rbx, rax
mov rax, qword [rax]
test rax, rax
jne 0x14000ab71
cmp qword [rbx], 0
jne 0x14000abbe
mov ecx, 0x18
call fcn.14000cad0
test rax, rax
je 0x14000aba5
mov qword [rax], 0
mov qword [rax + 8], rsi
mov dword [rax + 0x10], ebp
mov qword [rbx], rax
test rax, rax
je 0x14000abcb
inc qword [rdi + 0x68]
mov rdx, qword [rdi + 0x68]
lea rcx, [rdi + 0x60]
call fcn.14000bb70
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 2
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000d6d0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
mov eax, 0x68
call fcn.140251b90
sub rsp, rax
lea rax, [rcx + 0x30]
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rbx, r8
mov rbp, rdx
mov qword [rsp + 0x38], rdx
xor edi, edi
mov qword [rsp + 0x48], rax
call fcn.14000c9e0
mov r14, qword [rbx + 0x10]
mov eax, dword [rbx]
lea rax, [r14 + rax*8]
mov r12d, edi
mov qword [rsp + 0x50], rax
cmp r14, rax
je 0x14000d739
cmp qword [r14], rdi
jne 0x14000d736
add r14, 8
cmp r14, rax
jne 0x14000d723
jmp 0x14000d910
mov r12, qword [r14]
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0x60], r15
mov r15d, dword [rsp + 0x20]
nop dword [rax + rax]
test r12, r12
je 0x14000d903
mov rbx, qword [r12 + 8]
mov rbx, qword [rbx + 0x40]
test rbx, rbx
je 0x14000d8d0
nop dword [rax + rax]
mov r8, qword [rbx]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov rcx, rbp
call fcn.14000b1d0
test eax, eax
jne 0x14000d901
mov r13, qword [rsp + 0x40]
test r13, r13
je 0x14000d8be
mov ecx, dword [rsi + 0x58]
mov rbp, qword [r13 + 8]
mov qword [rsp + 0x28], rbp
test ecx, ecx
jne 0x14000d7c0
lea edx, [rax + 1]
lea rcx, [rsi + 0x58]
call fcn.14000de80
mov ecx, dword [rsi + 0x58]
test ecx, ecx
je 0x14000d8fa
mov r8, qword [rsi + 0x68]
test ecx, ecx
je 0x14000d871
movzx eax, byte [rsp + 0x29]
movzx r15d, bpl
xor edx, edx
xor r15d, 0x811c9dc5
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2a]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2b]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2c]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2d]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2e]
imul r15d, r15d, 0x1000193
xor r15d, eax
movzx eax, byte [rsp + 0x2f]
imul r15d, r15d, 0x1000193
xor r15d, eax
imul r15d, r15d, 0x1000193
mov eax, r15d
div ecx
mov rax, qword [r8 + rdx*8]
lea rdi, [r8 + rdx*8]
test rax, rax
je 0x14000d871
nop dword [rax + rax]
cmp qword [rax + 8], rbp
je 0x14000d871
mov rdi, rax
mov rax, qword [rax]
test rax, rax
jne 0x14000d860
cmp qword [rdi], 0
jne 0x14000d8b2
mov ecx, 0x20
call fcn.14000cad0
test rax, rax
je 0x14000d899
mov qword [rax], 0
mov qword [rax + 8], rbp
mov qword [rax + 0x10], r13
mov dword [rax + 0x18], r15d
mov qword [rdi], rax
test rax, rax
je 0x14000d8fa
inc qword [rsi + 0x60]
mov rdx, qword [rsi + 0x60]
lea rcx, [rsi + 0x58]
call fcn.14000de80
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x20]
xor edi, edi
mov rbx, qword [rbx + 0x50]
test rbx, rbx
jne 0x14000d770
mov rax, qword [rsp + 0x50]
mov r12, qword [r12]
test r12, r12
jne 0x14000d759
nop dword [rax]
add r14, 8
cmp r14, rax
je 0x14000d750
mov r12, qword [r14]
test r12, r12
je 0x14000d8e0
jmp 0x14000d750
mov edi, 2
jmp 0x14000d903
mov edi, eax
mov r13, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.14000cab0
mov eax, edi
add rsp, 0x68
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140034dd0
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 rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [0x1403caaa8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rbx, [rdi + 3]
xor esi, esi
shr rbx, 2
test rax, rax
je 0x140034e33
mov rax, qword [rax + 8]
test rax, rax
je 0x140034e33
mov rcx, qword [rax]
test rcx, rcx
je 0x140034e33
mov qword [rax], rsi
movzx eax, byte [rcx]
cmp rax, rbx
jb 0x140034e2e
mov byte [rcx + rdi], al
mov rax, rcx
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
call fcn.1400e9a90
lea rcx, [rbx*4 + 1]
call fcn.140250dd4
cmp rbx, 0xff
movzx ecx, bl
cmova ecx, esi
mov byte [rax + rdi], cl
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret

Function at 0x140034e60
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x28
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [0x1403caaa8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140034e8d
mov r8, qword [rax + 8]
jmp 0x140034e90
xor r8d, r8d
cmp rdi, 0x3fc
ja 0x140034eb4
test r8, r8
je 0x140034eb4
cmp qword [r8], 0
jne 0x140034eb4
movzx eax, byte [rbx + rdi]
mov byte [rbx], al
mov qword [r8], rbx
add rsp, 0x28
pop rdi
pop rbx
ret
mov rcx, rbx
add rsp, 0x28
pop rdi
pop rbx
jmp fcn.1400e9a90

Function at 0x140035160
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
mov 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 [0x1403ca900], eax
mov rcx, qword [rbx + 8]
test eax, eax
je 0x1400351bd
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
add rsp, 0x30
pop rbx
ret
mov rdx, rcx
xor r8d, r8d
lea rcx, [sym.ethminer.exe_public_virtual:_void___cdecl_Json::CharReader::destructor_void____ptr64]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x30
pop rbx
ret
Function at 0x1400351f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r9d, r9d
mov r14d, r8d
mov rsi, rdx
mov rbp, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 8], rax
mov rdi, rax
lea r15, [0x14035ccc8]
test rax, rax
jne 0x140035262
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
lea edx, [rdi + 1]
mov rcx, rsi
mov ebx, eax
call qword [r8]
test ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], r15
setne byte [rsp + 0x34]
test ebx, ebx
jne 0x14003536e
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x10], rax
mov qword [rsi + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x1400352b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
test ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], r15
setne byte [rsp + 0x34]
test ebx, ebx
jne 0x140035380
xor ecx, ecx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r8, [0x1400353a0]
mov r9, rsi
mov dword [rsp + 0x20], ecx
mov edx, r14d
mov dword [rsp + 0x68], ecx
call fcn.140280a58
mov qword [rbp + 8], rax
test rax, rax
jne 0x140035327
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
test rdi, rdi
je 0x140035304
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140035313
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], r15
setne byte [rsp + 0x34]
test ebx, ebx
jne 0x14003535c
test rdi, rdi
je 0x140035343
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
lea rdx, str.thread
lea rcx, [rsp + 0x30]
call fcn.140034c00
int3
lea rdx, str.thread.entry_event
lea rcx, [rsp + 0x30]
call fcn.140034c00
int3
lea rdx, str.thread.exit_event
lea rcx, [rsp + 0x30]
call fcn.140034c00
int3
Function at 0x140035a80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov eax, ebx
lock xadd dword [rcx + 0x30], eax
test eax, eax
jne 0x140035ad7
call fcn.140035c20
mov dword [rsp + 0x20], ebx
mov byte [rsp + 0x24], bl
lea rax, [0x14035ccc8]
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov dword [rsp + 0x50], ebx
lea rcx, [rsp + 0x58]
call fcn.14022d760
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
lea rax, [rdi + 0x28]
test rdi, rdi
cmove rax, rbx
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov ecx, dword [0x1403caaa8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x1403caaa8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov r9, rsi
lea r8, [rsp + 0x38]
mov rcx, rdi
call fcn.140035e80
test rax, rax
je 0x140035b74
nop word [rax + rax]
lea rax, [rbx + 1]
cmp rbx, 0xffffffffffffffff
cmove rax, rbx
mov rbx, rax
mov r9, rsi
lea r8, [rsp + 0x38]
mov rcx, rdi
call fcn.140035e80
test rax, rax
jne 0x140035b50
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1403caaa8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rdi, [rsp + 0x38]
mov esi, 3
mov rcx, qword [rdi]
test rcx, rcx
je 0x140035b9d
call fcn.1400e9a90
add rdi, 8
sub rsi, 1
jne 0x140035b90
lea rcx, [rsp + 0x58]
call fcn.14022d7ec
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140035c90
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x80
xor eax, eax
lea rbx, [rcx + 0x28]
test rcx, rcx
mov ecx, dword [0x1403caaa8]
cmove rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140035de7
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x140035cd7
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140035cc0
add rsp, 0x80
pop rbx
ret
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140035de7
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x140035db4
cmp ecx, 1
jne 0x140035de7
lea rdx, [rbx + 0x20]
mov dword [rbx + 0x18], 2
lea rcx, [rsp + 0x30]
call fcn.14022d70c
xorps xmm0, xmm0
lea rax, vtable.boost::asio::multiple_exceptions.0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x58], xmm0
call fcn.14022d70c
lea rcx, [rsp + 0x30]
call fcn.14022d7ec
lea rcx, [rsp + 0x20]
call fcn.14022d760
lea r8, [0x1403a9808]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.14022d734
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14022d70c
lea rcx, [rsp + 0x20]
call fcn.14022d7ec
lea rcx, [rsp + 0x68]
call fcn.14022d7ec
lea rax, vtable.std::exception.0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x50], rax
call fcn.14026f024
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x20]
call fcn.14022d704
lea rcx, [rsp + 0x40]
call fcn.14022d7ec
add rsp, 0x80
pop rbx
ret
lea rcx, [rsp + 0x20]
mov dword [rbx + 0x18], 1
call fcn.14022d760
lea rcx, [rsp + 0x20]
call fcn.14022d76c
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x20]
call fcn.14022d704
lea rcx, [rsp + 0x20]
call fcn.14022d7ec
add rsp, 0x80
pop rbx
ret