joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14006b8f0]
mov dword [rax], 1
mov rax, qword [0x14006b900]
mov dword [rax], 1
mov rax, qword [0x14006b910]
mov dword [rax], 1
mov rax, qword [0x14006b850]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14000199f
Capabilities:
Delete file

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.remove
test eax, eax
setne al
test al, al
je 0x1400019d7
mov eax, 0
jmp 0x1400019dc
mov eax, 1
add rsp, 0x30
pop rbp
ret
Function at 0x140002d91
Capabilities:
Create process on windows

Disassembly:
push rbp
push rdi
sub rsp, 0xa8
lea rbp, [rsp + 0xa0]
mov qword [rbp + 0x20], rcx
mov rax, qword [rbp + 0x20]
lea r8, [0x14006899e]
mov edx, 0
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::insert_unsigned_long_long__char_const_
lea rdx, [rbp - 0x70]
mov eax, 0
mov ecx, 0xe
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x70], 0x70
mov dword [rbp - 0x6c], 0x40
mov qword [rbp - 0x68], 0
mov qword [rbp - 0x60], 0
lea rax, str.cmd.exe
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0
mov dword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
lea rax, [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteExA]
call rax
test eax, eax
sete al
test al, al
je 0x140002e42
mov eax, 0xffffffff
jmp 0x140002e7e
mov rax, qword [rbp - 8]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x74]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp - 0x74]
add rsp, 0xa8
pop rdi
pop rbp
ret

