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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140132100]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r12, rcx
mov qword [rsp + 0x58], rcx
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.1400e6460
mov dword [rsp + 0x58], 0x104
call fcn.140043020
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea r8d, [rdi + 0x1a]
lea rdx, [0x14011aa30]
lea rcx, [rsp + 0x20]
call fcn.140033360
nop
call fcn.14005c8b0
lea rcx, [r15 + 0x40]
call qword [0x1400eb310]
lea rdx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 0xf
cmova rdx, rbx
movabs r9, 0xcbf29ce484222325
mov ecx, edi
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140047933
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140047920
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.140043920
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140047958
cmp rdx, qword [r15 + 8]
je 0x140047958
mov rdi, qword [rdx + 0x30]
lea rcx, [r15 + 0x40]
call qword [0x1400eb318]
nop
cmp rsi, 0xf
jbe 0x14004799a
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140047992
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047a8b
mov rcx, rbx
call fcn.1400b61d0
test rdi, rdi
je 0x1400479b8
call qword [0x1400eb660]
mov rcx, rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x60]
xor edx, edx
call rdi
jmp 0x1400479ca
mov r8d, dword [rsp + 0x58]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [0x1400eb3b0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400479f0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.14002fbe0
nop
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.140047740
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140047a57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047a52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047a85
call fcn.1400b61d0
mov rax, r12
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400b5fc0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400c8dbc
int3
call fcn.1400c8dbc
int3
Function at 0x14006c200
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.14005c8b0
lea rcx, [rsi + 0x40]
call qword [0x1400eb310]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
mov r10, qword [rbx + 0x10]
jbe 0x14006c236
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x14006c264
movabs r8, 0x100000001b3
movzx eax, byte [rdx + rcx]
inc rcx
xor r9, rax
imul r9, r8
cmp rcx, r10
jb 0x14006c251
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140043920
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14006c2ac
cmp rbx, qword [rsi + 8]
je 0x14006c2ac
mov rbx, qword [rbx + 0x30]
lea rcx, [rsi + 0x40]
call qword [0x1400eb318]
test rbx, rbx
je 0x14006c2b6
mov rcx, qword [r14]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
jmp rax
lea rcx, [rsi + 0x40]
call qword [0x1400eb318]
mov rbx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14006c730
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140132100]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbp, rdx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140180628], eax
jle 0x14006c7c1
lea rcx, [0x140180628]
call fcn.1400b6088
cmp dword [0x140180628], 0xffffffff
jne 0x14006c7c1
lea rcx, [0x14011a748]
call qword [0x1400eb2f8]
mov rcx, rax
lea rdx, [0x14011b688]
call qword [0x1400eb240]
mov qword [0x140180630], rax
lea rcx, [0x140180628]
call fcn.1400b601c
mov rax, qword [0x140180630]
test rax, rax
je 0x14006c7d7
mov rcx, rbp
call rax
jmp 0x14006c926
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], eax
xor esi, esi
mov dword [rsp + 0x60], esi
call fcn.140043020
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea r8d, [rsi + 0x18]
lea rdx, [0x14011b1f8]
lea rcx, [rsp + 0x30]
call fcn.140033360
nop
call fcn.14005c8b0
lea r14, [rbx + 0x40]
mov rcx, r14
call qword [0x1400eb310]
lea rdx, [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
mov r15, qword [rsp + 0x48]
cmp r15, 0xf
cmova rdx, rdi
movabs r9, 0xcbf29ce484222325
mov ecx, esi
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x14006c883
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14006c870
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140043920
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14006c8d6
cmp rdx, qword [rbx + 8]
je 0x14006c8d6
mov rbx, qword [rdx + 0x30]
mov rcx, r14
call qword [0x1400eb318]
test rbx, rbx
je 0x14006c8df
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x1c
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, rbp
call rbx
mov ebx, eax
jmp 0x14006c8e4
mov rcx, r14
call qword [0x1400eb318]
mov ebx, 0xc0000138
shr ebx, 0x1f
xor bl, 1
cmp r15, 0xf
jbe 0x14006c91d
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14006c915
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006c953
mov rcx, rdi
call fcn.1400b61d0
test bl, bl
cmovne esi, dword [rsp + 0x74]
mov eax, esi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400b5fc0
lea r11, [rsp + 0x90]
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
call fcn.1400c8dbc
int3
Function at 0x140074a70
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140074c4b
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14002dfe0
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 0x140074c14
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [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 0x140074b8c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140074c03
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140074bc9
mov r10, qword [rdx]
cmp r10, rax
je 0x140074bc3
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 0x140074c03
cmp r9, rdx
je 0x140074bdf
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140074c25
cmp r9, rdx
jne 0x140074bd0
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 0x140074b10
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
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 0x140074c03
lea rcx, [0x14011a300]
call fcn.1400b43cc
int3
Function at 0x1400b6eb0
Capabilities:
Parse pe header

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

Function at 0x1400ce658
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400ce454
Function at 0x14045a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14045a1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14045a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14045a06f
add dl, dl
jne 0x14045a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14045a0f6
xor eax, eax
add dl, dl
jne 0x14045a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14045a1ad
add dl, dl
jne 0x14045a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14045a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14045a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14045a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14045a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14045a07e
mov eax, 1
add dl, dl
jne 0x14045a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14045a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14045a0fb
sub eax, ebx
mov ebx, 1
jne 0x14045a14c
mov ecx, 1
add dl, dl
jne 0x14045a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14045a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14045a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14045a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14045a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14045a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14045a15d
cmp eax, 0x7d00
jae 0x14045a19b
cmp eax, 0x500
jb 0x14045a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14045a07e
cmp eax, 0x7f
ja 0x14045a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14045a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14045a1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14045a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002480
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x140046ee4], 0
lea rdi, [0x140046ee0]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002558
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x1400024b0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000258e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140002570
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x1400025cf
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400025b3
cmp byte [r8], r9b
jne 0x1400025b3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x1400025a0
not eax
pop rdi
ret
Function at 0x1400027d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x1400027e9
mov qword [r8], 0
lea rdx, [0x14003a7b8]
call fcn.1400025e0
mov rbx, rax
test rax, rax
jne 0x140002808
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
xor edx, edx
mov r8d, 2
mov qword [rsp + 0x38], rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400028ca
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400028ca
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400028ca
mov rax, qword [0x140046cc0]
mov rbp, rsi
test rax, rax
je 0x140002867
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400028ca
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x1400028b7
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140046cc0]
test rax, rax
je 0x1400028ac
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400028d3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400028c5
mov qword [rdi], rbp
mov rax, rsi
jmp 0x1400028d5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140012500
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x140046cc0]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x14001261a
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x14001255a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140013530
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x14001256e
mov edx, 8
mov rcx, rbx
call fcn.140013530
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x1400125ba
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x140012590
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x1400125c9
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x14003a7bc]
test rax, rax
movsxd rsi, esi
lea rdi, [0x140046cb8]
mov rcx, r15
cmovne rdi, rax
call fcn.1400025e0
mov rbx, rax
test rax, rax
je 0x140012615
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x14001a530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x14001a792
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, 0x100
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x14003f260]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001a5fa
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x14001a619
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x14001a730
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001a660
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x14001a663
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140015860
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.140018190
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x14001a650
jmp 0x14001a737
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, 0x100
sub qword [rsp + 0x60], 1
jne 0x14001a5b0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x140038930
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003897a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003897a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003897a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003897a
cmp dword [rcx + 0x84], 0xe
jbe 0x14003897a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003897c
xor al, al
add rsp, 0x28
ret
Function at 0x1434700b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.143470237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1434700e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1434700c7
add dl, dl
jne 0x1434700ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14347014e
xor eax, eax
add dl, dl
jne 0x1434700fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x143470205
add dl, dl
jne 0x14347010e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14347011b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x143470128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x143470135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x143470142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1434700d6
mov eax, 1
add dl, dl
jne 0x14347015e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14347016b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x143470153
sub eax, ebx
mov ebx, 1
jne 0x1434701a4
mov ecx, 1
add dl, dl
jne 0x143470186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x143470193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14347017b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1434700d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1434701c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1434701cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1434701b5
cmp eax, 0x7d00
jae 0x1434701f3
cmp eax, 0x500
jb 0x1434701ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1434700d6
cmp eax, 0x7f
ja 0x1434701f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1434700d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14347022a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1434700d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20