joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003dc70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [rcx + 0x20]
mov r14, rdx
mov rdx, qword [r8 + 0x10]
mov r13, rcx
mov rcx, qword [r8]
mov rsi, r8
mov qword [rsp + 0xb0], rax
xor edi, edi
call fcn.180021f10
movsxd r12, eax
cmp r12d, 0xffffffff
jne 0x18003dceb
mov rdx, qword [rsi + 0x10]
mov r8d, 0x811c9dc5
test rdx, rdx
je 0x18003dce6
mov rax, qword [rsi]
nop word [rax + rax]
movzx ecx, byte [rax + rdi]
inc rdi
xor r8d, ecx
imul r8d, r8d, 0x1000193
cmp rdi, rdx
jb 0x18003dcd0
mov edi, r8d
jmp 0x18003dd16
cmp r12d, 0x3c
jg 0x18003dd03
mov rax, qword [0x180096210]
mov rcx, r12
shl rcx, 7
mov edi, dword [rcx + rax + 0x7c]
cmp r12d, 0x16
je 0x18003dd2e
cmp r12d, 0x1f
jne 0x18003dd16
cmp qword [rsi + 0x18], 0x14
jb 0x18003dd2e
test byte [rsi + 0x20], 1
jne 0x18003dd2e
mov r8d, r12d
mov rdx, rsi
mov rcx, r13
call fcn.18003dc10
mov ebp, eax
jmp 0x18003dd33
mov ebp, 2
lea r15, [r13 + 0x40]
mov r9d, ebp
mov r8d, r12d
mov rdx, rsi
mov rcx, r13
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r15
call fcn.18003da00
mov rbx, rax
shr rax, 0x20
test eax, eax
je 0x18003dd6c
movsxd rdx, ebx
mov rcx, r14
call fcn.18003d4b0
jmp 0x18003de5a
test ebp, ebp
jne 0x18003de37
cmp ebx, 0xffffffff
je 0x18003dda5
cmp ebx, 0x3d
jge 0x18003dda5
lea rcx, [rsp + 0x48]
movsxd r8, ebx
mov rdx, r13
call fcn.18003db90
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
call fcn.18003f260
mov r13, qword [rsp + 0xb0]
jmp 0x18003ddc9
mov r13, qword [rsp + 0xb0]
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsi]
lea rcx, [rsp + 0x30]
mov r9, r13
call fcn.18003f200
test eax, eax
jne 0x18003de5a
mov r8, qword [rsi + 0x18]
mov rdx, qword [rsi + 8]
lea rcx, [rsp + 0x38]
mov r9, r13
call fcn.18003f200
mov r13d, eax
test eax, eax
je 0x18003ddf4
mov rcx, qword [rsp + 0x30]
call fcn.18003f270
mov eax, r13d
jmp 0x18003de5a
mov rcx, qword [rsp + 0xa0]
lea rdx, [rsp + 0x30]
mov r9d, edi
mov r8, r15
mov dword [rsp + 0x40], r12d
mov byte [rsp + 0x44], 0
call fcn.18003d770
mov rcx, qword [rsp + 0x38]
mov edi, eax
call fcn.18003f270
mov rcx, qword [rsp + 0x30]
call fcn.18003f270
test edi, edi
je 0x18003de37
mov eax, 0xfffffdf5
jmp 0x18003de5a
mov rcx, r14
cmp ebx, 0xffffffff
jne 0x18003de4c
mov r8d, ebp
mov rdx, rsi
call fcn.18003d710
jmp 0x18003de5a
movsxd rdx, ebx
mov r9d, ebp
mov r8, rsi
call fcn.18003d630
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x180040040
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
movsxd rcx, dword [rcx + 0x10]
add rcx, qword [rax + 8]
mov edx, dword [rax]
jmp fcn.180065760

Function at 0x1800414d0
Capabilities:
Hash data with crc32

Disassembly:
xor r8d, r8d
mov rdx, rcx
test rcx, rcx
je 0x1800414fe
mov eax, r8d
mov r8d, 0x7fffffff
cmp byte [rdx], 0
je 0x1800414fb
inc eax
inc rdx
cmp eax, r8d
jl 0x1800414e4
mov edx, r8d
jmp fcn.180065760
mov r8d, eax
mov edx, r8d
jmp fcn.180065760
Function at 0x1800485b0
Capabilities:
Parse pe header

