joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140045e20
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140045f87
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x140045e32
cmp edx, ecx
jne 0x140045f75
nop word [rax + rax]
test rsi, rsi
jne 0x140045f75
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x140045e94
nop
call fcn.1400679a0
xorps xmm15, xmm15
mov r14, qword [0x1404d2990]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.140045d40
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x140045f70
mov rdx, qword [0x14047e958]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x140045f65
mov rcx, qword [0x14047e950]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x14047f970]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x14047f970], rax
nop
mov edx, 1
lea rsi, [0x14047f978]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x140045f53
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x14025c3b5]
mov ebx, 0x28
nop
call fcn.140037320
mov rax, rsi
mov rcx, rdx
call fcn.140066120
call fcn.140035840
lea rax, [0x14025ab19]
mov ebx, 0x23
call fcn.140037320
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140063e40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140045e20
Function at 0x140052e40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x140052fb7
movzx edx, byte [rax]
test edx, edx
jne 0x140052e74
nop dword [rax]
test r8b, r8b
jne 0x140052e74
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x140052e87
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x140052f77
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x140052f65
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x140052f57
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x140052edd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x140052f20
mov eax, 1
cmp rax, rbx
ja 0x140052f0b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.1400661e0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x140052f4f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x140052f13
mov rcx, r11
mov eax, r12d
jmp 0x140052ee2
mov rcx, rbx
call fcn.140066120
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.140066120
mov eax, r8d
mov rcx, rbx
call fcn.1400661e0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x140052fad
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x140052f70
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x140052e8d
mov eax, edx
mov rcx, rbx
call fcn.140066120
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.140066120
nop
int3
Function at 0x14005a7c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005a86f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x14005a8c0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.140063d00
xorps xmm15, xmm15
mov r14, qword [0x1404d2990]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.140063e40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.14005a7c0
Function at 0x140065c80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x1404d2b80]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x1404d270d], 0
je 0x140065cb6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1404d2ec0]
aesenc xmm0, xmmword [0x1404d2ed0]
aesenc xmm0, xmmword [0x1404d2ee0]
movq rax, xmm0
ret
jmp 0x14000a660

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