Function at 0x140003b90
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140004862
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140087168]
test eax, eax
je 0x1400048fa
lea rax, [0x140087140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140087170]
mov qword [rbp - 8], rax
jmp 0x1400048de
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400048d2
cmp qword [rbp - 0x10], 0
je 0x1400048d2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140004898
lea rax, [0x140087140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400048fb
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140004a00
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140004a28
mov eax, 0
jmp 0x140004a76
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140004a51
mov eax, 0
jmp 0x140004a76
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140004a71
mov eax, 0
jmp 0x140004a76
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140004a7c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140004afa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140004af1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140004af1
mov rax, qword [rbp - 8]
jmp 0x140004b0f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140004ac4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14000f0c0
Capabilities:
Encrypt data using dpapi

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::data___const
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::size___const
mov dword [rbp - 0x20], eax
lea rax, [rbp - 0x20]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
call rax
test eax, eax
setne al
mov byte [rbp - 1], al
cmp byte [rbp - 1], 0
je 0x14000f164
mov eax, dword [rbp - 0x30]
mov ecx, eax
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp + 0x20]
mov r8, rcx
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::assign_char_const__unsigned_long_long_
mov rax, qword [rbp - 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
movzx eax, byte [rbp - 1]
add rsp, 0x70
pop rbp
ret
Function at 0x14003139c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140031414
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140031414
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140031414
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140031408
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140031426
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400313f6
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140031416

Function at 0x140032f60
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140032faa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140032faa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140032faa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140032faa
cmp dword [rcx + 0x84], 0xe
jbe 0x140032faa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140032fac
xor al, al
add rsp, 0x28
ret

Function at 0x14003bcf4
Capabilities:
Parse pe header

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

Function at 0x140045c10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140045c38
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140045c38
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x180ffa1f4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x180ffa1fe
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x180ffa227
pop rbp
sub rbp, 0x33
sub rbp, 0xffa1f4
cmp edx, 1
je 0x180ffa26a
ldmxcsr dword [rsp]
add rsp, 8
popfq
pop r15
pop r14
pop r13
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rbx
pop rdx
pop rcx
pop rax
xor rax, rax
ret
sub rsp, 0x20
jmp 0x180ffa27a
mov rax, 0xffa1f4
add rax, rbp
add rax, 0xb8
mov rcx, 0x60b
mov rdx, 0x3708570c
xor byte [rax], dl
inc rax
dec rcx
jne 0x180ffa299
jmp 0x180ffa2b0
test ebp, r12d
xchg dword [rbp + 0xc0c0c30], eax
invalid
Function at 0x140004670
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x1400046a0
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x14000469f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x1400046a5
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x14000469f
mov eax, 0
jmp 0x14000469f

Function at 0x140004d20
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140004cd0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x14000eef0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140569f90]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000ef5f
mov rcx, r9
call fcn.14000edc0
test eax, eax
je 0x14000ef5f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14000ef5d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14000ef54
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000ef5f
add rdx, 0x28
cmp rdx, r9
jne 0x14000ef40
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x18000143c
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x1801659a8]
test rcx, rcx
je 0x18000146b
mov rax, qword [rcx]
movabs r10, 0xfd41b67356dad870
mov rax, qword [rax + 8]
call qword [case.0x180004bac.0]
jmp 0x180001487
lea rdx, [0x1801659a8]
mov ecx, 1
call qword [sym.imp.ole32.dll_CoGetMalloc]
mov ebx, eax
test eax, eax
js 0x18000158f
mov rcx, qword [0x1801659a8]
mov rax, qword [rcx]
movabs r10, 0x8811273e76d7e870
mov rax, qword [rax + 0x18]
mov edx, 0x10
call qword [case.0x180004bac.0]
mov qword [0x1801659a0], rax
mov rdi, rax
test rax, rax
jne 0x1800014e8
mov rcx, qword [0x1801659a8]
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x180004bac.0]
and qword [0x1801659a8], rdi
mov ebx, 0x8007000e
jmp 0x18000158f
lea rax, vtable.llvm::sys::ThreadLocalImpl.0
mov qword [rdi], rax
xor eax, eax
mov qword [rdi + 8], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov qword [0x1801659a0], rdi
xor ebx, ebx
mov dword [rdi + 8], eax
lea rax, vtable.llvm::sys::ThreadLocal_struct_IMalloc_.0
mov qword [rdi], rax
mov rdx, qword [0x1801659a8]
mov ecx, dword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x1801659a8]
mov rax, qword [rcx]
movabs r10, 0xfd41b67356dad870
mov rax, qword [rax + 8]
call qword [case.0x180004bac.0]
or edi, 0xffffffff
cmp dword [0x18015ed50], edi
jne 0x18000156f
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x18015ed50], eax
cmp eax, edi
jne 0x18000156b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x18015ed54], eax
jmp 0x180001575
xor eax, eax
jmp 0x180001563
mov eax, dword [0x18015ed54]
test eax, eax
je 0x18000158a
mov ebx, 0x80004005
call fcn.180004870
call fcn.180004810
jmp 0x18000158f
call fcn.180004870
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800015a4
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x18015ebc0]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp edx, 1
jne 0x180001659
call fcn.1800013d4
test byte [0x180164600], 1
je 0x1800015fd
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, [0x18012eac0]
lea rcx, [0x18015ec30]
call fcn.18000137c
call fcn.18000143c
mov ebx, eax
test byte [0x180164600], 1
je 0x180001645
mov dword [rbp - 0x40], eax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], 4
and dword [rbp - 0x14], 0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea rdx, [0x18012ab20]
lea rcx, [0x18015ec30]
call fcn.18000137c
test ebx, ebx
jns 0x18000178c
call fcn.18000140c
mov eax, ebx
jmp 0x180001791
test edx, edx
jne 0x18000178c
test byte [0x180164600], 1
je 0x18000168a
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9d, [rdx + 1]
lea rdx, [0x18012aa80]
lea rcx, [0x18015ec30]
call fcn.18000137c
mov rax, qword [0x1801659a0]
mov rdx, qword [0x1801659a8]
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x1801659a8]
mov rax, qword [rcx]
movabs r10, 0xfd41b67356dad870
mov rax, qword [rax + 8]
call qword [case.0x180004bac.0]
mov ecx, dword [0x18015ed50]
or ebx, 0xffffffff
cmp ecx, ebx
je 0x1800016d2
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x18015ed50], ebx
mov dword [0x18015ed54], 0x15
call fcn.18002fd20
mov rbx, rax
mov qword [rbp - 0x40], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
jmp 0x18000172a
mov rax, qword [rsi + 0x10]
mov qword [0x1801659b0], rax
and qword [rsi + 0x10], 0
movabs r10, 0xce709ee7125b9070
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
call qword [case.0x180004bac.0]
and qword [rsi], 0
and qword [rsi + 8], 0
mov rsi, qword [0x1801659b0]
test rsi, rsi
jne 0x1800016fa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.180004870
call fcn.180004810
test byte [0x180164600], 1
je 0x180001787
and dword [rbp - 0x40], esi
lea rax, [rbp - 0x40]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], 4
and dword [rbp - 0x14], esi
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x20], rcx
lea r9d, [rsi + 2]
lea rdx, [0x18012ab00]
lea rcx, [0x18015ec30]
call fcn.18000137c
call fcn.18000140c
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18010c4d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x1800017b8
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1801659a0]
mov rbx, rcx
test rax, rax
jne 0x1800017d6
mov r8, qword [0x1801659a8]
jmp 0x1800017e2
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8, rax
mov rcx, qword [r8]
mov rax, qword [rcx + 0x18]
movabs r10, 0x8811273e76d7e870
mov rdx, rbx
mov rcx, r8
call qword [case.0x180004bac.0]
test rax, rax
je 0x18000180a
add rsp, 0x40
pop rbx
ret
lea rcx, [rsp + 0x20]
call fcn.1800011e4
lea rdx, [0x18015caa0]
lea rcx, [rsp + 0x20]
call fcn.180112e50
int3
Function at 0x18000182c
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1801659a0]
mov rbx, rcx
test rax, rax
jne 0x18000184a
mov r8, qword [0x1801659a8]
jmp 0x180001856
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8, rax
mov rcx, qword [r8]
mov rax, qword [rcx + 0x28]
movabs r10, 0xcb3d1ea576d29870
mov rdx, rbx
mov rcx, r8
add rsp, 0x20
pop rbx
jmp qword [case.0x180004bac.0]
Function at 0x180001e54
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd rax, dword [rcx + 0x3c]
mov esi, edx
xor edx, edx
mov r8d, dword [rax + rcx + 0x88]
mov r9, rcx
add r8, rcx
mov r10d, dword [r8 + 0x20]
mov r11d, dword [r8 + 0x1c]
mov ebx, dword [r8 + 0x24]
mov edi, dword [r8 + 0x18]
add r10, rcx
add r11, rcx
add rbx, rcx
test edi, edi
je 0x180001ec5
mov ecx, dword [r10]
add rcx, r9
xor r8d, r8d
jmp 0x180001eb0
movzx eax, al
inc rcx
or eax, 0x60
add r8d, eax
add r8d, r8d
mov al, byte [rcx]
test al, al
jne 0x180001ea1
cmp r8d, esi
je 0x180001ed7
inc edx
add r10, 4
cmp edx, edi
jb 0x180001e96
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
movzx ecx, word [rbx + rdx*2]
mov eax, dword [r11 + rcx*4]
add rax, r9
jmp 0x180001ec7

Function at 0x180002f10
Capabilities:
Get thread local storage value

Disassembly:
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, 0x30
mov rax, qword [0x1801659a0]
mov rsi, r9
mov ebp, dword [r8 + 8]
mov edi, ecx
mov r14, qword [r8]
test rax, rax
jne 0x180002f4a
mov rax, qword [0x1801659a8]
jmp 0x180002f53
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
call fcn.180004388
mov rbx, rax
test rax, rax
je 0x180002fbf
mov rcx, qword [rax]
mov rax, qword [rcx + 8]
movabs r10, 0xfd41b67356dad870
mov rcx, rbx
call qword [case.0x180004bac.0]
lea r9, [rsp + 0x20]
mov qword [rsp + 0x20], r14
mov edx, edi
mov qword [rsp + 0x28], rbp
mov rcx, rbx
call fcn.180002da0
mov edi, eax
test eax, eax
jns 0x180002fb8
mov rax, qword [rbx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
mov rcx, rbx
call qword [case.0x180004bac.0]
jmp 0x180002fc4
mov qword [rsi], rbx
xor eax, eax
jmp 0x180002fc6
mov edi, 0x8007000e
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x180003268
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x18015ebc0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r15, r8
mov r14, rdx
test cl, 1
je 0x1800032ea
mov rax, qword [rdx]
movabs r10, 0xdbad1ea7345b3870
mov rcx, rdx
mov rax, qword [rax + 0x18]
call qword [case.0x180004bac.0]
lea r8, [rax + 4]
mov edx, dword [rax + 0x18]
sub edx, 0x14
lea rcx, [rax + 0x14]
call fcn.18003cf50
mov qword [r15], r14
mov rax, qword [r14]
movabs r10, 0xfd41b67356dad870
mov rcx, r14
mov rax, qword [rax + 8]
call qword [case.0x180004bac.0]
jmp 0x1800033fa
and qword [rsp + 0x30], 0
mov rax, qword [0x1801659a0]
test rax, rax
jne 0x180003305
mov rax, qword [0x1801659a8]
jmp 0x18000330e
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1800060fc
test eax, eax
js 0x180003441
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rbx]
mov rax, qword [r14]
movabs r10, 0x8634164e745d9870
mov rcx, r14
mov rax, qword [rax + 0x20]
call qword [case.0x180004bac.0]
mov rdi, rax
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
movabs r10, 0xdbad1ea7345b3870
mov rcx, r14
call qword [case.0x180004bac.0]
mov rdx, rax
movabs r10, 0x828c27f1385d3a70
lea r9, [rsp + 0x38]
mov r8d, edi
mov rcx, rbx
mov rax, qword [rsi + 0x20]
call qword [case.0x180004bac.0]
test eax, eax
js 0x18000345f
mov rax, qword [rbx]
movabs r10, 0xe385369156db1170
mov rcx, rbx
mov rax, qword [rax + 0x70]
call qword [case.0x180004bac.0]
lea rcx, [rax + 0x14]
mov edx, dword [rax + 0x18]
sub edx, 0x14
lea r8, [rax + 4]
call fcn.18003cf50
mov rax, qword [rbx]
movabs r10, 0xdee01e7974d59970
mov r8, r15
lea rdx, [0x180130e98]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x180004bac.0]
test eax, eax
js 0x180003423
mov rax, qword [rbx]
movabs r10, 0xbaac1f10365eb170
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x180004bac.0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18010c4d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.180002204
lea rdx, [0x18015cae0]
lea rcx, [rsp + 0x40]
call fcn.180112e50
int3
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.180002204
lea rdx, [0x18015cae0]
lea rcx, [rsp + 0x40]
call fcn.180112e50
int3
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.180002204
lea rdx, [0x18015cae0]
lea rcx, [rsp + 0x40]
call fcn.180112e50
int3