joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400161c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x30012
mov dword [rbp - 0x1c], 0x90006
mov dword [rbp - 0x18], 0x440065
mov dword [rbp - 0x14], 0x5a0053
mov dword [rbp - 0x10], 0x1e0001
mov dword [rbp - 0xc], 0x610001
call fcn.140002950
mov rcx, rax
call rbx
mov rbx, qword [0x1400161c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400161a0], rax
mov dword [rbp - 0x20], 0x20016
mov dword [rbp - 0x1c], 0xc000d
mov dword [rbp - 0x18], 0x120067
mov dword [rbp - 0x14], 0x5a0015
mov dword [rbp - 0x10], 0x1e0001
mov dword [rbp - 0xc], 0x610001
call fcn.140002950
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x140014870]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400161b0], rax
mov word [rbp - 0x10], 0x2306
mov byte [rbp - 0xe], 0x6f
call fcn.140004500
mov rcx, qword [0x1400161a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140016130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x9060312
mov dword [rbp - 0x1c], 0x11193265
mov dword [rbp - 0x18], 0x4190706
mov word [rbp - 0x14], 0x6b25
call fcn.140001180
mov rcx, qword [0x1400161a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140016130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x170508
mov dword [rbp - 0x1c], 0x4197b
mov dword [rbp - 0x18], 0xf08022a
mov word [rbp - 0x14], 0x6b33
call fcn.140001180
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014780]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160e8], rax
mov byte [rbp - 0x10], 0x70
call fcn.140004220
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014810]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160f0], rax
mov dword [rbp - 0x10], 0x700a1814
call fcn.140002600
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014860]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160e0], rax
mov byte [rbp - 0x10], 0x70
call fcn.140004220
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014880]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160d8], rax
mov dword [rbp - 0x10], 0x31011b19
mov byte [rbp - 0xc], 0x69
call fcn.140003090
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014800]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x351e
mov byte [rbp - 0xe], 0x6f
call fcn.140004500
mov rcx, qword [0x1400161b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x140005320
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x1400053b0
jmp 0x14000539f
jae 0x140005470
cmp r8, 0x201
jae 0x1400053b0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140005408
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x1400053df
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14001e280
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140005431
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400054d8
mov r8d, r14d
cmp r15, r8
jne 0x140005390
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400054fb
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000539f
jmp 0x1400053b0
cmp rsi, r8
jb 0x140005515
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140008600
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x1400054c1
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.1400023a0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x1400054a9
jmp 0x1400054c1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001ee10
jmp 0x14000552a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001f2d0
ud2
Function at 0x140009000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140009030
test ecx, ecx
jne 0x140009080
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x14000903c
test ecx, ecx
jne 0x140009080
mov rcx, rdi
call fcn.140008ee0
movzx eax, al
test bpl, bpl
jne 0x140009087
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x140009073.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x1400091f8]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x140009073.2
xor eax, eax
test bpl, bpl
je 0x14000904c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x1400091d9
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x1400090ba
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x140009139
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x140009100
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x14000911b
inc rax
dec rdi
cmp rax, 1
jne 0x1400090e0
jmp 0x140009139
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14000911b
cmp ebx, 0x5c
je 0x14000911b
inc rax
dec rdi
cmp rax, 1
jne 0x140009100
jmp 0x140009139
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x1400091e7
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x140009163
mov al, 9
cmp rdx, 2
je 0x140009167
cmp rdx, 1
jne 0x140009177
cmp byte [r8], 0x2e
jne 0x140009177
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140009177
mov al, 0xa
jmp 0x140009177
cmp byte [r8], 0x2e
jne 0x140009177
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x140009073.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x140009073.2
mov ecx, 2
jmp case.0x140009073.2
lea r8, str.library_std_srcpath.rs
call fcn.14001f250
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14001f250
ud2
Function at 0x14000d6b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x1400222a8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000d6f4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000d75a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000d791
test eax, eax
js 0x14000d76b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000d784
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 byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 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
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140008020
mov rcx, rax
call fcn.140002eb0
mov ecx, 7
int 0x29
ud2

Function at 0x14001bcf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001bd6a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14001bd60
cmp r10, r11
jb 0x14001be03
cmp r10, rdx
ja 0x14001be17
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001bd62
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001bd40
jmp 0x14001bdd7
ja 0x14001bd6a
mov r11, r10
cmp rax, r8
jne 0x14001bd12
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001bddb
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14001bdb0
mov r8, r10
sub ecx, r9d
jns 0x14001bdce
jmp 0x14001bddd
cmp r10, rdx
je 0x14001bde9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001bddd
xor al, 1
cmp r8, rdx
jne 0x14001bd90
jmp 0x14001bddd
xor eax, eax
jmp 0x14001bddd
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuelibrarycore_src_nummod.rsfrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001ee10
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001f350
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001f2d0
ud2
Function at 0x14001db64
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0xcb91dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xcb91ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xcb91d5
lea eax, [rcx + 1]
jmp 0xcb91fb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xcb920e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xcb91f4
sub eax, 3
jb 0xcb922e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xcb927d
sar eax, 1
movsxd rbp, eax
jb 0xcb9264
jmp 0xcb923c
add ebx, ebx
jne 0xcb923a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xcb9264
inc ecx
add ebx, ebx
jne 0xcb924a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xcb9264
call r11
adc ecx, ecx
add ebx, ebx
jne 0xcb925d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xcb924c
add ecx, 2
jmp 0xcb9269
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00cb9192
jmp 0xcb91dd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2bdc00
mov dl, 0x24
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xcb92c9
cmp rsi, rcx
jae 0xcb92d1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xcb92b0
cmp al, 0x8f
ja 0xcb92b0
cmp byte [rsi - 2], 0xf
je 0xcb92b6
sub al, 0xe8
cmp al, 1
ja 0xcb929a
cmp rsi, rcx
jae 0xcb92d1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xcb92a0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xcb92d1
lodsb al, byte [rsi]
jmp 0xcb92b0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x8b1000]
mov eax, dword [rdi]
or eax, eax
je 0xcb932e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x8b9000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xcb92de
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xcb9328
mov qword [rbx], rax
add rbx, 8
jmp 0xcb92fe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xcb9372
cmp al, 0xef
ja 0xcb935a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xcb933a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xcb9349
mov eax, dword [rdi]
add rdi, 4
jmp 0xcb9349
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xcb93c6
sub rsp, 0xffffffffffffff80
jmp 0x4667a0
Function at 0x1800010c0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800010f1
xor eax, eax
lea r8, section..text
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
Function at 0x140001000
Capabilities:
Get system firmware table
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov ecx, eax
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9d, ebx
xor edx, edx
mov r8, rax
mov ecx, 0x52534d42
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
lea r8, [0x140002270]
mov qword [rsp + 0x20], 0
lea rdx, str.out.bios
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov r9, qword [rsp + 0x20]
test r9, r9
je 0x140001099
mov r8d, ebx
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400010d0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140001998
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x14000587f
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.1400051c0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x140005844
mov qword [rsp + 0x30], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rbx
xor r11, rdx
imul r11, rbx
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x1400057bd
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140005833
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400057fa
mov r10, qword [rdx]
cmp r10, rax
je 0x1400057f4
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 0x140005833
cmp r9, rdx
je 0x14000580f
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140005859
cmp r9, rdx
jne 0x140005800
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, rdi
jne 0x140005770
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
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 0x140005833
lea rcx, str.invalid_hash_bucket_count
call fcn.14000dfc0
int3
Function at 0x14000b4c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14000b4f1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14000b56b
mov rdi, r14
mov rcx, rbx
call fcn.140006700
test rax, rax
jle 0x14000b543
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.140011880
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 0x14000b55b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14000b563
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14000b505
sub r14, rdi
jmp 0x14000b64f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14000b582
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000b584
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000b5b6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140011880
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000b64c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000b5f1
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
cmp rbp, 0xfff
jbe 0x14000b62d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400174f8
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000b64c
cmp rbp, rax
ja 0x14000b600
test rbp, rbp
je 0x14000b64c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400174f8
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000d1d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400450a8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rbx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor ebp, ebp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], rbp
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
mov qword [rdx + 0x10], rbp
mov qword [rdx + 0x18], 0xf
mov byte [rdx], bpl
xorps xmm0, xmm0
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], rbp
mov qword [rcx + 0x38], rbp
movups xmm0, xmmword [r8]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rcx + 0x30], xmm1
mov qword [r8 + 0x10], rbp
mov qword [r8 + 0x18], 0xf
mov byte [r8], bpl
mov qword [rcx + 0x40], r9
mov qword [rcx + 0x48], rbp
mov qword [rcx + 0x50], rbp
mov qword [rcx + 0x58], rbp
call fcn.14000d710
mov rcx, qword [rsi + 0x48]
cmp rcx, qword [rsi + 0x50]
je 0x14000d29b
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000d29b
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14000d29b
mov qword [rsi + 0x60], rax
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000d2d1
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000d2cc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000d342
mov rcx, r8
call fcn.14000f930
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000d316
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000d311
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000d348
mov rcx, r8
call fcn.14000f930
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000fca0
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
call fcn.140016168
nop
call fcn.140016168
int3

Function at 0x14000db90
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
mov rax, rdx
xor edx, edx
lea rcx, vtable.kanan::RemoteThread.0
mov qword [rbx], rcx
mov qword [rbx + 8], rdx
test r8, r8
je 0x14000dbdc
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x30], rcx
mov rcx, qword [rax + 8]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
mov r9, r8
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbx + 8], rax
mov rax, rbx
add rsp, 0x40
pop rbx
ret