joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140c4393c
Capabilities:
Authenticate hmac

Disassembly:
xor r9d, ebx
inc rbp
xor dword [rsp + rbp - 0x9080], ebp
add rbp, qword [rsp + rbp - 0x9082]
neg r9d
push r11
movzx r8d, cl
lea r9d, [r9 + rdx*2 + 0x1dd785]
xor dx, 0x5f3e
shl ebp, 0x5c
shl rax, 0x91
ror r9d, 3
neg eax
shl edx, 0x25
mov qword [rsp + rdx - 0x21478], 0x6aafcb8d
dec r9d
mov qword [rsp + rdx*4 - 0x851e0], rbx
push rcx
or r8, 0x2119e8b4
adc ecx, dword [rsp + rdx*8 - 0x10a3e0]
xor dword [rsp + r8 - 0x2119e896], r9d
pop r11
mov rbx, qword [rsp + r11 - 0x6a]
or r11w, word [rsp + r11 - 0x7e]
movsxd r9, r9d
ror r11w, 4
add r10, r9
cbw
mov r11, qword [rdi + r11*4 - 0x2802e]
shl word [rsp + rdx - 0x2146e], 0xe8
xor dword [rsp + rdx - 0x21466], 0x1893b63f
mul dword [rsp + rdx - 0x2147b]
lea rdi, [rdi + r8*2 - 0x4233d18a]
bts r8d, ecx
rol ecx, cl
shr word [rsp + r8*2 - 0x4233d160], cl
xor r11, rbx
shr edx, cl
not byte [rsp + rdx*8 - 0x118cdc39]
not rax
not r11
ror r11, 7
inc r11
bswap r11
xchg word [rsp + rdx - 0x2319b85], dx
xor word [rsp + rdx - 0x231e735], 0x2385
xor rbx, r11
ror byte [rsp + rdx - 0x231e730], cl
dec bpl
inc ax
mov qword [rsi + rdx - 0x231e74b], r11
call fcn.140c24b9a

Function at 0x140c44733
Capabilities:
Authenticate hmac

Disassembly:
adc r10, r8
div rcx
jmp fcn.140bfdea8
cdq
pop rbx
movsxd r8, r8d
sets dl
jne 0x140c0c062
mov edx, 0x3b3f5b00
movzx ecx, dx
not dl
lea rdi, [rdi + rcx - 0x5b04]
movsx r8d, cl
jmp 0x140c148ed
shl dx, cl
ror r8d, 3
movsx eax, r11w
mov qword [rsp + r11*2 + 0x23ce], 0x112b1d1f
bswap r8d
pop rdx
mov qword [rsp + r11 + 0x11e7], rbx
xchg rbp, rcx
cwd
shl rdx, cl
xor dword [rsp + r11*2 + 0x23ce], r8d
sar bpl, 0x41
jge 0x140c15132

Function at 0x140c45463
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + r8 - 0xe34f], rdx
dec eax
ror byte [rsp + r8 - 0xe349], 0x63
sub qword [rsp + r8 - 0xe34f], rcx
xor eax, 0x5086a427
btc r11w, 0x3f
setb dl
bswap eax
dec eax
not eax

Function at 0x140c45995
Capabilities:
Authenticate hmac

Disassembly:
lea rdi, [rdi + rbp*2 - 0x74340b28]
movsx ecx, r8w
mov r8d, dword [rdi + rbp*2 - 0x74340b24]
call fcn.140c00136
Function at 0x140c45a01
Capabilities:
Authenticate hmac

Disassembly:
idiv al
lea rax, [rdx*2 + 0x33a80028]
add r10, rbp
call fcn.140c2f632
sub rdi, 1
movzx r9d, byte [rdi]
mov r8d, 0xdb2058a6
jmp 0x140c3e8ca
xor bl, r9b
movsx ebp, ax
shr r8d, 0x77
adc r9, rsp
shr bpl, 0xa4
lea rax, [rdx - 0x7665d747]
mov rbp, qword [r9 + r8 - 0x1b6]
neg r8d
lea rcx, [r11*8 - 0x4aeb63f7]
bts r8, rcx
lea rsi, [rsi + rdx*2 - 0x1fe]
mov qword [rsi + rdx - 0xfb], rbp
setb dl
lea rdi, [rdi + rdx - 5]
dec r8b
imul rcx
mov r8d, dword [rdi + rdx*2 + 6]
idiv eax
bts cx, 0xa7
xor al, 0x8d
xor r8d, ebx
lea r9, [rcx*2 - 0x2a607aef]
sar r9w, 0xc7
ror rcx, 0xd0
neg r8d
btc r9, 0x32
not dx
xor r9b, 0x9e
inc r8d
movzx ebp, r9w
imul rax
call fcn.140c2c2fe
xor r9b, bl
lea r11, [r8 + r8*2 - 0x7b5d9df7]
movzx edx, r11b
add r11d, 0x9f0adb15
ror r9b, 1
not r9b
xor r8b, r8b
sbb r9b, 0x28
rol r9b, 1
xor r9b, 0xa
movsx eax, dl
jmp 0x140c1637a
shr edx, 0xa5
sbb ebp, 0xb5995683
not ecx
not edx
not ebp
dec r11
mov qword [rsp + rcx*2 - 0x6b6b9eba], 0xffffffffa59cfe08
pop rax
push rbx
lea r9, [r8 + rdx*2 - 0xff72f77]
xor dword [rsp + rcx - 0x35b5cf5d], ebp
bts r8, 0xae
sar edx, 0x28
pop rbx
movsxd rbp, ebp
jp 0x140c01a3b
Function at 0x140c460e0
Capabilities:
Encode data using base64

Disassembly:
div al
mov r8d, 0x1100a51d
not r9b
xor r9b, 0x2a
xor bl, r9b
xor bpl, 0x9f
lea r9, [rsp + r9 + 0x10]
mov ecx, dword [rax + r9 - 1]
mov dword [rsi + rax - 1], ecx
push r11
inc r11w
add dword [rsp + rax*2 + 2], r11d
movzx ecx, byte [rax + rdi - 3]
pop r11
mov r9d, dword [rsp + rax*4 + 6]
call fcn.140c2b5c8

Function at 0x140c46120
Capabilities:
Encode data using base64

Disassembly:
rol cl, 1
sub cl, 9
cqo
inc dx
xor cl, 0x3f
xor bl, cl
lea rcx, [rsp + rcx + 0x28]
push r9
lea rbp, [r9*4 + 0x6820af12]
add r8b, 0x16
xor r9b, byte [rcx + rax*2]
mov word [rax + rsi - 2], r9w
lea rsi, [rsi + rax*4 - 2]
mul rdx
and edx, dword [rsp + rax*2 + 0x2b]
pop r11
pop rdx
pop r8
pop r11
pop r9
pop rdx
jae fcn.140bfdea8

Function at 0x140c46a31
Capabilities:
Authenticate hmac

Disassembly:
xor r8d, ebx
mov ebp, r9d
sub r8d, 0x2880c791
xor r8d, 0x950fa1b9
mov qword [rsp], 0x77a44ab4

Function at 0x140c47514
Capabilities:
Encode data using base64

Disassembly:
push rdx
neg ecx
bswap ecx
mov qword [rsp + 8], 0xf835522
inc ecx
movsx r11d, bpl
dec dword [rsp + 0xe]
mov qword [rsp + 0x10], rbx
neg byte [rsp + 0xd]
xor dword [rsp + 0x10], ecx
mov rbx, qword [rsp + 0x10]
movsxd rcx, ecx
pop r11
mov r9d, 0x75ac2b99
sal edx, 0xd5
adc r10, rcx
mov edx, dword [rsi + r9 - 0x75ac2b99]
mov eax, dword [rsi + r9 - 0x75ac2b95]
lea r8, [r11 + r11 + 0x1c23b223]
and edx, eax
mov eax, 0xca3ef015
not edx
ror r11b, 0x64
add r9b, r11b
mov dword [r9 + rsi - 0x75ac2b11], edx
mov edx, dword [rdi + r9 - 0x75ac2b1d]
mov qword [rsp + r9 - 0x75ac2b0d], 0x16968bb7
sar dword [rsp + r9 - 0x75ac2b0e], 0x9a
lea rdi, [rdi + r9 - 0x75ac2b1d]
btr r11, r11
xor edx, ebx
inc dword [rsp + r9 - 0x75ac2b0d]
idiv r8b
sub edx, 0xda95e7bd
mov ecx, 0x5f3b1802
cbw
bt r11d, r9d
bswap edx
ror edx, 3
and ax, word [rsp + rcx - 0x5f3b17fc]
bswap edx
sub r8d, 0xb7bc74a4
rol edx, 1
xor r8b, 0x92
mov qword [rsp + r9 - 0x75ac2b0d], rbx
lea rbx, [rax + rax*2 + 0x58d9e1c]
cdqe
xor dword [rsp + r9 - 0x75ac2b0d], edx
shl bpl, cl
sub dword [rsp + r9 - 0x75ac2b15], ebp
mov rbx, qword [rsp + rax + 0x35c1ffd5]
mov qword [rsp + r9 - 0x75ac2b0d], rax
lea r8, [r11*8 + 0x7c09ea01]
mov eax, edx
or rcx, r11
mov edx, r8d
mov ecx, dword [rdx + rsi - 0x34e9ddd]
not eax
bts ebp, r9d
sal rdx, 0x6b
not ecx
or eax, ecx
mov dword [rsi + r9 - 0x75ac2b11], eax
btr r8, 0xa1
xor qword [rsp + r9 - 0x75ac2b0d], r11
lea rsi, [rsi + r9 - 0x75ac2b11]
jno 0x140c34686

Function at 0x140c47bf5
Capabilities:
Authenticate hmac

Disassembly:
lea rsp, [rsp + 0x30]
jne 0x140c01dc5
mov ecx, 0x5eb74c9a
pop rbx
Function at 0x14000c7b8
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, [0x14000fff3]
call sub.msvcrt.dll_getenv
jmp 0x14000cf1b
lea rcx, [0x14000fff7]
lea rdx, [0x14000ffef]
mov r8, rax
mov rax, qword [str.mnlwpjx]
call rax
mov rsi, rax
lea rdi, [0x14000fff7]
lea r12, [0x14000d23c]
push r12
push rbp
mov rbp, rsp
sub rsp, 0x100
mov rax, qword [rbp - 0x8a]
lea r11, [rbp - 0x44]
mov dword [rbp - 0xa1], ecx
mov dword [rbp - 0x34], edx
mov r10, qword [rbp - 0x3f]
mov qword [rbp - 0x1d], rdx
lea r10, [rbp - 0xfe]
mov eax, dword [rbp - 0x55]
mov qword [rbp - 0x3e], r10
mov r9, qword [rbp - 0x88]
sub r9, qword [rbp - 0xcb]
mov qword [rbp - 0x7e], rcx
mov qword [rbp - 0x60], r10
and ecx, dword [rbp - 0xb3]
or ecx, dword [rbp - 0x39]
or dword [rbp - 0x91], eax
mov r8, qword [rbp - 0x9e]
add rax, r8
or r8, qword [rbp - 0x69]
mov dword [rbp - 0xd1], ecx
mov eax, dword [rbp - 0x6c]
mov edx, edx
mov ecx, edx
mov qword [rbp - 0xf6], r8
add edx, ecx
mov rax, rax
movzx edx, byte [rbp - 0xb9]
or edx, dword [rbp - 0x70]
mov dword [rbp - 0x50], edx
mov edx, dword [rbp - 0x65]
mov dword [rbp - 0x57], ecx
sub r9, r8
cmp edx, 0x330216ec
jno 0x14000cffa
sub rcx, 0xf0ba
mov ecx, ecx
mov edx, dword [0x14000f005]
lea rdx, [rbp - 8]
mov qword [rbp - 0x4c], r11
movzx eax, ch
add r11, 0x99be
movzx ecx, ah
cmp r10, 0xfffffffff4f1fcdf
je 0x14000d075
xor eax, dword [rbp - 0x7a]
mov rax, r10
mov edx, dword [rbp - 0x3c]
mov rax, qword [rbp - 0xf7]
call fcn.14000d077
add r9, qword [rbp - 0x63]
mov ecx, dword [rbp - 0x83]
movzx eax, byte [rbp - 0xe]
or qword [rbp - 0x1a], rax
mov dword [rbp - 0x56], edx
movzx edx, cx
movzx ecx, ch
lea edx, [rbp - 0xf5]
mov dword [rbp - 0x78], ecx
mov edx, ecx
sub eax, dword [rbp - 0x12]
xor r10, 0x91f9
mov ecx, dword [rbp - 0x1d]
or rax, r9
mov dword [0x14000f00a], eax
mov dword [rbp - 0x9d], eax
and dword [rbp - 0x50], ecx
add qword [rbp - 0x75], rcx
mov dword [rbp - 0x6c], eax
leave
ret
Function at 0x14006f40a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x88
lea rcx, [rsp + 0x30]
call fcn.14006f47a
mov byte [rsp + 0x28], 0x31
mov byte [rsp + 0x29], 0x2e
mov byte [rsp + 0x2a], 0x62
mov byte [rsp + 0x2b], 0x69
mov byte [rsp + 0x2c], 0x6e
mov byte [rsp + 0x2d], 0
mov byte [rsp + 0x20], 0x68
mov byte [rsp + 0x21], 0x65
mov byte [rsp + 0x22], 0x6c
mov byte [rsp + 0x23], 0x6c
mov byte [rsp + 0x24], 0x6f
mov byte [rsp + 0x25], 0
xor r9d, r9d
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [rsp + 0x30]
nop
add rsp, 0x88
ret
Function at 0x14006fa2a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], 0
jmp 0x14006fadf
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x14006fb65
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
call fcn.14006f99a
test eax, eax
jne 0x14006fb60
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
jmp 0x14006fb67
jmp 0x14006fad5
xor eax, eax
add rsp, 0x78
ret

Function at 0x14006fb81
Capabilities:
Access peb ldr_data

Disassembly:
xor r8, r8
xor rax, rax
xor r10, r10
add r10, 0x60
mov rax, qword gs:[r10]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
ret
Function at 0x14000a9f0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
mov rdx, rbp
mov r8d, 0x20
call fcn.14018e660
mov qword [rbp + 0x28], rax
test rax, rax
je 0x14000aa64
mov qword [rbp + 0x30], rdx
mov rax, qword [rdx]
test rax, rax
je 0x14000aa48
mov rcx, qword [rbp + 0x28]
call rax
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14000aaad
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x28]
call fcn.14001b170
jmp 0x14000aaad
movaps xmm0, xmmword [rbp]
movaps xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x50]
lea r8, [0x1401d0b20]
lea rdx, [rbp - 0x20]
mov r9d, 8
call fcn.14018e460
mov rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
movaps xmm2, xmmword [rbp - 0x30]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi + 0x20], xmm2
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
jmp fcn.14018bf50
Function at 0x14001dbb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x14001dc46
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401d1470]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140020110
test rdi, rdi
je 0x14001dcd5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14001dcee
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x14001dde6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x14001de68
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14001ddf3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x14001dcb0
cmp r9, 8
jae 0x14001ddfc
jmp 0x14001de68
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140020110
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x14001de68
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x14001de68
mov r8, rcx
cmp r9, 8
jb 0x14001de68
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x14001de00
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140020110
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140020152
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14002015a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14002016b
jmp 0x140020182
xor r10d, r10d
jmp 0x14002020d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140020182
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140020199
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400201b9
add r11, r8
jmp 0x1400202e9
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140020282
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140020230
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14002029f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x1400202b0
jmp 0x1400202cb
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x1400202cb
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x1400202e5
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14004a4a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test byte [rdx], 1
je 0x14004a4e0
lea rax, [rdx + 8]
cmp qword [rdx + 0x38], 0xffffffffffffffff
mov r8, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
mov r10, qword [rdx + 0x58]
mov rdx, qword [rdx + 0x60]
je 0x14004a602
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x14004a611
cmp byte [rdx + 0x1a], 0
jne 0x14004a638
mov r8, qword [rdx + 8]
mov rax, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
movzx r10d, byte [rdx + 0x18]
jmp 0x14004a507
add r8, r11
mov qword [rdx + 8], r8
mov r11d, r10d
xor r10b, 1
test r8, r8
je 0x14004a536
cmp r8, r9
jae 0x14004a530
cmp byte [rax + r8], 0xbf
jg 0x14004a536
jmp 0x14004a646
jne 0x14004a646
cmp r8, r9
je 0x14004a61b
movzx ebx, byte [rax + r8]
movzx esi, bl
test sil, sil
js 0x14004a590
test r11b, 1
jne 0x14004a5f9
mov r11d, 1
cmp esi, 0x80
jb 0x14004a500
mov r11d, 2
cmp esi, 0x800
jb 0x14004a500
cmp esi, 0x10000
mov r11d, 4
sbb r11, 0
jmp 0x14004a500
mov edi, esi
and edi, 0x1f
movzx ebp, byte [rax + r8 + 1]
and ebp, 0x3f
cmp sil, 0xdf
jbe 0x14004a5d7
movzx esi, byte [rax + r8 + 2]
shl ebp, 6
and esi, 0x3f
or esi, ebp
cmp bl, 0xf0
jb 0x14004a5ea
movzx ebx, byte [rax + r8 + 3]
and edi, 7
shl edi, 0x12
shl esi, 6
and ebx, 0x3f
or ebx, esi
or ebx, edi
mov esi, ebx
test r11b, 1
je 0x14004a556
jmp 0x14004a5f9
shl edi, 6
or edi, ebp
mov esi, edi
test r11b, 1
je 0x14004a556
jmp 0x14004a5f9
shl edi, 0xc
or esi, edi
test r11b, 1
je 0x14004a556
mov byte [rdx + 0x18], r10b
mov r9, r8
jmp 0x14004a625
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
mov rdx, rax
call fcn.140048e00
jmp 0x14004a63d
mov byte [rdx + 0x18], r10b
test r11b, 1
je 0x14004a634
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], r9
mov eax, 1
jmp 0x14004a63a
mov byte [rdx + 0x1a], 1
xor eax, eax
mov qword [rcx], rax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov byte [rdx + 0x18], r10b
lea rcx, [0x1401d6480]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rdx, r9
call fcn.1401ce3e0
int3
Function at 0x14005d2b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
cmp byte [rcx + 0x79], 0
je 0x14005d2c4
xor eax, eax
jmp 0x14005d4ed
mov r8, qword [rcx + 0x48]
mov r9, qword [rcx + 0x50]
test byte [rcx], 1
je 0x14005d2ff
lea rdx, [rcx + 8]
mov rax, qword [rcx + 0x58]
cmp qword [rcx + 0x38], 0xffffffffffffffff
mov rdi, rcx
mov rcx, qword [rcx + 0x60]
je 0x14005d436
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0
jmp 0x14005d445
cmp byte [rcx + 0x1a], 0
je 0x14005d31f
mov rsi, r8
xor eax, eax
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
jne 0x14005d485
jmp 0x14005d4b7
mov rax, qword [rcx + 8]
movzx edx, byte [rcx + 0x18]
jmp 0x14005d337
add rax, r10
mov qword [rcx + 8], rax
mov r10d, edx
xor dl, 1
test rax, rax
je 0x14005d366
cmp rax, r9
jae 0x14005d360
cmp byte [r8 + rax], 0xbf
jg 0x14005d366
jmp 0x14005d4f5
jne 0x14005d4f5
cmp rax, r9
je 0x14005d45e
movzx ebx, byte [r8 + rax]
movzx r11d, bl
test r11b, r11b
jns 0x14005d3e0
mov esi, r11d
and esi, 0x1f
movzx edi, byte [r8 + rax + 1]
and edi, 0x3f
cmp r11b, 0xdf
jbe 0x14005d3ca
movzx r11d, byte [r8 + rax + 2]
shl edi, 6
and r11d, 0x3f
or r11d, edi
cmp bl, 0xf0
jb 0x14005d422
movzx edi, byte [r8 + rax + 3]
and esi, 7
shl esi, 0x12
shl r11d, 6
and edi, 0x3f
or edi, r11d
or edi, esi
mov r11d, edi
test r10b, 1
je 0x14005d3e6
jmp 0x14005d42e
shl esi, 6
or esi, edi
mov r11d, esi
nop word cs:[rax + rax]
test r10b, 1
jne 0x14005d42e
mov r10d, 1
cmp r11d, 0x80
jb 0x14005d330
mov r10d, 2
cmp r11d, 0x800
jb 0x14005d330
cmp r11d, 0x10000
mov r10d, 4
sbb r10, 0
jmp 0x14005d330
shl esi, 0xc
or r11d, esi
test r10b, 1
je 0x14005d3e6
mov byte [rcx + 0x18], dl
mov r9, rax
jmp 0x14005d467
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x38]
mov rsi, r8
call fcn.14005be70
mov rcx, rdi
test byte [rsp + 0x38], 1
jne 0x14005d485
jmp 0x14005d4b7
mov byte [rcx + 0x18], dl
test r10b, 1
je 0x14005d4a2
mov rsi, r8
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x48], r9
mov eax, 1
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
je 0x14005d4b7
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r9, qword [rcx + 0x68]
sub rdx, r9
mov rax, rsi
add rax, r9
mov qword [rcx + 0x68], r8
jmp 0x14005d4ed
mov rsi, r8
mov byte [rcx + 0x1a], 1
xor eax, eax
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
jne 0x14005d485
cmp byte [rcx + 0x79], 0
jne 0x14005d2bd
mov byte [rcx + 0x79], 1
cmp byte [rcx + 0x78], 1
jne 0x14005d4d5
mov rax, qword [rcx + 0x68]
mov rdx, qword [rcx + 0x70]
jmp 0x14005d4e6
mov rax, qword [rcx + 0x68]
mov rdx, qword [rcx + 0x70]
cmp rdx, rax
je 0x14005d2bd
sub rdx, rax
add rax, qword [rcx + 0x48]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
mov byte [rcx + 0x18], dl
lea rcx, [0x1401d7cd0]
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov rdx, r9
mov r8, rax
call fcn.1401ce3e0
int3