joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140070b84
Capabilities:
Terminate process

Disassembly:
jmp 0x1400abb00
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400abb2e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400713b8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140070c51
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14010f3b0
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.14010e3c0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14010f3e5
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1401a4020]
jmp 0x14010f3ef
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret

Function at 0x140071138
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14010f410
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.14010e400
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14010f44f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1401a4020]
jmp 0x14010f45e
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x140071426
Capabilities:
Print debug messages

Disassembly:
jmp 0x14010cc30
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1400714df
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400a9d30
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400a9680
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400a9d79
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401a4020]
jmp 0x1400a9d88
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x1400715a2
Capabilities:
Set environment variable

Disassembly:
jmp 0x14013f560
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
lea rcx, [rsp + 0x70]
call fcn.14006f4e6
lea rcx, [rsp + 0x40]
call fcn.14006f4e6
call fcn.14006fe2d
mov r8d, eax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xb0]
call fcn.14006f2d4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14013f5cf
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x40]
call fcn.14006f833
lea rcx, [rsp + 0x70]
call fcn.14006f833
mov eax, dword [rsp + 0x24]
jmp 0x14013f65c
call fcn.14006fe2d
mov r8d, eax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xb8]
call fcn.14006f2d4
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14013f616
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x40]
call fcn.14006f833
lea rcx, [rsp + 0x70]
call fcn.14006f833
mov eax, dword [rsp + 0x2c]
jmp 0x14013f65c
lea rcx, [rsp + 0x40]
call fcn.14006f44b
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x70]
call fcn.14006f44b
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.14006f833
lea rcx, [rsp + 0x70]
call fcn.14006f833
mov eax, dword [rsp + 0x30]
add rsp, 0xa8
ret
Function at 0x140012d80
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 [0x140021f90], rbx
je 0x140012dcc
cmp rax, rbx
jne 0x140012dbf
mov ebx, 1
mov esi, ebx
jmp 0x140012dd1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140012da4
mov ebx, 1
mov eax, dword [0x140021f98]
cmp eax, ebx
jne 0x140012de7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x140012e4c
mov eax, dword [0x140021f98]
test eax, eax
jne 0x140012e46
mov dword [0x140021f98], ebx
lea r15, [0x140017570]
lea rdi, [0x140017558]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140012e38
test eax, eax
jne 0x140012e3c
cmp qword [rdi], 0
je 0x140012e2d
mov rax, qword [rdi]
mov rcx, qword [0x1400174b8]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140012e0e
test eax, eax
je 0x140012e4c
mov eax, 0xff
jmp 0x140012f28
mov dword [0x1400219a0], ebx
mov eax, dword [0x140021f98]
cmp eax, ebx
jne 0x140012e73
lea rdx, [0x140017550]
lea rcx, [0x1400174c0]
call sub.msvcrt.dll__initterm
mov dword [0x140021f98], 2
test esi, esi
jne 0x140012e80
xor eax, eax
xchg qword [0x140021f90], rax
cmp qword [0x140021fb0], 0
je 0x140012eb4
lea rcx, [0x140021fb0]
call fcn.140013430
test eax, eax
je 0x140012eb4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140021fb0]
mov r9, qword [0x1400174b8]
call r9
mov r8, qword [0x1400219b8]
mov rdx, qword [0x1400219b0]
mov ecx, dword [0x1400219a8]
call fcn.140006734
mov dword [0x14002199c], eax
cmp dword [0x1400219c0], 0
jne 0x140012ee4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400219a0], 0
jne 0x140012ef9
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002199c]
jmp 0x140012f28
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.140192000
add rsp, 0x28
jmp 0x140012d80

