joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c3540
Capabilities:
Create thread
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
movzx eax, byte [rsp + 0xc8]
mov rbx, 0xffffffffffffffff
mov rbp, r8
mov byte [rcx + 0x168], al
mov r8, rbx
mov byte [rcx + 0x60], 1
mov r14, r9
mov rsi, rdx
mov rdi, rcx
inc r8
cmp byte [rdx + r8], 0
jne 0x1400c3583
add rcx, 0x170
call fcn.1400191c0
nop dword [rax]
inc rbx
cmp byte [rbx + rbp], 0
jne 0x1400c35a0
mov r8, rbx
lea rcx, [rdi + 0x190]
mov rdx, rbp
call fcn.1400191c0
xorps xmm0, xmm0
mov dword [rsp + 0x58], 1
xorps xmm1, xmm1
mov dword [rsp + 0x5c], 6
xor r15d, r15d
lea r9, [rdi + 0x58]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov rdx, rbp
mov rcx, rsi
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1400c3607
mov byte [rdi + 0x60], 3
jmp 0x1400c36d6
mov rax, qword [rdi + 0x58]
mov rcx, rdi
mov r9d, dword [rax + 0xc]
mov r8d, dword [rax + 8]
mov edx, dword [rax + 4]
call fcn.1400c2860
test al, al
jne 0x1400c362d
mov byte [rdi + 0x60], 3
xor eax, eax
jmp 0x1400c36d6
cmp byte [rsp + 0xc0], r15b
je 0x1400c36c0
mov ecx, 0x28
call fcn.1400e354c
test rax, rax
je 0x1400c366c
lea rcx, [fcn.1400c3720]
mov qword [rax], r14
mov qword [rax + 0x20], rcx
mov dword [rax + 8], 0x320
mov dword [rax + 0x10], 0xa
mov qword [rax + 0x18], rdi
jmp 0x1400c366f
mov rax, r15
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x1400c3170]
xor ecx, ecx
mov dword [rsp + 0x20], r15d
xor edx, edx
call fcn.1400f0f58
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400c36f3
cmp dword [rsp + 0x38], r15d
je 0x1400c370b
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1400e284c
test eax, eax
jne 0x1400c3703
jmp 0x1400c3626
mov r9, r14
mov edx, 0xa
mov r8d, 0x320
mov rcx, rdi
call fcn.1400c3720
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov ecx, 6
mov dword [rsp + 0x38], r15d
call fcn.1400e2be8
int3
mov ecx, eax
call fcn.1400e2bac
int3
mov ecx, 1
call fcn.1400e2be8
int3
Function at 0x1400c3720
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, r9
mov r13d, r8d
mov r15d, edx
mov r12, rcx
mov r14d, edx
test edx, edx
jle 0x1400c384c
mov ebp, 1
nop dword [rax + rax]
mov rax, qword [r12 + 0x58]
mov r8d, dword [rax + 0x10]
mov rdx, qword [rax + 0x20]
mov rax, qword [r12 + 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1400c3881
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
cmp eax, 0x274d
jne 0x1400c37e5
test rsi, rsi
je 0x1400c3835
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
je 0x1400c3835
nop dword [rax]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400c37da
mov dword [rsp + 0x78], r14d
lea r8, [rsp + 0x78]
mov dword [rsp + 0x20], ebp
lea rdx, [rsp + 0x20]
mov rax, qword [rcx]
mov r9, qword [rax + 0x10]
call r9
cmp al, 1
je 0x1400c3835
add rbx, 0x40
cmp rbx, rdi
jne 0x1400c37b0
jmp 0x1400c3835
cmp edx, 0x274c
jne 0x1400c3875
test rsi, rsi
je 0x1400c3835
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
je 0x1400c3835
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400c382c
mov dword [rsp + 0x78], r14d
lea r8, [rsp + 0x78]
mov dword [rsp + 0x20], ebp
lea rdx, [rsp + 0x20]
mov rax, qword [rcx]
mov r9, qword [rax + 0x10]
call r9
cmp al, 1
je 0x1400c3835
add rbx, 0x40
cmp rbx, rdi
jne 0x1400c3802
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
dec r15d
inc ebp
test r15d, r15d
jg 0x1400c3760
mov byte [r12 + 0x60], 3
mov eax, 0xffffffff
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x68]
jmp 0x1400c3852
mov rcx, qword [r12 + 8]
xor edx, edx
call fcn.1400c5e70
xor edx, edx
mov byte [r12 + 0x60], 2
lea rcx, [rsp + 0x28]
call fcn.1400c1c00
mov rax, qword [r12]
lea r8, [rsp + 0x28]
xor edx, edx
mov dword [rsp + 0x30], select
mov rcx, r12
mov byte [rsp + 0x28], 0
call qword [rax + 0x40]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + ioctlsocket]
test rsi, rsi
je 0x1400c391a
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
je 0x1400c391a
nop dword [rax + rax]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400c3911
mov dword [rsp + 0x78], 0xffffffff
lea r8, [rsp + 0x78]
mov dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0x20]
mov rax, qword [rcx]
mov r9, qword [rax + 0x10]
call r9
cmp al, 1
je 0x1400c391a
add rbx, 0x40
cmp rbx, rdi
jne 0x1400c38e0
xor eax, eax
jmp 0x1400c3857
Function at 0x1400c3f50
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov r14, rcx
mov rbx, r8
mov rcx, rdx
mov rbp, rdx
call fcn.1400c5dd0
test al, al
je 0x1400c2fee
mov rcx, qword [rbx + 0x60]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8, qword [rbx + 0x50]
mov r9, qword [rbx + 0x48]
cmp r8, r9
je 0x1400c2fd4
mov rdx, r9
nop dword [rax]
mov rcx, qword [rbp + 8]
sub r8d, r9d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400c2fc3
mov rsi, qword [rbx + 0x48]
movsxd rdx, eax
add rdx, rsi
cmp rsi, rdx
je 0x1400c2fae
mov rdi, qword [rbx + 0x50]
mov rcx, rsi
sub rdi, rdx
mov r8, rdi
call fcn.1400e5740
lea rax, [rdi + rsi]
mov qword [rbx + 0x50], rax
mov rax, qword [rbx + 0x50]
mov rdx, qword [rbx + 0x48]
mov r8d, eax
mov r9d, edx
cmp rax, rdx
jne 0x1400c2f70
jmp 0x1400c2fd4
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x60]
mov rax, qword [rbx + 0x48]
mov qword [rbx + 0x50], rax
mov rcx, qword [rbx + 0x60]
cmp dword [rcx + 8], 0xffffffff
jge 0x1400c2fe4
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x1400c3f62
lea r8, [rcx + 0x68]
jmp 0x1400c2f20
ret
Function at 0x1400c5d30
Capabilities:
Get socket status

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x450
xor eax, eax
mov dword [rsp + 0x30], 1
mov qword [r11 + 8], rax
lea r9, [r11 - 0x218]
mov rax, qword [rcx + 8]
lea rdx, [rsp + 0x30]
mov qword [r11 - 0x210], rax
mov rbx, rcx
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rax, [r11 + 8]
mov dword [rsp + 0x240], 1
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x30]
mov edi, eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1400c5db7
cmp edi, 0xffffffff
je 0x1400c5db7
mov al, 1
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rdi
ret
mov rbx, qword [rsp + 0x468]
xor al, al
add rsp, 0x450
pop rdi
ret

