joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008980
Capabilities:
Parse pe header

Disassembly:
je 0x140008941
cmp eax, 0x4c
jg 0x14000893b
cmp eax, 0x4b
je 0x1400088bb
cmp eax, 0x4b
jg 0x14000893b
cmp eax, 0x49
je 0x1400088c9
cmp eax, 0x49
jg 0x14000893b
cmp eax, 3
je 0x140008928
cmp eax, 0x25
je 0x140008944
jmp 0x140008936
mov rax, qword [rbp + 0x78]
mov rcx, rax
call fcn.140001591
jmp 0x140008945
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x70]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x5c
je 0x14000891f
cmp eax, 0x5c
jg 0x140008922
cmp eax, 0x45
je 0x140008925
cmp eax, 0x45
jg 0x140008922
cmp eax, 0x30
je 0x140008903
cmp eax, 0x30
jg 0x140008922
cmp eax, 0xb
je 0x140008911
cmp eax, 0x1a
jmp 0x140008922
mov rax, qword [rbp + 0x70]
mov rcx, rax
call fcn.140001591
jmp 0x140008926
mov rax, qword [rbp + 0x70]
mov rcx, rax
call fcn.140001591
jmp 0x140008926
nop
jmp 0x140008945
nop
jmp 0x140008945
nop
jmp 0x140008945
mov rax, qword [rbp + 0x78]
mov rcx, rax
call fcn.140001591
jmp 0x140008945
jmp 0x14000893b
nop
jmp 0x14000896f
nop
jmp 0x14000896f
nop
jmp 0x14000896f
mov eax, dword [rbp + 0x8c]
cdqe
mov rdx, qword [rbp + 0xb0]
add rax, rdx
movzx eax, byte [rax]
movsx ebx, al
mov eax, dword [rbp + 0x8c]
cdqe
mov rdx, qword [rbp + 0xb0]
add rax, rdx
mov rcx, rax
call fcn.1400014a6
cmp ebx, eax
je 0x140008af7
mov eax, dword [rbp + 0x8c]
cdqe
mov rdx, qword [rbp + 0xb0]
add rax, rdx
mov rcx, rax
call fcn.140001cdb
mov eax, dword [rbp + 0x8c]
cdqe
mov rdx, qword [rbp + 0xb0]
add rax, rdx
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x58]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x72
je 0x140008ac2
cmp eax, 0x72
jg 0x140008ac5
cmp eax, 0x62
je 0x140008ac8
cmp eax, 0x62
jg 0x140008ac5
cmp eax, 0x4c
je 0x140008acb
cmp eax, 0x4c
jg 0x140008ac5
cmp eax, 0x4b
je 0x140008a45
cmp eax, 0x4b
jg 0x140008ac5
cmp eax, 0x49
je 0x140008a53
cmp eax, 0x49
jg 0x140008ac5
add byte [rax], al
invalid
cmp eax, 3
je 0x140008ab2
cmp eax, 0x25
je 0x140008ace
jmp 0x140008ac0
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.140001591
jmp 0x140008acf
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x60]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x5c
je 0x140008aa9
cmp eax, 0x5c
jg 0x140008aac
cmp eax, 0x45
je 0x140008aaf
cmp eax, 0x45
jg 0x140008aac
cmp eax, 0x30
je 0x140008a8d
cmp eax, 0x30
jg 0x140008aac
cmp eax, 0xb
je 0x140008a9b
cmp eax, 0x1a
jmp 0x140008aac
mov rax, qword [rbp - 0x60]
mov rcx, rax
call fcn.140001591
jmp 0x140008ab0
mov rax, qword [rbp - 0x60]
mov rcx, rax
call fcn.140001591
jmp 0x140008ab0
nop
jmp 0x140008acf
nop
jmp 0x140008acf
nop
jmp 0x140008acf
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.140001591
jmp 0x140008acf
jmp 0x140008ac5
nop
jmp 0x140008acf
nop
jmp 0x140008acf
nop
jmp 0x140008acf
nop
jmp 0x140008acf
nop
mov eax, dword [rbp + 0x8c]
cdqe
mov rdx, qword [rbp + 0xb0]
add rax, rdx
movzx eax, byte [rax]
cmp al, 0x1a
je 0x140008afa
add dword [rbp + 0x8c], 1
jmp 0x140007bca
nop
jmp 0x140008afb
nop
mov eax, dword [rbp + 0x8c]
add rsp, 0x118
pop rbx
pop rbp
ret
Function at 0x14000b955
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
sub rsp, 0xf18
lea rbp, [rsp + 0x80]
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0x9d8], rax
mov dword [rbp + 0x9d4], 0
Function at 0x14000cd90
Capabilities:
Parse pe header

