joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401b38f0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x78
mov rax, qword [rsp + 0xa0]
lea r8, [r8*8]
movaps xmmword [rsp + 0x60], xmm6
lea r9, [r9*8]
movaps xmmword [rsp + 0x50], xmm7
movq xmm6, r8
movaps xmmword [rsp + 0x40], xmm8
movq xmm0, r9
movdqu xmm5, xmmword [rax + 0x20]
mov r8d, 7
movdqu xmm8, xmmword [rax + 0x60]
movdqu xmm2, xmmword [rax + 0x40]
movdqu xmm3, xmmword [rax + 0x30]
movdqu xmm7, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x30], xmm9
movdqu xmm9, xmmword [rax + 0x50]
punpcklqdq xmm6, xmm0
movaps xmmword [rsp + 0x20], xmm10
xorps xmm6, xmm5
movdqu xmm10, xmmword [rax + 0x70]
nop word [rax + rax]
movdqa xmm0, xmm8
movdqa xmm4, xmm10
movdqa xmm1, xmm9
aesenc xmm4, xmmword [rax]
xorps xmm4, xmm6
aesenc xmm0, xmm10
movdqa xmm10, xmm0
movdqa xmm0, xmm2
aesenc xmm0, xmm9
movdqa xmm9, xmm0
movdqa xmm0, xmm3
aesenc xmm0, xmm2
movdqa xmm2, xmm0
movdqa xmm0, xmm7
xorps xmm2, xmm6
aesenc xmm1, xmm8
movdqa xmm8, xmm1
movdqa xmm1, xmm5
aesenc xmm0, xmm5
movdqa xmm5, xmm0
movdqu xmm0, xmmword [rax]
movdqu xmmword [rax], xmm4
aesenc xmm0, xmm7
movdqa xmm7, xmm0
aesenc xmm1, xmm3
movdqa xmm3, xmm1
sub r8, 1
jne 0x1401b3970
movdqu xmmword [rax + 0x20], xmm5
movdqu xmmword [rax + 0x70], xmm10
movdqu xmmword [rax + 0x60], xmm8
movdqu xmmword [rax + 0x50], xmm9
movdqu xmmword [rax + 0x40], xmm2
movdqu xmmword [rax + 0x30], xmm1
movdqu xmmword [rax + 0x10], xmm0
cmp rdx, 0x10
jne 0x1401b3a33
xorps xmm2, xmm9
xorps xmm3, xmm5
xorps xmm2, xmm8
xorps xmm4, xmm0
xorps xmm2, xmm3
xorps xmm2, xmm4
movdqu xmmword [rcx], xmm2
jmp 0x1401b3a6c
cmp rdx, 0x20
jne 0x1401b3a62
xorps xmm4, xmm0
xorps xmm3, xmm5
xorps xmm3, xmm4
movdqu xmmword [rcx], xmm3
movdqu xmm1, xmmword [rax + 0x40]
movdqu xmm0, xmmword [rax + 0x70]
xorps xmm1, xmmword [rax + 0x50]
xorps xmm0, xmmword [rax + 0x60]
xorps xmm1, xmm0
movdqu xmmword [rcx + 0x10], xmm1
jmp 0x1401b3a6c
mov r8, rdx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x20]
add rsp, 0x78
ret
Function at 0x1401b57a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1405786c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
mov rsi, r9
movups xmmword [rsp + 0x20], xmm0
mov rdi, r8
call sub.VCRUNTIME140.dll_memcpy
movdqu xmm1, xmmword [rsp + 0x20]
lea rcx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
movdqu xmm0, xmmword [rsi + 0x20]
sub r8, rdi
xorps xmm1, xmmword [rsi + 0x50]
add rcx, rdi
xorps xmm1, xmmword [rsi + 0x40]
xor edx, edx
xorps xmm1, xmmword [rsi + 0x10]
andps xmm0, xmmword [rsi + 0x30]
xorps xmm1, xmm0
movdqu xmmword [rsp + 0x20], xmm1
call sub.VCRUNTIME140.dll_memset
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movdqu xmm4, xmmword [rsi + 0x50]
movdqu xmm0, xmmword [rsi + 0x40]
movdqu xmm1, xmmword [rsi + 0x30]
aesenc xmm1, xmmword [rsi + 0x40]
aesenc xmm0, xmm4
aesenc xmm4, xmmword [rsi]
movdqu xmmword [rsi + 0x50], xmm0
movdqu xmm0, xmmword [rsi + 0x20]
aesenc xmm0, xmmword [rsi + 0x30]
movdqu xmmword [rsi + 0x30], xmm0
movdqu xmm0, xmmword [rsi]
aesenc xmm0, xmmword [rsi + 0x10]
movdqu xmmword [rsi + 0x40], xmm1
movdqu xmm1, xmmword [rsi + 0x10]
aesenc xmm1, xmmword [rsi + 0x20]
movdqu xmmword [rsi + 0x10], xmm0
movdqu xmm0, xmmword [rsp + 0x20]
movdqu xmmword [rsi + 0x20], xmm1
xorps xmm4, xmm0
movdqu xmmword [rsi], xmm4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401cb6f0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401b5940
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rsp
sub rsp, 0x88
movdqa xmm3, xmmword [0x14020df00]
movdqa xmm4, xmmword [0x14020df10]
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movdqu xmm8, xmmword [rdx]
movaps xmmword [rax - 0x48], xmm9
movdqu xmm9, xmmword [rdx + 0x10]
movaps xmmword [rax - 0x58], xmm10
movdqu xmm10, xmmword [rcx]
movaps xmmword [rax - 0x68], xmm11
movdqu xmm11, xmmword [rcx + 0x10]
movaps xmmword [rax - 0x78], xmm12
xorps xmm8, xmm10
xorps xmm9, xmm11
movaps xmmword [rsp], xmm13
movdqa xmm7, xmm11
movdqa xmm2, xmm10
xorps xmm7, xmm4
movdqa xmm12, xmm9
xorps xmm2, xmm3
movdqa xmm13, xmm8
mov eax, 4
nop dword [rax]
movdqa xmm0, xmm3
movdqa xmm5, xmm2
movdqa xmm1, xmm4
aesenc xmm0, xmm2
movdqa xmm6, xmm0
movdqa xmm2, xmm12
aesenc xmm1, xmm3
movdqa xmm3, xmm13
aesenc xmm2, xmm4
movdqa xmm4, xmm1
aesenc xmm4, xmm0
movdqa xmm0, xmm2
aesenc xmm3, xmm12
aesenc xmm0, xmm1
movdqa xmm1, xmm3
aesenc xmm1, xmm2
aesenc xmm5, xmm7
aesenc xmm7, xmm13
movdqa xmm13, xmm4
xorps xmm7, xmm10
movdqa xmm2, xmm7
aesenc xmm2, xmm3
movdqa xmm3, xmm0
aesenc xmm3, xmm4
movdqa xmm4, xmm1
aesenc xmm4, xmm0
movdqa xmm0, xmm2
aesenc xmm6, xmm5
aesenc xmm13, xmm6
aesenc xmm0, xmm1
aesenc xmm5, xmm7
movdqa xmm7, xmm3
xorps xmm5, xmm11
movdqa xmm1, xmm5
aesenc xmm1, xmm2
movdqa xmm2, xmm4
aesenc xmm2, xmm3
movdqa xmm3, xmm0
aesenc xmm7, xmm13
aesenc xmm3, xmm4
movdqa xmm4, xmm1
aesenc xmm6, xmm5
xorps xmm6, xmm8
movdqa xmm12, xmm6
aesenc xmm13, xmm6
xorps xmm13, xmm9
movdqu xmmword [r8], xmm13
aesenc xmm4, xmm0
aesenc xmm12, xmm1
sub rax, 1
jne 0x1401b59c0
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm10, xmmword [rsp + 0x30]
movaps xmm11, xmmword [rsp + 0x20]
movaps xmm13, xmmword [rsp]
movdqu xmmword [r8 + 0x10], xmm12
movaps xmm12, xmmword [rsp + 0x10]
movdqu xmmword [r8 + 0x50], xmm7
movaps xmm7, xmmword [rsp + 0x60]
movdqu xmmword [r8 + 0x20], xmm4
movdqu xmmword [r8 + 0x30], xmm3
movdqu xmmword [r8 + 0x40], xmm2
add rsp, 0x88
ret
Function at 0x1401b5b10
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
mov rax, qword [rsp + 0x80]
lea r8, [r8*8]
movaps xmmword [rsp + 0x40], xmm6
lea r9, [r9*8]
movaps xmmword [rsp + 0x30], xmm7
movq xmm0, r9
movaps xmmword [rsp + 0x20], xmm8
movq xmm8, r8
movdqu xmm6, xmmword [rax + 0x30]
mov r8d, 7
movdqu xmm7, xmmword [rax + 0x50]
movdqu xmm4, xmmword [rax + 0x40]
movdqu xmm2, xmmword [rax + 0x20]
movdqu xmm5, xmmword [rax + 0x10]
punpcklqdq xmm8, xmm0
xorps xmm8, xmm6
nop
movdqa xmm0, xmm4
movdqa xmm3, xmm7
aesenc xmm3, xmmword [rax]
xorps xmm3, xmm8
aesenc xmm0, xmm7
movdqa xmm7, xmm0
movdqa xmm0, xmm6
aesenc xmm0, xmm4
movdqa xmm4, xmm0
movdqa xmm0, xmm2
aesenc xmm0, xmm6
movdqa xmm6, xmm0
movdqa xmm0, xmm5
aesenc xmm0, xmm2
movdqa xmm2, xmm0
movdqu xmm0, xmmword [rax]
movdqu xmmword [rax], xmm3
aesenc xmm0, xmm5
movdqa xmm5, xmm0
sub r8, 1
jne 0x1401b5b70
movdqu xmmword [rax + 0x30], xmm6
movdqu xmmword [rax + 0x50], xmm7
movdqu xmmword [rax + 0x40], xmm4
movdqu xmmword [rax + 0x20], xmm2
movdqu xmmword [rax + 0x10], xmm0
cmp rdx, 0x10
jne 0x1401b5bfc
xorps xmm2, xmm6
xorps xmm4, xmm7
xorps xmm2, xmm4
xorps xmm3, xmm0
xorps xmm2, xmm3
movdqu xmmword [rcx], xmm2
jmp 0x1401b5c2a
cmp rdx, 0x20
jne 0x1401b5c20
xorps xmm2, xmm0
xorps xmm2, xmm3
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rax + 0x40]
xorps xmm0, xmmword [rax + 0x50]
xorps xmm0, xmmword [rax + 0x30]
movdqu xmmword [rcx + 0x10], xmm0
jmp 0x1401b5c2a
mov r8, rdx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x1401c9560
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1401c95a5
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x50], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x1401c95f0
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x1401c9652
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x1401c9610
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x1401c9693
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140212a80]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140212a81]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1401c9660
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
Function at 0x1401c96b0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r12, r9
mov rcx, r8
mov r14, rdx
call fcn.140148f00
mov r8d, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
add rcx, 0x18
mov r15d, eax
lea r9d, [r8 + r8]
add rcx, r9
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1401c9856
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x60], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x1401c9740
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x1401c97a2
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x50], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x1401c9760
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x1401c97e3
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140212a80]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140212a81]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1401c97b0
mov rcx, qword [rsp + 0x70]
call fcn.140148f00
mov r9, qword [rbx]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, r12
call qword [r9 + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbx]
test rdi, rdi
jne 0x1401c9812
mov edi, dword [rsi + 0x18]
add rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov r8d, dword [rsi + 0x20]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov rcx, rbx
call qword [fcn.1401cd246]
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
mov eax, 0x1b
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
Function at 0x1401c9980
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1405786c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1401c99cc
mov eax, 0x1b
jmp 0x1401c9a9e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1401c9a10
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x1401c9a9e
mov rcx, rbp
call fcn.140148f00
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x1401c9a7a
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1401c9a8a
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401c9a9c
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401cb6f0
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x1401ca850
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1401ca8b5
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x1401ca860
ret

