joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140084ee0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140084f22
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140084f69
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140084fc2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140084f80
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140085003
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140099b0a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140099b0b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140084fd0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140086454
Capabilities:
Parse pe header

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

Disassembly:
call 0x1407f41df
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 0x1407f4089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407f406f
add dl, dl
jne 0x1407f4096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407f40f6
xor eax, eax
add dl, dl
jne 0x1407f40a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407f41ad
add dl, dl
jne 0x1407f40b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407f40c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407f40d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407f40dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407f40ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407f407e
mov eax, 1
add dl, dl
jne 0x1407f4106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407f4113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407f40fb
sub eax, ebx
mov ebx, 1
jne 0x1407f414c
mov ecx, 1
add dl, dl
jne 0x1407f412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407f413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407f4123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407f407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407f4168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407f4175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407f415d
cmp eax, 0x7d00
jae 0x1407f419b
cmp eax, 0x500
jb 0x1407f4196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407f407e
cmp eax, 0x7f
ja 0x1407f419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407f407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407f41d2
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 0x1407f407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000ecc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14000ed50
cmp r11, r10
ja 0x14000edc6
cmp r10, rdx
ja 0x14000edda
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000ed52
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000ed30
jmp 0x14000edb4
ja 0x14000ed5a
mov r11, r10
cmp rax, r8
jne 0x14000ecf4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14000ed90
mov rdi, r8
sub ecx, edx
jns 0x14000edab
jmp 0x14000edb6
cmp r8, rsi
je 0x14000edeb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000edb6
xor al, 1
cmp rdi, rsi
jne 0x14000ed70
jmp 0x14000edb6
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14002de00
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14002db90
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_srcio_borrowed_buf.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14002dc10
ud2
Function at 0x140010d40
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edi, edi
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x20
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
cmp eax, 0xc0000000
jb 0x140010dca
mov esi, eax
mov rcx, rbx
mov edx, 0x20
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x140010d82
xor edi, edi
jmp 0x140010dca
xor esi, 0x80000000
je 0x140010d7e
movzx eax, byte [0x14014d130]
mov rcx, qword [0x14014d228]
test rcx, rcx
jne 0x140010db2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140010dd5
mov rcx, rax
mov qword [0x14014d228], rax
mov r8d, 4
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140010dd5
mov rdi, rax
mov dword [rax], esi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 4
mov edx, 4
call fcn.14002d8b0
ud2

