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

Disassembly:
mov r8, qword [0x14016e2b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140127c60
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140127c68
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140127c60
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140127cb0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140127ca7
test rcx, rcx
je 0x140127c60
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140127c98
xor eax, eax
ret

Function at 0x140127cc0
Capabilities:
Parse pe header

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

Function at 0x140127d00
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14016e2b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140127d20
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140127d28
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140127d20
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140127d20
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140127d74
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140127d80
add rdx, 0x28
cmp r9, rdx
jne 0x140127d60
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140127d90
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14016e2b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140127db2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140127dc0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140127db2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140127db2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140127db2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140127e15
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140127e28
add rdx, 0x28
cmp rdx, r10
jne 0x140127e00
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140127e37
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140127e47
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140127e1e
test ecx, ecx
jg 0x140127e30
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret

Function at 0x140127ee0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [r8]
sub r8, 0x10
pxor xmm1, xmm0
movdqu xmm0, xmmword [r8]
sub r8, 0x10
aesdec xmm1, xmm0
sub cl, 1
cmp cl, 1
jne 0x140127ef1
movdqu xmm0, xmmword [r8]
aesdeclast xmm1, xmm0
movdqu xmmword [r9], xmm1
ret
Function at 0x140127f20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [r8]
add r8, 0x10
pxor xmm1, xmm0
movdqu xmm0, xmmword [r8]
add r8, 0x10
aesenc xmm1, xmm0
sub cl, 1
cmp cl, 1
jne 0x140127f31
movdqu xmm0, xmmword [r8]
aesenclast xmm1, xmm0
movdqu xmmword [r9], xmm1
ret

Function at 0x140127f60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rcx]
movdqu xmmword [rdx], xmm1
add rdx, 0x10
aeskeygenassist xmm2, xmm1, 1
call fcn.140127fdc
aeskeygenassist xmm2, xmm1, 2
call fcn.140127fdc
aeskeygenassist xmm2, xmm1, 4
call fcn.140127fdc
aeskeygenassist xmm2, xmm1, 8
call fcn.140127fdc
aeskeygenassist xmm2, xmm1, 0x10
call fcn.140127fdc
aeskeygenassist xmm2, xmm1, 0x20
call fcn.140127fdc
aeskeygenassist xmm2, xmm1, 0x40
call fcn.140127fdc
aeskeygenassist xmm2, xmm1, 0x80
call fcn.140127fdc
aeskeygenassist xmm2, xmm1, 0x1b
call fcn.140127fdc
aeskeygenassist xmm2, xmm1, 0x36
call fcn.140127fdc
jmp 0x140128009
ret

Function at 0x140128010
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmmword [rdx], xmm1
movdqa xmm5, xmm3
aeskeygenassist xmm2, xmm3, 1
call fcn.14012810a
shufpd xmm5, xmm1, 0
movdqu xmmword [rdx + 0x10], xmm5
movdqa xmm6, xmm1
shufpd xmm6, xmm3, 1
movdqu xmmword [rdx + 0x20], xmm6
aeskeygenassist xmm2, xmm3, 2
call fcn.14012810a
movdqu xmmword [rdx + 0x30], xmm1
movdqa xmm5, xmm3
aeskeygenassist xmm2, xmm3, 4
call fcn.14012810a
shufpd xmm5, xmm1, 0
movdqu xmmword [rdx + 0x40], xmm5
movdqa xmm6, xmm1
shufpd xmm6, xmm3, 1
movdqu xmmword [rdx + 0x50], xmm6
aeskeygenassist xmm2, xmm3, 8
call fcn.14012810a
movdqu xmmword [rdx + 0x60], xmm1
movdqa xmm5, xmm3
aeskeygenassist xmm2, xmm3, 0x10
call fcn.14012810a
shufpd xmm5, xmm1, 0
movdqu xmmword [rdx + 0x70], xmm5
movdqa xmm6, xmm1
shufpd xmm6, xmm3, 1
movdqu xmmword [rdx + 0x80], xmm6
aeskeygenassist xmm2, xmm3, 0x20
call fcn.14012810a
movdqu xmmword [rdx + 0x90], xmm1
movdqa xmm5, xmm3
aeskeygenassist xmm2, xmm3, 0x40
call fcn.14012810a
shufpd xmm5, xmm1, 0
movdqu xmmword [rdx + 0xa0], xmm5
movdqa xmm6, xmm1
shufpd xmm6, xmm3, 1
movdqu xmmword [rdx + 0xb0], xmm6
aeskeygenassist xmm2, xmm3, 0x80
call fcn.14012810a
movdqu xmmword [rdx + 0xc0], xmm1
jmp 0x140128149
ret
Function at 0x140128150
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmmword [rdx], xmm1
movdqu xmmword [rdx + 0x10], xmm3
aeskeygenassist xmm2, xmm3, 1
call fcn.140128249
movdqu xmmword [rdx + 0x20], xmm1
aeskeygenassist xmm2, xmm1, 0
call fcn.140128272
movdqu xmmword [rdx + 0x30], xmm3
aeskeygenassist xmm2, xmm3, 2
call fcn.140128249
movdqu xmmword [rdx + 0x40], xmm1
aeskeygenassist xmm2, xmm1, 0
call fcn.140128272
movdqu xmmword [rdx + 0x50], xmm3
aeskeygenassist xmm2, xmm3, 4
call fcn.140128249
movdqu xmmword [rdx + 0x60], xmm1
aeskeygenassist xmm2, xmm1, 0
call fcn.140128272
movdqu xmmword [rdx + 0x70], xmm3
aeskeygenassist xmm2, xmm3, 8
call fcn.140128249
movdqu xmmword [rdx + 0x80], xmm1
aeskeygenassist xmm2, xmm1, 0
call fcn.140128272
movdqu xmmword [rdx + 0x90], xmm3
aeskeygenassist xmm2, xmm3, 0x10
call fcn.140128249
movdqu xmmword [rdx + 0xa0], xmm1
aeskeygenassist xmm2, xmm1, 0
call fcn.140128272
movdqu xmmword [rdx + 0xb0], xmm3
aeskeygenassist xmm2, xmm3, 0x20
call fcn.140128249
movdqu xmmword [rdx + 0xc0], xmm1
aeskeygenassist xmm2, xmm1, 0
call fcn.140128272
movdqu xmmword [rdx + 0xd0], xmm3
aeskeygenassist xmm2, xmm3, 0x40
call fcn.140128249
movdqu xmmword [rdx + 0xe0], xmm1
jmp 0x14012829b
ret

Function at 0x1401282a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 1
test r8, r8
je 0x1401282c4
xor eax, eax
mov r9, rcx
mov cl, byte [r9]
xor cl, byte [rdx]
or al, cl
inc r9
inc rdx
dec r8
jne 0x1401282af
movzx eax, al
ret
Function at 0x1800012d8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
or rbx, 0xffffffffffffffff
mov rbp, r8
mov rsi, rdx
mov rax, rbx
mov rdi, rcx
inc rax
cmp byte [rcx + rax], 0
jne 0x1800012fc
test rax, rax
je 0x1800013c1
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x18000137d
mov r8d, 0x400
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov r8d, 0x400
mov rdx, rbp
mov rcx, rsi
call fcn.1800031d0
test eax, eax
je 0x18000137d
mov r8d, 0x400
mov rdx, rbp
mov rcx, rsi
call fcn.180003260
lea rdx, str._n_n_cC_s_n_cE_c_n
lea rcx, [0x180015da0]
mov r9, rsi
mov r8d, 3
mov dword [rsp + 0x28], 0xf
mov dword [rsp + 0x20], 3
call fcn.180001130
inc rbx
cmp byte [rdi + rbx], 0
jne 0x18000137d
lea rcx, [0x180015da0]
cmp rbx, 1
jbe 0x1800013b2
lea rdx, str._c2_s_c
mov r9, rdi
mov r8d, 3
mov dword [rsp + 0x20], 0xf
call fcn.180001130
jmp 0x1800013c1
lea rdx, [0x18000c3a0]
mov r8, rdi
call fcn.180001130
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180002344
Capabilities:
Get graphical window text
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov rax, qword [0x180013020]
xor rax, rsp
mov qword [rbp + 0x330], rax
and dword [rsp + 0x24], 0
and dword [rsp + 0x20], 0
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x24]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov edx, dword [rsp + 0x24]
mov rcx, rdi
call fcn.18000110c
call qword [sym.imp.USER32.dll_GetForegroundWindow]
or rbx, 0xffffffffffffffff
test rax, rax
je 0x1800023df
lea rdx, [rsp + 0x30]
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [rsp + 0x20], eax
test eax, eax
je 0x1800023df
lea rax, [rsp + 0x30]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1800023ce
lea rdx, [rsp + 0x30]
jmp 0x1800023e4
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.180001000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x400
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x180002420
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18000240d
mov r8, rbx
lea rdx, [rsp + 0x30]
jmp 0x180002425
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.180001000
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.180003510
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x180002570
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp dword [rcx], 0xa2a1de0
je 0x18000258d
cmp dword [rcx], 0x56a2b5f0
jne 0x180002596
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitThread]
add rsp, 0x28
ret

Function at 0x18000259c
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x180014b28]
test eax, eax
je 0x1800025e8
mov rdx, qword [0x180014b20]
test rdx, rdx
je 0x1800025e8
mov r8d, dword [0x180014b2c]
mov ecx, r8d
cmp r8d, eax
jae 0x1800025e8
add rdx, rcx
sub eax, r8d
mov r8d, eax
mov rax, rcx
lea r9, [0x180013004]
inc rcx
and eax, 3
mov al, byte [rax + r9]
xor byte [rdx], al
inc rdx
dec r8
jne 0x1800025ca
repz ret