Disassembly:
mov rdx, qword [0x140470ca0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401b5ed0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401b5ed8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401b5ed0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1401b5f25
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1401b5f1c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401b5ed0
add rax, 0x28
cmp rax, r9
jne 0x1401b5f08
xor eax, eax
ret

Function at 0x1401b5f30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140470ca0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1401b5f50
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401b5f58
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401b5f50
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1401b5fe0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140470ca0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1401b6000
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1401b6008
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x787c00
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x14a8
call fcn.007b7180
sub rsp, rax
movaps xmmword [rsp + 0x1490], xmm15
movaps xmmword [rsp + 0x1480], xmm14
movaps xmmword [rsp + 0x1470], xmm13
movaps xmmword [rsp + 0x1460], xmm12
movaps xmmword [rsp + 0x1450], xmm11
movaps xmmword [rsp + 0x1440], xmm10
movaps xmmword [rsp + 0x1430], xmm9
movdqa xmmword [rsp + 0x1420], xmm8
movaps xmmword [rsp + 0x1410], xmm7
movaps xmmword [rsp + 0x1400], xmm6
movdqa xmm9, xmmword [0x007bf5e0]
xor eax, eax
movdqa xmm12, xmmword [0x007bf5f0]
pxor xmm2, xmm2
movdqa xmm4, xmmword [0x007bf610]
movdqa xmm6, xmmword [0x007bf630]
movdqa xmm13, xmmword [0x007bf670]
movdqa xmm14, xmmword [0x007bf680]
movdqa xmm15, xmmword [0x007bf690]
movdqa xmm7, xmmword [0x007bf6a0]
movdqa xmm10, xmmword [0x007bf6b0]
movdqa xmm11, xmmword [0x007bf6c0]
nop dword [rax + rax]
Function at 0x790140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub cl, byte [rdi]
test byte [rsi + rcx*2 + 0x75], dh
jmp 0x159985c
test byte [rsi + 0xf000002], dh
test dword [rax + 2], esi
add byte [rax], al
add byte [rax - 0x3f7bc3fc], cl
mov rax, qword [rcx + 0x10]
mov edx, dword [rcx + 0x3c]
jmp 0x79020a
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 8], 0x5b41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xa], 0x5a41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xc], 0x5941
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xe], 0x5841
je 0x7902b4
jne 0x7902b4
jmp 0x1e7eb52
ret
mov qword [rcx + 0x10], rdx
jmp 0x790385
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 6], 0x5c41
jmp 0x79014e
cmp edx, 0x8664
je 0x7902d1
cmp edx, 0x14c
jne 0x79018b
je 0x79026b
jne 0x79026b
jmp 0x798bbe
jne 0x7902c6
add byte [rax], al
add byte [rax], al
jmp 0x790193
jne 0x790342
je 0x10c28d3d
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
mov qword [rcx + 0x10], rdx
je 0x790303
jne 0x790303
jmp 0x7902f4
je 0x790285
jne 0x790285
add byte [rax], al
add byte [rax], al
mov rdx, qword [rcx + 8]
mov byte [rdx + r8], 0x58
mov qword [rcx + 0x10], r9
jmp 0x79018b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x11], 0x5e
mov rdx, qword [rcx + 8]
je 0x79028c
jne 0x79028c
je 0x2894706
mov byte [rax + rdx + 2], 0x5d
pop rbp
je 0x790342
jmp 0x7901e5
mov byte [rax + rdx + 4], 0x5a
mov rdx, qword [rcx + 8]
lea r8, [rax + 6]
je 0x7902c6
jmp 0x7901d7
mov byte [rax + rdx + 3], 0x5b
mov rdx, qword [rcx + 8]
jmp 0x79024b
mov rdx, qword [rcx + 8]
mov byte [rdx + rax], 0x5f
mov rdx, qword [rcx + 8]
mov byte [rax + rdx + 1], 0x5e
mov rdx, qword [rcx + 8]
je 0x79023c
jne 0x79023c
jmp 0x782972
jmp 0x7901b0
jne 0x7902f4
mov byte [r9 + rdx + 0x12], 0x5d
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x13], 0x5b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x14], 0x5a
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x15], 0x59
jmp 0x7902dd
je 0x8ca8e00
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x10], 0x5f
jmp 0x790228
jne 0x790317
jmp 0x5894790
mov byte [rax + rdx + 5], 0x59
lea r9, [rax + 7]
jmp 0x7902e5
mov r8, qword [rcx + 8]
lea rdx, [rax + 1]
jmp 0x790339
lea r8, [r9 + 0x16]
add r9, 0x17
je 0x790212
jne 0x790212
jmp 0x7902b2
jmp 0x7901a0
je 0x790317
jmp 0x7902c3
mov byte [r8 + r9], 0x8b
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
je 0x790383
jne 0x790383
jmp 0x790317
mov qword [rcx + 0x10], rdx
mov byte [r8 + r9], 0xe5
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
jmp 0x79035d
lea rdx, [r9 + 1]
jmp 0x7902f9
mov qword [rcx + 0x10], rdx
je 0x79036d
jne 0x79036d
jmp 0x8ca8e8e
mov rdx, qword [rcx + 8]
je 0x79025f
jne 0x79025f
je 0x781641
inc dword [rax]
add byte [rax], al
add byte [rdi], cl
test byte [rsi - 2], bh
invalid
je 0x7901e1
jne 0x7901e1
add byte [rax], al
add byte [rax], al
mov byte [r8 + rax], 0x48
mov r8, qword [rcx + 8]
je 0x7901ed
jne 0x7901ed
jmp 0xffffffffc6bcae72
jmp 0x79032f
mov byte [r8 + r9], 0x5d
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
mov word [r8 + r9], 0x5f41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 2], 0x5e41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 4], 0x5d41
je 0x7902f4
jmp 0x79028a
invalid
Function at 0x79a860
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
jmp 0x79aab8
mov edi, edx
jmp 0x79ab91
je 0x79aabe
jne 0x79aabe
je 0x53cf0218
push rsi
push rdi
push rbp
push rbx
jmp 0x79abba
sub rsp, 0xa8
jmp 0x79a9b8

Function at 0x7a8c50
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
lea rax, [rdx + 0x10]
cmp r8d, 0x100
cmovne rax, rdx
lea r8, str.expand_32_byte_kexpand_16_byte_k
lea r9, [0x007bfbe0]
cmove r9, r8
mov edx, dword [rax]
mov dword [rcx + 0x20], edx
mov edx, dword [rax + 4]
mov dword [rcx + 0x24], edx
mov edx, dword [rax + 8]
mov dword [rcx + 0x28], edx
mov eax, dword [rax + 0xc]
mov dword [rcx + 0x2c], eax
mov dword [rcx], 0x61707865
mov rax, qword [r9 + 4]
mov qword [rcx + 4], rax
mov eax, dword [r9 + 0xc]
mov dword [rcx + 0xc], eax
ret

Function at 0x7a8d90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov qword [rsp + 0x50], rcx
mov eax, dword [rdx]
mov dword [rsp + 0xc], eax
mov eax, dword [rdx + 4]
mov dword [rsp + 0x10], eax
mov eax, dword [rdx + 8]
mov dword [rsp + 0x14], eax
mov r12d, dword [rdx + 0xc]
mov r13d, dword [rdx + 0x10]
mov r14d, dword [rdx + 0x14]
mov r15d, dword [rdx + 0x18]
mov r10d, dword [rdx + 0x1c]
mov edi, dword [rdx + 0x20]
mov r11d, dword [rdx + 0x24]
mov ebx, dword [rdx + 0x28]
mov ebp, dword [rdx + 0x2c]
mov ecx, dword [rdx + 0x30]
mov eax, dword [rdx + 0x34]
mov r9d, dword [rdx + 0x38]
mov r8d, dword [rdx + 0x3c]
mov dword [rsp + 0x4c], 0xfffffff8
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x3c], ecx
mov edx, ecx
mov dword [rsp + 0x38], ebp
mov dword [rsp + 8], ebp
mov dword [rsp + 0x34], ebx
mov dword [rsp], ebx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x2c], edi
mov ebp, edi
mov dword [rsp + 0x28], r10d
mov edi, r10d
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x20], r14d
mov ebx, r14d
mov dword [rsp + 0x1c], r13d
mov dword [rsp + 0x18], r12d
mov r14d, r12d
mov r12d, dword [rsp + 0x14]
mov r10d, dword [rsp + 0x10]
mov ecx, dword [rsp + 0xc]
nop