Disassembly:
add byte [rax], al
cmp eax, 0x42
je 0x14000cfbd
cmp eax, 0x42
jg 0x14000cfb7
cmp eax, 0x35
je 0x14000cfc0
cmp eax, 0x35
jg 0x14000cfb7
cmp eax, 0x1d
je 0x14000cfc3
cmp eax, 0x1d
jg 0x14000cfb7
cmp eax, 0x15
je 0x14000cd7d
cmp eax, 0x15
jg 0x14000cfb7
cmp eax, 0xa
je 0x14000cfc6
cmp eax, 0xf
je 0x14000cfc9
jmp 0x14000cfb7
mov rax, qword [rbp + 0xae0]
mov qword [rbp + 0xad8], rax
mov rax, qword [rbp + 0xad8]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x6f
je 0x14000cf1b
cmp eax, 0x6f
jg 0x14000cf21
cmp eax, 0x42
je 0x14000cf08
cmp eax, 0x42
jg 0x14000cf21
cmp eax, 0x19
je 0x14000cdcf
cmp eax, 0x38
je 0x14000cef7
jmp 0x14000cf19
mov rax, qword [rbp + 0xad8]
mov qword [rbp + 0xad0], rax
mov rax, qword [rbp + 0xad0]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x72
je 0x14000cee8
cmp eax, 0x72
jg 0x14000ceeb
cmp eax, 0x62
je 0x14000ceee
cmp eax, 0x62
jg 0x14000ceeb
cmp eax, 0x4c
je 0x14000cef1
cmp eax, 0x4c
jg 0x14000ceeb
cmp eax, 0x4b
je 0x14000ce53
cmp eax, 0x4b
jg 0x14000ceeb
cmp eax, 0x49
je 0x14000ce67
cmp eax, 0x49
jg 0x14000ceeb
cmp eax, 3
je 0x14000ced5
cmp eax, 0x25
je 0x14000cef4
jmp 0x14000cee6
mov rax, qword [rbp + 0xad0]
mov rcx, rax
call fcn.140001591
jmp 0x14000cef5
mov rax, qword [rbp + 0xad0]
mov qword [rbp + 0xac8], rax
mov rax, qword [rbp + 0xac8]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x5c
je 0x14000cecc
cmp eax, 0x5c
jg 0x14000cecf
cmp eax, 0x45
je 0x14000ced2
cmp eax, 0x45
jg 0x14000cecf
cmp eax, 0x30
je 0x14000ceaa
cmp eax, 0x30
jg 0x14000cecf
cmp eax, 0xb
je 0x14000cebb
cmp eax, 0x1a
jmp 0x14000cecf
mov rax, qword [rbp + 0xac8]
mov rcx, rax
call fcn.140001591
jmp 0x14000ced3
mov rax, qword [rbp + 0xac8]
mov rcx, rax
call fcn.140001591
jmp 0x14000ced3
nop
jmp 0x14000cef5
nop
jmp 0x14000cef5
nop
jmp 0x14000cef5
mov rax, qword [rbp + 0xad0]
mov rcx, rax
call fcn.140001591
jmp 0x14000cef5
jmp 0x14000ceeb
nop
jmp 0x14000cf22
nop
jmp 0x14000cf22
nop
jmp 0x14000cf22
nop
jmp 0x14000cf22
nop
jmp 0x14000cf22
mov rax, qword [rbp + 0xad8]
mov rcx, rax
call fcn.1400019fb
jmp 0x14000cf22
mov rax, qword [rbp + 0xad8]
mov rcx, rax
call fcn.1400014a6
jmp 0x14000cf22
jmp 0x14000cf21
nop
jmp 0x14000cfca
nop
jmp 0x14000cfca
nop
jmp 0x14000cfca
nop
jmp 0x14000cfca
nop
jmp 0x14000cfca
nop
jmp 0x14000cfca
nop
jmp 0x14000cfca
nop
lea rax, [rbp + 0x1a0]
add rax, 0x9d
mov rcx, rax
call fcn.14000187a
lea rax, [rbp + 0x1a0]
add rax, 0x70
mov rcx, rax
call fcn.140003ee4
lea rax, [rbp + 0x1a0]
add rax, 0x42
mov rcx, rax
call fcn.140003ee4
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0xb18], rax
mov dword [rbp + 0xb14], 0
Function at 0x14000fbc0
Capabilities:
Parse pe header