Function at 0x14001332c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140013378
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140013370
cmp dword [rcx + 0x3c], edx
jl 0x140013370
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140013370
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 0x140013378
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140001000
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x238], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0xfa0
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0xfa0
jb 0x140001247
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
test rax, rax
je 0x140001247
xor edx, edx
lea r10, [0x140003398]
xor ecx, ecx
mov r9d, 0x100
xor r8d, r8d
nop dword [rax + rax]
mov eax, ecx
mov byte [rsp + r8 + 0x30], cl
and eax, 0xf
lea r8, [r8 + 1]
inc ecx
movzx eax, byte [rax + r10]
mov byte [rsp + r8 + 0x12f], al
cmp ecx, r9d
jl 0x140001090
xor r8d, r8d
nop word [rax + rax]
movzx eax, byte [rsp + r8 + 0x130]
movzx r10d, byte [rsp + r8 + 0x30]
add edx, eax
add edx, r10d
and edx, 0x800000ff
jge 0x1400010e6
dec edx
or edx, 0xffffff00
inc edx
movsxd rax, edx
lea rcx, [rsp + 0x30]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rsp + r8 + 0x30], al
inc r8
mov byte [rcx], r10b
sub r9, 1
jne 0x1400010c0
xor r8d, r8d
lea rbx, [0x140003080]
xor edx, edx
xor r11d, r11d
inc edx
and edx, 0x800000ff
jge 0x140001128
dec edx
or edx, 0xffffff00
inc edx
movsxd rax, edx
lea r9, [rsp + 0x30]
add r9, rax
movzx r10d, byte [r9]
add r8d, r10d
and r8d, 0x800000ff
jge 0x140001150
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rax, r8d
lea rcx, [rsp + 0x30]
add rcx, rax
movzx eax, byte [rcx]
mov byte [r9], al
mov byte [rcx], r10b
movzx ecx, byte [r9]
add rcx, r10
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x30]
xor byte [r11 + rbx], cl
inc r11
cmp r11, 0x313
jl 0x140001114
mov rcx, qword [sym.imp.USER32.dll_MessageBoxW]
lea r9, [rsp + 0x230]
mov edx, 0x313
mov dword [rsp + 0x230], 0
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [sym.imp.USER32.dll_MessageBoxW]
mov edx, 0x63
nop word [rax + rax]
movzx ecx, byte [rbx]
mov byte [rax], cl
movzx ecx, byte [rbx + 1]
mov byte [rax + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rax + 2], cl
sub rdx, 1
je 0x140001206
movzx ecx, byte [rbx + 3]
mov byte [rax + 3], cl
movzx ecx, byte [rbx + 4]
mov byte [rax + 4], cl
movzx ecx, byte [rbx + 5]
mov byte [rax + 5], cl
movzx ecx, byte [rbx + 6]
mov byte [rax + 6], cl
movzx ecx, byte [rbx + 7]
mov byte [rax + 7], cl
add rax, 8
add rbx, 8
jmp 0x1400011c0
mov rcx, qword [sym.imp.USER32.dll_MessageBoxW]
lea r9, [rsp + 0x230]
mov edx, 0x313
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140001270
add rsp, 0x240
pop rbx
ret
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140022350
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140022384
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140022370
ret
Function at 0x1400286e0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400287ac
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400287ac
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400287c5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14002879c
cmp byte [rax], 0x5c
jne 0x140028796
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140028796
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140028782
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140028793
test r8b, 0x10
jne 0x140028796
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140028796
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140024340
test edi, edi
jne 0x140028700
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140024330
int3
Function at 0x14002e170
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14002e34f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14002d680
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14002e314
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14002e28c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14002e303
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14002e2c9
mov r10, qword [rdx]
cmp r10, rax
je 0x14002e2c3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14002e303
cmp r9, rdx
je 0x14002e2df
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14002e329
cmp r9, rdx
jne 0x14002e2d0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14002e210
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14002e303
lea rcx, str.invalid_hash_bucket_count
call fcn.14009a3d0
int3

Function at 0x140039500
Capabilities:
Hash data using fnv

Disassembly:
test r8, r8
jne 0x140039509
mov rax, rcx
ret
movsx rax, byte [rdx]
movabs r9, 0x100000001b3
imul rcx, r9
dec r8
xor rcx, rax
inc rdx
jmp fcn.140039500
Function at 0x14003ff50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1401280a8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x90]
mov rdi, rdx
test eax, eax
movd edx, xmm3
mov r11d, 6
mov rbp, r8
mov r10d, r11d
mov r14, rcx
cmovns r10d, eax
mov eax, edx
and eax, 0x7fffff
shr edx, 0x17
lea r9d, [rax + rax]
test edx, edx
jne 0x14003ffb0
neg eax
sbb ecx, ecx
and ecx, 0xffffff82
jmp 0x14003ffb3
lea ecx, [rdx - 0x7f]
mov eax, r9d
mov r15d, 0x2d
bts eax, 0x18
test edx, edx
cmovne r9d, eax
mov eax, ecx
cdq
mov esi, eax
mov eax, 0x2b
xor esi, edx
sub esi, edx
test ecx, ecx
cmovns r15d, eax
cmp esi, 0xa
jae 0x14003ffe4
lea edx, [rax - 0x27]
jmp 0x14003ffed
cmp esi, 0x64
sbb rdx, rdx
add rdx, r11
mov rcx, rbp
movsxd r8, r10d
sub rcx, rdi
cmp rcx, r8
jge 0x14004000b
mov qword [r14], rbp
mov dword [r14 + 8], 0x84
jmp 0x140040157
xor eax, eax
test r10d, r10d
setg al
sub rcx, r8
add rax, rdx
cmp rcx, rax
jl 0x14003fffb
mov qword [rsp + 0x70], rbx
cmp r10d, r11d
jge 0x14004004d
lea r8d, [r9 + r9]
sub r11d, r10d
shl r11d, 2
lea eax, [r8 - 1]
or eax, r9d
movzx ecx, r11b
mov edx, 1
shl edx, cl
and edx, eax
and edx, r8d
add r9d, edx
mov eax, r9d
and r9d, 0xffffff
shr eax, 0x18
add al, 0x30
mov byte [rdi], al
inc rdi
test r10d, r10d
jle 0x1400400d4
mov byte [rdi], 0x2e
lea r11, str.0123456789abcdefghijklmnopqrstuvwxyz
mov eax, r9d
lea r8d, [r10 - 1]
shr rax, 0x14
mov ecx, SafeArrayUnaccessData
movzx eax, byte [rax + r11]
mov byte [rdi + 1], al
add rdi, 2
test r8d, r8d
je 0x1400400d4
mov edx, 0x100000
test ecx, ecx
je 0x1400400be
lea eax, [rdx - 1]
sub ecx, 4
and r9d, eax
ror edx, 4
mov eax, r9d
shr rax, cl
movzx eax, byte [rax + r11]
mov byte [rdi], al
inc rdi
sub r8d, 1
jne 0x140040096
jmp 0x1400400d4
movsxd rbx, r8d
mov edx, 0x30
mov r8, rbx
mov rcx, rdi
call fcn.14009efa0
add rdi, rbx
mov byte [rdi], 0x70
lea r9, [rsp + 0x40]
mov byte [rdi + 1], r15b
add rdi, 2
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul esi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub sil, cl
add sil, 0x30
mov byte [r9], sil
mov esi, edx
test edx, edx
jne 0x1400400f0
lea rbx, [rsp + 0x40]
mov rax, rbp
sub rbx, r9
sub rax, rdi
cmp rax, rbx
jge 0x140040135
mov dword [r14 + 8], 0x84
jmp 0x14004014f
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.14009e900
mov dword [r14 + 8], 0
lea rbp, [rbx + rdi]
mov qword [r14], rbp
mov rbx, qword [rsp + 0x70]
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14009c630
lea r11, [rsp + 0x50]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140040570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1401280a8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x90]
mov rsi, rdx
test eax, eax
movq rdx, xmm3
mov r9, rdx
mov r11d, SafeArrayDestroy
mov r10d, r11d
movabs rbx, 0xfffffffffffff
cmovns r10d, eax
mov rbp, r8
and r9, rbx
shr rdx, 0x34
mov r14, rcx
test edx, edx
jne 0x1400405e3
mov rax, r9
neg rax
sbb ecx, ecx
and ecx, 0xfffffc02
jmp 0x1400405e9
lea ecx, [rdx - 0x3ff]
mov rax, r9
movabs r8, 0x10000000000000
or rax, r8
mov r15d, 0x2d
test edx, edx
cmovne r9, rax
mov eax, ecx
cdq
mov edi, eax
mov eax, 0x2b
xor edi, edx
sub edi, edx
test ecx, ecx
cmovns r15d, eax
cmp edi, 0xa
jae 0x140040623
lea edx, [rax - 0x27]
jmp 0x14004063c
cmp edi, 0x64
jae 0x14004062f
mov edx, 5
jmp 0x14004063c
cmp edi, 0x3e8
sbb rdx, rdx
add rdx, 7
mov rcx, rbp
movsxd r8, r10d
sub rcx, rsi
cmp rcx, r8
jl 0x14004077b
xor eax, eax
test r10d, r10d
setg al
sub rcx, r8
add rax, rdx
cmp rcx, rax
jl 0x14004077b
cmp r10d, r11d
jge 0x140040691
lea r8, [r9 + r9]
sub r11d, r10d
shl r11d, 2
lea rax, [r8 - 1]
or rax, r9
movzx ecx, r11b
mov edx, 1
shl rdx, cl
and rdx, rax
and rdx, r8
add r9, rdx
mov rax, r9
and r9, rbx
shr rax, 0x34
add al, 0x30
mov byte [rsi], al
inc rsi
test r10d, r10d
jle 0x140040722
mov byte [rsi], 0x2e
lea r11, str.0123456789abcdefghijklmnopqrstuvwxyz
mov rax, r9
lea r8d, [r10 - 1]
shr rax, 0x30
mov ecx, 0x30
movzx eax, byte [rax + r11]
mov byte [rsi + 1], al
add rsi, 2
test r8d, r8d
je 0x140040722
movabs rdx, 0x1000000000000
nop dword [rax]
test ecx, ecx
je 0x14004070c
lea rax, [rdx - 1]
sub ecx, 4
and r9, rax
ror rdx, 4
mov rax, r9
shr rax, cl
mov eax, eax
movzx eax, byte [rax + r11]
mov byte [rsi], al
inc rsi
sub r8d, 1
jne 0x1400406e0
jmp 0x140040722
movsxd rbx, r8d
mov edx, 0x30
mov r8, rbx
mov rcx, rsi
call fcn.14009efa0
add rsi, rbx
mov byte [rsi], 0x70
lea r9, [rsp + 0x40]
mov byte [rsi + 1], r15b
add rsi, 2
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul edi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub dil, cl
add dil, 0x30
mov byte [r9], dil
mov edi, edx
test edx, edx
jne 0x140040740
lea rbx, [rsp + 0x40]
mov rax, rbp
sub rbx, r9
sub rax, rsi
cmp rax, rbx
jge 0x140040785
mov dword [r14 + 8], 0x84
jmp 0x14004079f
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.14009e900
mov dword [r14 + 8], 0
lea rbp, [rbx + rsi]
mov qword [r14], rbp
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14009c630
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14004ba70
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 0x14004baa1
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 0x14004bb1b
mov rdi, r14
mov rcx, rbx
call fcn.14001fd00
test rax, rax
jle 0x14004baf3
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.14009e900
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 0x14004bb0b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14004bb13
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14004bab5
sub r14, rdi
jmp 0x14004bbff
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14004bb32
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004bb34
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14004bb66
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14009e900
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 0x14004bbfc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14004bba1
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 0x14004bbdd
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400af834
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14004bbfc
cmp rbp, rax
ja 0x14004bbb0
test rbp, rbp
je 0x14004bbfc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400af834
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 0x140050380
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [0x14013c440], 0
jne 0x140050472
xor ebx, ebx
lea r8, [rsp + 0x48]
lea rdx, [0x14010ec80]
mov qword [rsp + 0x48], rbx
lea rcx, [0x14010ec70]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
lea rdi, [0x14013c440]
test eax, eax
js 0x140050435
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea r8, [0x14010ec60]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x140050426
mov rcx, qword [rsp + 0x40]
lea r8, [0x14010ec50]
mov r9, rdi
lea rdx, [0x14010ec40]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x14005041b
mov rcx, qword [0x14013c440]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jns 0x140050472
cmp qword [0x14013c440], 0
jne 0x140050472
lea r9, [0x14010ec50]
mov qword [rsp + 0x20], rdi
lea r8, [0x14010ec40]
xor edx, edx
lea rcx, str.v2.0.50727
call qword [sym.imp.mscoree.dll_CorBindToRuntime]
test eax, eax
js 0x14005047f
mov rcx, qword [0x14013c440]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
lea r8, [0x14010e598]
lea rdx, [0x14010e5b0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
ret