Function at 0x7aed00
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x7aed8b
mov qword [rcx + 0x48], 0
mov qword [rcx], 0
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx + 8], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x10], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x18], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x20], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x28], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x30], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x38], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x40], rax
xor eax, eax
ret
mov eax, 1
ret
Function at 0x7af7b0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov edx, 0x20
mov rcx, r8
mov r8, rsi
call fcn.007af520
and byte [rsi], 0xf8
mov al, byte [rsi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [rsi + 0x1f], al
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rsi
call fcn.007ac170
mov rcx, rdi
mov rdx, rbx
call fcn.007ac0f0
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0x7af810
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov qword [rsp + 0x28], rcx
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
mov byte [rsp + rax + 0x30], cl
add rax, 1
cmp rax, 0x20
jne 0x7af830
and byte [rsp + 0x30], 0xf8
mov al, byte [rsp + 0x4f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x4f], al
lea rbp, [rsp + 0x140]
mov rcx, rbp
call fcn.007a9570
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.007a9200
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.007a9220
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.007ab4a0
mov rcx, rbx
mov rdx, rbx
call fcn.007a9800
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.007a9fa0
lea rcx, [rsp + 0x80]
call fcn.007a9200
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.007a91e0
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.007a9550
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.007a9200
mov r13d, 0xfe
xor r15d, r15d
nop word cs:[rax + rax]
nop
mov ebp, r15d
mov eax, r13d
shr rax, 3
movzx r15d, byte [rsp + rax + 0x30]
mov ecx, r13d
and cl, 7
shr r15d, cl
and r15d, 1
xor ebp, r15d
lea rsi, [rsp + 0x80]
mov rcx, rsi
lea r12, [rsp + 0x50]
mov rdx, r12
mov r8d, ebp
call fcn.007a93b0
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.007a93b0
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.007ab4a0
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.007ab4a0
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.007a9220
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.007a9220
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.007a9fa0
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.007a9fa0
mov rcx, rbp
mov rdx, rbx
call fcn.007a9a90
mov rcx, rbx
mov rdx, rsi
call fcn.007a9a90
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.007a9220
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.007ab4a0
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.007a9fa0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.007ab4a0
mov rcx, rdi
mov rdx, rdi
call fcn.007a9a90
mov rcx, r14
mov rdx, rbx
call fcn.007aaae0
mov rcx, r12
mov rdx, r12
call fcn.007a9a90
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.007a9220
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.007a9fa0
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.007a9fa0
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x7af900
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.007a93b0
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.007a93b0
mov rcx, rdi
mov rdx, rdi
call fcn.007a9800
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.007a9fa0
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.007aa810
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140497dd0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140497ddd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140497ded
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140497dd5
lea eax, [rcx + 1]
jmp 0x140497dfb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140497e0e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140497df4
sub eax, 3
jb 0x140497e2e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140497e7d
sar eax, 1
movsxd rbp, eax
jb 0x140497e64
jmp 0x140497e3c
add ebx, ebx
jne 0x140497e3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140497e64
inc ecx
add ebx, ebx
jne 0x140497e4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140497e64
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140497e5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140497e4c
add ecx, 2
jmp 0x140497e69
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140497d92
jmp 0x140497ddd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1f9c00
mov dl, 0x46
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140497ecd
cmp rsi, rcx
jae 0x140497ed5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140497eb4
cmp al, 0x8f
ja 0x140497eb4
cmp byte [rsi - 2], 0xf
je 0x140497eba
sub al, 0xe8
cmp al, 1
ja 0x140497e9e
cmp rsi, rcx
jae 0x140497ed5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140497ea4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140497ed5
lodsb al, byte [rsi]
jmp 0x140497eb4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x473000]
mov eax, dword [rdi]
or eax, eax
je 0x140497f3e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x4a6358]
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 0x140497ee2
jns 0x140497f17
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140497f21
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 0x140497f38
mov qword [rbx], rax
add rbx, 8
jmp 0x140497f02
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 0x140497f82
cmp al, 0xef
ja 0x140497f6a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140497f4a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140497f59
mov eax, dword [rdi]
add rdi, 4
jmp 0x140497f59
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 + 0x247]
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 0x140497fd6
sub rsp, 0xffffffffffffff80
jmp 0x1401d72a4
Function at 0x180002c60
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002c92
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002c92
nop word cs:[rax + rax]
jmp 0x180002c90
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002d68
mov rsi, r10
test r8b, r8b
je 0x180002d80
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002d00
test r9b, r9b
je 0x180002d90
sub rsi, rcx
je 0x180002d64
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002d60
test ebp, ebp
jne 0x180002d60
add rbx, 1
cmp rsi, rbx
jne 0x180002d20
jmp 0x180002d64
test ebp, ebp
jne 0x180002cec
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002d80
jmp 0x180002d90
Function at 0x140006880
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 [0x140011238], rbx
je 0x1400068cc
cmp rax, rbx
jne 0x1400068bf
mov ebx, 1
mov esi, ebx
jmp 0x1400068d1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400068a4
mov ebx, 1
mov eax, dword [0x140011240]
cmp eax, ebx
jne 0x1400068e7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000694c
mov eax, dword [0x140011240]
test eax, eax
jne 0x140006946
mov dword [0x140011240], ebx
lea r15, [0x140008668]
lea rdi, [0x140008650]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140006938
test eax, eax
jne 0x14000693c
cmp qword [rdi], 0
je 0x14000692d
mov rax, qword [rdi]
mov rcx, qword [0x140008610]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000690e
test eax, eax
je 0x14000694c
mov eax, 0xff
jmp 0x140006a28
mov dword [0x14000f894], ebx
mov eax, dword [0x140011240]
cmp eax, ebx
jne 0x140006973
lea rdx, [0x140008648]
lea rcx, [0x140008618]
call sub.msvcrt.dll__initterm
mov dword [0x140011240], 2
test esi, esi
jne 0x140006980
xor eax, eax
xchg qword [0x140011238], rax
cmp qword [0x140011258], 0
je 0x1400069b4
lea rcx, [0x140011258]
call fcn.140007050
test eax, eax
je 0x1400069b4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140011258]
mov r9, qword [0x140008610]
call r9
mov r8, qword [0x14000f8a8]
mov rdx, qword [0x14000f8a0]
mov ecx, dword [0x14000f898]
call fcn.14000166c
mov dword [0x14000f890], eax
cmp dword [0x14000f8b0], 0
jne 0x1400069e4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000f894], 0
jne 0x1400069f9
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000f890]
jmp 0x140006a28
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.140138000
add rsp, 0x28
jmp 0x140006880

Function at 0x140006f3c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140006f88
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140006f80
cmp dword [rcx + 0x3c], edx
jl 0x140006f80
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140006f80
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 0x140006f88
mov rax, rdx
add rsp, 0x18
ret