Function at 0x1800025ec
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea r8, [rsp + 0x50]
mov rbx, rdx
mov rdi, rcx
call fcn.180002638
test eax, eax
je 0x180002611
mov rax, qword [rsp + 0x50]
jmp 0x18000262c
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9, rbx
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180002638
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x520
mov rax, qword [0x180013020]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov rbx, qword [rsp + 0x30]
mov edi, dword [rsp + 0x30]
mov rbp, rcx
lea rcx, str.___THREAD.C_____________________________________________________
mov r14, rdx
mov rsi, r8
mov rax, rcx
lea rdx, [0x18000c781]
mov r9d, 0x40
cmp byte [rax], 0x21
jne 0x18000268b
mov rbx, rdx
jmp 0x180002694
cmp byte [rax], 0x2b
jne 0x180002697
movsx edi, byte [rax + 1]
mov byte [rax], 0
inc rdx
inc rax
dec r9
jne 0x180002681
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180002737
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180002737
and qword [rsp + 0x28], 0
mov r8d, edi
mov r9, r14
xor edx, edx
xor ecx, ecx
add r8, rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x180002737
lea rdx, [rsp + 0x40]
mov rcx, rax
mov dword [rsp + 0x70], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x180002737
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov qword [rsp + 0xc0], rbp
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x180002737
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x180002737
mov qword [rsi], rbx
mov eax, 1
jmp 0x180002739
xor eax, eax
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.180003510
add rsp, 0x520
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180002780
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x40
and qword [rax - 0x10], 0
and dword [rax - 0x18], 0
or qword [rdx], 0xffffffffffffffff
mov dword [rax - 0x20], r8d
mov rbx, rdx
mov edx, 3
mov dword [rax - 0x28], r8d
lea r9d, [rdx - 2]
lea r8d, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
jne 0x1800027c0
xor eax, eax
jmp 0x1800027e8
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1800027e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x217
sete cl
test ecx, ecx
je 0x1800027c0
mov eax, 1
add rsp, 0x40
pop rbx
ret
Function at 0x1800027f0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x18], r8d
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov rsi, rdx
lea r9, [rax + 0x20]
and dword [rax + 0x20], ebx
and qword [rax - 0x28], rbx
lea rdx, [rax + 0x18]
lea r8d, [rbx + 4]
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x18000282c
xor eax, eax
jmp 0x18000287b
cmp dword [rsp + 0x68], 4
jne 0x180002828
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x180002876
mov r14d, 0x2000
sub eax, ebx
mov edx, ebx
lea r9, [rsp + 0x68]
cmp eax, r14d
mov rcx, rdi
cmova eax, r14d
and qword [rsp + 0x20], 0
add rdx, rsi
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180002828
add ebx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x60]
cmp ebx, eax
jb 0x180002841
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140001ff0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rsp + 0x30], 1
mov rsi, qword [rdx]
mov r12, qword [rdx + 8]
mov qword [rsp + 0x38], r12
cmp rsi, r12
je 0x140002248
movabs rdx, 0x2aaaaaaaaaaaaaab
mov r15d, 0x5a4d
cmp qword [rsi], 5
jne 0x14000223b
mov r9, qword [rbx + 8]
mov r8, qword [rbx]
mov rcx, r9
sub rcx, r8
mov rax, rdx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x140002248
mov edi, r13d
mov rax, r8
cmp qword [rsi + 0x18], rdi
jbe 0x140002209
mov r12d, 0x4550
nop dword [rax + rax]
mov r14d, edi
shl r14d, 0xc
mov rbp, qword [rsi + 0x10]
add rbp, r14
mov rcx, qword [0x14002ede8]
mov rax, qword [rcx]
mov qword [rsp + 0x20], 2
lea r9, [rsp + 0x60]
mov r8, rbp
mov edx, 4
call qword [rax + 8]
test eax, eax
jne 0x1400020f0
mov word [rsp + 0x60], r13w
jmp 0x1400021ec
cmp word [rsp + 0x60], r15w
jne 0x1400021ec
mov rcx, qword [0x14002ede8]
mov rax, qword [rcx]
lea r8, [rbp + 0x3c]
mov qword [rsp + 0x20], 4
lea r9, [rsp + 0x68]
mov edx, 4
call qword [rax + 8]
mov ecx, dword [rsp + 0x68]
test eax, eax
cmove ecx, r13d
mov dword [rsp + 0x68], ecx
mov r15d, ecx
add r15, rbp
mov rcx, qword [0x14002ede8]
mov rax, qword [rcx]
mov qword [rsp + 0x20], 2
lea r9, [rsp + 0x64]
mov r8, r15
mov edx, 4
call qword [rax + 8]
test eax, eax
jne 0x140002166
mov word [rsp + 0x64], r13w
jmp 0x1400021e6
cmp word [rsp + 0x64], r12w
jne 0x1400021e6
mov qword [rsp + 0x40], rbp
mov rcx, qword [rsi + 8]
add rcx, r14
mov qword [rsp + 0x48], rcx
mov rcx, qword [0x14002ede8]
mov rax, qword [rcx]
lea r8, [r15 + 0x50]
mov qword [rsp + 0x20], 4
lea r9, [rsp + 0x6c]
mov edx, 4
call qword [rax + 8]
mov ecx, dword [rsp + 0x6c]
test eax, eax
cmove ecx, r13d
mov dword [rsp + 0x6c], ecx
mov dword [rsp + 0x50], ecx
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x1400021d9
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rdx + 0x10], xmm1
add qword [rbx + 8], 0x18
jmp 0x1400021e6
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.140002600
mov r15d, 0x5a4d
inc edi
mov eax, edi
cmp rax, qword [rsi + 0x18]
jb 0x1400020b0
mov r12, qword [rsp + 0x38]
mov r9, qword [rbx + 8]
mov r8, qword [rbx]
mov rax, r8
sub r9, rax
movabs rax, 0x2aaaaaaaaaaaaaab
imul r9
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 4
movabs rdx, 0x2aaaaaaaaaaaaaab
jae 0x14000223b
mov qword [rbx + 8], r8
add rsi, 0x28
cmp rsi, r12
jne 0x140002064
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400080b0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005f20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov rbp, rcx
add r8, rdx
lea rcx, str._drvscan__dumping_out:___llX____llX__n
mov rbx, rdx
call fcn.1400010e0
mov rcx, rsi
call fcn.14000e534
mov rcx, qword [0x14002ede8]
mov r9, rsi
mov r8, rax
mov rdx, rbx
mov rdi, rax
mov r10, qword [rcx]
call qword [r10 + 0x10]
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x140005fd5
mov r8d, dword [rdi + 0x3c]
mov eax, 0x108
add r8, rdi
mov ecx, 0x14c
mov r9d, 0xf8
cmp word [r8 + 4], cx
cmovne r9d, eax
xor eax, eax
add r9, r8
cmp ax, word [r8 + 6]
jae 0x140005fd5
nop dword [rax]
nop dword [rax + rax]
movzx ecx, ax
inc ax
lea rdx, [rcx + rcx*4]
mov ecx, dword [r9 + rdx*8 + 0xc]
mov dword [r9 + rdx*8 + 0x14], ecx
mov ecx, dword [r9 + rdx*8 + 8]
mov dword [r9 + rdx*8 + 0x10], ecx
cmp ax, word [r8 + 6]
jb 0x140005fb0
lea rdx, [0x140029298]
mov rcx, rbp
call fcn.14000e5f8
mov r9, rax
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
mov rbx, rax
call fcn.14000e93c
mov rcx, rbx
call fcn.14000e688
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14000e274
Function at 0x14000fdcc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000fbf8
Function at 0x140065ff0
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140066038
lea ebx, [rsi + 0xd]
jmp 0x1400660a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x1400660a3
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14003ffcc
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x140066095
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1400660a3
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.140003cac
mov ebx, esi
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400660e6
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400660e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400660e1
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400667e4
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x140066b50
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400be0c0], eax
call fcn.140066fd4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400be0c0], 0
jne case.default.0x140066ba6
mov ecx, 1
call fcn.140066fd4
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]
and dword [rcx], ebp
cmpsb byte [rsi], byte [rdi]
or al, 0x8c
invalid
Function at 0x4163c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41654b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00434880
xorps xmm15, xmm15
mov r14, qword [0x00610cf8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416425
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416434
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416453
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416463
cmp rbx, 0x1000
jae 0x41642b
jmp 0x4164cd
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x416475
xor edx, edx
jmp 0x4164c4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00434880
xorps xmm15, xmm15
mov r14, qword [0x00610cf8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x416459
jmp 0x416448
call fcn.00467760
xorps xmm15, xmm15
mov r14, qword [0x00610cf8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00438920
lea rax, [0x004c19d5]
mov ebx, 0x18
nop dword [rax]
call fcn.004391a0
mov rax, qword [rsp + 0x38]
call fcn.00438ee0
lea rax, [0x004c1ed7]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.004391a0
mov rax, qword [rsp + 0x30]
call fcn.00438ee0
call fcn.00438b60
call fcn.00438980
lea rax, [0x004c4304]
mov ebx, 0x21
call fcn.00436e80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464040
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004163c0