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

Disassembly:
jmp 0x14007d0c4
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], rbp
mov qword [rax + 0x20], rsi
mov bpl, r8b
mov rsi, rdx
mov rbx, rcx
or dword [rcx + 8], 0xfffffff
and qword [rcx + 0x10], 0
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
mov rax, qword [rsi + 0xa8]
mov qword [rbx + 0xa8], rax
and qword [rbx + 0xb8], 0
mov dword [rbx + 0xc8], 0
and dword [rbx + 0xd4], 0
and qword [rbx + 0xd8], 0
test dword [0x14016b114], 0x80000000
je 0x14007d165
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
test rax, rax
jne 0x14007d16a
call fcn.140009881
mov qword [rbx + 0x18], rax
mov rax, qword [rax + 0x60]
mov qword [rbx], rax
mov rax, qword [rsi + 0x10]
mov qword [rbx + 0x10], rax
test rax, 0xfffffffffffffffd
je 0x14007d189
lock inc dword [rax + 8]
mov rcx, rbx
call fcn.140002423
lea rcx, [rbx + 0x60]
call fcn.1400028b5
test bpl, bpl
je 0x14007d1e0
mov rcx, qword [rbx + 0xa8]
mov rax, qword [rcx + 0xb0]
mov qword [rbx + 0xb0], rax
lock cmpxchg qword [rcx + 0xb0], rbx
je 0x14007d1ef
mov rdx, rax
mov qword [rbx + 0xb0], rax
mov rcx, qword [rbx + 0xa8]
lock cmpxchg qword [rcx + 0xb0], rbx
cmp rax, rdx
jne 0x14007d1bf
jmp 0x14007d1ef
or dword [rbx + 0xc8], 1
and qword [rbx + 0xb0], 0
call fcn.14000106e
mov rdi, rax
cmp qword [rax + 0x40], 0
jne 0x14007d206
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 rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140001947
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 0x1400029eb
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14005f41c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14005f4aa
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x14005f4aa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005f4aa
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14005f491
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14005f48b
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14005f493
add rdx, 0x28
jmp 0x14005f470
xor edx, edx
test rdx, rdx
jne 0x14005f49c
xor al, al
jmp 0x14005f4b0
cmp dword [rdx + 0x24], 0
jge 0x14005f4a6
xor al, al
jmp 0x14005f4b0
mov al, 1
jmp 0x14005f4b0
xor al, al
jmp 0x14005f4b0
add rsp, 0x18
ret

Function at 0x140002af9
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x140050d88
sub r8, rdx
movabs rcx, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140050dc1
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x140050da3
mov eax, ecx
ret

Function at 0x140002cf2
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140119570
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x1401195b1
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1401195a5
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1401195b3
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x140119593
xor eax, eax
ret

Function at 0x140002f09
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400fd43c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x14013c230]
mov rbp, rcx
lea r8, [0x14013c228]
lea rdx, str.GetLocaleInfoEx
mov ecx, VariantTimeToDosDateTime
call fcn.1400fc848
mov rcx, rbp
test rax, rax
je 0x1400fd492
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x140184010]
jmp 0x1400fd4a9
xor edx, edx
call fcn.140004dcc
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140003139
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140075da4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + 0x218]
mov rbx, rcx
mov rcx, rsi
mov rdi, rdx
call fcn.140003f12
mov ecx, 1
mov r8d, ecx
lock xadd dword [rbx + 0x228], r8d
add r8d, ecx
lea eax, [r8 + 1]
test eax, 0xfffffffe
je 0x140075dcd
mov dword [rdi + 0x10], r8d
lea rdx, [rdi + 0x18]
and qword [rdx], 0
mov rcx, rsi
mov rax, qword [rbx + 0x210]
mov qword [rax], rdi
mov qword [rbx + 0x210], rdx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140005588
Function at 0x1400038d2
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 0x140005cd6
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14007e538
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rdi, rcx
xor esi, esi
test dword [0x14016b114], 0x80000000
je 0x14007e575
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
mov rbx, rax
test rax, rax
jne 0x14007e57d
call fcn.140009881
mov rbx, rax
cmp qword [rbx + 0x40], rsi
jne 0x14007e58b
mov rcx, rbx
call fcn.140009953
mov rax, qword [rbx + 0x40]
mov ecx, dword [rax + 0xa0]
cmp rbx, qword [rdi + 0x18]
jne 0x14007e5a8
cmp ecx, dword [rdi + 0xd0]
jne 0x14007e5a8
mov rax, rdi
jmp 0x14007e61e
mov rcx, rbx
call fcn.140002c93
test rax, rax
je 0x14007e5be
cmp qword [rax + 0xa8], rdi
je 0x14007e61e
mov rdx, rdi
mov rcx, rbx
call fcn.140002068
test rax, rax
jne 0x14007e61e
mov ecx, 0xe8
call fcn.140002c52
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14007e5f3
mov r8b, 1
mov rdx, rdi
mov rcx, rax
call fcn.1400016ef
mov rsi, rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov rcx, rbx
call fcn.140002ca7
lea rcx, [rbx + 0xd0]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140007720
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140005ff6
Capabilities:
Terminate process

