joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003a010
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, ecx
mov ebp, edx
lea rcx, [rsp + 0x30]
mov edx, 0x30
call fcn.18003f890
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.18003f3f0
mov ecx, 0x701ac3f9
mov qword [rsp + 0x90], rax
call fcn.180047c40
xor r13d, r13d
movsxd rdx, dword [rax + 0x3c]
mov r15, rax
mov edi, r13d
add rdx, rax
movzx ecx, word [rdx + 0x14]
movzx r12d, word [rdx + 6]
lea rbx, [rcx + rdx + 0x18]
test r12d, r12d
jle 0x18003a0d8
test dword [rbx + 0x24], r14d
je 0x18003a0cd
mov eax, dword [rbx + 0xc]
mov esi, dword [rbx + 8]
mov edx, 0x13dcdfe4
add rax, r15
mov ecx, 0x701ac3f9
add rsi, rax
call fcn.180048dc0
test rax, rax
je 0x18003a102
mov r9, qword [rsp + 0x90]
xor r8d, r8d
mov rdx, rsi
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0x30
call rax
test eax, eax
jns 0x18003a102
inc edi
add rbx, 0x28
cmp edi, r12d
jl 0x18003a081
lea rcx, [rsp + 0x30]
call fcn.18003f3e0
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8, qword [rsp + 0x90]
mov ecx, dword [rbx + 8]
mov edx, dword [rbx + 0xc]
mov eax, dword [r8 + 0x18]
sub eax, ecx
sub eax, edx
sub eax, r15d
add eax, dword [r8]
cmp eax, ebp
jge 0x18003a128
sub ebp, eax
lea r13d, [rbp + 0x10]
mov rbx, rcx
movsxd rax, r13d
lea rcx, [rsp + 0x30]
sub rbx, rax
add rbx, r15
add rbx, rdx
call fcn.18003f3e0
mov rax, rbx
jmp 0x18003a0e4
Function at 0x18003d3b0
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.180021300
movsxd r12, eax
cmp r12d, 0xffffffff
jne 0x18003d42b
mov rdx, qword [rsi + 0x10]
mov r8d, 0x811c9dc5
test rdx, rdx
je 0x18003d426
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 0x18003d410
mov edi, r8d
jmp 0x18003d456
cmp r12d, 0x3c
jg 0x18003d443
mov rax, qword [0x180092210]
mov rcx, r12
shl rcx, 7
mov edi, dword [rcx + rax + 0x7c]
cmp r12d, 0x16
je 0x18003d46e
cmp r12d, 0x1f
jne 0x18003d456
cmp qword [rsi + 0x18], 0x14
jb 0x18003d46e
test byte [rsi + 0x20], 1
jne 0x18003d46e
mov r8d, r12d
mov rdx, rsi
mov rcx, r13
call fcn.18003d350
mov ebp, eax
jmp 0x18003d473
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.18003d140
mov rbx, rax
shr rax, 0x20
test eax, eax
je 0x18003d4ac
movsxd rdx, ebx
mov rcx, r14
call fcn.18003cbf0
jmp 0x18003d59a
test ebp, ebp
jne 0x18003d577
cmp ebx, 0xffffffff
je 0x18003d4e5
cmp ebx, 0x3d
jge 0x18003d4e5
lea rcx, [rsp + 0x48]
movsxd r8, ebx
mov rdx, r13
call fcn.18003d2d0
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
call fcn.18003e9a0
mov r13, qword [rsp + 0xb0]
jmp 0x18003d509
mov r13, qword [rsp + 0xb0]
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsi]
lea rcx, [rsp + 0x30]
mov r9, r13
call fcn.18003e940
test eax, eax
jne 0x18003d59a
mov r8, qword [rsi + 0x18]
mov rdx, qword [rsi + 8]
lea rcx, [rsp + 0x38]
mov r9, r13
call fcn.18003e940
mov r13d, eax
test eax, eax
je 0x18003d534
mov rcx, qword [rsp + 0x30]
call fcn.18003e9b0
mov eax, r13d
jmp 0x18003d59a
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.18003ceb0
mov rcx, qword [rsp + 0x38]
mov edi, eax
call fcn.18003e9b0
mov rcx, qword [rsp + 0x30]
call fcn.18003e9b0
test edi, edi
je 0x18003d577
mov eax, 0xfffffdf5
jmp 0x18003d59a
mov rcx, r14
cmp ebx, 0xffffffff
jne 0x18003d58c
mov r8d, ebp
mov rdx, rsi
call fcn.18003ce50
jmp 0x18003d59a
movsxd rdx, ebx
mov r9d, ebp
mov r8, rsi
call fcn.18003cd70
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 0x18003f780
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.180063bd0

