joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c9960
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c9aa6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], rdi
nop dword [rax]
cmp rcx, r9
jb 0x4c9a96
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rcx
mov qword [rsp], rax
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r8
call fcn.004d44e0
xorps xmm15, xmm15
mov r14, qword [0x00794740]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x4c9a7b
mov rbx, qword [rsp + 0x90]
mov rsi, rbx
sar rbx, 1
lea rcx, [rsi + rbx]
mov rdx, qword [rsp + 0x70]
cmp rdx, rcx
jb 0x4c9a91
cmp rsi, rcx
ja 0x4c9a89
sub rdx, rsi
mov rdi, rdx
neg rdx
mov r8, rsi
shl rsi, 3
sar rdx, 0x3f
and rsi, rdx
mov rdx, qword [rsp + 0x60]
add rdx, rsi
mov rcx, qword [rsp + 0x68]
cmp rcx, r8
jb 0x4c9a81
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rdx
sub rcx, r8
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rax
call fcn.004d4620
xorps xmm15, xmm15
mov r14, qword [0x00794740]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x50
pop rbp
ret
mov rax, r8
call fcn.00462120
mov rax, rsi
call fcn.00462120
call fcn.004620e0
mov rdx, rcx
mov rcx, r9
nop dword [rax]
call fcn.004620e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.0045fde0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.004c9960
Function at 0x4cf380
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4cf532
push rbp
mov rbp, rsp
sub rsp, 0x28
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x50], rdi
lea r9, [rsi + 7]
sar r9, 0x3f
shr r9, 0x3d
lea rbx, [r9 + rsi]
lea rbx, [rbx + 7]
sar rbx, 3
cmp rcx, rbx
jl 0x4cf3c5
jae 0x4cf43e
nop
jmp 0x4cf526
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x50], rdi
cmp rbx, 1
jne 0x4cf409
lea rax, [0x0051ffe0]
mov ebx, 1
mov rcx, rbx
call fcn.004488a0
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov ebx, 1
mov ecx, 1
jmp 0x4cf43e
mov qword [rsp + 0x20], rbx
lea rcx, [rbx + 4]
mov qword [rsp + 0x18], rcx
lea rax, [0x0051ffe0]
nop
call fcn.004488a0
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x18]
mov rdx, rsi
xor r9d, r9d
jmp 0x4cf453
bswap r8
mov qword [rax + r9*8], r8
inc r9
mov r8, r10
cmp rsi, 8
jl 0x4cf485
mov r10, r8
sub r8, rsi
add r8, 8
neg r8
sar r8, 0x3f
add rsi, 0xfffffffffffffff8
and r8, rsi
nop
mov r8, qword [rdi + r8]
cmp r9, rbx
jb 0x4cf446
nop dword [rax + rax]
jmp 0x4cf51b
test rsi, rsi
jle 0x4cf492
xor r8d, r8d
xor r9d, r9d
jmp 0x4cf4e5
jmp 0x4cf497
dec rbx
test rbx, rbx
jle 0x4cf4a6
mov rsi, qword [rax + rbx*8 - 8]
test rsi, rsi
je 0x4cf494
cmp rbx, rcx
ja 0x4cf4b1
add rsp, 0x28
pop rbp
ret
mov rdx, rcx
mov rcx, rbx
call fcn.004620e0
movzx r11d, byte [rsi + rdi - 1]
mov rsi, rcx
mov rcx, r8
shl r11, cl
lea r12, [rcx + 8]
cmp rcx, 0x40
sbb r13, r13
and r11, r13
or r9, r11
mov rcx, rsi
mov rsi, r10
mov r8, r12
test rsi, rsi
jle 0x4cf4f5
lea r10, [rsi - 1]
cmp rdx, r10
ja 0x4cf4bc
jmp 0x4cf510
lea rsi, [rbx - 1]
cmp rbx, rsi
jbe 0x4cf505
mov qword [rax + rbx*8 - 8], r9
jmp 0x4cf492
mov rax, rsi
mov rcx, rbx
call fcn.00462060
mov rax, r10
mov rcx, rdx
call fcn.00462060
mov rax, r9
mov rcx, rbx
call fcn.00462060
mov rdx, rcx
mov rcx, rbx
call fcn.004620e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.0045fde0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.004cf380
Function at 0x4d8880
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
mov rcx, qword [rax + 0xd0]
cmp rcx, 6
jne 0x4d8905
movabs rcx, 0xcbbb9d5dc1059ed8
mov qword [rax], rcx
movabs rcx, 0x629a292a367cd507
mov qword [rax + 8], rcx
movabs rcx, 0x9159015a3070dd17
mov qword [rax + 0x10], rcx
movabs rcx, 0x152fecd8f70e5939
mov qword [rax + 0x18], rcx
movabs rcx, 0x67332667ffc00b31
mov qword [rax + 0x20], rcx
movabs rcx, 0x8eb44a8768581511
mov qword [rax + 0x28], rcx
movabs rcx, 0xdb0c2e0d64f98fa7
mov qword [rax + 0x30], rcx
movabs rcx, 0x47b5481dbefa4fa4
mov qword [rax + 0x38], rcx
nop dword [rax]
jmp 0x4d8a66
cmp rcx, 0xe
jne 0x4d8980
movabs rcx, 0x8c3d37c819544da2
mov qword [rax], rcx
movabs rcx, 0x73e1996689dcd4d6
mov qword [rax + 8], rcx
movabs rcx, 0x1dfab7ae32ff9c82
mov qword [rax + 0x10], rcx
movabs rcx, 0x679dd514582f9fcf
mov qword [rax + 0x18], rcx
movabs rcx, 0xf6d2b697bd44da8
mov qword [rax + 0x20], rcx
movabs rcx, 0x77e36f7304c48942
mov qword [rax + 0x28], rcx
movabs rcx, 0x3f9d85a86a1d36c8
mov qword [rax + 0x30], rcx
movabs rcx, 0x1112e6ad91d692a1
mov qword [rax + 0x38], rcx
jmp 0x4d8a66
cmp rcx, 0xf
jne 0x4d89f7
movabs rcx, 0x22312194fc2bf72c
mov qword [rax], rcx
movabs rcx, 0x9f555fa3c84c64c2
mov qword [rax + 8], rcx
movabs rcx, 0x2393b86b6f53b151
mov qword [rax + 0x10], rcx
movabs rcx, 0x963877195940eabd
mov qword [rax + 0x18], rcx
movabs rcx, 0x96283ee2a88effe3
mov qword [rax + 0x20], rcx
movabs rcx, 0xbe5e1e2553863992
mov qword [rax + 0x28], rcx
movabs rcx, 0x2b0199fc2c85b8aa
mov qword [rax + 0x30], rcx
movabs rcx, 0xeb72ddc81c52ca2
mov qword [rax + 0x38], rcx
jmp 0x4d8a66
movabs rcx, 0x6a09e667f3bcc908
mov qword [rax], rcx
movabs rcx, 0xbb67ae8584caa73b
mov qword [rax + 8], rcx
movabs rcx, 0x3c6ef372fe94f82b
mov qword [rax + 0x10], rcx
movabs rcx, 0xa54ff53a5f1d36f1
mov qword [rax + 0x18], rcx
movabs rcx, 0x510e527fade682d1
mov qword [rax + 0x20], rcx
movabs rcx, 0x9b05688c2b3e6c1f
mov qword [rax + 0x28], rcx
movabs rcx, 0x1f83d9abfb41bd6b
mov qword [rax + 0x30], rcx
movabs rcx, 0x5be0cd19137e2179
mov qword [rax + 0x38], rcx
movups xmmword [rax + 0xc0], xmm15
ret
Function at 0x5027c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5029fb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
nop
call fcn.004a4020
xorps xmm15, xmm15
mov r14, qword [0x00794740]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
add qword [rcx + 0x68], rax
mov rdx, qword [rcx + 0x60]
test rdx, rdx
jle 0x50290a
nop dword [rax]
cmp rdx, 0x40
ja 0x5029ed
lea rsi, [rdx - 0x40]
mov rdi, rsi
neg rsi
sar rdi, 0x3f
and rdi, rdx
lea rdx, [rcx + rdi]
lea rdx, [rdx + 0x20]
cmp rax, rsi
cmovl rsi, rax
mov qword [rsp + 0x28], rsi
mov rbx, qword [rsp + 0x60]
cmp rbx, rdx
je 0x502879
mov rax, rdx
mov rcx, rsi
nop
call fcn.00462a00
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x60]
add rdx, rsi
mov qword [rcx + 0x60], rdx
cmp rdx, 0x40
jne 0x5028e1
mov qword [rsp], rcx
lea rax, [rcx + 0x20]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call fcn.00502e40
xorps xmm15, xmm15
mov r14, qword [0x00794740]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x60], 0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
cmp rax, rsi
jb 0x5029e2
mov rdi, qword [rsp + 0x70]
sub rdi, rsi
mov rdx, rdi
neg rdx
sar rdx, 0x3f
and rdx, rsi
mov r8, rax
sub r8, rsi
add rbx, rdx
jmp 0x502917
mov r8, rax
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
cmp r8, 0x40
jl 0x502995
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x40], rbx
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
and r8, 0xffffffffffffffc0
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], rdi
call fcn.00502e40
xorps xmm15, xmm15
mov r14, qword [0x00794740]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov rdx, rax
sub rax, rcx
sar rax, 0x3f
mov r8, qword [rsp + 0x30]
and rax, r8
and rax, 0xffffffffffffffc0
mov rcx, qword [rsp + 0x40]
lea rbx, [rcx + rax]
sub r8, rdx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
test r8, r8
je 0x5029d8
lea rdx, [rcx + 0x20]
cmp r8, 0x40
mov esi, 0x40
cmovl rsi, r8
cmp rbx, rdx
je 0x5029d4
mov qword [rsp + 0x38], rsi
mov rax, rdx
mov rcx, rsi
nop dword [rax + rax]
call fcn.00462a00
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x38]
mov qword [rcx + 0x60], rsi
xor ebx, ebx
xor ecx, ecx
add rsp, 0x48
pop rbp
ret
mov rcx, rax
mov rax, rsi
call fcn.00462120
mov rax, rdx
mov ecx, 0x40
call fcn.00462120
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045fde0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.005027c0
Function at 0x509ae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0xb0], rax
movups xmmword [rsp + 0x68], xmm15
movups xmmword [rsp + 0x6c], xmm15
movups xmmword [rsp + 0x7c], xmm15
movups xmmword [rsp + 0x8c], xmm15
movups xmmword [rsp + 0x9c], xmm15
jmp 0x509b2c
dec rcx
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and edx, 1
add rax, rdx
dec rbx
test rbx, rbx
je 0x509b36
cmp byte [rax], 0
je 0x509b16
movups xmmword [rsp + 0x14], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [rbx - 1]
xor ecx, ecx
jmp 0x509b74
mov byte [rsp + rdx + 0x15], dil
and r10d, esi
mov byte [rsp + rdx + 0x38], r10b
dec rdx
shr r8w, 8
mov ecx, r8d
test rdx, rdx
jl 0x509bba
movzx esi, byte [rax + rdx]
movzx edi, cl
add esi, edi
test rdx, rdx
jle 0x509b8e
movzx edi, byte [rdx + rax - 1]
jmp 0x509b90
xor edi, edi
mov r8d, esi
shr si, 1
shl edi, 7
movzx edi, dil
or esi, edi
lea edi, [rsi + r8]
mov r8d, edi
xor edi, esi
lea r9, [rdx + 1]
mov r10d, edi
and edi, r8d
cmp r9, 0x21
jb 0x509b5c
jmp 0x509c0d
mov byte [rsp + 0x14], cl
lea eax, [rcx - 1]
neg eax
mov byte [rsp + 0x35], al
lea rax, [rbx + 1]
mov byte [rsp + 0x36], al
mov rax, qword [rsp + 0x14]
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x18]
movups xmmword [rsp + 0x6c], xmm0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x7c], xmm0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x8c], xmm0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x9c], xmm0
add rsp, 0x58
pop rbp
ret
mov rax, r9
mov ecx, 0x21
call fcn.00462060
nop
int3
Function at 0x50faa0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x50fb75
movdqa xmm0, xmmword [0x00671c90]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x50fae1
movdqa xmm0, xmmword [0x00671ca0]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x50fbf7
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x50fbcb
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x00671a78]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x00671cb0]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret
Function at 0x180001010
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
sub edx, 1
je 0x180001037
cmp edx, 5
jne 0x18000102d
test r8, r8
je 0x18000102d
mov rax, qword [0x18053d940]
mov qword [r8], rax
mov eax, 1
add rsp, 0x28
ret
mov qword [0x18053d940], rcx
test r8, r8
je 0x18000102d
mov rcx, r8
call fcn.18000163c
mov ecx, 1
call fcn.180005d08
mov rcx, rax
call fcn.18000607c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x180001bb8
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x180001bd5
mov r9, rcx
sub rdx, rcx
mov al, byte [rdx + r9]
xor al, 0x12
mov byte [r9], al
inc r9
sub r8, 1
jne 0x180001bc3
mov rax, rcx
ret
Function at 0x140002270
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x14001b010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r14d, r14d
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x27], r14
mov qword [rbp + 0x2f], 0xf
mov byte [rbp + 0x17], r14b
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rcx + r8], r14b
jne 0x1400022c0
mov rdx, rcx
lea rcx, [rbp + 0x17]
call fcn.140002060
nop
mov r8, qword [rbp + 0x27]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
sub rax, r8
mov esi, 3
cmp rax, rsi
jb 0x140002369
lea rax, [r8 + 3]
mov qword [rbp + 0x27], rax
lea rbx, [rbp + 0x17]
cmp rcx, 0x10
cmovae rbx, qword [rbp + 0x17]
lea rax, [0x14001758f]
lea r15, [0x14001758c]
cmp rax, rbx
jbe 0x140002331
lea rax, [rbx + r8]
cmp r15, rax
ja 0x140002331
cmp rbx, r15
ja 0x140002329
mov rdi, r14
jmp 0x140002334
mov rdi, rbx
sub rdi, r15
jmp 0x140002334
mov rdi, rsi
lea rcx, [rbx + 3]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
sub rsi, rdi
lea rdx, [r15 + 3]
add rdx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14000237a
mov qword [rsp + 0x28], rsi
mov rdx, rsi
lea rcx, [rbp + 0x17]
call fcn.1400148f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
mov dword [rbp - 0x59], 0x70
mov dword [rbp - 0x55], 0x40
mov qword [rbp - 0x51], r14
lea rax, str.runas
mov qword [rbp - 0x49], rax
lea rax, str.cmd.exe
mov qword [rbp - 0x41], rax
lea rax, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0x10
cmovae rax, qword [rbp + 0x17]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], r14
mov dword [rbp - 0x29], r14d
mov qword [rbp - 0x21], r14
lea rcx, [rbp - 0x59]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x1400023fc
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x37]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x140002453
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000244e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000244e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001597c
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140015920
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400150a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140015101
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x1400150c0
mov ecx, dword [r10]
jmp 0x1400151ea
cmp ecx, 0x4e0
jb 0x1400151ea
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140015120
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140015170
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14000a920
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14001b170], rbx
je 0x14000a96c
cmp rax, rbx
jne 0x14000a95f
mov ebx, 1
mov esi, ebx
jmp 0x14000a971
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000a944
mov ebx, 1
mov eax, dword [0x14001b178]
cmp eax, ebx
jne 0x14000a987
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000a9ec
mov eax, dword [0x14001b178]
test eax, eax
jne 0x14000a9e6
mov dword [0x14001b178], ebx
lea r15, [0x14000c4b8]
lea rdi, [0x14000c4a0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x14000a9d8
test eax, eax
jne 0x14000a9dc
cmp qword [rdi], 0
je 0x14000a9cd
mov rax, qword [rdi]
mov rcx, qword [0x14000c480]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000a9ae
test eax, eax
je 0x14000a9ec
mov eax, 0xff
jmp 0x14000aac8
mov dword [0x14001a104], ebx
mov eax, dword [0x14001b178]
cmp eax, ebx
jne 0x14000aa13
lea rdx, [0x14000c498]
lea rcx, [0x14000c488]
call sub.msvcrt.dll__initterm
mov dword [0x14001b178], 2
test esi, esi
jne 0x14000aa20
xor eax, eax
xchg qword [0x14001b170], rax
cmp qword [0x14001b180], 0
je 0x14000aa54
lea rcx, [0x14001b180]
call fcn.14000ac90
test eax, eax
je 0x14000aa54
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14001b180]
mov r9, qword [0x14000c480]
call r9
mov r8, qword [0x14001a118]
mov rdx, qword [0x14001a110]
mov ecx, dword [0x14001a108]
call fcn.140005fbc
mov dword [0x14001a100], eax
cmp dword [0x14001a120], 0
jne 0x14000aa84
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14001a104], 0
jne 0x14000aa99
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14001a100]
jmp 0x14000aac8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.14018b000
add rsp, 0x28
jmp 0x14000a920