Disassembly:
jmp 0x14005f608
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140006041
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140078b3c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov bl, dl
mov rdi, rcx
call fcn.14000381e
test bl, bl
je 0x140078b77
or eax, 0xffffffff
lock xadd dword [rdi + 0x27c], eax
dec eax
and eax, 0x9fffffff
cmp eax, 0x80000000
jne 0x140078b9f
mov rcx, rdi
call fcn.1400011cc
jmp 0x140078b9f
mov eax, 1
lock xadd dword [rdi + 0x27c], eax
inc eax
bt eax, 0x1e
jae 0x140078b9f
mov rcx, qword [rdi + 0x260]
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400019ec

Function at 0x140006113
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140076984
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
mov ecx, 1
mov edi, ecx
lock xadd dword [rbx + 0x268], edi
add edi, ecx
cmp edi, ecx
jne 0x1400769e6
mov eax, dword [rbx + 0x274]
test eax, eax
jle 0x1400769e0
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
test rax, rax
je 0x1400769f3
cmp byte [rax + 0x88], 0
jne 0x1400769f3
mov rcx, rax
call fcn.140003a62
cmp rax, rbx
jne 0x1400769f3
mov rcx, rbx
call fcn.140007711
jmp 0x1400769e6
xchg dword [rbx + 0x274], ecx
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.1400040de
lea rdx, [0x140169b50]
lea rcx, [rsp + 0x20]
call fcn.14000763a
int3
Function at 0x140006181
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14007dd64
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, 8
jb 0x14007dd7c
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 0x14007ddc7
mov rcx, qword [r11]
cmp qword [rax + 8], rcx
je 0x14007ddc9
mov rax, qword [rax]
test rax, rax
jne 0x14007ddb9
xor eax, eax
test rax, rax
je 0x14007ddda
test r8, r8
je 0x14007ddda
mov rcx, qword [rax + 0x10]
mov qword [r8], rcx
mov rbx, qword [rsp + 8]
ret

Function at 0x1400061d6
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 0x14000688e
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x140081d0c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
mov rdi, rcx
mov rdx, qword [rax + 0x18]
mov ebx, dword [rdx + 0xb0]
mov ecx, ebx
call fcn.140002f1d
mov rdx, rdi
mov qword [rdi + 0x38], rax
mov ecx, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400038d2

Function at 0x140006d52
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400fd250
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14013c168]
mov ecx, 5
lea r8, [0x14013c160]
lea rdx, str.FlsGetValue
call fcn.1400fc848
mov ecx, ebx
test rax, rax
je 0x1400fd28a
add rsp, 0x20
pop rbx
jmp qword [0x140184010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x140006fe6
Capabilities:
Create thread

Disassembly:
jmp 0x1400e31f4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov edi, edx
mov rsi, rcx
test r8, r8
jne 0x1400e3224
call fcn.1400053e4
mov dword [rax], 0x16
call fcn.140007b26
xor eax, eax
jmp 0x1400e32a4
mov rdx, r9
mov rcx, r8
call fcn.1400e2fa8
mov rbx, rax
test rax, rax
je 0x1400e3274
lea rax, [rsp + 0x50]
mov rdx, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x1400e2d34]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x1400e32b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140006e6f
xor edi, edi
test rbx, rbx
je 0x1400e32a1
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400e328a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400e3299
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140008bf7
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400e32c4
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
xor ebx, ebx
jmp 0x1400e3276

Function at 0x14000730b
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400fd2a8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14013c178]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x14013c170]
call fcn.1400fc848
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400fd2e8
call qword [0x140184010]
jmp 0x1400fd2ee
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000739c
Capabilities:
Read file on windows