Function at 0x180040a90
Capabilities:
Hash data with crc32

Disassembly:
xor r8d, r8d
mov rdx, rcx
test rcx, rcx
je 0x180040abe
mov eax, r8d
mov r8d, 0x7fffffff
cmp byte [rdx], 0
je 0x180040abb
inc eax
inc rdx
cmp eax, r8d
jl 0x180040aa4
mov edx, r8d
jmp fcn.180063bd0
mov r8d, eax
mov edx, r8d
jmp fcn.180063bd0
Function at 0x180047b00
Capabilities:
Parse pe header

Disassembly:
push r14
sub rsp, 0x50
mov eax, 0x5a4d
mov r14d, edx
cmp word [rcx], ax
je 0x180047b1c
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 0x180047b3e
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.180040c20
movzx eax, word [rbx + 6]
xor r12d, r12d
mov r13d, eax
mov ebp, r12d
test eax, eax
jle 0x180047be5
mov rdi, r15
mov rsi, r15
neg rdi
nop dword [rax + rax]
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x180047b9d
mov byte [rax], 0
mov rbx, rsi
movzx edx, byte [rbx]
test dl, dl
je 0x180047bbe
lea rcx, [rsp + 0x20]
call fcn.180040ce0
inc rbx
lea rax, [rdi + rbx]
cmp rax, 8
jl 0x180047ba0
mov rcx, qword [rsp + 0x20]
call fcn.180040a90
xor eax, 0x102a2c68
cmp eax, r14d
je 0x180047c1b
inc rbp
inc r12d
add rsi, 0x28
sub rdi, 0x28
cmp rbp, r13
jl 0x180047b90
lea rcx, [rsp + 0x20]
call fcn.1800403c0
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.1800403c0
movsxd r11, r12d
lea rax, [r11 + r11*4]
lea rax, [r15 + rax*8]
jmp 0x180047bf1
Function at 0x180048340
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov ebx, edx
mov rsi, rcx
cmp edx, 0x701ac3f9
jne 0x18004836c
xor edx, edx
call fcn.180041040
mov rax, rsi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
cmp edx, 0xcd3beb56
jne 0x1800483a6
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.1800424f0
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 [0x180092db0]
test r8, r8
je 0x1800483ee
nop dword [rax]
xor edx, edx
lea rax, [r8 + 0x10]
xor ecx, ecx
cmp qword [rax + 8], 0
je 0x1800483e2
cmp dword [rax], ebx
je 0x180048422
inc rcx
inc edx
add rax, 0x20
cmp rcx, 0x10
jl 0x1800483c8
mov r8, qword [r8 + 0x200]
test r8, r8
jne 0x1800483c0
test edi, edi
jne 0x1800483fe
mov ecx, ebx
call fcn.180047c40
test rax, rax
je 0x180048405
inc edi
cmp edi, 2
jl 0x1800483b0
xor edx, edx
mov rcx, rsi
call fcn.180041040
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.180042510
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rax, rsi
add rsp, 0x20
pop rsi
ret
Function at 0x18005d5d0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov edx, 0x3a6169e8
mov ecx, 0x89a17f76
call fcn.180048dc0
test rax, rax
je 0x18005d61c
mov rdx, qword [rbx]
mov rcx, qword [rdi]
call rax
test eax, eax
je 0x18005d60d
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.18004ca20
mov eax, 0x7f
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x420
cmp byte [0x1800930c8], 0
mov ebx, edx
mov rdi, rcx
jne 0x180063cbb
mov edx, 0xb1fe751c
mov ecx, 0xcd3beb56
call fcn.180048dc0
test rax, rax
je 0x180063c5a
mov ecx, 0x400
call fcn.180046860
xor r8d, r8d
mov r11, rax
mov qword [0x1800930c0], rax
mov r9, rax
nop dword [rax]
mov ecx, r8d
mov edx, 8
test cl, 1
je 0x180063c37
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x180063c39
shr ecx, 1
dec rdx
jne 0x180063c28
inc r8d
mov dword [r9], ecx
add r9, 4
cmp r8d, 0x100
jl 0x180063c20
mov byte [0x1800930c8], 1
jmp 0x180063cc2
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov eax, r8d
mov ecx, 8
nop word [rax + rax]
test al, 1
je 0x180063c7d
shr eax, 1
xor eax, 0xedb88320
jmp 0x180063c7f
shr eax, 1
dec rcx
jne 0x180063c70
inc r8d
mov dword [rdx], eax
add rdx, 4
cmp r8d, 0x100
jl 0x180063c62
or edx, 0xffffffff
test ebx, ebx
je 0x180063ce9
nop dword [rax]
movzx ecx, byte [rdi]
mov eax, edx
shr edx, 8
xor rcx, rax
inc rdi
movzx ecx, cl
xor edx, dword [rsp + rcx*4 + 0x20]
dec ebx
jne 0x180063ca0
jmp 0x180063ce9
mov r11, qword [0x1800930c0]
or edx, 0xffffffff
test ebx, ebx
je 0x180063ce9
nop dword [rax]
movzx ecx, byte [rdi]
mov eax, edx
shr edx, 8
xor rcx, rax
inc rdi
movzx eax, cl
xor edx, dword [r11 + rax*4]
dec ebx
jne 0x180063cd0
mov rbx, qword [rsp + 0x430]
not edx
mov eax, edx
add rsp, 0x420
pop rdi
ret
Function at 0x180063e10
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
test rcx, rcx
je 0x180064078
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 0x18006406a
test r8, r8
je 0x18006406a
test r9d, r9d
je 0x18006406a
mov qword [rax + 0x10], rbx
mov rbx, qword [rax + 0x28]
mov qword [rax + 0x18], rbp
mov rbp, qword [rsp + 0x278]
test rbx, rbx
jne 0x180063e71
test rbp, rbp
je 0x18006405a
mov qword [rsp + 0x268], rsi
call fcn.180063bd0
cmp eax, 0xd2490422
je 0x180063e91
cmp eax, 0x7598502c
je 0x180063e91
mov r10b, 1
jmp 0x180063e94
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 0x180063eb0
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 0x180063ef0
lea edi, [r11 + 1]
test r14, r14
jle 0x180064052
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 0x180064021
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 0x18006403a
mov rdx, r15
call rbp
test al, al
jne 0x18006404a
movzx r10d, byte [rsp + 0x250]
jmp 0x18006403c
mov byte [rbx], cl
inc rbx
inc edi
lea rax, [r12 + rbx]
cmp rax, r14
jl 0x180063fe0
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 0x180066ea0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 0x5a4d
mov rbx, rcx
cmp word [rcx], ax
je 0x180066ebd
xor ecx, ecx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov edx, 0x41826523
mov ecx, 0x89a17f76
call fcn.180048dc0
test rax, rax
je 0x180066ee3
movsxd rcx, dword [rbx + 0x3c]
mov edx, 0x108
add rcx, rbx
call rax
test eax, eax
jne 0x180066eb3
movsxd rax, dword [rbx + 0x3c]
xor ecx, ecx
add rax, rbx
cmp dword [rax], 0x4550
cmovne rax, rcx
add rsp, 0x20
pop rbx
ret