Function at 0x14000ab7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000abc8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000abc0
cmp dword [rcx + 0x3c], edx
jl 0x14000abc0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000abc0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000abc8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400011e0
Capabilities:
Start service

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov edi, ecx
mov rbx, rdx
lea rcx, [0x140004630]
call fcn.14001b110
call fcn.1400042b0
call fcn.140001110
lea rcx, [0x14005cad0]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140001308
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x427
jne 0x1400013df
mov qword [rsp + 0x50], rsi
xor esi, esi
cmp edi, 2
jne 0x140001384
mov rcx, qword [rbx + 8]
lea r8d, [rsi + 4]
lea rdx, str._ddd
call fcn.14001be24
lea rdi, str.ssh_agent
test eax, eax
jne 0x140001266
mov dword [0x14005ccf4], 7
jmp 0x1400012b0
mov rcx, qword [rbx + 8]
lea rdx, [0x1400395a8]
mov r8d, 3
call fcn.14001be24
test eax, eax
jne 0x14000128c
mov dword [0x14005ccf4], 6
jmp 0x1400012b0
mov rcx, qword [rbx + 8]
lea rdx, [0x1400395b0]
mov r8d, 2
call fcn.14001be24
test eax, eax
jne 0x1400012cf
mov dword [0x14005ccf4], 5
mov qword [0x14006eb50], rdi
mov qword [0x14006eb60], rsi
mov qword [0x14006eb58], rsi
mov dword [0x14005cb8c], 1
mov rcx, qword [rbx + 8]
lea rdx, [0x1400395b0]
mov r8d, 2
call fcn.14001be24
test eax, eax
jne 0x140001315
lea edx, [rax + 1]
lea rcx, [0x1400010f0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov ecx, 1
call fcn.140001d20
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rbx + 8]
call fcn.14001bbd0
movsxd rbx, eax
test eax, eax
je 0x140001384
mov qword [0x14006eb50], rdi
mov dword [0x14005ccf4], 3
mov qword [0x14006eb60], rsi
mov qword [0x14006eb58], rsi
mov dword [0x14005cb8c], esi
mov dword [0x14005ccf0], 8
mov qword [0x14006e230], rdi
mov dword [0x14006e228], 8
call int.140018680
mov rcx, rbx
call fcn.1400022d0
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 0x10]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
je 0x14000142d
mov r8d, 0x10
lea rdx, [0x140039570]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x14000142d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x140001303
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x140001303
jmp 0x1400013ed
or eax, 0xffffffff
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
xor r9d, r9d
mov r8d, 0xa4
lea rdx, str.wmain
lea rax, str.unable_to_start_ssh_agent_service__error_:_d
mov qword [rsp + 0x30], rax
lea rcx, str.C:OpenSSHcontribwin32openssh......contribwin32win32compat_ssh_agent_agent_main.c
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 1
call fcn.140008b00
int3
lea rax, str.unable_to_open_service_handle
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rdx, str.wmain
mov qword [rsp + 0x28], rsi
lea rcx, str.C:OpenSSHcontribwin32openssh......contribwin32win32compat_ssh_agent_agent_main.c
mov r8d, 0x9f
mov dword [rsp + 0x20], 1
call fcn.140008b00
int3