joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400055f0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1401b26d0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x70]
xor edx, edx
mov r8d, 0x208
xor esi, esi
call fcn.140133600
lea rax, [rbp - 0x70]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [rsi + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, eax
test eax, eax
jns 0x140005744
xor eax, eax
mov qword [rsp + 0x2c8], rdi
mov rdi, qword [rsp + 0x2c8]
mov word [rbp - 0x74], ax
mov dword [rsp + 0x40], 0x6d0076
mov dword [rsp + 0x44], 0x400062
mov dword [rsp + 0x48], 0x630051
mov dword [rsp + 0x4c], 0x49004a
mov dword [rsp + 0x50], 0x400041
mov dword [rsp + 0x54], 0x750057
mov dword [rsp + 0x58], 0x510044
mov dword [rsp + 0x5c], 0x72004d
mov dword [rsp + 0x60], 0xb000d
mov dword [rsp + 0x64], 0xb000b
mov dword [rsp + 0x68], 0x5000c
mov dword [rsp + 0x6c], 0x570040
mov dword [rsp + 0x70], 0x4a0057
mov dword [rsp + 0x74], 0x40057
mov dword [rsp + 0x78], 0xd0005
mov dword [rsp + 0x7c], 0x5d0015
mov dword [rbp - 0x80], 0x150000
mov dword [rbp - 0x7c], 0x7d001d
mov dword [rbp - 0x78], 0x2f000c
nop word [rax + rax]
xor word [rsp + rax*2 + 0x40], 0x25
inc rax
cmp rax, 0x26
jb 0x140005710
lea rcx, [rsp + 0x40]
mov word [rbp - 0x74], si
call fcn.140001380
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
jmp 0x140005776
xorps xmm0, xmm0
lea rax, [rbp - 0x70]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rsi
nop dword [rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140005760
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.1400186d0
mov rax, rbx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140130cf0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400057a0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1401b26d0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x70]
xor edx, edx
mov r8d, 0x208
xor esi, esi
call fcn.140133600
lea rax, [rbp - 0x70]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [rsi + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, eax
test eax, eax
jns 0x1400058f4
xor eax, eax
mov qword [rsp + 0x2c8], rdi
mov rdi, qword [rsp + 0x2c8]
mov word [rbp - 0x74], ax
mov dword [rsp + 0x40], 0x6d0076
mov dword [rsp + 0x44], 0x400062
mov dword [rsp + 0x48], 0x630051
mov dword [rsp + 0x4c], 0x49004a
mov dword [rsp + 0x50], 0x400041
mov dword [rsp + 0x54], 0x750057
mov dword [rsp + 0x58], 0x510044
mov dword [rsp + 0x5c], 0x72004d
mov dword [rsp + 0x60], 0xb000d
mov dword [rsp + 0x64], 0xb000b
mov dword [rsp + 0x68], 0x5000c
mov dword [rsp + 0x6c], 0x570040
mov dword [rsp + 0x70], 0x4a0057
mov dword [rsp + 0x74], 0x40057
mov dword [rsp + 0x78], 0xd0005
mov dword [rsp + 0x7c], 0x5d0015
mov dword [rbp - 0x80], 0x150000
mov dword [rbp - 0x7c], 0x7d001d
mov dword [rbp - 0x78], 0x2f000c
nop word [rax + rax]
xor word [rsp + rax*2 + 0x40], 0x25
inc rax
cmp rax, 0x26
jb 0x1400058c0
lea rcx, [rsp + 0x40]
mov word [rbp - 0x74], si
call fcn.140001380
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
jmp 0x140005926
xorps xmm0, xmm0
lea rax, [rbp - 0x70]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rsi
nop dword [rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140005910
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.1400186d0
mov rax, rbx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140130cf0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140005950
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1401b26d0]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x80]
xor edx, edx
mov r8d, 0x208
xor edi, edi
call fcn.140133600
lea rdx, [rbp - 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x140005a85
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov dword [rsp + 0x30], 0x400062
xor eax, eax
mov dword [rsp + 0x34], 0x710051
mov word [rsp + 0x74], ax
mov dword [rsp + 0x38], 0x480040
mov dword [rsp + 0x3c], 0x750055
mov dword [rsp + 0x40], 0x510044
mov dword [rsp + 0x44], 0x72004d
mov dword [rsp + 0x48], 0xb000d
mov dword [rsp + 0x4c], 0xb000b
mov dword [rsp + 0x50], 0x5000c
mov dword [rsp + 0x54], 0x570040
mov dword [rsp + 0x58], 0x4a0057
mov dword [rsp + 0x5c], 0x40057
mov dword [rsp + 0x60], 0xd0005
mov dword [rsp + 0x64], 0x5d0015
mov dword [rsp + 0x68], 0x150000
mov dword [rsp + 0x6c], 0x7d001d
mov dword [rsp + 0x70], 0x2f000c
nop dword [rax]
nop dword [rax + rax]
xor word [rsp + rax*2 + 0x30], 0x25
inc rax
cmp rax, 0x22
jb 0x140005a50
lea rcx, [rsp + 0x30]
mov word [rsp + 0x74], di
call fcn.140001380
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
jmp 0x140005ab6
xorps xmm0, xmm0
lea rax, [rbp - 0x80]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rdi
nop
inc r8
cmp word [rax + r8*2], di
jne 0x140005aa0
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.1400186d0
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140130cf0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140005ae0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x1401b26d0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15, rdx
mov rsi, rcx
mov qword [rbp - 0x51], rcx
xor r13d, r13d
mov r8, rdx
cmp qword [rdx + 0x18], 8
jb 0x140005b24
mov r8, qword [rdx]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov rdi, 0xffffffffffffffff
mov r9d, edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r12, eax
test eax, eax
jne 0x140005c34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov dword [rbp - 0x49], 0x4c0072
mov dword [rbp - 0x45], 0x400041
mov dword [rbp - 0x41], 0x4d0066
mov dword [rbp - 0x3d], 0x570044
mov dword [rbp - 0x39], 0x4a0071
mov dword [rbp - 0x35], 0x500068
mov dword [rbp - 0x31], 0x510049
mov dword [rbp - 0x2d], 0x67004c
mov dword [rbp - 0x29], 0x51005c
mov dword [rbp - 0x25], 0xd0040
mov dword [rbp - 0x21], 0xb000b
mov dword [rbp - 0x1d], 0xc000b
mov dword [rbp - 0x19], 0x400005
mov dword [rbp - 0x15], 0x570057
mov dword [rbp - 0x11], 0x57004a
mov dword [rbp - 0xd], 0x50004
mov dword [rbp - 9], 0x15000d
mov dword [rbp - 5], 0x5d
mov dword [rbp - 1], 0x1d0015
mov dword [rbp + 3], 0xc007d
mov dword [rbp + 7], Ordinal_50
mov rax, r13
nop word [rax + rax]
xor word [rbp + rax*2 - 0x49], 0x25
inc rax
cmp rax, 0x29
jb 0x140005c00
mov word [rbp + 9], r13w
lea rcx, [rbp - 0x49]
call fcn.140001380
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], r13b
jmp 0x140005cb1
mov rcx, r12
call fcn.140131168
mov r14, rax
mov r8, r12
xor edx, edx
mov rcx, rax
call fcn.140133600
mov qword [rbp - 0x51], r14
cmp qword [r15 + 0x18], 8
jb 0x140005c5a
mov r15, qword [r15]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r14
mov r9d, edi
mov r8, r15
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
nop dword [rax]
inc rdi
cmp byte [r14 + rdi], 0
jne 0x140005c90
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call fcn.140018b80
nop
mov rcx, r14
call fcn.140130d10
mov rax, rsi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140130cf0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400067a0
Capabilities:
Contain obfuscated stackstrings
Delete file
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401b26d0]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp qword [rcx + 0x18], 8
jb 0x1400067c4
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000687d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r8d, r8d
mov dword [rbp - 0x60], 0x400061
mov edx, eax
mov dword [rbp - 0x5c], 0x400049
mov eax, r8d
mov dword [rbp - 0x58], 0x400051
mov dword [rbp - 0x54], 0x4c0063
mov dword [rbp - 0x50], 0x400049
mov dword [rbp - 0x4c], 0xd0072
mov dword [rbp - 0x48], 0xb000b
mov dword [rbp - 0x44], 0xc000b
mov dword [rbp - 0x40], 0x400005
mov dword [rbp - 0x3c], 0x570057
mov dword [rbp - 0x38], 0x57004a
mov dword [rbp - 0x34], 0x50004
mov dword [rbp - 0x30], 0x15000d
mov dword [rbp - 0x2c], 0x5d
mov dword [rbp - 0x28], 0x1d0015
mov dword [rbp - 0x24], 0xc007d
mov dword [rbp - 0x20], Ordinal_50
nop word [rax + rax]
xor word [rbp + rax*2 - 0x60], 0x25
inc rax
cmp rax, 0x21
jb 0x140006860
lea rcx, [rbp - 0x60]
mov word [rbp - 0x1e], r8w
call fcn.140001380
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140130cf0
add rsp, 0x80
pop rbp
ret

Function at 0x1400074d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401b26d0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edi, edi
mov rax, rdx
mov qword [rcx], rdi
mov rbx, rcx
mov qword [rcx + 8], rdi
cmp qword [rdx + 0x18], 0x10
jb 0x140007502
mov rax, qword [rdx]
xor r9d, r9d
mov rdx, rbx
mov rcx, rax
lea r8d, [r9 + 6]
call fcn.1400c3fe0
test eax, eax
je 0x140007576
movdqa xmm0, xmmword [0x140195910]
xor ecx, ecx
movdqu xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x3e], cl
mov dword [rsp + 0x30], 0x5740050c
mov dword [rsp + 0x34], 0x4574a57
mov dword [rsp + 0x38], 0x41000d05
mov word [rsp + 0x3c], 0x2f0c
nop dword [rax + rax]
xor byte [rsp + rcx + 0x20], 0x25
inc rcx
cmp rcx, 0x1e
jb 0x140007550
mov edx, eax
mov byte [rsp + 0x3e], dil
lea rcx, [rsp + 0x20]
call fcn.1400013d0
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140130cf0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400140e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140014111
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14001418b
mov rdi, r14
mov rcx, rbx
call fcn.140017180
test rax, rax
jle 0x140014163
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.140132f60
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14001417b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x140014183
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140014125
sub r14, rdi
jmp 0x14001426f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400141a2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400141a4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400141d6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140132f60
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14001426c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140014211
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14001424d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140147258
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14001426c
cmp rbp, rax
ja 0x140014220
test rbp, rbp
je 0x14001426c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140147258
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400611b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x70
movzx r9d, byte [rdx]
mov rbx, rcx
movzx eax, r9b
cmp r9b, 0x9d
jne 0x1400611cb
movzx eax, byte [rdx + 0x36]
mov qword [rsp + 0x68], r12
cmp al, 0x9e
jne 0x1400611dd
lea r12, [rdx + 0x20]
mov rax, r12
jmp 0x1400611ed
cmp al, 0x77
jne 0x140061385
mov rax, qword [rdx + 0x20]
lea r12, [rdx + 0x20]
mov rax, qword [rax]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x140061385
mov dword [r8], 0
cmp r9b, 0x77
jne 0x140061221
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov r12, qword [rsp + 0x68]
add rsp, 0x70
pop rbx
jmp fcn.14005e7b0
mov eax, dword [rbx + 0x38]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x50], r15
mov r15, rcx
lea r13d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x88], r13d
mov dword [rbx + 0x38], eax
test ecx, ecx
jle 0x140061380
mov qword [rsp + 0x90], rsi
lea rdx, [0x14005d6b0]
mov qword [rsp + 0x98], rdi
mov esi, r13d
mov qword [rsp + 0x58], r14
lea r13, [0x14005d5a0]
xor r14d, r14d
mov qword [rsp + 0x80], rbp
nop dword [rax + rax]
cmp byte [rbx + 0x23], 0
mov rax, qword [r12]
mov rcx, qword [rax + 8]
mov rdi, qword [r14 + rcx]
je 0x140061322
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x44], 1
mov dword [rsp + 0x48], 0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x28], r13
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], rdx
test rdi, rdi
je 0x1400612ef
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140057930
cmp byte [rsp + 0x44], 0
je 0x140061322
mov rcx, qword [rbx]
xor r9d, r9d
mov rbp, qword [rbx + 0x60]
xor r8d, r8d
mov rdx, rdi
call fcn.14005c240
jmp 0x1400612f5
mov rbp, qword [rbx + 0x60]
xor eax, eax
mov r8, rax
mov rdx, rbp
mov rcx, rbx
call fcn.14005cfd0
test rax, rax
je 0x14006131c
movsxd rcx, dword [rax]
lea rdx, [rcx + rcx*4]
mov rcx, qword [rax + 8]
and dword [rcx + rdx*8 - 0xc], 0xfffffffb
mov dword [rcx + rdx*8 - 8], esi
mov qword [rbx + 0x60], rax
jmp 0x140061330
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call fcn.140062f80
inc esi
lea rdx, [0x14005d6b0]
add r14, 0x28
sub r15, 1
jne 0x140061280
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x80]
mov eax, dword [rsp + 0x88]
mov r13, qword [rsp + 0x60]
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x68]
add rsp, 0x70
pop rbx
ret
mov eax, r13d
jmp 0x14006136b
mov rcx, rbx
mov r12, qword [rsp + 0x68]
add rsp, 0x70
pop rbx
jmp fcn.140062da0
Function at 0x14006b0f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov esi, dword [rcx + 0x28]
xor r10d, r10d
xor ebx, ebx
mov rdi, r8
mov r14, rdx
mov rbp, rcx
test esi, esi
jle 0x14006b1e8
mov qword [rsp + 0x48], r15
lea r15, [0x1401930e0]
nop word [rax + rax]
mov eax, ebx
xor eax, 1
cmp ebx, 2
cmovge eax, ebx
movsxd r11, eax
test rdi, rdi
je 0x14006b192
mov rcx, qword [rbp + 0x20]
mov rdx, r11
movzx r8d, byte [rdi]
mov rax, rdi
shl rdx, 5
mov r9, qword [rdx + rcx]
movzx edx, byte [r8 + r15]
movzx ecx, byte [r9]
movzx ecx, byte [rcx + r15]
cmp edx, ecx
jne 0x14006b1c3
sub r9, rdi
nop
test r8b, r8b
je 0x14006b192
movzx ecx, byte [r9 + rax + 1]
inc rax
movzx edx, byte [rcx + r15]
movzx r8d, byte [rax]
movzx ecx, byte [r8 + r15]
cmp ecx, edx
je 0x14006b170
jmp 0x14006b1c3
mov rax, qword [rbp + 0x20]
lea r8, [rsp + 0x40]
shl r11, 5
mov rdx, r14
mov rcx, qword [r11 + rax + 0x18]
add rcx, 8
call fcn.140022790
test rax, rax
je 0x14006b1c0
mov r10, qword [rax + 0x10]
test r10, r10
jne 0x14006b1cd
jmp 0x14006b1c3
xor r10d, r10d
inc ebx
cmp ebx, esi
jl 0x14006b130
mov r15, qword [rsp + 0x48]
mov rax, r10
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, r10
jmp 0x14006b1d5