Function at 0x180066f00
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 0x5a4d
mov rbx, rcx
cmp word [rcx], ax
jne 0x180066f5b
mov edx, 0x41826523
mov ecx, 0x89a17f76
call fcn.180048dc0
test rax, rax
je 0x180066f39
movsxd rcx, dword [rbx + 0x3c]
mov edx, 0x108
add rcx, rbx
call rax
test eax, eax
jne 0x180066f5b
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rcx + rbx], 0x4550
jne 0x180066f5b
xor eax, eax
mov edx, 0x10b
cmp dx, word [rcx + rbx + 0x18]
sete al
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x180066f70
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 0x5a4d
mov rbx, rcx
cmp word [rcx], ax
jne 0x180066fcb
mov edx, 0x41826523
mov ecx, 0x89a17f76
call fcn.180048dc0
test rax, rax
je 0x180066fa9
movsxd rcx, dword [rbx + 0x3c]
mov edx, 0x108
add rcx, rbx
call rax
test eax, eax
jne 0x180066fcb
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rcx + rbx], 0x4550
jne 0x180066fcb
xor eax, eax
mov edx, 0x20b
cmp dx, word [rcx + rbx + 0x18]
sete al
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x180066fe0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, 0x5a4d
movzx edi, dx
mov rbx, rcx
cmp word [rcx], ax
jne 0x180067054
mov edx, 0x41826523
mov ecx, 0x89a17f76
call fcn.180048dc0
test rax, rax
je 0x180067020
movsxd rcx, dword [rbx + 0x3c]
mov edx, 0x108
add rcx, rbx
call rax
test eax, eax
jne 0x180067054
movsxd rax, dword [rbx + 0x3c]
add rax, rbx
cmp dword [rax], 0x4550
jne 0x180067054
mov ecx, 0x10b
cmp cx, word [rax + 0x18]
je 0x180067042
mov rcx, rbx
call fcn.180066ea0
cmp word [rax + 0x5c], di
sete al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 3
jmp 0x180066fe0