Disassembly:
jmp 0x140114cf0
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15d, r8d
mov r13, rdx
movsxd rsi, ecx
cmp esi, 0xfffffffe
jne 0x140114d2c
call fcn.140008553
and dword [rax], 0
call fcn.1400053e4
mov dword [rax], 9
jmp 0x140114df1
test ecx, ecx
js 0x140114dd9
cmp esi, dword [0x14017286c]
jae 0x140114dd9
mov r14, rsi
mov r12, rsi
sar r12, 6
lea rax, [0x1401723a0]
and r14d, 0x3f
shl r14, 6
mov rax, qword [rax + r12*8]
movzx ecx, byte [rax + r14 + 0x38]
and ecx, 1
je 0x140114dd9
xor eax, eax
cmp r8d, 0x7fffffff
setbe al
test eax, eax
jne 0x140114d8d
call fcn.140008553
and dword [rax], 0
call fcn.1400053e4
mov dword [rax], 0x16
jmp 0x140114dec
mov ecx, esi
call fcn.1400068c0
or ebx, 0xffffffff
lea rax, [0x1401723a0]
mov rax, qword [rax + r12*8]
test byte [rax + r14 + 0x38], 1
jne 0x140114dbf
call fcn.1400053e4
mov dword [rax], 9
call fcn.140008553
and dword [rax], 0
jmp 0x140114dce
mov r8d, r15d
mov rdx, r13
mov ecx, esi
call fcn.14000378d
mov ebx, eax
mov ecx, esi
call fcn.140001eab
mov eax, ebx
jmp 0x140114df4
call fcn.140008553
and dword [rax], 0
call fcn.1400053e4
mov dword [rax], 9
call fcn.140007b26
or eax, 0xffffffff
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x1400073ab
Capabilities:
Print debug messages

Disassembly:
jmp 0x140060b1c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.1400053fd
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x1401306b0]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.140001f5a
test eax, eax
jne 0x140060bb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140060bb3
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140060bac
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x14016fac9], 1
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400075f4
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400fd19c
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x14013c148]
mov ecx, 3
lea r8, [0x14013c140]
lea rdx, str.FlsAlloc
call fcn.1400fc848
test rax, rax
je 0x1400fd1d8
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140184010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140007720
Capabilities:
Hash data using fnv

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 0x14000772a
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140062bb4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov qword [rcx + 8], 0
lea rsi, [rcx + 0x18]
and qword [rsi], 0
mov edi, edx
mov dword [rcx + 0x10], 1
mov rbx, rcx
mov dword [rcx + 0x20], 0
mov dword [rcx + 0x24], 0
test dword [0x14016b114], 0x80000000
je 0x140062c09
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
test rax, rax
jne 0x140062c0e
call fcn.140009881
mov qword [rbx], rax
cmp edi, 0xffffffff
je 0x140062c6d
call fcn.140006488
cmp eax, 3
jl 0x140062c3e
xor r9d, r9d
lea rdx, [0x14000588a]
mov r8, rbx
mov ecx, edi
call fcn.14000272a
mov qword [rsi], rax
test rax, rax
jne 0x140062c6d
jmp 0x140062c82
call fcn.140004273
mov dword [rsp + 0x30], 0x20
lea r8, [0x140004c41]
and dword [rsp + 0x28], 0
mov rdx, rax
mov r9, rbx
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.1400087c4
test eax, eax
je 0x140062c9e
lea r11, [rsp + 0x70]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
lea rcx, [rsp + 0x40]
call fcn.140004a48
lea rdx, [0x1401695c0]
lea rcx, [rsp + 0x40]
call fcn.14000763a
int3
lea rcx, [rsp + 0x58]
call fcn.140004a48
lea rdx, [0x1401695c0]
lea rcx, [rsp + 0x58]
call fcn.14000763a
int3

Function at 0x140007770
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140092ef4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rbx, [rcx + 0xe0]
mov rdi, rcx
mov rcx, rbx
call fcn.140004dbd
call fcn.140008413
mov dword [rdi + 0xa0], eax
mov rcx, rbx
xor eax, eax
mov dword [rdi], eax
mov dword [rdi + 4], eax
mov dword [rdi + 0xb0], eax
mov dword [rdi + 0xb4], eax
mov dword [rdi + 0xcc], eax
mov byte [rdi + 0xc8], al
mov dword [rdi + 0xbc], eax
mov dword [rdi + 0x90], eax
mov qword [rdi + 0xa8], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140005817
Function at 0x140007c98
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140069684
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
test dword [0x14016b114], 0x80000000
je 0x1400696ad
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
mov rdi, rax
test rax, rax
jne 0x1400696b5
call fcn.140009881
mov rdi, rax
mov rax, qword [rdi]
mov rbx, qword [rax + 0x30]
mov rcx, rbx
call fcn.140004ae3
mov rcx, rdi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax

Function at 0x140007e9b
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400ef5dc
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400ef330

Function at 0x140007fe0
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140067648
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14006765c
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 0x140008148
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400765e8
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
test rax, rax
je 0x140076625
cmp byte [rax + 0x88], 0
jne 0x140076625
mov rcx, rax
call fcn.140003a62
cmp rax, rdi
jne 0x140076625
xor sil, sil
jmp 0x140076631
mov esi, 1
lock add dword [rdi + 0x270], esi
xor edx, edx
mov rcx, rdi
call fcn.14000209a
mov rax, qword [rdi]
mov rbx, qword [rax + 0xa8]
mov rcx, rbx
call fcn.140004ae3
mov rcx, rdi
call rbx
mov eax, dword [rdi + 0x27c]
mov ecx, eax
mov r8d, eax
btr ecx, 0x1e
bts ecx, 0x1d
lock cmpxchg dword [rdi + 0x27c], ecx
cmp eax, r8d
jne 0x140076658
and eax, 0x1fffffff
jle 0x14007668b
mov rcx, qword [rdi + 0x260]
xor r8d, r8d
mov edx, eax
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xa0]
mov rcx, rbx
call fcn.140004ae3
mov rcx, rdi
call rbx
test sil, sil
je 0x1400766bf
or eax, 0xffffffff
lock xadd dword [rdi + 0x270], eax
cmp eax, 1
jne 0x1400766bf
mov rcx, rdi
call fcn.140003387
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400082d8
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140073d58
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor esi, esi
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
mov rdi, rax
test rax, rax
je 0x140073da9
cmp qword [rax + 0x38], rbx
jne 0x140073da9
cmp byte [rax + 0x88], sil
jne 0x140073da9
mov rcx, rax
call fcn.140003021
mov rax, qword [rdi + 0xf8]
mov rcx, rdi
mov rsi, qword [rax + 0x78]
call fcn.140005083
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140008378
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140072988
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
mov sil, dl
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
mov rdi, rax
test rax, rax
je 0x1400729d0
cmp qword [rax + 0x38], rbx
je 0x140072a04
cmp byte [rax + 0x88], 0
jne 0x1400729c8
lea rcx, [rax - 0x10]
call fcn.14000734c
mov rcx, rdi
call fcn.140005533
mov rcx, rbx
call fcn.140006cbc
mov dl, sil
mov rcx, rbx
call fcn.140004cf5
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call fcn.1400055dd
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.14000435e
lea rdx, [0x140169bb0]
lea rcx, [rsp + 0x20]
call fcn.14000763a
int3

Function at 0x140008517
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14007c0e4
mov rdx, rcx
mov ecx, dword [0x1401710dc]
jmp fcn.1400038d2

Function at 0x1400085d0
Capabilities:
Print debug messages

Disassembly:
jmp 0x140107714
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
call fcn.140005943
cmp eax, 2
sete dil
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140107761
test rbx, rbx
je 0x140107755
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test dil, dil
je 0x140107798
mov eax, 4
jmp 0x1401077a7
test dil, dil
je 0x140107798
call fcn.140001c6c
test al, al
je 0x140107798
call fcn.140008297
test al, al
jne 0x14010778e
bts esi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, esi
call fcn.1400069a1
jmp 0x1401077a7
call fcn.140003774
mov rcx, rax
jmp 0x14010777e
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000865c
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14009089c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx]
mov rsi, rcx
mov rbp, r8
mov r14, rdx
mov rdi, qword [rax + 0x28]
mov rcx, rdi
call fcn.140004ae3
mov r8b, 1
lea rdx, [rsi + 0x38]
mov rcx, rsi
call rdi
mov r8, rbp
mov rdx, r14
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp 0x140006a1e

Function at 0x1400087ab
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14007879c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + 0x218]
mov rdi, rcx
mov rcx, rsi
mov rbx, rdx
call fcn.140003f12
mov eax, dword [rdi + 0x228]
cmp dword [rbx], eax
je 0x1400787e4
mov ecx, 1
mov eax, ecx
lock xadd dword [rdi + 0x228], eax
add eax, ecx
inc eax
test eax, 0xfffffffe
je 0x1400787cf
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140005588