Function at 0x1400c5dd0
Capabilities:
Get socket status

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x450
xor eax, eax
mov dword [rsp + 0x30], 1
mov qword [r11 + 8], rax
lea r9, [r11 - 0x218]
mov rax, qword [rcx + 8]
lea r8, [rsp + 0x30]
mov qword [r11 - 0x210], rax
mov rbx, rcx
mov qword [rsp + 0x38], rax
xor edx, edx
lea rax, [r11 + 8]
mov dword [rsp + 0x240], 1
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x30]
mov edi, eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1400c5e56
cmp edi, 0xffffffff
je 0x1400c5e56
mov al, 1
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rdi
ret
mov rbx, qword [rsp + 0x468]
xor al, al
add rsp, 0x450
pop rdi
ret

Function at 0x1400c5e70
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
lea r8, [rsp + 0x38]
movzx eax, dl
mov edx, 0x8004667e
xor eax, 1
mov dword [rsp + 0x38], eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x28
ret
Function at 0x1400cbc80
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xa0
movups xmm0, xmmword [str.x_RSPEkuVOHYKM3.0m2p2_0I]
movzx eax, word [0x14011a618]
xor r8d, r8d
cmp dword [0x14024f2c0], 2
mov rbx, rcx
movups xmm1, xmmword [0x14011a5f8]
mov word [rsp + 0x50], ax
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x14011a608]
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm0
jl 0x1400cbe37
movdqa xmm5, xmmword [0x140113370]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x1401144e0]
mov eax, 5
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [str.8888]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [str.11111111]
movd xmm8, eax
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x18
jl 0x1400cbd20
movaps xmm9, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp r8d, 0x19
jge 0x1400cbe88
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x38
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x19
jl 0x1400cbe50
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x14024edc0]
call fcn.1400b1350
mov qword [rbx + 0x78], rax
add rsp, 0xa0
pop rbx
ret
Function at 0x1400d4650
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
xor esi, esi
mov rdi, rcx
mov r15d, select
mov qword [rsp + 0x30], rsi
xor ecx, ecx
mov qword [rsp + 0x40], rsi
mov r14d, esi
mov qword [rsp + 0x48], r15
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400d4802
lea ecx, [rsi + 1]
mov qword [rsp + 0x70], rbx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x1400d46e4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400d46db
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x1400d46b6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400191c0
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
test r14, r14
je 0x1400d47bd
cmp r15, 0x10
lea rax, [rsp + 0x30]
lea rbx, [rsp + 0x30]
cmovae rax, rsi
cmovae rbx, rsi
add r14, rax
cmp rbx, r14
je 0x1400d47bd
movabs r12, 0x7ffffffffffffff
nop dword [rax]
cmp byte [0x14024f138], 0
movsx ebp, byte [rbx]
je 0x1400d47b1
mov rcx, qword [rdi + 0x270]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov word [rsp + 0x20], bp
mov rbp, qword [rdi + 0x260]
cmp qword [rdi + 0x268], r12
je 0x1400d4814
mov ecx, 0x20
call fcn.1400e354c
movsd xmm0, qword [rsp + 0x20]
movsd qword [rax + 0x10], xmm0
mov dword [rax + 0x18], 3
inc qword [rdi + 0x268]
mov rcx, qword [rbp + 8]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov qword [rbp + 8], rax
mov qword [rcx], rax
mov byte [rdi + 0x279], 1
mov rcx, qword [rdi + 0x270]
cmp dword [rcx + 8], 0xffffffff
jge 0x1400d47b1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc rbx
cmp rbx, r14
jne 0x1400d4730
cmp r15, 0x10
jb 0x1400d47f0
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400d47e8
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d4821
mov rcx, rsi
call fcn.1400e3588
mov rbp, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
lea rcx, str.list_too_long
call fcn.1400e1b58
int3
call fcn.1400ea23c
int3
Function at 0x1400d4940
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x80
mov esi, edx
movzx r12d, r9b
mov byte [rcx + 0x2c4], 0
movzx ebp, r8b
mov rbx, rcx
test r8b, r8b
je 0x1400d4b97
movzx edi, byte [rsp + 0xc0]
test r9b, r9b
jne 0x1400d49d1
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov r8d, 0x40
lea rdx, [rsp + 0x40]
mov ecx, eax
mov eax, edi
shl eax, 0x18
shl ecx, 0x10
or ecx, eax
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jle 0x1400d49d1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400d49b6
lea rcx, [rbx + 0x2a0]
lea rdx, [rsp + 0x40]
call fcn.1400191c0
cmp dword [rbx + 0x2c0], 0xa2
jne 0x1400d4b81
cmp esi, 0xa4
jne 0x1400d4b81
test dil, dil
je 0x1400d49f9
mov byte [rbx + 0x2c4], 1
mov rcx, qword [rbx + 0x270]
mov qword [rsp + 0xa0], r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test r12b, r12b
jne 0x1400d4a9c
mov r8d, esi
mov qword [rsp + 0xa8], r15
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d4830
mov r14, qword [rsp + 0x20]
mov r15, qword [rsp + 0x28]
mov rdi, r14
cmp r14, r15
je 0x1400d4a56
mov rcx, qword [rdi]
movzx edx, bpl
call fcn.1400d53c0
add rdi, 8
cmp rdi, r15
jne 0x1400d4a41
mov r15, qword [rsp + 0xa8]
test r14, r14
je 0x1400d4a9c
mov rdx, qword [rsp + 0x30]
mov rax, r14
sub rdx, r14
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x1400d4a94
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d4bde
mov rcx, r14
call fcn.1400e3588
cmp byte [0x14024f138], 0
je 0x1400d4b43
cmp esi, 0x256
jae 0x1400d4adb
mov byte [rsi + rbx + 8], bpl
cmp byte [rbx + 0xaa], 0
je 0x1400d4adb
lea eax, [rsi - 0x56]
test eax, 0xffffffdf
jne 0x1400d4adb
test bpl, bpl
je 0x1400d4adb
test r12b, r12b
jne 0x1400d4adb
mov rcx, rbx
call fcn.1400d4650
mov rdi, qword [rbx + 0x260]
movabs rax, 0x7ffffffffffffff
mov dword [rsp + 0x20], esi
mov byte [rsp + 0x24], bpl
mov byte [rsp + 0x25], r12b
cmp qword [rbx + 0x268], rax
je 0x1400d4bd1
mov ecx, 0x20
call fcn.1400e354c
movsd xmm0, qword [rsp + 0x20]
movsd qword [rax + 0x10], xmm0
mov dword [rax + 0x18], 4
inc qword [rbx + 0x268]
mov rcx, qword [rdi + 8]
mov qword [rax], rdi
mov qword [rax + 8], rcx
mov qword [rdi + 8], rax
mov qword [rcx], rax
mov byte [rbx + 0x279], 1
test bpl, bpl
je 0x1400d4b4e
mov dword [rbx + 0x2c0], esi
mov rcx, qword [rbx + 0x270]
cmp dword [rcx + 8], 0xffffffff
jge 0x1400d4b61
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r14, qword [rsp + 0xa0]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
cmp esi, 0x2e
jne 0x1400d4b97
lea rcx, [0x1402520e0]
call fcn.1400d10b0
jmp 0x1400d49f9
cmp esi, 0x2d
jne 0x1400d49f9
test bpl, bpl
je 0x1400d49f9
test r12b, r12b
jne 0x1400d49f9
cmp byte [0x14024f138], r12b
lea rcx, [0x14024f130]
sete dl
call fcn.1400cc9e0
mov byte [rbx + 0x279], 1
jmp 0x1400d4b69
lea rcx, str.list_too_long
call fcn.1400e1b58
int3
call fcn.1400ea23c
int3
Function at 0x1400f6040
Capabilities:
Parse pe header

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