Function at 0x14006b310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov esi, dword [rcx + 0x28]
xor r10d, r10d
xor ebx, ebx
mov rdi, r8
mov rbp, rdx
test esi, esi
jle 0x14006b3fa
mov qword [rsp + 0x48], r14
mov r14, qword [rcx + 0x20]
mov qword [rsp + 0x50], r15
lea r15, [0x1401930e0]
nop word [rax + rax]
mov eax, ebx
xor eax, 1
cmp ebx, 2
cmovge eax, ebx
movsxd r9, eax
shl r9, 5
mov r11, qword [r9 + r14 + 0x18]
test rdi, rdi
je 0x14006b3b2
mov r9, qword [r9 + r14]
mov rax, rdi
movzx r8d, byte [rdi]
movzx ecx, byte [r9]
movzx edx, byte [rcx + r15]
movzx ecx, byte [r8 + r15]
cmp ecx, edx
jne 0x14006b3d6
sub r9, rdi
nop dword [rax]
test r8b, r8b
je 0x14006b3b2
movzx ecx, byte [r9 + rax + 1]
inc rax
movzx edx, byte [rcx + r15]
movzx r8d, byte [rax]
movzx ecx, byte [r8 + r15]
cmp ecx, edx
je 0x14006b390
jmp 0x14006b3d6
lea rcx, [r11 + 0x20]
mov rdx, rbp
lea r8, [rsp + 0x40]
call fcn.140022790
test rax, rax
je 0x14006b3d3
mov r10, qword [rax + 0x10]
test r10, r10
jne 0x14006b3e0
jmp 0x14006b3d6
xor r10d, r10d
inc ebx
cmp ebx, esi
jl 0x14006b350
mov r14, qword [rsp + 0x48]
mov rax, r10
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x58]
mov rax, r10
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a2c50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [rcx + 0xa0]
mov r10, rcx
test rax, rax
cmovne r10, rax
mov rax, qword [r10 + 0x240]
test rax, rax
je 0x1400a2c7e
cmp qword [rax], rdx
jne 0x1400a2c78
cmp dword [rax + 0x18], r9d
je 0x1400a2c83
mov rax, qword [rax + 8]
jmp 0x1400a2c68
jmp fcn.1400a26b0
ret
Function at 0x1400cc1e0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov edx, Ordinal_46
mov rsi, r8
test r8, r8
je 0x1400cc297
xor ebp, ebp
nop word [rax + rax]
mov ebx, 4
cmp rsi, rbx
cmovb rbx, rsi
cmp byte [0x1401b7854], bpl
jne 0x1400cc252
mov r9d, 2
mov dword [rsp + 0x40], ebp
lea rdx, [rsp + 0x40]
xor ecx, ecx
lea r8d, [r9 + 2]
call sub.bcrypt.dll_BCryptGenRandom
mov ecx, eax
neg eax
sbb edx, edx
and edx, 2
test ecx, ecx
jne 0x1400cc297
mov eax, dword [rsp + 0x40]
jmp 0x1400cc26c
imul eax, dword [0x1401b7850], 0x41c64e6d
mov edx, ebp
add eax, 0x3039
mov dword [0x1401b7850], eax
ror eax, 0x10
test rbx, rbx
je 0x1400cc28e
sub rsi, rbx
nop dword [rax]
nop dword [rax + rax]
mov byte [rdi], al
inc rdi
shr eax, 8
sub rbx, 1
jne 0x1400cc280
test rsi, rsi
jne 0x1400cc210
mov rbx, qword [rsp + 0x30]
mov eax, edx
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400cc2b0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov r11, rsp
push rbp
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x1401b26d0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, r8
lea r15, [rsp + 0x30]
and rax, 0xfffffffffffffffe
mov rbp, r8
mov r14, rdx
cmp rax, 0x100
jae 0x1400cc447
test bpl, 1
je 0x1400cc447
mov qword [r11 + 0x18], rsi
dec rbp
mov qword [r11 - 0x20], rdi
mov rsi, rbp
shr rsi, 1
lea rdi, [rsp + 0x30]
mov qword [r11 + 8], rbx
mov ecx, Ordinal_46
mov qword [r11 - 0x28], r12
je 0x1400cc3b7
xor r12d, r12d
nop word [rax + rax]
mov ebx, 4
cmp rsi, rbx
cmovb rbx, rsi
cmp byte [0x1401b7854], r12b
jne 0x1400cc373
mov r9d, 2
mov dword [rsp + 0x20], r12d
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 2]
call sub.bcrypt.dll_BCryptGenRandom
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 2
test eax, eax
jne 0x1400cc3bd
mov eax, dword [rsp + 0x20]
jmp 0x1400cc38e
imul eax, dword [0x1401b7850], 0x41c64e6d
mov ecx, r12d
add eax, 0x3039
mov dword [0x1401b7850], eax
ror eax, 0x10
test rbx, rbx
je 0x1400cc3ae
sub rsi, rbx
nop word [rax + rax]
mov byte [rdi], al
inc rdi
shr eax, 8
sub rbx, 1
jne 0x1400cc3a0
test rsi, rsi
jne 0x1400cc330
mov edx, ecx
test ecx, ecx
je 0x1400cc3fc
mov eax, ecx
mov rbx, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0x100]
mov rdi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140130cf0
add rsp, 0xd0
pop r15
pop r14
pop rbp
ret
test rbp, rbp
je 0x1400cc43c
lea r8, [0x14016f0c0]
nop dword [rax + rax]
movzx ecx, byte [r15]
lea r15, [r15 + 1]
mov eax, ecx
and ecx, 0xf
shr rax, 4
movzx eax, byte [rax + r8]
mov byte [r14], al
movzx ecx, byte [rcx + r8]
mov byte [r14 + 1], cl
add r14, 2
sub rbp, 2
jne 0x1400cc410
mov byte [r14], 0
mov eax, edx
jmp 0x1400cc3bf
mov eax, Ordinal_46
jmp 0x1400cc3df