Disassembly:
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x5c
je 0x14000fc10
cmp eax, 0x5c
jg 0x14000fc13
cmp eax, 0x45
je 0x14000fc16
cmp eax, 0x45
jg 0x14000fc13
cmp eax, 0x30
je 0x14000fbee
cmp eax, 0x30
jg 0x14000fc13
cmp eax, 0xb
je 0x14000fbff
cmp eax, 0x1a
jmp 0x14000fc13
mov rax, qword [rbp + 0xd20]
mov rcx, rax
call fcn.140001591
jmp 0x14000fc17
mov rax, qword [rbp + 0xd20]
mov rcx, rax
call fcn.140001591
jmp 0x14000fc17
nop
jmp 0x14000fc39
nop
jmp 0x14000fc39
nop
jmp 0x14000fc39
Function at 0x140038d60
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov ebx, ecx
call fcn.1400d2c40
test eax, eax
jne 0x140038f19
mov qword [rsp + 0x30], rbp
xor ebp, ebp
cmp byte [0x140116944], bpl
mov qword [rsp + 0x38], rsi
jne 0x140038d95
mov esi, ebp
jmp 0x140038dbf
mov rax, qword [0x1401169b0]
mov ecx, 5
call qword [case.0x14009b342.0]
mov rsi, rax
test rax, rax
je 0x140038dbf
mov rcx, rax
mov rax, qword [0x1401169c0]
call qword [case.0x14009b342.0]
test ebx, ebx
jle 0x140038ef4
test rdi, rdi
je 0x140038ef4
cmp dword [0x140119c00], ebp
jne 0x140038e80
xor ecx, ecx
call fcn.140022190
mov r9, rax
movups xmm0, xmmword [str.expand_32_byte_k]
movaps xmmword [0x140119c00], xmm0
test rax, rax
jne 0x140038e19
xorps xmm0, xmm0
mov qword [0x140119c30], rax
movups xmmword [0x140119c10], xmm0
mov dword [0x140119c38], eax
movups xmmword [0x140119c20], xmm0
jmp 0x140038e64
mov eax, dword [0x140116af0]
test eax, eax
je 0x140038e4b
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [0x140119c10], xmm0
mov dword [0x140119c10], eax
movups xmmword [0x140119c20], xmm0
mov qword [0x140119c30], rcx
mov dword [0x140119c38], ecx
jmp 0x140038e64
mov rax, qword [r9 + 0x68]
lea r8, [0x140119c10]
mov edx, 0x2c
mov rcx, r9
call qword [case.0x14009b342.0]
mov eax, dword [0x140119c30]
xor cl, cl
mov byte [0x140119c80], cl
mov dword [0x140119c3c], eax
mov dword [0x140119c30], ebp
jmp 0x140038e87
movzx ecx, byte [0x140119c80]
movzx eax, cl
lea rbp, [0x140119c40]
cmp ebx, eax
jle 0x140038ed6
test cl, cl
je 0x140038eb4
movzx r8d, cl
mov rdx, rbp
mov rcx, rdi
call fcn.1400f01c0
movzx ecx, byte [0x140119c80]
sub ebx, ecx
add rdi, rcx
inc dword [0x140119c30]
lea rdx, [0x140119c00]
mov rcx, rbp
call fcn.1400464e0
mov cl, 0x40
mov byte [0x140119c80], cl
cmp ebx, 0x40
jg 0x140038e95
movzx eax, cl
mov rcx, rdi
sub eax, ebx
movsxd r8, ebx
movsxd rdx, eax
add rdx, rbp
call fcn.1400f01c0
sub byte [0x140119c80], bl
jmp 0x140038efa
mov dword [0x140119c00], ebp
test rsi, rsi
je 0x140038f0f
mov rax, qword [0x1401169d0]
mov rcx, rsi
call qword [case.0x14009b342.0]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400413a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rsi, qword [rcx + 0xa0]
mov rbx, rcx
mov rax, qword [rcx]
mov rdi, qword [rcx + 0x10]
mov qword [rsp + 0x60], rax
test rsi, rsi
je 0x1400415bf
mov qword [rsp + 0x68], rbp
xor r9d, r9d
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x38], r14
nop dword [rax]
nop word [rax + rax]
movsxd rbp, dword [rsi + 0x10]
lea r12, [rdi + 0x88]
mov r15d, dword [rsi + 0x14]
shl rbp, 5
add rbp, qword [rax + 0x20]
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x140041418
inc dword [rbx + 0x38]
mov r14d, dword [rbx + 0x38]
jmp 0x140041428
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0xe4]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x140041455
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x37
mov rcx, rdi
call fcn.14005c9a0
jmp 0x140041480
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r12]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r9
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x71
mov r9, qword [r9 + 0x68]
call fcn.14009cf10
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x1400414c4
mov edx, 5
mov rcx, rdi
call fcn.14005ca10
test eax, eax
jne 0x1400415a6
movsxd rax, dword [rdi + 0x90]
xor r9d, r9d
lea rcx, [rax + rax*2]
mov rax, qword [r12]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r9d
lea rdx, [rax + rcx*8]
mov eax, dword [rdi + 0x90]
mov dword [rdx + 0xc], r9d
add eax, 2
mov dword [rdx + 8], eax
mov byte [rdx + 1], r9b
mov qword [rdx + 0x10], r9
mov word [rdx + 2], r9w
mov qword [rdx + 0x18], 0x7f
mov qword [rdx + 0x20], r9
mov qword [rdx + 0x28], r9
mov qword [rdx + 0x30], 0x61
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r9
mov qword [rdx + 0x48], 0x80
mov qword [rdx + 0x50], r9
mov qword [rdx + 0x58], r9
mov qword [rdx + 0x60], 0x7a
mov qword [rdx + 0x68], r9
mov qword [rdx + 0x70], r9
add dword [rdi + 0x90], 5
test rdx, rdx
je 0x1400415a6
mov dword [rdx + 0x3c], r14d
lea ecx, [r15 + 1]
mov dword [rdx + 4], ecx
lea eax, [r15 - 1]
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x54], ecx
mov ecx, 8
mov word [rdx + 0x4a], cx
mov dword [rdx + 0x34], eax
mov dword [rdx + 0x50], r14d
test r14d, r14d
je 0x140041595
movzx eax, byte [rbx + 0x1f]
cmp al, cl
jae 0x140041595
mov dword [rbx + rax*4 + 0xe4], r14d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
mov rax, qword [rsp + 0x60]
test rsi, rsi
jne 0x1400413f0
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x140052600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push r14
sub rsp, 0x68
movzx eax, byte [rdx]
mov r14, rdx
mov rdi, rcx
cmp al, 0xb0
jne 0x140052619
movzx eax, byte [rdx + 2]
cmp al, 0xb1
jne 0x140052623
mov rax, qword [rdx + 0x20]
jmp 0x140052633
cmp al, 0x8a
jne 0x1400527b7
mov rax, qword [rdx + 0x20]
mov rax, qword [rax + 0x20]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x1400527b7
mov dword [r8], 0
cmp byte [rdx], 0x8a
jne 0x14005265a
mov rcx, rdi
add rsp, 0x68
pop r14
pop rdi
jmp fcn.140081410
mov eax, dword [rdi + 0x38]
mov qword [rsp + 0x60], r12
mov r12, rcx
mov qword [rsp + 0x58], r13
lea r13d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x88], r13d
mov dword [rdi + 0x38], eax
test ecx, ecx
jle 0x1400527a2
mov qword [rsp + 0x80], rbx
lea rcx, [0x1400ae8c0]
mov qword [rsp + 0x90], rbp
mov ebp, r13d
mov qword [rsp + 0x50], r15
lea r13, [fcn.1400539b0]
xor r15d, r15d
mov qword [rsp + 0x98], rsi
lea edx, [r15 + 2]
nop dword [rax + rax]
cmp byte [rdi + 0x23], 0
mov rax, qword [r14 + 0x20]
mov rbx, qword [rax + r15 + 8]
je 0x140052710
mov word [rsp + 0x44], dx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x48], 0
test rbx, rbx
je 0x140052700
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400de810
cmp word [rsp + 0x44], 0
je 0x140052710
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.14008b520
jmp 0x140052750
mov rsi, qword [rdi]
test rbx, rbx
je 0x14005272c
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.140052a80
mov rbx, rax
cmp byte [rsi + 0x67], 0
jne 0x140052740
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.140089950
test rbx, rbx
je 0x140052750
mov rdx, rbx
mov rcx, rsi
call fcn.14008d8d0
inc ebp
lea rcx, [0x1400ae8c0]
add r15, 0x20
mov edx, 2
sub r12, 1
jne 0x1400526c0
mov eax, dword [rsp + 0x88]
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
ret
mov r12, qword [rsp + 0x60]
mov eax, r13d
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
ret
mov rcx, rdi
add rsp, 0x68
pop r14
pop rdi
jmp fcn.14008cff0
Function at 0x140070540
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov r14d, dword [rsp + 0x70]
mov ebx, r8d
mov dword [rax - 0x18], r14d
mov rbp, r9
mov qword [rax - 0x20], r9
mov rdi, rdx
mov r9, rdx
mov byte [rcx + 0x1c], 1
mov r8, rdx
mov dword [rax - 0x28], ebx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov rsi, rcx
call fcn.14009cb60
test ebx, ebx
jne 0x1400705a9
mov r9, rbp
mov dword [rsp + 0x20], r14d
mov r8, rdi
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov rcx, rsi
call fcn.14009cb60
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400903c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
xor r11d, r11d
mov rdi, r8
mov ebx, r11d
mov r14, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x1400904c9
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r12
lea r12, str.main
mov qword [rsp + 0x20], r15
lea r15, [0x1400f68e0]
nop
mov rax, qword [rsi + 0x20]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
movsxd rcx, r10d
shl rcx, 5
mov rbp, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x140090441
mov r8, qword [rcx + rax]
mov r9, rdi
sub r9, r8
nop dword [rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x14009047c
test ecx, ecx
jne 0x14009048a
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov rdx, r14
call fcn.140054f70
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x140090460
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x140090400
mov r12, qword [rsp + 0x60]
mov rax, r11
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
movzx edx, byte [rax + r15]
movzx ecx, byte [rcx + r15]
cmp ecx, edx
jne 0x14009048f
inc r8
jmp 0x140090430
test r10d, r10d
jne 0x140090459
mov r9, rdi
mov rax, r12
sub r9, r12
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x1400904b5
test edx, edx
je 0x140090441
inc rax
jmp 0x1400904a0
movzx r8d, byte [rcx + r15]
movzx edx, byte [rdx + r15]
cmp edx, r8d
jne 0x140090459
inc rax
jmp 0x1400904a0
mov rax, r11
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400eff0c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [case.0x1400ef0f8.3]
test rax, rax
je 0x1400eff56
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400eff56
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400eff56
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400eff56
cmp dword [rcx + 0x84], 0xe
jbe 0x1400eff56
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400eff58
xor al, al
add rsp, 0x28
ret
Function at 0x14002943c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001cb04
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001cb04
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002958c
cmp rax, 0xffffffffffffffff
je 0x14002958c
xor edi, edi
test rbp, rbp
jle 0x140029537
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f430
mov rbx, rax
test rax, rax
jne 0x1400294c4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002952d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a438
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d7e0
cmp eax, 0xffffffff
je 0x14002950d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400294d4
mov edx, r15d
mov ecx, r14d
call fcn.14001a438
jmp 0x14002952d
cmp byte [rsi + 0x38], dil
je 0x140029524
cmp dword [rsi + 0x34], 5
jne 0x140029524
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002952d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b1cc
jmp 0x1400295a0
jns 0x1400295a0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001cb04
cmp rax, 0xffffffffffffffff
jne 0x140029558
cmp byte [rsi + 0x30], dil
je 0x1400295a0
mov edi, dword [rsi + 0x2c]
jmp 0x1400295a0
mov ecx, r14d
call fcn.1400188f4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400295a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400295a0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029599
mov eax, dword [rsi + 0x2c]
jmp 0x14002959e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001cb04
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x1400065f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x28], 0
cmp qword [rsp + 0x60], 0
jne 0x140006620
mov ecx, 0x7f
call qword [0x1402a6bf8]
xor eax, eax
jmp 0x1400067ec
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
add rax, 0x88
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 0
jne 0x140006650
mov ecx, 0x7f
call qword [0x1402a6bf8]
xor eax, eax
jmp 0x1400067ec
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x18], 0
je 0x14000667b
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x14], 0
jne 0x14000668d
mov ecx, 0x7f
call qword [0x1402a6bf8]
xor eax, eax
jmp 0x1400067ec
mov rax, qword [rsp + 0x68]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
test eax, eax
jne 0x1400066ec
mov rax, qword [rsp + 0x68]
and rax, 0xffff
movzx ecx, ax
mov rax, qword [rsp + 0x20]
cmp ecx, dword [rax + 0x10]
jae 0x1400066cd
mov ecx, 0x7f
call qword [0x1402a6bf8]
xor eax, eax
jmp 0x1400067ec
mov rax, qword [rsp + 0x68]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x20]
sub eax, dword [rcx + 0x10]
mov dword [rsp + 0x28], eax
jmp 0x1400067ab
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
jmp 0x140006751
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x40]
add rax, 4
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jae 0x140006795
mov rax, qword [rsp + 0x40]
mov edx, dword [rax]
mov rax, qword [rsp + 0x60]
add rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x68]
call fcn.140066ed0
test eax, eax
jne 0x140006793
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x38], 1
jmp 0x140006795
jmp 0x14000672a
cmp dword [rsp + 0x38], 0
jne 0x1400067ab
mov ecx, 0x7f
call qword [0x1402a6bf8]
xor eax, eax
jmp 0x1400067ec
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x28], eax
jbe 0x1400067c8
mov ecx, 0x7f
call qword [0x1402a6bf8]
xor eax, eax
jmp 0x1400067ec
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
add rcx, rax
mov eax, dword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 8]
add rsp, 0x58
ret
Function at 0x140006800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
movzx eax, word [rsp + 0x30]
mov word [rsp], ax
mov eax, 1
mov word [rsp + 4], ax
xor eax, eax
mov word [rsp + 8], ax
mov dword [rsp + 0xc], 0
jmp 0x140006841
mov eax, dword [rsp + 0xc]
add eax, 1
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0xc], eax
jge 0x1400068ba
movzx ecx, word [rsp + 4]
movzx eax, word [rsp + 8]
cmp ecx, eax
jne 0x140006860
xor eax, eax
mov word [rsp + 8], ax
movsxd rcx, dword [rsp + 0xc]
mov rax, qword [rsp + 0x20]
movzx edx, byte [rax + rcx]
add edx, 0x609
movsxd rcx, dword [rsp + 0xc]
mov rax, qword [rsp + 0x20]
mov byte [rax + rcx], dl
movsxd rdx, dword [rsp + 0xc]
movzx eax, word [rsp + 8]
movzx ecx, word [rsp + rax*2]
mov rax, qword [rsp + 0x20]
movzx edx, byte [rax + rdx]
xor edx, ecx
movsxd rcx, dword [rsp + 0xc]
mov rax, qword [rsp + 0x20]
mov byte [rax + rcx], dl
movzx eax, word [rsp + 8]
add ax, 1
mov word [rsp + 8], ax
jmp 0x140006836
add rsp, 0x18
ret