Function at 0x180067070
Capabilities:
Parse pe header

Disassembly:
mov edx, 2
jmp 0x180066fe0

Function at 0x180067080
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, 0x5a4d
movzx edi, dx
mov rbx, rcx
cmp word [rcx], ax
jne 0x180067054
mov edx, 0x41826523
mov ecx, 0x89a17f76
call fcn.180048dc0
test rax, rax
je 0x180067020
movsxd rcx, dword [rbx + 0x3c]
mov edx, 0x108
add rcx, rbx
call rax
test eax, eax
jne 0x180067054
movsxd rax, dword [rbx + 0x3c]
add rax, rbx
cmp dword [rax], 0x4550
jne 0x180067054
mov ecx, 0x10b
cmp cx, word [rax + 0x18]
je 0x180067042
mov rcx, rbx
call fcn.180066ea0
cmp word [rax + 0x5c], di
sete al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 3
jmp 0x180066fe0
Function at 0x180067090
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, 0x5a4d
mov ebx, edx
mov rdi, rcx
cmp word [rcx], ax
jne 0x180067148
mov edx, 0x41826523
mov ecx, 0x89a17f76
call fcn.180048dc0
test rax, rax
je 0x1800670d3
movsxd rcx, dword [rdi + 0x3c]
mov edx, 0x108
add rcx, rdi
call rax
test eax, eax
jne 0x180067148
movsxd rax, dword [rdi + 0x3c]
cmp dword [rax + rdi], 0x4550
jne 0x180067148
mov ecx, 0x10b
cmp cx, word [rax + rdi + 0x18]
sete al
test al, al
je 0x180067148
mov rcx, rdi
call fcn.180066ea0
xor edx, edx
movzx ecx, word [rax + 0x14]
movzx r9d, word [rax + 6]
lea r8, [rcx + rax + 0x18]
cmp dx, r9w
jae 0x180067183
nop
mov ecx, dword [r8 + 0xc]
cmp ebx, ecx
jb 0x180067120
add ecx, dword [r8 + 8]
cmp ebx, ecx
jb 0x18006713a
inc dx
add r8, 0x28
cmp dx, r9w
jb 0x180067110
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.180066ea0
xor edx, edx
movzx ecx, word [rax + 0x14]
movzx r9d, word [rax + 6]
lea r8, [rcx + rax + 0x18]
cmp dx, r9w
jae 0x180067183
mov ecx, dword [r8 + 0xc]
cmp ebx, ecx
jb 0x180067176
add ecx, dword [r8 + 8]
cmp ebx, ecx
jb 0x18006713a
inc dx
add r8, 0x28
cmp dx, r9w
jb 0x180067166
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800671e0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
xor esi, esi
mov eax, 0x5a4d
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x30], esi
cmp word [rdx], ax
jne 0x1800672f5
mov edx, 0x41826523
mov ecx, 0x89a17f76
call fcn.180048dc0
test rax, rax
je 0x18006723c
movsxd rcx, dword [rdi + 0x3c]
mov edx, 0x108
add rcx, rdi
call rax
test eax, eax
jne 0x1800672f5
movsxd rax, dword [rdi + 0x3c]
add rax, rdi
cmp dword [rax], 0x4550
jne 0x1800672f5
mov ecx, 0x10b
cmp cx, word [rax + 0x18]
jne 0x180067260
sub rax, 0xffffffffffffff80
jmp 0x180067277
mov rcx, rdi
call fcn.180066ea0
test rax, rax
je 0x1800672f5
add rax, 0x90
mov edx, dword [rax]
test edx, edx
je 0x1800672e6
cmp dword [rax + 4], esi
je 0x1800672e6
mov rcx, rdi
call fcn.180067190
cmp dword [rax + 0xc], 0
lea rsi, [rax + 0xc]
je 0x1800672e6
mov qword [rsp + 0x50], rbp
nop dword [rax]
mov ebp, dword [rsi]
mov rcx, rdi
mov edx, ebp
call fcn.180067090
mov r11, rax
test rax, rax
jne 0x1800672ba
lea rdx, [rdi + rbp]
jmp 0x1800672c9
sub ebp, dword [rax + 0xc]
mov edx, dword [r11 + 0x14]
mov eax, ebp
add rax, rdi
add rdx, rax
mov r8d, dword [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.1800438a0
add rsi, 0x14
cmp dword [rsi], 0
jne 0x1800672a0
mov rbp, qword [rsp + 0x50]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180045380
jmp 0x1800672fe
mov dword [rbx], esi
mov qword [rbx + 8], rsi
mov dword [rbx + 0x10], esi
lea rcx, [rsp + 0x20]
call fcn.1800441f0
mov rsi, qword [rsp + 0x60]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1800770c0
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 + 0x87fc0]
add r10, rdi
movzx r8d, byte [r10]
lea eax, [r8 - 3]
cmp eax, 0x5d
ja case.0x180077124.3
nop dword [rax]
cdqe
movzx eax, byte [rdx + rax + 0x77238]
mov ecx, dword [rdx + rax*4 + 0x77228]
add rcx, rdx
jmp rcx
movzx ecx, byte [r10 + 1]
mov eax, dword [rbx]
xor eax, ecx
test al, 2
je 0x180077135
mov dword [rbx], ecx
add r10, 2
jmp 0x18007714a
movzx eax, r8b
movzx eax, byte [rax + rdx + 0x87fc0]
add r10, rax
movzx r8d, byte [r10]
lea eax, [r8 - 3]
cmp eax, 0x5d
jbe 0x180077110
movzx eax, byte [r10]
cmp eax, 0x58
je 0x1800771e6
cmp eax, 0x59
jne 0x18007718b
movzx ecx, byte [r10 + 3]
movzx eax, byte [r10 + 4]
mov r8d, 1
shl ecx, 8
or ecx, eax
cmp ecx, 0x20
jge 0x180077186
shl r8d, cl
or r8d, ebp
jmp 0x1800771e9
cmp eax, 0x52
je 0x1800771e6
cmp eax, 0x57
je 0x1800771e6
cmp eax, 0x5a
je 0x1800771e6
cmp eax, 0x33
je 0x1800771a9
cmp eax, 0x34
je 0x1800771a9
cmp eax, 0x3c
jne 0x1800771d0
test byte [rbx], 4
je 0x1800771d0
cmp byte [r10 + 1], 0xb
jne 0x1800771b9
test esi, ebp
je 0x180077202
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 0x180077202
cmp eax, 2
je 0x180077202
test byte [rbx], 2
jne 0x1800771b9
cmp eax, 0x14
jne 0x1800771b9
jmp 0x180077202
mov r8d, ebp
mov r9d, esi
mov rdx, rbx
mov rcx, r10
call fcn.1800770c0
test eax, eax
je 0x1800771b9
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 0x1800770f0
mov eax, 1
jmp 0x1800771bb
Function at 0x180077450
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.0x1800774a8.6
cdqe
movzx eax, byte [r8 + rax + 0x775cc]
mov ecx, dword [r8 + rax*4 + 0x775bc]
add rcx, r8
jmp rcx
movzx ecx, byte [r9 + 1]
mov eax, dword [rdi]
xor eax, ecx
test al, 1
je 0x1800774b9
mov dword [rdi], ecx
add r9, 2
jmp 0x1800774f2
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.0x1800774a8.5
movzx eax, byte [r9]
jmp 0x1800774e6
movzx eax, r10b
movzx eax, byte [rax + r8 + 0x87fc0]
add r9, rax
movzx r10d, byte [r9]
lea eax, [r10 - 3]
cmp eax, 0x5d
jbe 0x180077492
movzx ecx, byte [r9]
lea eax, [rcx - 0x16]
cmp eax, 0x44
ja case.0x180077525.25
cdqe
movzx eax, byte [r8 + rax + 0x7763c]
mov edx, dword [r8 + rax*4 + 0x7762c]
add rdx, r8
jmp rdx
xor r8d, r8d
cmp ecx, 0x52
mov rdx, rdi
sete r8b
mov rcx, r9
call fcn.180077450
test eax, eax
js case.0x180077525.25
test ebx, ebx
jns 0x18007754f
mov ebx, eax
lea r8, [0x180000000]
jmp 0x180077581
cmp ebx, eax
jne case.0x180077525.25
lea r8, [0x180000000]
jmp 0x180077581
add r9, 2
test ebp, ebp
je case.0x180077525.25
test ebx, ebx
jns 0x180077578
test byte [rdi], 1
movzx ebx, byte [r9 + 1]
je 0x180077581
bts ebx, 8
jmp 0x180077581
movzx eax, byte [r9 + 1]
cmp ebx, eax
jne case.0x180077525.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 0x180077480
mov eax, ebx
jmp 0x1800775a5
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret