joyce8/EMBER2024-capa huggingface dataset:
Function at 0x656e22c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x656e2390
jb 0x656e23ef
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.656e20e0
aeskeygenassist xmm1, xmm0, 1
call fcn.656e2100
aeskeygenassist xmm1, xmm2, 2
call fcn.656e20e0
aeskeygenassist xmm1, xmm0, 2
call fcn.656e2100
aeskeygenassist xmm1, xmm2, 4
call fcn.656e20e0
aeskeygenassist xmm1, xmm0, 4
call fcn.656e2100
aeskeygenassist xmm1, xmm2, 8
call fcn.656e20e0
aeskeygenassist xmm1, xmm0, 8
call fcn.656e2100
aeskeygenassist xmm1, xmm2, 0x10
call fcn.656e20e0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.656e2100
aeskeygenassist xmm1, xmm2, 0x20
call fcn.656e20e0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.656e2100
aeskeygenassist xmm1, xmm2, 0x40
call fcn.656e20e0
jmp 0x656e245d
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.656e2040
aeskeygenassist xmm1, xmm2, 2
call fcn.656e20a0
aeskeygenassist xmm1, xmm2, 4
call fcn.656e2040
aeskeygenassist xmm1, xmm2, 8
call fcn.656e20a0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.656e2040
aeskeygenassist xmm1, xmm2, 0x20
call fcn.656e20a0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.656e2040
aeskeygenassist xmm1, xmm2, 0x80
call fcn.656e20a0
jmp 0x656e245d
aeskeygenassist xmm1, xmm0, 1
call fcn.656e2000
aeskeygenassist xmm1, xmm0, 2
call fcn.656e2000
aeskeygenassist xmm1, xmm0, 4
call fcn.656e2000
aeskeygenassist xmm1, xmm0, 8
call fcn.656e2000
aeskeygenassist xmm1, xmm0, 0x10
call fcn.656e2000
aeskeygenassist xmm1, xmm0, 0x20
call fcn.656e2000
aeskeygenassist xmm1, xmm0, 0x40
call fcn.656e2000
aeskeygenassist xmm1, xmm0, 0x80
call fcn.656e2000
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.656e2000
aeskeygenassist xmm1, xmm0, 0x36
call fcn.656e2000
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x656e246a
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
ret
Function at 0x656e25a0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
shr rdx, 2
dec rdx
movdqu xmm15, xmmword [0x657708a0]
movdqu xmm14, xmmword [0x65770950]
movdqu xmm0, xmmword [rsi]
movdqu xmm11, xmmword [rsi + 0x10]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x20]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x30]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x40]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x50]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x60]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x70]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x80]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x90]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xa0]
cmp rdx, 0xc
jb 0x656e268b
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xb0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xc0]
je 0x656e268b
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xd0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xe0]
aesenclast xmm0, xmm11
pshufb xmm0, xmm15
pshufd xmm11, xmm0, 0xff
movdqu xmm12, xmm0
psrad xmm11, 0x1f
pand xmm11, xmm14
psrld xmm12, 0x1f
pslldq xmm12, 4
pslld xmm0, 1
pxor xmm0, xmm11
pxor xmm0, xmm12
movdqu xmmword [rdi + 0xe0], xmm0
pshufd xmm1, xmm0, 0x4e
pxor xmm1, xmm0
movdqu xmmword [rdi + 0xf0], xmm1
movdqu xmm2, xmm0
movdqu xmm3, xmm1
mov rax, 7
movdqu xmm11, xmm2
movdqu xmm12, xmm2
movdqu xmm13, xmm3
pclmulqdq xmm11, xmm0, 0
pclmulqdq xmm12, xmm0, 0x11
pclmulqdq xmm13, xmm1, 0
pxor xmm13, xmm11
pxor xmm13, xmm12
movdqu xmm4, xmm13
pslldq xmm4, 8
psrldq xmm13, 8
pxor xmm11, xmm4
pxor xmm12, xmm13
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm11, xmm2
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm2, xmm11
pxor xmm2, xmm12
movdqu xmmword [rdi + 0xc0], xmm2
pshufd xmm3, xmm2, 0x4e
pxor xmm3, xmm2
movdqu xmmword [rdi + 0xd0], xmm3
dec rax
lea rdi, [rdi - 0x20]
jne 0x656e26f0
ret
Function at 0x65708e00
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, 4
movsxd rdx, dword [rax + 0x3c]
mov ebx, dword [rdx + rax + 0x28]
mov edx, 4
lea rdi, [rsp + 0x3c]
add rbx, rax
mov r9, rdi
mov rcx, rbx
call rsi
mov byte [rbx], 0x50
mov r9, rdi
mov rcx, rbx
mov byte [rbx + 1], 0x58
mov edx, 4
mov byte [rbx + 2], 0xeb
mov byte [rbx + 3], 0xfc
mov r8d, dword [rsp + 0x3c]
call rsi
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x28], 0
lea r8, [sym.ark.x64.dll_test]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret

Function at 0x65708ef0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x6582f1f0], rax
test rax, rax
je 0x65708f25
lea rcx, [0x6582f200]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 2
call qword [fcn.6570aa20]
mov r8d, 0x3d
mov edx, 1
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
mov r9, rax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
Function at 0x65709680
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6582f804]
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
test esi, esi
jle 0x65709834
mov rax, qword [0x6582f808]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x657096cc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x65709759
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x657096b0
mov rcx, rbx
call fcn.6570a350
test rax, rax
mov r12, rax
je 0x65709869
mov rax, qword [0x6582f808]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.6570a480
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6582f808]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6570984c
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x65709752
sub eax, 0x40
and eax, 0xffffffbf
jne 0x657097d4
add dword [0x6582f804], 1
cmp edi, 8
jae 0x65709790
test dil, 4
jne 0x65709820
test edi, edi
je 0x6570977c
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6570983b
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rbp]
mov qword [rbx], rax
mov eax, edi
mov rdx, qword [rbp + rax - 8]
mov qword [rbx + rax - 8], rdx
lea rax, [rbx + 8]
and rax, 0xfffffffffffffff8
sub rbx, rax
sub rbp, rbx
add ebx, edi
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x6570977c
and ebx, 0xfffffff8
xor edx, edx
mov ecx, edx
add edx, 8
mov r8, qword [rbp + rcx]
cmp edx, ebx
mov qword [rax + rcx], r8
jb 0x657097c0
jmp 0x6570977c
add rsi, qword [0x6582f808]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x65709752
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.6570aa60
nop dword [rax + rax]
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6570977c
xor esi, esi
jmp 0x657096d7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6570977c
mov rax, qword [0x6582f808]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rsi + 0x18]
call fcn.6570aa60
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.6570aa60
nop
nop dword [rax]
Function at 0x65709fc0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6582fae0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6582fac0]
test rbx, rbx
je 0x6570a014
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6570a00b
test rsi, rsi
je 0x6570a00b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x65709ff0
lea rcx, [0x6582fae0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x6570a350
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x657e2d70]
mov rdx, rcx
cmp word [r8], 0x5a4d
jne 0x6570a3bd
mov rcx, r8
call fcn.6570a230
test eax, eax
je 0x6570a3bd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6570a3bd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6570a3b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6570a3bf
add rax, 0x28
cmp rax, r9
jne 0x6570a3a0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6570aa60
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x656413a0]
jmp 0x65641380
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.6570aa20
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
mov r8d, 0x1b
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.6570aa20
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x65641390
Function at 0x14000d620
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140016c60], rbx
je 0x14000d687
cmp rax, rbx
jne 0x14000d67a
mov ebx, 1
mov esi, ebx
jmp 0x14000d68c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000d65f
mov ebx, 1
mov eax, dword [0x140016c68]
cmp eax, ebx
jne 0x14000d6a4
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000d710
mov eax, dword [0x140016c68]
test eax, eax
jne 0x14000d705
mov dword [0x140016c68], ebx
lea r15, [0x140010bb8]
lea rdi, [0x140010ba0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000d6f7
test eax, eax
jne 0x14000d6fb
cmp qword [rdi], r14
je 0x14000d6ec
mov rax, qword [rdi]
mov rcx, qword [0x140010b58]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000d6ce
test eax, eax
je 0x14000d70b
mov eax, 0xff
jmp 0x14000d866
mov dword [0x1400163e4], ebx
mov edi, 0x1f
mov eax, dword [0x140016c68]
cmp eax, ebx
jne 0x14000d737
lea rdx, [0x140010b98]
lea rcx, [0x140010b60]
call sub.msvcrt.dll__initterm
mov dword [0x140016c68], 2
test esi, esi
jne 0x14000d745
mov rax, r14
xchg qword [0x140016c60], rax
cmp qword [0x140016c80], r14
je 0x14000d778
lea rcx, [0x140016c80]
call fcn.14000dce0
test eax, eax
je 0x14000d778
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140016c80]
mov r9, qword [0x140010b58]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000d791
mov eax, 0xff
jmp 0x14000d866
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000d817
test ax, ax
je 0x14000d7ac
test edx, edx
jne 0x14000d817
sub ax, bx
cmp ax, di
ja 0x14000d7c2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000d7ac
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400019fc
mov dword [0x1400163e0], eax
cmp dword [0x140016400], r14d
jne 0x14000d800
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400163e4], r14d
jne 0x14000d815
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400163e0]
jmp 0x14000d866
cmp ax, 0x22
jne 0x14000d82b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000d79a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140186000
add rsp, 0x28
jmp 0x14000d620
Function at 0x1400027a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov eax, 0x13c0
call fcn.140048df0
sub rsp, rax
mov rax, qword [0x140097060]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
call fcn.140047564
mov dword [rsp + 0x24], eax
mov r9d, 1
mov dword [rsp + 0x13a4], 0xffffffff
nop dword [rax + rax]
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x24], eax
inc r9
cmp r9, 0x270
jb 0x140002800
mov edx, dword [rbx]
mov r14d, 0x80000000
mov ecx, dword [rdi]
cmp ecx, r14d
mov dword [rsp + 0x20], 0x270
lea ebx, [rdx + r14]
lea eax, [rcx - 0x80000000]
lea esi, [rcx + r14]
cmovae esi, eax
cmp edx, r14d
lea eax, [rdx - 0x80000000]
cmovae ebx, eax
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x14000286c
lea rcx, [rsp + 0x20]
call fcn.14000b590
mov edx, eax
jmp 0x1400028ab
lea edi, [rbx + 1]
nop
xor r8d, r8d
xor eax, eax
test ebx, ebx
je 0x14000288b
lea rcx, [rsp + 0x20]
call fcn.14000b590
mov r8d, eax
mov eax, 0xffffffff
xor edx, edx
div edi
mov ecx, eax
mov r9d, edx
xor edx, edx
mov eax, r8d
div edi
cmp eax, ecx
jb 0x1400028a4
cmp r9d, ebx
jne 0x140002870
xor edx, edx
mov eax, r8d
div edi
lea ecx, [rsi + rdx]
cmp ecx, r14d
lea eax, [rcx + r14]
lea edx, [rcx - 0x80000000]
cmovae edx, eax
cmp edx, dword [rbp]
jne 0x140002934
cmp ebx, 0xffffffff
jne 0x1400028d6
lea rcx, [rsp + 0x20]
call fcn.14000b590
mov edx, eax
jmp 0x14000291b
lea edi, [rbx + 1]
nop dword [rax]
xor r8d, r8d
xor eax, eax
test ebx, ebx
je 0x1400028fb
lea rcx, [rsp + 0x20]
call fcn.14000b590
mov r8d, eax
mov eax, 0xffffffff
xor edx, edx
div edi
mov ecx, eax
mov r9d, edx
xor edx, edx
mov eax, r8d
div edi
cmp eax, ecx
jb 0x140002914
cmp r9d, ebx
jne 0x1400028e0
xor edx, edx
mov eax, r8d
div edi
add edx, esi
cmp edx, r14d
lea ecx, [rdx + r14]
lea eax, [rdx - 0x80000000]
cmovae eax, ecx
cmp eax, dword [rbp]
je 0x1400028c3
jmp 0x140002936
mov eax, edx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.140048180
lea r11, [rsp + 0x13c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140002970
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xf70]
mov eax, 0x1070
call fcn.140048df0
sub rsp, rax
mov rax, qword [0x140097060]
xor rax, rsp
mov qword [rbp + 0xf60], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rcx
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
xor ebx, ebx
mov qword [rsp + 0x48], rbx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x1400029e4
mov rcx, qword [rsp + 0x38]
mov qword [rsi], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsi + 8], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
jmp 0x140002a97
mov qword [rsp + 0x50], rbx
cmp qword [rdi + 0x18], 0x10
jb 0x1400029f3
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLOpenBlockingStreamA]
test eax, eax
jns 0x140002ac0
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rbx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x38]
mov r8, rbx
mov qword [rsp + 0x38], rbx
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140002a5f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x140002a97
sub rbx, r8
mov rax, r8
cmp rbx, 0x1000
jb 0x140002a8c
add rbx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b8f
mov rdx, rbx
mov rcx, r8
call fcn.1400481a0
mov rax, rsi
mov rcx, qword [rbp + 0xf60]
xor rcx, rsp
call fcn.140048180
mov rbx, qword [rsp + 0x10a0]
add rsp, 0x1070
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x30], ebx
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
call qword [rax + 0x18]
mov edi, eax
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140002b05
lea r9, [rsp + 0x60]
add r9, rax
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.14000ac00
test edi, edi
js 0x140002b0e
cmp edi, 1
jne 0x140002ac0
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rbx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x38]
mov r8, rbx
mov qword [rsp + 0x38], rbx
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140002b5a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x140002a97
sub rbx, r8
mov rax, r8
cmp rbx, 0x1000
jb 0x140002a8c
add rbx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a8c
call fcn.1400502a4
int3
Function at 0x140008030
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140008052
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400080cc
mov rdi, r14
mov rcx, rbx
call fcn.140009710
test rax, rax
jle 0x1400080a4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14004a5f0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400080bc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400080c4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140008066
sub r14, rdi
jmp 0x1400081b9
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400080e3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400080e5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000811a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14004a5f0
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400081b6
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x140008155
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140008191
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14004fd90
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x1400081cf
cmp rbp, rax
ja 0x140008161
mov r8, rdi
test rdi, rdi
je 0x1400081b6
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14004fd90
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x1400081b9
Function at 0x140008600
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140097060]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000862d
xor eax, eax
jmp 0x140008773
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140008667
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140008667
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140008773
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140008766
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400086aa
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400086b9
movsx ecx, dil
jmp 0x14000870d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x140008727
sub eax, 1
je 0x140008727
cmp eax, 2
jne 0x140008766
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.14004ebe8
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000876b
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140008754
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.14004f6d4
cmp rsi, rax
jne 0x140008766
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14000876b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140048180
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x14000a0d0
Capabilities:
Hash data using fnv

Disassembly:
movzx r9d, byte [r8]
movabs rcx, 0x100000001b3
mov r10, rdx
movabs rax, 0xcbf29ce484222325
mov rdx, qword [0x14009a1c0]
xor r9, rax
movzx eax, byte [r8 + 1]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
imul r9, rcx
xor r9, rax
imul r9, rcx
and rdx, r9
mov r9, qword [0x14009a198]
shl rdx, 4
add rdx, qword [0x14009a1a8]
mov rax, qword [rdx + 8]
cmp rax, r9
je 0x14000a160
mov ecx, dword [r8]
mov rdx, qword [rdx]
cmp ecx, dword [rax + 0x10]
je 0x14000a154
cmp rax, rdx
je 0x14000a160
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14000a146
test rax, rax
je 0x14000a160
mov qword [r10], rax
mov rax, r10
ret
mov qword [r10], r9
mov rax, r10
ret