Disassembly:
push r14
sub rsp, 0x50
mov eax, 0x5a4d
mov r14d, edx
cmp word [rcx], ax
je 0x1800485cc
xor eax, eax
add rsp, 0x50
pop r14
ret
mov qword [rsp + 0x60], rbx
movsxd rbx, dword [rcx + 0x3c]
add rbx, rcx
cmp dword [rbx], 0x4550
je 0x1800485ee
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop r14
ret
movzx eax, word [rbx + 0x14]
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], r13
xor edx, edx
mov qword [rsp + 0x30], r15
lea r15, [rax + rbx + 0x18]
call fcn.180041660
movzx eax, word [rbx + 6]
xor r12d, r12d
mov r13d, eax
mov ebp, r12d
test eax, eax
jle 0x180048695
mov rdi, r15
mov rsi, r15
neg rdi
nop dword [rax + rax]
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x18004864d
mov byte [rax], 0
mov rbx, rsi
movzx edx, byte [rbx]
test dl, dl
je 0x18004866e
lea rcx, [rsp + 0x20]
call fcn.180041720
inc rbx
lea rax, [rdi + rbx]
cmp rax, 8
jl 0x180048650
mov rcx, qword [rsp + 0x20]
call fcn.1800414d0
xor eax, 0xe427ce1
cmp eax, r14d
je 0x1800486cb
inc rbp
inc r12d
add rsi, 0x28
sub rdi, 0x28
cmp rbp, r13
jl 0x180048640
lea rcx, [rsp + 0x20]
call fcn.180040e20
xor eax, eax
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop r14
ret
lea rcx, [rsp + 0x20]
call fcn.180040e20
movsxd r11, r12d
lea rax, [r11 + r11*4]
lea rax, [r15 + rax*8]
jmp 0x1800486a1
Function at 0x180048df0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov ebx, edx
mov rsi, rcx
cmp edx, 0x6e729370
jne 0x180048e1c
xor edx, edx
call fcn.180041a90
mov rax, rsi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
cmp edx, 0xd353bbdf
jne 0x180048e56
mov rax, qword gs:[0x30]
xor r8d, r8d
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov rcx, rsi
mov rdx, qword [rax + 0x10]
mov rdx, qword [rdx + 0x60]
call fcn.180042f50
mov rax, rsi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rdi
xor edi, edi
nop dword [rax]
mov r8, qword [0x180096db8]
test r8, r8
je 0x180048e9e
nop dword [rax]
xor edx, edx
lea rax, [r8 + 0x10]
xor ecx, ecx
cmp qword [rax + 8], 0
je 0x180048e92
cmp dword [rax], ebx
je 0x180048ed2
inc rcx
inc edx
add rax, 0x20
cmp rcx, 0x10
jl 0x180048e78
mov r8, qword [r8 + 0x200]
test r8, r8
jne 0x180048e70
test edi, edi
jne 0x180048eae
mov ecx, ebx
call fcn.1800486f0
test rax, rax
je 0x180048eb5
inc edi
cmp edi, 2
jl 0x180048e60
xor edx, edx
mov rcx, rsi
call fcn.180041a90
mov rdi, qword [rsp + 0x30]
mov rax, rsi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
movsxd rdx, edx
mov rcx, rsi
shl rdx, 5
add rdx, r8
call fcn.180042f70
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x1800492e0
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.180049150
mov rcx, qword [0x180096dd0]
add rcx, 0x18
call fcn.180041180
test al, al
je 0x180049348
lea rcx, [rsp + 0x20]
mov edx, 0x80
mov dword [rsp + 0x40], 0x80
call fcn.180041a90
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov rcx, qword [0x180096dd0]
mov rdx, qword [rsp + 0x20]
add rcx, 0x18
call fcn.180042fa0
lea rcx, [rsp + 0x20]
call fcn.180040e20
mov rdx, qword [0x180096dd0]
mov rcx, rbx
add rdx, 0x18
call fcn.180042f70
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180049370
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.180049150
mov rcx, qword [0x180096dd0]
add rcx, 0x28
call fcn.180041180
test al, al
je 0x1800493d8
lea rcx, [rsp + 0x20]
mov edx, 0x80
mov dword [rsp + 0x40], 0x80
call fcn.180041a90
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov rcx, qword [0x180096dd0]
mov rdx, qword [rsp + 0x20]
add rcx, 0x28
call fcn.180042fa0
lea rcx, [rsp + 0x20]
call fcn.180040e20
mov rdx, qword [0x180096dd0]
mov rcx, rbx
add rdx, 0x28
call fcn.180042f70
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180049400
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
call fcn.180049150
mov rcx, qword [0x180096dd0]
add rcx, 0x18
call fcn.180041180
test al, al
je 0x180049468
lea rcx, [rsp + 0x20]
mov edx, 0x80
mov dword [rsp + 0x50], 0x80
call fcn.180041a90
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov rcx, qword [0x180096dd0]
mov rdx, qword [rsp + 0x20]
add rcx, 0x18
call fcn.180042fa0
lea rcx, [rsp + 0x20]
call fcn.180040e20
mov rdx, qword [0x180096dd0]
lea rcx, [rsp + 0x30]
add rdx, 0x18
call fcn.180042f70
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.180046140
lea rcx, [rsp + 0x30]
call fcn.180040e20
mov rax, rbx
add rsp, 0x40
pop rbx
ret

Function at 0x1800494a0
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
call fcn.180049150
mov rcx, qword [0x180096dd0]
add rcx, 0x28
call fcn.180041180
test al, al
je 0x180049508
lea rcx, [rsp + 0x20]
mov edx, 0x80
mov dword [rsp + 0x50], 0x80
call fcn.180041a90
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov rcx, qword [0x180096dd0]
mov rdx, qword [rsp + 0x20]
add rcx, 0x28
call fcn.180042fa0
lea rcx, [rsp + 0x20]
call fcn.180040e20
mov rdx, qword [0x180096dd0]
lea rcx, [rsp + 0x30]
add rdx, 0x28
call fcn.180042f70
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.180046140
lea rcx, [rsp + 0x30]
call fcn.180040e20
mov rax, rbx
add rsp, 0x40
pop rbx
ret
Function at 0x18005f050
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov edx, 0x24093961
mov ecx, 0x97c92fff
call fcn.180049ad0
test rax, rax
je 0x18005f09c
mov rdx, qword [rbx]
mov rcx, qword [rdi]
call rax
test eax, eax
je 0x18005f08d
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18004d730
mov eax, 0x7f
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180065760
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x420
mov r8, qword [0x180096e18]
movabs rbp, 0x6d8eae54f2291c4e
mov ebx, edx
mov rsi, rcx
cmp r8, rbp
jne 0x18006580c
xor edi, edi
nop word [rax + rax]
mov edx, 0xaf962595
mov ecx, 0xd353bbdf
call fcn.180049ad0
test rax, rax
je 0x180065856
mov ecx, 0x400
call fcn.1800472c0
mov r8d, edi
mov qword [0x180096e18], rax
nop dword [rax]
mov ecx, r8d
mov edx, 8
test cl, 1
je 0x1800657e7
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x1800657e9
shr ecx, 1
dec rdx
jne 0x1800657d8
inc r8d
mov dword [rax], ecx
add rax, 4
cmp r8d, 0x100
jl 0x1800657d0
mov r8, qword [0x180096e18]
cmp r8, rbp
je 0x1800657a0
or edx, 0xffffffff
test ebx, ebx
je 0x180065839
nop word [rax + rax]
movzx ecx, byte [rsi]
mov eax, edx
shr edx, 8
xor rcx, rax
inc rsi
movzx eax, cl
xor edx, dword [r8 + rax*4]
dec ebx
jne 0x180065820
lea r11, [rsp + 0x420]
not edx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov eax, edx
mov rsp, r11
pop rdi
ret
lea rdx, [rsp + 0x20]
nop dword [rax + rax]
mov eax, edi
mov ecx, 8
test al, 1
je 0x180065874
shr eax, 1
xor eax, 0xedb88320
jmp 0x180065876
shr eax, 1
dec rcx
jne 0x180065867
inc edi
mov dword [rdx], eax
add rdx, 4
cmp edi, 0x100
jl 0x180065860
or edx, 0xffffffff
test ebx, ebx
je 0x180065839
movzx ecx, byte [rsi]
mov eax, edx
shr edx, 8
xor rcx, rax
inc rsi
movzx ecx, cl
xor edx, dword [rsp + rcx*4 + 0x20]
dec ebx
jne 0x180065892
jmp 0x180065839
Function at 0x1800658e0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
test rcx, rcx
je 0x180065b48
mov rax, rsp
push rdi
push r12
push r13
push r14
sub rsp, 0x228
movsxd r14, r9d
mov r13, r8
mov edi, edx
mov r12, rcx
test edx, edx
je 0x180065b3a
test r8, r8
je 0x180065b3a
test r9d, r9d
je 0x180065b3a
mov qword [rax + 0x10], rbx
mov rbx, qword [rax + 0x28]
mov qword [rax + 0x18], rbp
mov rbp, qword [rsp + 0x278]
test rbx, rbx
jne 0x180065941
test rbp, rbp
je 0x180065b2a
mov qword [rsp + 0x268], rsi
call fcn.180065760
cmp eax, 0xd2490422
je 0x180065961
cmp eax, 0x7598502c
je 0x180065961
mov r10b, 1
jmp 0x180065964
xor r10b, r10b
xor esi, esi
mov byte [rsp + 0x250], r10b
mov r8d, esi
mov r9d, esi
nop word [rax + rax]
mov eax, r8d
mov byte [rsp + r9 + 0x20], r8b
inc r8d
cdq
inc r9
idiv edi
movsxd rax, edx
movzx ecx, byte [rax + r12]
mov byte [rsp + r9 + 0x11f], cl
cmp r8d, 0x100
jl 0x180065980
mov r8d, esi
mov r9, rsi
mov r11d, 0x40
nop word [rax + rax]
movzx ecx, byte [rsp + r9 + 0x20]
movzx eax, byte [rsp + r9 + 0x120]
add r9, 4
add eax, r8d
add ecx, eax
movzx r8d, cl
movzx ecx, byte [rsp + r9 + 0x1c]
movzx eax, byte [rsp + r8 + 0x20]
mov byte [rsp + r9 + 0x1c], al
movzx eax, byte [rsp + r9 + 0x11d]
mov byte [rsp + r8 + 0x20], cl
movzx ecx, byte [rsp + r9 + 0x1d]
add eax, r8d
add ecx, eax
movzx r8d, cl
movzx ecx, byte [rsp + r9 + 0x1d]
movzx eax, byte [rsp + r8 + 0x20]
mov byte [rsp + r9 + 0x1d], al
movzx eax, byte [rsp + r9 + 0x11e]
mov byte [rsp + r8 + 0x20], cl
movzx ecx, byte [rsp + r9 + 0x1e]
add eax, r8d
add ecx, eax
movzx r8d, cl
movzx ecx, byte [rsp + r9 + 0x1e]
movzx eax, byte [rsp + r8 + 0x20]
mov byte [rsp + r9 + 0x1e], al
movzx eax, byte [rsp + r9 + 0x11f]
mov byte [rsp + r8 + 0x20], cl
movzx ecx, byte [rsp + r9 + 0x1f]
add eax, r8d
add ecx, eax
dec r11
movzx r8d, cl
movzx ecx, byte [rsp + r9 + 0x1f]
movzx eax, byte [rsp + r8 + 0x20]
mov byte [rsp + r9 + 0x1f], al
mov byte [rsp + r8 + 0x20], cl
jne 0x1800659c0
lea edi, [r11 + 1]
test r14, r14
jle 0x180065b22
mov r12, rbx
mov qword [rsp + 0x220], r15
mov r15, qword [rsp + 0x280]
sub r13, rbx
neg r12
nop dword [rax + rax]
movzx edi, dil
movzx eax, byte [rsp + rdi + 0x20]
movzx r8d, byte [rsp + rdi + 0x20]
add eax, esi
movzx esi, al
mov ecx, esi
movzx ecx, byte [r13 + rbx]
movzx eax, byte [rsp + rsi + 0x20]
mov byte [rsp + rdi + 0x20], al
mov byte [rsp + rsi + 0x20], r8b
test r10b, r10b
je 0x180065af1
movzx edx, byte [rsp + rdi + 0x20]
movzx eax, r8b
add edx, eax
movzx eax, dl
xor cl, byte [rsp + rax + 0x20]
test rbp, rbp
je 0x180065b0a
mov rdx, r15
call rbp
test al, al
jne 0x180065b1a
movzx r10d, byte [rsp + 0x250]
jmp 0x180065b0c
mov byte [rbx], cl
inc rbx
inc edi
lea rax, [r12 + rbx]
cmp rax, r14
jl 0x180065ab0
mov r15, qword [rsp + 0x220]
mov rsi, qword [rsp + 0x268]
mov rbx, qword [rsp + 0x258]
mov rbp, qword [rsp + 0x260]
add rsp, 0x228
pop r14
pop r13
pop r12
pop rdi
repz ret
Function at 0x180068970
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 0x5a4d
mov rbx, rcx
cmp word [rcx], ax
jne 0x1800689d1
mov eax, dword [rcx + 0x3c]
cmp eax, 0x3c
jbe 0x1800689d1
cmp eax, 0x200
jg 0x1800689d1
mov edx, 0x5fea35aa
mov ecx, 0x97c92fff
call fcn.180049ad0
test rax, rax
je 0x1800689b8
movsxd rcx, dword [rbx + 0x3c]
mov edx, 0x108
add rcx, rbx
call rax
test eax, eax
jne 0x1800689d1
movsxd rax, dword [rbx + 0x3c]
xor ecx, ecx
add rax, rbx
cmp dword [rax], 0x4550
cmovne rax, rcx
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x180068ac0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdi, rcx
call fcn.180068970
test rax, rax
je 0x180068b3f
mov ecx, 0x10b
cmp cx, word [rax + 0x18]
sete al
test al, al
je 0x180068b3f
mov rcx, rdi
call fcn.180068970
xor edx, edx
movzx ecx, word [rax + 0x14]
movzx r9d, word [rax + 6]
lea r8, [rcx + rax + 0x18]
cmp dx, r9w
jae 0x180068b7d
mov ecx, dword [r8 + 0xc]
cmp ebx, ecx
jb 0x180068b17
add ecx, dword [r8 + 8]
cmp ebx, ecx
jb 0x180068b31
inc dx
add r8, 0x28
cmp dx, r9w
jb 0x180068b07
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, r8
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rdi
call fcn.180068970
xor edx, edx
movzx ecx, word [rax + 0x14]
movzx r9d, word [rax + 6]
lea r8, [rcx + rax + 0x18]
cmp dx, r9w
jae 0x180068b7d
nop dword [rax]
mov ecx, dword [r8 + 0xc]
cmp ebx, ecx
jb 0x180068b70
add ecx, dword [r8 + 8]
cmp ebx, ecx
jb 0x180068b31
inc dx
add r8, 0x28
cmp dx, r9w
jb 0x180068b60
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18007a2f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov esi, r9d
mov ebp, r8d
lea rdx, [0x180000000]
mov rdi, rcx
nop word [rax + rax]
movzx eax, byte [rdi]
movzx r10d, byte [rax + rdx + 0x8b4c0]
add r10, rdi
movzx r8d, byte [r10]
lea eax, [r8 - 3]
cmp eax, 0x5d
ja case.0x18007a354.3
nop dword [rax]
cdqe
movzx eax, byte [rdx + rax + 0x7a468]
mov ecx, dword [rdx + rax*4 + 0x7a458]
add rcx, rdx
jmp rcx
movzx ecx, byte [r10 + 1]
mov eax, dword [rbx]
xor eax, ecx
test al, 2
je 0x18007a365
mov dword [rbx], ecx
add r10, 2
jmp 0x18007a37a
movzx eax, r8b
movzx eax, byte [rax + rdx + 0x8b4c0]
add r10, rax
movzx r8d, byte [r10]
lea eax, [r8 - 3]
cmp eax, 0x5d
jbe 0x18007a340
movzx eax, byte [r10]
cmp eax, 0x58
je 0x18007a416
cmp eax, 0x59
jne 0x18007a3bb
movzx ecx, byte [r10 + 3]
movzx eax, byte [r10 + 4]
mov r8d, 1
shl ecx, 8
or ecx, eax
cmp ecx, 0x20
jge 0x18007a3b6
shl r8d, cl
or r8d, ebp
jmp 0x18007a419
cmp eax, 0x52
je 0x18007a416
cmp eax, 0x57
je 0x18007a416
cmp eax, 0x5a
je 0x18007a416
cmp eax, 0x33
je 0x18007a3d9
cmp eax, 0x34
je 0x18007a3d9
cmp eax, 0x3c
jne 0x18007a400
test byte [rbx], 4
je 0x18007a400
cmp byte [r10 + 1], 0xb
jne 0x18007a3e9
test esi, ebp
je 0x18007a432
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp eax, 1
je 0x18007a432
cmp eax, 2
je 0x18007a432
test byte [rbx], 2
jne 0x18007a3e9
cmp eax, 0x14
jne 0x18007a3e9
jmp 0x18007a432
mov r8d, ebp
mov r9d, esi
mov rdx, rbx
mov rcx, r10
call fcn.18007a2f0
test eax, eax
je 0x18007a3e9
lea rdx, [0x180000000]
movzx eax, byte [rdi + 1]
shl eax, 8
movsxd rcx, eax
movzx eax, byte [rdi + 2]
or rcx, rax
add rdi, rcx
cmp byte [rdi], 0x4e
je 0x18007a320
mov eax, 1
jmp 0x18007a3eb
Function at 0x18007a680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
lea r8, [0x180000000]
or ebx, 0xffffffff
nop word [rax + rax]
movzx r10d, byte [rsi + 3]
lea r9, [rsi + 3]
lea eax, [r10 - 3]
cmp eax, 0x5d
ja case.0x18007a6d8.6
cdqe
movzx eax, byte [r8 + rax + 0x7a7fc]
mov ecx, dword [r8 + rax*4 + 0x7a7ec]
add rcx, r8
jmp rcx
movzx ecx, byte [r9 + 1]
mov eax, dword [rdi]
xor eax, ecx
test al, 1
je 0x18007a6e9
mov dword [rdi], ecx
add r9, 2
jmp 0x18007a722
movzx eax, byte [r9 + 1]
shl eax, 8
movsxd rcx, eax
movzx eax, byte [r9 + 2]
or rcx, rax
add r9, rcx
cmp byte [r9], 0x4e
je case.0x18007a6d8.5
movzx eax, byte [r9]
jmp 0x18007a716
movzx eax, r10b
movzx eax, byte [rax + r8 + 0x8b4c0]
add r9, rax
movzx r10d, byte [r9]
lea eax, [r10 - 3]
cmp eax, 0x5d
jbe 0x18007a6c2
movzx ecx, byte [r9]
lea eax, [rcx - 0x16]
cmp eax, 0x44
ja case.0x18007a755.25
cdqe
movzx eax, byte [r8 + rax + 0x7a86c]
mov edx, dword [r8 + rax*4 + 0x7a85c]
add rdx, r8
jmp rdx
xor r8d, r8d
cmp ecx, 0x52
mov rdx, rdi
sete r8b
mov rcx, r9
call fcn.18007a680
test eax, eax
js case.0x18007a755.25
test ebx, ebx
jns 0x18007a77f
mov ebx, eax
lea r8, [0x180000000]
jmp 0x18007a7b1
cmp ebx, eax
jne case.0x18007a755.25
lea r8, [0x180000000]
jmp 0x18007a7b1
add r9, 2
test ebp, ebp
je case.0x18007a755.25
test ebx, ebx
jns 0x18007a7a8
test byte [rdi], 1
movzx ebx, byte [r9 + 1]
je 0x18007a7b1
bts ebx, 8
jmp 0x18007a7b1
movzx eax, byte [r9 + 1]
cmp ebx, eax
jne case.0x18007a755.25
movzx eax, byte [rsi + 1]
shl eax, 8
movsxd rcx, eax
movzx eax, byte [rsi + 2]
or rcx, rax
add rsi, rcx
cmp byte [rsi], 0x4e
je 0x18007a6b0
mov eax, ebx
jmp 0x18007a7d5
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14007f970
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x14007fa06
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x14007fa0d
mov r15, rsi
jmp 0x14007f9cb
cmp r15, r14
cmovb r14, r15
mov rcx, rdi
mov r8, r14
call fcn.1400b8be0
add rdi, r14
sub r15, r14
mov rax, qword [rbx + 0x50]
sub dword [rax], r14d
mov rax, qword [rbx + 0x38]
add qword [rax], r14
test r15, r15
jle 0x14007f9fe
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14007f9e3
mov rax, qword [rbx + 0x50]
mov r14d, dword [rax]
test r14d, r14d
jg 0x14007f9a0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14007f9fe
mov byte [rdi], al
inc rdi
dec r15
test r15, r15
jg 0x14007f9cb
sub rsi, r15
jmp 0x14007fafa
xor esi, esi
jmp 0x14007fafa
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14007fa60
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x14007fa60
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call fcn.1400b8be0
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x14007fa71
jmp 0x14007faf7
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x14007faf7
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x14007faa0
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
nop dword [rax]
cmp r14, 0x1000
jb 0x14007fad3
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call fcn.14009e314
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x14007faa0
jmp 0x14007faf7
test r14, r14
je 0x14007faf4
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call fcn.14009e314
sub r14, rax
jmp 0x14007faf7
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400813a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
ret

Function at 0x14008d8ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008d8f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008d8f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008d8f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008d8f6
cmp dword [rcx + 0x84], 0xe
jbe 0x14008d8f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14008d8f8
xor al, al
add rsp, 0x28
ret