Function at 0x14001a3e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
vmovups xmm0, xmmword [0x140035600]
vmovaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14001a457
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14001a48e
test eax, eax
js 0x14001a468
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14001a481
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140019650
mov rcx, rax
call fcn.140018dc0
mov ecx, 7
int 0x29
ud2
Function at 0x140025850
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x14014d0c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x30], 0x6a09e667
mov rdi, rcx
mov rcx, qword [str.For_this_sample__this_63_byte_string_will_be_used_as_input_data]
mov ebx, edx
mov dword [rsp + 0x34], 0xbb67ae85
lea rdx, [r11 - 0x38]
mov dword [rsp + 0x38], 0x3c6ef372
mov dword [rsp + 0x3c], 0xa54ff53a
movups xmm0, xmmword [rcx]
mov eax, dword [rcx + 0x38]
movups xmm1, xmmword [rcx + 0x10]
mov dword [rsp + 0x40], 0x510e527f
mov dword [rsp + 0x44], 0x9b05688c
mov dword [rsp + 0x48], 0x1f83d9ab
mov dword [rsp + 0x4c], 0x5be0cd19
mov qword [r11 - 0x48], 0x3f
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rcx + 0x20]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm1, qword [rcx + 0x30]
movaps xmmword [rsp + 0x70], xmm0
mov dword [r11 - 0x50], eax
movzx eax, word [rcx + 0x3c]
mov word [r11 - 0x4c], ax
movzx eax, byte [rcx + 0x3e]
lea rcx, [rsp + 0x30]
mov byte [r11 - 0x4a], al
movsd qword [r11 - 0x58], xmm1
call fcn.140029f30
xor esi, esi
lea r8, [0x1400374a8]
mov eax, esi
nop
movzx ecx, byte [rax + r8]
movzx edx, byte [rsp + rax + 0xa0]
cmp edx, ecx
jne 0x14002593c
inc rax
cmp rax, 0x20
jb 0x140025920
jmp 0x14002594a
xor edx, edx
lea rcx, str.self_test_failed
call fcn.1400181b0
cmp bl, 1
je 0x140025962
lea rcx, str.Invalid_flags
mov rdx, rsi
call fcn.140018100
xor eax, eax
jmp 0x1400259b6
bt ebx, 0xa
jae 0x14002597b
lea rcx, str.Declassify_flag_requires_running_with_memory_checking
mov rdx, rsi
call fcn.140018100
xor eax, eax
jmp 0x1400259b6
movups xmm0, xmmword [fcn.140018100]
xor edx, edx
mov rcx, rdi
movups xmmword [rdi + 0xa8], xmm0
movups xmm1, xmmword [fcn.1400181b0]
movups xmmword [rdi + 0xb8], xmm1
call fcn.1400262f0
shr ebx, 0xa
mov rax, rdi
and ebx, 1
mov dword [rdi], 1
mov dword [rdi + 0xc8], ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14002ccb0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140028380
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rdi
sub rsp, 0x120
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x14014d0c0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, r8
mov rdi, rcx
cmp r8, 0x40
ja 0x1400283fb
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x40
lea rcx, [rsp + 0x90]
sub r8, rbx
add rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movdqu xmm0, xmmword [rsp + 0xc0]
movdqu xmm1, xmmword [rsp + 0xb0]
jmp 0x140028469
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x6a09e667
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov dword [rsp + 0x3c], 0x5be0cd19
mov qword [rsp + 0x80], 0
call fcn.14002c870
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.140029f30
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqa xmm9, xmmword [str.jjjjjjjjjjjjjjjj]
lea rcx, [rdi + 0x68]
mov dword [rcx], 0x6a09e667
lea rax, [rsp + 0x90]
mov dword [rcx + 4], 0xbb67ae85
lea rdx, [rcx + 0x20]
mov dword [rcx + 8], 0x3c6ef372
movdqa xmm8, xmm9
pxor xmm8, xmmword [rsp + 0x90]
movdqa xmm7, xmm9
pxor xmm7, xmmword [rsp + 0xa0]
movdqa xmm6, xmm9
mov dword [rcx + 0xc], 0xa54ff53a
pxor xmm6, xmm1
mov dword [rcx + 0x10], 0x510e527f
pxor xmm9, xmm0
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], 0x40
movdqu xmmword [rsp + 0x90], xmm8
movdqu xmmword [rsp + 0xa0], xmm7
movdqu xmmword [rsp + 0xb0], xmm6
movdqu xmmword [rsp + 0xc0], xmm9
movups xmm0, xmmword [rax]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x50], xmm1
call fcn.14002a300
movdqa xmm3, xmmword [0x140037860]
lea rdx, [rdi + 0x20]
mov dword [rdi], 0x6a09e667
movdqa xmm2, xmm3
mov dword [rdi + 4], 0xbb67ae85
movdqa xmm1, xmm3
mov dword [rdi + 8], 0x3c6ef372
movdqa xmm0, xmm3
mov dword [rdi + 0xc], 0xa54ff53a
pxor xmm2, xmm8
mov dword [rdi + 0x10], 0x510e527f
pxor xmm1, xmm7
mov dword [rdi + 0x14], 0x9b05688c
pxor xmm0, xmm6
mov dword [rdi + 0x18], 0x1f83d9ab
pxor xmm3, xmm9
mov dword [rdi + 0x1c], 0x5be0cd19
mov rcx, rdi
mov qword [rdi + 0x60], 0x40
movups xmmword [rdx], xmm2
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm3
call fcn.14002a300
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14002ccb0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rdi
ret
Function at 0x1400285f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
xorps xmm0, xmm0
mov qword [rbp - 0x69], 0
xorps xmm1, xmm1
mov qword [rbp + 0x2f], 0
movdqu xmmword [rsp + 0x20], xmm0
mov rbx, 0xffffffffffffffff
mov r12, rdx
movdqa xmm0, xmmword [0x140037840]
mov r13, rcx
movdqu xmmword [rbp + 0xf], xmm0
movups xmm0, xmmword [rdx]
lea r15d, [rbx + 0xb]
movdqu xmmword [rbp - 0x79], xmm1
movdqu xmmword [rbp + 0x1f], xmm1
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rbp - 0x41], xmm0
movsd xmm0, qword [rdx + 0x20]
movups xmmword [rbp - 0x31], xmm1
movups xmm1, xmmword [rcx]
movsd qword [rbp - 0x21], xmm0
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rbp - 0x19], xmm1
movsd xmm1, qword [rcx + 0x20]
movups xmmword [rbp - 9], xmm0
movsd qword [rbp + 7], xmm1
nop word [rax + rax]
mov rsi, qword [rbp - 0x41]
mov r9d, 8
mov rax, qword [rbp - 0x19]
xor r10d, r10d
xor r11d, r11d
mov edi, r9d
lea r14d, [r9 + 0x33]
nop dword [rax + rax]
mov rcx, rbx
sar rcx, 0x3f
mov qword [rbp + 0x67], rcx
mov rcx, rax
mov r8, qword [rbp + 0x67]
and ecx, 1
mov qword [rbp + 0x67], rcx
mov rcx, r8
mov rdx, qword [rbp + 0x67]
xor rcx, rsi
sub rcx, r8
neg rdx
and rcx, rdx
add rax, rcx
mov rcx, r8
xor rcx, r9
sub rcx, r8
and rcx, rdx
add r11, rcx
mov rcx, r8
xor rcx, r10
sub rcx, r8
and r8, rdx
and rcx, rdx
xor rbx, r8
add rdi, rcx
dec rbx
mov rcx, r8
and rcx, rax
shr rax, 1
add rsi, rcx
mov rcx, r8
and rcx, r11
and r8, rdi
add r9, rcx
add r10, r8
add r9, r9
add r10, r10
sub r14, 1
jne 0x1400286b0
mov qword [rbp - 0x61], r9
lea r8, [rbp - 0x61]
mov r9, r12
mov qword [rbp - 0x59], r10
lea rdx, [rbp + 0xf]
mov qword [rbp - 0x51], r11
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x49], rdi
call fcn.140028970
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.140028f70
sub r15, 1
jne 0x140028690
mov rdx, qword [rbp - 0x21]
lea rcx, [rsp + 0x20]
mov r8, r12
call fcn.1400287c0
movups xmm0, xmmword [rsp + 0x20]
lea r11, [rsp + 0xe0]
movups xmm1, xmmword [rbp - 0x79]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movups xmmword [r13], xmm0
movsd xmm0, qword [rbp - 0x69]
movups xmmword [r13 + 0x10], xmm1
movsd qword [r13 + 0x20], xmm0
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140029ce0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
movzx eax, byte [rdx + 0x19]
mov r14, r8
movzx ebx, byte [rdx + 0x18]
mov rdi, rcx
shl rbx, 8
or rbx, rax
movzx eax, byte [rdx + 0x1a]
shl rbx, 8
or rbx, rax
movzx eax, byte [rdx + 0x1b]
shl rbx, 8
or rbx, rax
movzx eax, byte [rdx + 0x1c]
shl rbx, 8
or rbx, rax
movzx eax, byte [rdx + 0x1d]
shl rbx, 8
or rbx, rax
movzx eax, byte [rdx + 0x1e]
shl rbx, 8
or rbx, rax
movzx eax, byte [rdx + 0x1f]
shl rbx, 8
or rbx, rax
mov qword [rcx], rbx
movzx eax, byte [rdx + 0x11]
movzx r11d, byte [rdx + 0x10]
shl r11, 8
or r11, rax
movzx eax, byte [rdx + 0x12]
shl r11, 8
or r11, rax
movzx eax, byte [rdx + 0x13]
shl r11, 8
or r11, rax
movzx eax, byte [rdx + 0x14]
shl r11, 8
or r11, rax
movzx eax, byte [rdx + 0x15]
shl r11, 8
or r11, rax
movzx eax, byte [rdx + 0x16]
shl r11, 8
or r11, rax
movzx eax, byte [rdx + 0x17]
shl r11, 8
or r11, rax
mov qword [rcx + 8], r11
movzx eax, byte [rdx + 9]
movzx r10d, byte [rdx + 8]
shl r10, 8
or r10, rax
movzx eax, byte [rdx + 0xa]
shl r10, 8
or r10, rax
movzx eax, byte [rdx + 0xb]
shl r10, 8
or r10, rax
movzx eax, byte [rdx + 0xc]
shl r10, 8
or r10, rax
movzx eax, byte [rdx + 0xd]
shl r10, 8
or r10, rax
movzx eax, byte [rdx + 0xe]
shl r10, 8
or r10, rax
movzx eax, byte [rdx + 0xf]
shl r10, 8
or r10, rax
mov qword [rcx + 0x10], r10
movzx eax, byte [rdx + 1]
movzx r9d, byte [rdx]
shl r9, 8
or r9, rax
movzx eax, byte [rdx + 2]
shl r9, 8
or r9, rax
movzx eax, byte [rdx + 3]
shl r9, 8
or r9, rax
movzx eax, byte [rdx + 4]
xor ecx, ecx
shl r9, 8
mov esi, ecx
or r9, rax
movabs r8, 0xbfd25e8cd0364141
movzx eax, byte [rdx + 5]
shl r9, 8
or r9, rax
movzx eax, byte [rdx + 6]
shl r9, 8
or r9, rax
movzx eax, byte [rdx + 7]
shl r9, 8
mov edx, ecx
or r9, rax
mov eax, ecx
cmp r10, 0xfffffffffffffffe
setb dl
cmp r9, 0xffffffffffffffff
setb al
or edx, eax
cmp r10, 0xfffffffffffffffe
mov eax, edx
not eax
seta sil
and esi, eax
mov eax, ecx
cmp rbx, r8
movabs r8, 0xbaaedce6af48a03b
setae al
cmp r11, r8
seta cl
or eax, ecx
mov ecx, 1
cmp r11, r8
cmovb edx, ecx
not edx
and eax, edx
or esi, eax
movabs rax, 0x402da1732fc9bebf
mov ecx, esi
imul rcx, rax
mov edx, esi
mov r8d, esi
lea rax, [rbx + rcx]
cmp rax, rcx
mov qword [rdi], rax
movabs rax, 0x4551231950b75fc4
mov rcx, r11
adc rcx, 0
imul rdx, rax
cmp rcx, r11
lea rax, [rdx + rcx]
mov rcx, r10
adc rcx, 0
mov qword [rdi + 8], rax
cmp rax, rdx
adc rcx, 0
cmp rcx, r10
adc r9, 0
lea rax, [rcx + rsi]
cmp rax, r8
mov qword [rdi + 0x10], rax
adc r9, 0
mov qword [rdi + 0x18], r9
test r14, r14
je 0x140029f15
mov dword [r14], esi
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
ret
Function at 0x14002a1a0
Capabilities:
Hash data using sha256

Disassembly:
push rbx
push rbp
push rsi
push r14
sub rsp, 0x58
mov rax, qword [0x14014d0c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, rcx
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], 0
call fcn.14002c870
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140029f30
movups xmm0, xmmword [rsp + 0x20]
mov ebx, 0x20
mov dword [r14], 0x6a09e667
movups xmm1, xmmword [rsp + 0x30]
mov qword [r14 + 0x60], rbx
lea rsi, [rsp + 0x20]
mov dword [r14 + 4], 0xbb67ae85
mov dword [r14 + 8], 0x3c6ef372
mov dword [r14 + 0xc], 0xa54ff53a
mov dword [r14 + 0x10], 0x510e527f
mov dword [r14 + 0x14], 0x9b05688c
mov dword [r14 + 0x18], 0x1f83d9ab
mov dword [r14 + 0x1c], 0x5be0cd19
movups xmmword [r14 + 0x20], xmm0
movups xmmword [r14 + 0x30], xmm1
mov rax, qword [r14 + 0x60]
mov rcx, rax
add rax, rbx
mov qword [r14 + 0x60], rax
and ecx, 0x3f
mov eax, 0x40
sub rax, rcx
cmp rbx, rax
jb 0x14002a2cf
mov qword [rsp + 0x50], rdi
mov edi, 0x40
mov rdx, rsi
sub rdi, rcx
add rcx, 0x20
add rcx, r14
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [r14 + 0x20]
mov rcx, r14
add rsi, rdi
sub rbx, rdi
call fcn.14002a300
xor ecx, ecx
cmp rbx, 0x40
jae 0x14002a291
mov rdi, qword [rsp + 0x50]
test rbx, rbx
je 0x14002a2e1
add rcx, 0x20
mov r8, rbx
add rcx, r14
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14002ccb0
add rsp, 0x58
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x14002d1a4
Capabilities:
Parse pe header

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

Function at 0x180c0e000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x180c0e00a
jmp 0x180c1000f
jmp fcn.1808be108
Function at 0x140821268
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1408213ef
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 0x140821299
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14082127f
add dl, dl
jne 0x1408212a6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140821306
xor eax, eax
add dl, dl
jne 0x1408212b5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408213bd
add dl, dl
jne 0x1408212c6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408212d3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408212e0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408212ed
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408212fa
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14082128e
mov eax, 1
add dl, dl
jne 0x140821316
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140821323
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14082130b
sub eax, ebx
mov ebx, 1
jne 0x14082135c
mov ecx, 1
add dl, dl
jne 0x14082133e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14082134b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140821333
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14082128e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140821378
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140821385
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14082136d
cmp eax, 0x7d00
jae 0x1408213ab
cmp eax, 0x500
jb 0x1408213a6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14082128e
cmp eax, 0x7f
ja 0x1408213ae
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14082128e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408213e2
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 0x14082128e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20