Function at 0x1401caac8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1401cab02
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401cab07
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1401cab50
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1401cab50
dec r8
sub rdx, 1
jne 0x1401cab36
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1401cc298
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401cc2e2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401cc2e2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401cc2e2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401cc2e2
cmp dword [rcx + 0x84], 0xe
jbe 0x1401cc2e2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401cc2e4
xor al, al
add rsp, 0x28
ret
Function at 0x100018fb8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
sub rsp, 0x38
xor ebx, ebx
mov rdi, rcx
lea rdx, [rsp + 0x58]
mov dword [rcx], ebx
xor ecx, ecx
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x50], ebx
call fcn.10002e71c
cmp eax, ebx
je 0x100018fe9
mov ebx, 0x65b
jmp 0x100019087
mov eax, 1
cmp dword [rsp + 0x58], eax
jne 0x100018ffb
mov dword [rdi], eax
jmp 0x100019087
cmp dword [rsp + 0x58], 2
jne 0x100019087
mov dword [rdi], eax
lea rax, [rsp + 0x68]
lea rdx, [0x1000063c0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x100019087
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [0x100006440]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x60], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x50]
cmp eax, ebx
cmovne ecx, ebx
mov dword [rsp + 0x50], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x50], ebx
je 0x100019087
mov dword [rdi], ebx
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x100019098
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r12d, r12d
mov r15, rdx
mov rdi, rcx
mov dword [rsp + 0x68], r12d
mov r14, r12
mov rbp, r12
cmp rdx, r12
jne 0x1000190d4
lea eax, [r12 + 0x57]
jmp 0x1000192da
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp rax, r12
jne 0x1000190e9
mov ebx, 0x65b
jmp 0x1000192d2
lea rdx, [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
cmp rax, r12
jne 0x10001910c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1000192a3
mov rax, qword [rax]
mov r8d, 0x7fffffff
mov r13d, 2
cmp rax, r12
je 0x10001914c
mov rcx, r8
mov edx, r12d
cmp word [rax], r12w
je 0x100019135
add rax, r13
sub rcx, 1
jne 0x100019126
mov edi, 0x80070057
cmp rcx, r12
jne 0x100019144
mov rbx, r12
jmp 0x100019156
mov rbx, r8
sub rbx, rcx
jmp 0x100019158
mov rbx, qword [rsp + 0x68]
mov edi, 0x80070057
mov edx, edi
cmp edx, r12d
jl 0x100019190
lea rdx, [rbx + rbx + 2]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
cmp rax, r12
jne 0x10001917c
mov ebx, 8
jmp 0x100019195
mov r8, qword [rsi]
lea rdx, [rbx + 1]
mov rcx, rax
call fcn.10001f378
cmp eax, r12d
jge 0x10001919f
mov ebx, 0x65b
mov rdi, qword [rsp + 0x60]
jmp 0x1000192a3
mov r8d, dword [rsp + 0x68]
cmp r8d, 1
jle 0x100019295
mov ebx, 8
lea r11d, [rbx - 7]
cmp r8d, r11d
jle 0x10001921a
mov rax, qword [rsp + 0x68]
lea r10, [rsi + 8]
xor edx, edx
mov rcx, qword [r10]
cmp rcx, rdx
je 0x1000191fd
xor eax, eax
mov edx, 0x7fffffff
mov r9d, eax
cmp word [rcx], ax
je 0x1000191e7
add rcx, r13
sub rdx, 1
jne 0x1000191d9
cmp rdx, rax
jne 0x1000191f1
mov r9d, edi
jmp 0x1000191f9
mov eax, 0x7fffffff
sub rax, rdx
xor edx, edx
jmp 0x100019200
mov r9d, edi
cmp r9d, edx
jl 0x1000192ef
inc rax
inc r11d
add r10, rbx
add r12, rax
cmp r11d, r8d
jl 0x1000191c7
lea rdx, [r12 + r12]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
xor edi, edi
mov rbp, rax
cmp rax, rdi
je 0x1000192f4
mov r8, qword [rsi + 8]
mov rdx, r12
mov rcx, rax
call fcn.10001f378
cmp eax, edi
jl 0x1000192ef
cmp dword [rsp + 0x68], r13d
jle 0x100019292
lea rdi, [rsi + 0x10]
lea r8, [0x100006470]
mov rdx, r12
mov rcx, rbp
call fcn.10001f2ac
xor edx, edx
cmp eax, edx
jl 0x1000192ef
mov r8, qword [rdi]
mov rdx, r12
mov rcx, rbp
call fcn.10001f2ac
xor ecx, ecx
cmp eax, ecx
jl 0x1000192ef
inc r13d
add rdi, rbx
cmp r13d, dword [rsp + 0x68]
jl 0x100019259
xor r12d, r12d
mov rdi, qword [rsp + 0x60]
mov qword [r15], rbp
mov ebx, r12d
mov qword [rdi], r14
cmp rsi, r12
je 0x1000192b1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp ebx, r12d
je 0x1000192d8
cmp r14, r12
je 0x1000192c4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp rbp, r12
je 0x1000192d2
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rdi], r12
mov qword [r15], r12
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ebx, 0x65b
mov rdi, qword [rsp + 0x60]
xor r12d, r12d
jmp 0x1000192a3
Function at 0x10001932c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x120
xor r12d, r12d
mov ebp, ecx
lea rcx, [rax - 0x98]
lea r8d, [r12 + 0x70]
mov rbx, r12
xor edx, edx
mov dword [rax + 0x10], r12d
mov rdi, r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], rbx
call sub.msvcrt.dll_memset
lea esi, [r12 + 0x50]
lea rcx, [rsp + 0x60]
mov r8, rsi
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [0x100019304]
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x68], rax
mov rax, qword [0x100081fd8]
lea rsi, [0x100006478]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x64], 3
mov dword [rsp + 0x70], r12d
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x74], r12d
mov qword [rsp + 0x80], r12
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], rsi
call qword [sym.imp.USER32.dll_RegisterClassExW]
cmp r12w, ax
je 0x10001954c
mov rax, qword [0x100081fd8]
mov qword [rsp + 0x58], r12
lea r8, [0x100006490]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov eax, 0x80000000
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov r9d, 0x80000000
mov rdx, rsi
mov ecx, 0x80
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
cmp rax, r12
je 0x10001954c
mov edx, ebp
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea r11, [rsp + 0x160]
cmp r11, r12
je 0x100019484
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x160]
call fcn.100019098
mov rdi, qword [rsp + 0x160]
mov rbx, qword [rsp + 0x168]
jmp 0x100019489
mov eax, 0x57
mov dword [rsp + 0x158], eax
cmp eax, r12d
jne 0x100019559
mov qword [rsp + 0xb8], rsi
lea rax, [0x1000064b0]
or esi, 0xffffffff
mov ecx, esi
mov dword [rsp + 0xb0], 0x70
mov dword [rsp + 0xb4], 0x4040
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xd0], rbx
mov dword [rsp + 0xe0], 5
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, r12d
je 0x10001954c
mov rcx, qword [rsp + 0x118]
cmp rcx, r12
jne 0x100019519
mov dword [rsp + 0x158], 0x65b
jmp 0x10001956c
mov edx, esi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x158], eax
cmp eax, r12d
je 0x100019531
cmp eax, esi
jmp 0x10001954a
mov rcx, qword [rsp + 0x118]
lea rdx, [rsp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp eax, r12d
jne 0x100019559
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x158], eax
mov rcx, qword [rsp + 0x118]
cmp rcx, r12
je 0x10001956c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rdi, r12
je 0x10001957a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp rbx, r12
je 0x100019588
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rsp + 0x158]
add rsp, 0x120
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret