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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000251d
xor eax, eax
jmp 0x14000267a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140002548
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140002548
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14000267a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000266d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000258b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400025b6
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002672
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002625
sub eax, 1
je 0x140002625
cmp eax, 2
jne 0x14000266d
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002672
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002653
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000266d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002672
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002ea0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400028c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002993
cmp byte [rcx + 0x71], 0
je 0x140002993
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000298f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002954
sub eax, 1
je 0x140002958
cmp eax, 2
jne 0x14000298f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002986
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000298f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000293c
xor al, al
jmp 0x14000293c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x60
pop rbx
ret

Function at 0x14000382c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003876
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003876
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003876
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003876
cmp dword [rcx + 0x84], 0xe
jbe 0x140003876
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003878
xor al, al
add rsp, 0x28
ret
Function at 0x140011b90
Capabilities:
Allocate or change rwx memory

Disassembly:
cmp qword [rcx + 0x50], 0
lea r10, [rcx + 0x50]
mov rdx, rcx
jne 0x140011c04
mov eax, dword [rcx + 0x38]
xor r8d, r8d
cmp eax, 0xffffffff
je 0x140011bb6
test eax, eax
js 0x140011bb6
lea ecx, [r8 + 1]
cmp eax, 0xb
jle 0x140011bb9
mov ecx, r8d
sub ecx, 1
je 0x140011be5
sub ecx, 1
je 0x140011bdd
sub ecx, 1
je 0x140011bd5
cmp ecx, 1
jne 0x140011beb
mov r8d, 0x40000
jmp 0x140011beb
mov r8d, 0x400000
jmp 0x140011beb
mov r8d, 0x100000
jmp 0x140011beb
mov r8d, 0x200000
mov rdx, qword [rdx + 0x118]
mov r9d, 5
mov rcx, r10
mov rdx, qword [rdx + 0x10]
jmp 0x1400f2f00
ret
Function at 0x140064e30
Capabilities:
Log keystrokes
Manipulate console buffer

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14014b1f8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov ecx, dword [rcx + 0x58]
btr ecx, 0xc
mov eax, ecx
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], ecx
jne 0x140064e7b
test cl, 1
jne 0x140064e7b
test cl, 4
je 0x140064e7b
and eax, 0xfffffffb
mov dword [rbx + 0x58], eax
test al, 8
je 0x140064e7b
mov rax, qword [rbx + 8]
dec dword [rax + 8]
mov eax, dword [rbx + 0x58]
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0x88], rdi
bt eax, 0x10
jae 0x140065024
bt eax, 0x19
jae 0x140064ee1
mov rcx, qword [rbx + 0x110]
lea r9, [rsp + 0x40]
xor eax, eax
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x70], eax
xorps xmm0, xmm0
mov eax, 0x10
movups xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x60], ax
lea r8d, [rax - 0xf]
call qword [sym.imp.KERNEL32.DLL_WriteConsoleInputW]
test eax, eax
jne 0x140065024
call qword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x140065026
bt eax, 0x15
jb 0x140065024
mov rcx, qword [0x140151988]
mov edx, 0xffffffff
xor edi, edi
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x14006504c
mov eax, 2
xchg dword [0x140151968], eax
cmp eax, 1
je 0x140064f37
mov rcx, qword [0x140151988]
lea edx, [rdi + 1]
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_ReleaseSemaphore]
test eax, eax
je 0x14006504c
jmp 0x14006501d
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0xa8], rbp
lea rcx, str.conout_
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov qword [rsp + 0x80], r14
lea r8d, [r9 + 3]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.DLL_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140064f9a
lea rdx, [0x140151970]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetConsoleScreenBufferInfo]
test eax, eax
je 0x140064f9a
lock or dword [0x14015196c], 1
mov esi, 1
mov dword [rsp + 0x50], 0xd0001
mov r14d, 0xd
mov word [rsp + 0x48], si
mov ecx, r14d
mov dword [rsp + 0x4c], esi
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov rcx, qword [rbx + 0x110]
lea r9, [rsp + 0x44]
mov r8d, esi
mov word [rsp + 0x54], ax
lea rdx, [rsp + 0x48]
mov word [rsp + 0x56], r14w
mov dword [rsp + 0x58], edi
call qword [sym.imp.KERNEL32.DLL_WriteConsoleInputW]
mov r14, qword [rsp + 0x80]
test eax, eax
jne 0x140064ffe
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
cmp rbp, 0xffffffffffffffff
je 0x14006500d
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rbp, qword [rsp + 0xa8]
test edi, edi
je 0x14006501d
mov eax, edi
jmp 0x140065026
or dword [rbx + 0x58], 0x200000
xor eax, eax
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14008c170
add rsp, 0x90
pop rbx
ret
call fcn.1400b541c
int3
Function at 0x140067760
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x40
test dword [rcx + 0x58], 0x8000
mov rbx, rdx
jne 0x14006777d
mov eax, 0xfffff031
add rsp, 0x40
pop rbx
ret
mov eax, dword [rcx + 0x10]
cmp eax, 7
je 0x140067828
cmp eax, 0xc
je 0x1400677d8
cmp eax, 0xe
je 0x14006779e
mov eax, 0xfffff02a
add rsp, 0x40
pop rbx
ret
cmp dword [rcx + 0x100], 0
ja 0x140067828
lea r9, [rsp + 0x50]
mov r8d, 1
call fcn.140065ab0
test eax, eax
je 0x1400677d0
mov ecx, dword [rsp + 0x50]
add rsp, 0x40
pop rbx
jmp fcn.14006ef30
mov eax, dword [rbx]
add rsp, 0x40
pop rbx
ret
cmp dword [rcx + 0x100], 0
ja 0x140067828
mov rcx, qword [rcx + 0x110]
lea r9, [rsp + 0x50]
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
lea r8d, [rax + 1]
call qword [0x140114678]
cmp eax, 0xffffffff
jne 0x14006781e
call qword [0x140114638]
mov ecx, eax
add rsp, 0x40
pop rbx
jmp fcn.14006ef30
mov eax, dword [rsp + 0x50]
add rsp, 0x40
pop rbx
ret
mov eax, 0xfffff008
add rsp, 0x40
pop rbx
ret
Function at 0x140069890
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
xorps xmm0, xmm0
lea rbx, [rdx + 0x80]
movups xmmword [rbx + 0x40], xmm0
lea r14, [rbx + 0x40]
xor ebp, ebp
movups xmmword [r14 + 0x10], xmm0
or dword [rdx + 0x58], 0x40000
lea rax, [0x140151987]
movups xmmword [r14], xmm0
mov rdi, rdx
mov rsi, rcx
movups xmmword [r14 + 0x10], xmm0
test dword [rdx + 0x58], 0x80000
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], ebp
je 0x1400698f6
mov rax, qword [rbx + 0x70]
or rax, 1
mov qword [rbx + 0x58], rax
mov rcx, qword [rdi + 0x110]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rbp
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x40]
mov r8d, 1
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], ebp
call qword [0x140114698]
test eax, eax
jne 0x140069981
mov eax, dword [rdi + 0x58]
bt eax, 0x11
jae 0x1400699e9
bts eax, 0x10
mov dword [rdi + 0x58], eax
mov eax, dword [rsp + 0x78]
mov qword [rbx + 0x48], rax
inc dword [rdi + 0x78]
mov qword [rbx + 0x68], rbp
mov rax, qword [rsi + 0x48]
test rax, rax
je 0x140069974
mov rax, qword [rax + 0x68]
mov qword [rbx + 0x68], rax
mov rax, qword [rsi + 0x48]
mov qword [rax + 0x68], rbx
mov qword [rsi + 0x48], rbx
jmp 0x140069a5f
mov qword [rbx + 0x68], rbx
mov qword [rsi + 0x48], rbx
jmp 0x140069a5f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
je 0x1400699e9
call qword [0x140114638]
test eax, eax
jg 0x1400699a0
call qword [0x140114638]
jmp 0x1400699ae
call qword [0x140114638]
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [r14], rax
mov qword [rbx + 0x68], rbp
mov rax, qword [rsi + 0x48]
test rax, rax
je 0x1400699dc
mov rax, qword [rax + 0x68]
mov qword [rbx + 0x68], rax
mov rax, qword [rsi + 0x48]
mov qword [rax + 0x68], rbx
mov qword [rsi + 0x48], rbx
inc dword [rdi + 0x78]
jmp 0x140069a5f
mov qword [rbx + 0x68], rbx
mov qword [rsi + 0x48], rbx
inc dword [rdi + 0x78]
jmp 0x140069a5f
or dword [rdi + 0x58], 0x10000
inc dword [rdi + 0x78]
test dword [rdi + 0x58], 0x80000
je 0x140069a5f
cmp qword [rbx + 0x78], 0xffffffffffffffff
lea rcx, [rbx + 0x78]
jne 0x140069a5f
mov rdx, qword [rbx + 0x70]
lea r8, [0x1400695a0]
mov dword [rsp + 0x28], 4
mov r9, rbx
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.DLL_RegisterWaitForSingleObject]
test eax, eax
jne 0x140069a5f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jg 0x140069a41
call qword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x140069a4f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
movzx eax, ax
or eax, 0x80070000
cdqe
mov rdx, rbx
mov rcx, rsi
mov qword [r14], rax
call fcn.140069020
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14006d850
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
test dword [rdx + 0x58], 0x1000000
lea rdi, [rdx + 0x80]
mov rbx, rdx
mov rsi, rcx
je 0x14006d89b
mov qword [rdx + 0x238], 0
lea rcx, [0x14006d610]
mov rdx, rdi
mov r8d, 0x10
call qword [sym.imp.KERNEL32.DLL_QueueUserWorkItem]
jmp 0x14006d94e
lea rcx, [rdi + 0x40]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
test dword [rdx + 0x58], 0x80000
je 0x14006d8be
mov rax, qword [rdi + 0x70]
or rax, 1
mov qword [rdi + 0x58], rax
mov qword [rsp + 0x20], rcx
lea rdx, [0x140151c25]
mov rcx, qword [rbx + 0x118]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x14006d8ee
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
jne 0x14006d952
test dword [rbx + 0x58], 0x80000
je 0x14006d9a9
cmp qword [rdi + 0x70], 0
jne 0x14006d91f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateEventA]
mov qword [rdi + 0x70], rax
test rax, rax
je 0x14006d9e2
cmp qword [rdi + 0x78], 0xffffffffffffffff
lea rcx, [rdi + 0x78]
jne 0x14006d9a9
mov rdx, qword [rdi + 0x58]
lea r8, [0x1400695a0]
mov dword [rsp + 0x28], 4
mov r9, rdi
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.DLL_RegisterWaitForSingleObject]
test eax, eax
jne 0x14006d9a9
call qword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jg 0x14006d964
call qword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x14006d972
call qword [sym.imp.KERNEL32.DLL_GetLastError]
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x68], 0
mov rax, qword [rsi + 0x48]
test rax, rax
je 0x14006d99f
mov rax, qword [rax + 0x68]
mov qword [rdi + 0x68], rax
mov rax, qword [rsi + 0x48]
mov qword [rax + 0x68], rdi
mov qword [rsi + 0x48], rdi
jmp 0x14006d9c8
mov qword [rdi + 0x68], rdi
mov qword [rsi + 0x48], rdi
jmp 0x14006d9c8
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x14006d9c8
xor r9d, r9d
lea rdx, [0x14006e3c0]
lea r8d, [r9 + 0x32]
call fcn.14006a790
or dword [rbx + 0x58], 0x10000
inc dword [rbx + 0x78]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.14006ee80
int3
Function at 0x1400701e0
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
push rsi
sub rsp, 0x38
lea rcx, str.UV_THREADPOOL_SIZE
mov dword [0x140151d08], 4
call fcn.1400b2ad0
test rax, rax
je 0x14007020c
mov rcx, rax
call fcn.1400b5aa4
jmp 0x140070212
mov eax, dword [0x140151d08]
test eax, eax
jne 0x14007021d
mov eax, 1
jmp 0x140070227
mov ecx, 0x400
cmp eax, ecx
cmova eax, ecx
xor esi, esi
mov dword [0x140151d08], eax
lea rbx, [0x140151d78]
mov qword [0x140151da0], rbx
cmp eax, 4
jbe 0x140070275
mov ecx, eax
shl rcx, 3
test rcx, rcx
je 0x140070255
call qword [0x14014c098]
jmp 0x140070258
mov rax, rsi
mov qword [0x140151da0], rax
test rax, rax
jne 0x140070275
mov dword [0x140151d08], 4
mov qword [0x140151da0], rbx
mov qword [rsp + 0x58], rbp
lea rcx, [0x140151d10]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x30], r15
call qword [sym.imp.KERNEL32.DLL_InitializeConditionVariable]
lea rcx, [0x140151d50]
call qword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
lea rax, [0x140151df0]
xor r9d, r9d
mov qword [0x140151df0], rax
xor edx, edx
mov qword [0x140151df8], rax
xor ecx, ecx
lea rax, [0x140151de0]
mov r8d, 0x7fffffff
mov qword [0x140151de0], rax
mov qword [0x140151de8], rax
lea rax, [0x140151db0]
mov qword [0x140151db0], rax
mov qword [0x140151db8], rax
call qword [sym.imp.KERNEL32.DLL_CreateSemaphoreA]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x140070314
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.14006ef30
test eax, eax
jne 0x140070418
mov eax, dword [0x140151d08]
mov ebp, esi
test eax, eax
je 0x1400703ee
lea r15, [0x14006ff50]
nop dword [rax + rax]
mov rax, qword [0x140151da0]
mov ecx, ebp
lea rbx, [rax + rcx*8]
mov ecx, 0x18
call qword [0x14014c098]
mov r14, rax
test rax, rax
je 0x140070418
mov qword [rax], r15
lea r8, [0x14006bfa0]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
mov r9, r14
mov qword [r14 + 8], rax
xor edx, edx
mov dword [rsp + 0x20], 4
xor ecx, ecx
call fcn.1400b2f2c
test rax, rax
jne 0x1400703a9
call fcn.1400b5a58
mov edi, dword [rax]
call fcn.1400b5a58
mov rcx, r14
mov ebx, dword [rax]
call qword [0x14014c0b0]
call fcn.1400b5a58
mov dword [rax], ebx
test edi, edi
jne 0x140070418
jmp 0x1400703b9
mov qword [rbx], rax
mov rcx, rax
mov qword [r14 + 0x10], rax
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
mov eax, dword [0x140151d08]
inc ebp
cmp ebp, eax
jb 0x140070330
test eax, eax
je 0x1400703ee
nop dword [rax]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x140070418
inc esi
cmp esi, dword [0x140151d08]
jb 0x1400703d0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
je 0x140070418
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x38
pop rsi
pop rbx
ret
call fcn.1400b541c
int3
Function at 0x140086b10
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
sub rsp, 0x78
mov rax, qword [0x14014b1f8]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [rcx], 0x2d
mov r13, r8
mov r12, rdx
jne 0x140086b3f
cmp byte [rcx + 1], 0
jne 0x140086b3f
xor eax, eax
jmp 0x140086b44
sbb eax, eax
or eax, 1
mov qword [rsp + 0xb8], rsi
lea rbx, str._dev_stdin
test eax, eax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], r14
lea rdx, [0x14011814c]
cmovne rbx, rcx
mov qword [rsp + 0x60], r15
mov rcx, rbx
call fcn.1400b3714
mov rbp, rax
test rax, rax
je 0x140086c59
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov edi, 0x1000
call fcn.1400beca0
test eax, eax
jne 0x140086bae
mov eax, 0x8000
test word [rsp + 0x26], ax
je 0x140086bae
mov eax, dword [rsp + 0x34]
inc eax
movsxd rdi, eax
lea rcx, [rdi + 1]
call fcn.1400ad9b4
mov rsi, rax
test rax, rax
je 0x140086c51
mov r9, rbp
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400b4824
mov r15, rax
mov byte [rax + rsi], 0
cmp rax, rdi
jne 0x140086c31
nop dword [rax]
nop word [rax + rax]
add rdi, rdi
mov rcx, rsi
lea rdx, [rdi + 1]
call fcn.1400ad6b8
mov r14, rax
test rax, rax
je 0x140086c49
mov rbx, rdi
lea rcx, [rax + r15]
shr rbx, 1
mov r9, rbp
mov r8, rbx
mov edx, 1
mov rsi, rax
call fcn.1400b4824
add r15, rax
mov byte [rsi + r15], 0
cmp rax, rbx
je 0x140086bf0
mov rcx, rbp
call fcn.1400b3b14
lea rax, [r15 + 1]
mov qword [r12], rsi
mov qword [r13], rax
xor eax, eax
jmp 0x140086c5e
mov rcx, rsi
call fcn.1400ad6c0
mov rcx, rbp
call fcn.1400b3b14
mov eax, 0xffffffff
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14008c170
add rsp, 0x78
pop r13
pop r12
pop rbp
pop rbx
ret

Function at 0x14008fb88
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
test eax, eax
je 0x14008fb9b
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.14009019c
lea rdx, [0x1401486e8]
lea rcx, [rsp + 0x20]
call fcn.1400ab0e0
int3

Function at 0x14009a3e4
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x14014f368]
xor edx, edx
jmp fcn.14008fb88

Function at 0x14009ad70
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x14014f368]
jmp fcn.14008fb88

Function at 0x1400a692c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1400a69e8]
mov r9, qword [r9 + 8]
jmp fcn.140097de8

Function at 0x1400a69c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1400a69f8]
mov r9, qword [r9 + 8]
jmp fcn.140097de8

Function at 0x1400be250
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400be07c
Function at 0x1400ea860
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1098
call fcn.14008cda0
sub rsp, rax
mov rax, qword [0x14014b1f8]
xor rax, rsp
mov qword [rsp + 0x1080], rax
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x74], xmm0
mov dword [rsp + 0xd4], eax
movups xmmword [rsp + 0x84], xmm0
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0x50], xmm0
inc r8
cmp byte [rcx + r8], al
jne 0x1400ea8d1
mov rdx, rcx
inc r8
lea rcx, [rsp + 0xe0]
call fcn.1400b3a54
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.14008c170
add rsp, 0x1098
ret
Function at 0x1400f3490
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x10
mov r11, rcx
movaps xmmword [rsp], xmm6
movdqu xmm6, xmmword [rdx]
lea rdi, [0x14012f930]
pshufd xmm0, xmm6, 0x55
mov rbx, rdx
movd eax, xmm0
movdqu xmm5, xmmword [r11]
pshufd xmm0, xmm6, 0xff
mov r9d, eax
shr rax, 0x10
movzx r8d, al
mov eax, r9d
shr rax, 0x18
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
movzx r10d, byte [r8 + rdi]
movzx eax, byte [rax + rdi]
pxor xmm4, xmmword [r11]
shl eax, 8
or r10d, eax
mov eax, r9d
shr rax, 8
movzx ecx, al
shl r10d, 8
movzx eax, byte [rcx + rdi]
or r10d, eax
movzx eax, r9b
shl r10d, 8
movzx ecx, byte [rax + rdi]
or r10d, ecx
movd eax, xmm0
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r10d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
mov eax, r10d
or r8d, ecx
ror eax, 8
xor eax, 8
mov ecx, r8d
ror ecx, 8
xor ecx, 8
movd xmm2, r8d
movd xmm0, eax
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, ecx
pxor xmm0, xmm4
punpckldq xmm2, xmm1
punpcklqdq xmm3, xmm2
pslldq xmm5, 4
pxor xmm0, xmm5
pshufd xmm1, xmm3, 0xff
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x55
movd eax, xmm0
movdqu xmmword [r11], xmm1
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movzx r9d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
movdqa xmm5, xmm6
or r9d, eax
pshufd xmm0, xmm1, 0xff
shl r9d, 8
mov eax, edx
shr rax, 8
movzx ecx, al
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
pxor xmm4, xmm6
movaps xmm6, xmmword [rsp]
movzx eax, byte [rcx + rdi]
or r9d, eax
movzx eax, dl
shl r9d, 8
movzx ecx, byte [rax + rdi]
movd eax, xmm0
or r9d, ecx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r9d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
or r8d, ecx
mov ecx, r9d
mov eax, r8d
ror eax, 8
ror ecx, 8
movd xmm2, r8d
movd xmm1, eax
punpckldq xmm2, xmm1
movd xmm0, ecx
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
pxor xmm0, xmm4
punpcklqdq xmm3, xmm2
pslldq xmm5, 4
pxor xmm0, xmm5
pshufd xmm1, xmm3, 0xaa
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov rbx, qword [rsp + 0x20]
add rsp, 0x10
pop rdi
ret