Function at 0x14010acc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
mov eax, 0xffffffff
test edx, edx
je 0x14010acfe
mov r10d, edx
lea r11, [0x14012a300]
nop word [rax + rax]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
mov edx, eax
shr eax, 8
xor r8, rdx
movzx ecx, r8b
xor eax, dword [r11 + rcx*4]
sub r10, 1
jne 0x14010ace0
not eax
ret
Function at 0x14474b0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14474bd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14474cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14474b5
lea eax, [rcx + 1]
jmp 0x14474db
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14474ee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14474d4
sub eax, 3
jb 0x144750e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x144755d
sar eax, 1
movsxd rbp, eax
jb 0x1447544
jmp 0x144751c
add ebx, ebx
jne 0x144751a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1447544
inc ecx
add ebx, ebx
jne 0x144752a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1447544
call r11
adc ecx, ecx
add ebx, ebx
jne 0x144753d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x144752c
add ecx, 2
jmp 0x1447549
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01447472
jmp 0x14474bd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1036000]
mov eax, dword [rdi]
or eax, eax
je 0x14475b9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x10728fc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1447569
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14475b3
mov qword [rbx], rax
add rbx, 8
jmp 0x1447589
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14475fd
cmp al, 0xef
ja 0x14475e5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14475c5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14475d4
mov eax, dword [rdi]
add rdi, 4
jmp 0x14475d4
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1447651
sub rsp, 0xffffffffffffff80
jmp 0x47a200
Function at 0x140001e80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x50
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
movabs rax, 0xffffffff00000000
mov rcx, qword [rcx]
mov r8d, dword [rsi + 0x68]
movzx edi, word [rcx + 0x14]
dec r8
mov r12, qword [rcx + 0x30]
add rdi, rcx
and r12, rax
not r8
mov r11d, dword [rdi + 0x20]
mov eax, dword [rdi + 0x28]
or r11, r12
and r8, r11
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x28], r8
test eax, eax
jne 0x140001ef3
mov edx, dword [rdi + 0x3c]
test dl, 0x40
je 0x140001eec
mov eax, dword [rcx + 0x20]
jmp 0x140001ef3
test dl, dl
jns 0x140001ef3
mov eax, dword [rcx + 0x24]
mov edx, dword [rdi + 0x3c]
mov r13d, 1
mov r15d, r13d
mov qword [rsp + 0x88], rbx
mov r10d, eax
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], 0
cmp r13w, word [rcx + 6]
jae 0x140001feb
add rdi, 0x64
nop word [rax + rax]
mov ebx, dword [rsi + 0x68]
mov r14d, dword [rdi - 0x1c]
dec rbx
mov eax, dword [rdi - 0x14]
or r14, r12
not rbx
and rbx, r14
test eax, eax
jne 0x140001f73
mov ecx, dword [rdi]
test cl, 0x40
je 0x140001f69
mov rax, qword [rsi]
mov eax, dword [rax + 0x20]
jmp 0x140001f73
test cl, cl
jns 0x140001f73
mov rax, qword [rsi]
mov eax, dword [rax + 0x24]
mov ebp, eax
cmp r8, rbx
je 0x140001fb0
lea rax, [r10 + r11]
cmp rax, rbx
ja 0x140001fb0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140001d90
test eax, eax
je 0x140002010
mov edx, dword [rdi]
mov r11, r14
mov qword [rsp + 0x20], r14
mov r8, rbx
mov qword [rsp + 0x28], rbx
mov r10d, ebp
mov qword [rsp + 0x30], rbp
jmp 0x140001fd0
mov ecx, dword [rdi]
mov eax, ecx
and eax, edx
or edx, ecx
bt eax, 0x19
jb 0x140001fc2
btr edx, 0x19
mov r10, rbp
sub r10, r11
add r10, r14
mov qword [rsp + 0x30], r10
mov rax, qword [rsi]
inc r15d
add rdi, 0x28
mov dword [rsp + 0x38], edx
movzx ecx, word [rax + 6]
cmp r15d, ecx
jl 0x140001f40
test r10, r10
je 0x140002063
bt edx, 0x19
jae 0x140002014
cmp r11, r8
jne 0x140002063
mov r9, qword [rsi + 0x58]
mov r8d, 0x4000
mov rdx, r10
mov rcx, r11
call qword [rsi + 0x30]
jmp 0x140002063
xor eax, eax
jmp 0x140002066
mov rcx, qword [rsp + 0x38]
mov rax, rcx
shr rcx, 0x1e
shr rax, 0x1d
and ecx, r13d
and eax, r13d
lea rcx, [rcx + rax*2]
mov eax, edx
shr rax, 0x1f
lea rcx, [rax + rcx*2]
lea rax, [0x140004548]
mov r8d, dword [rax + rcx*4]
bt edx, 0x1a
jae 0x14000204e
bts r8d, 9
lea r9, [rsp + 0x40]
mov rdx, r10
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002010
mov eax, r13d
mov r14, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002b80
add rsp, 0x50
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret