joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4438e0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x443a47
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x4438f2
cmp edx, ecx
jne 0x443a35
nop word [rax + rax]
test rsi, rsi
jne 0x443a35
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x443954
nop
call fcn.004628a0
xorps xmm15, xmm15
mov r14, qword [0x005ea328]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00443800
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x443a30
mov rdx, qword [0x00597068]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x443a25
mov rcx, qword [0x00597060]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x00597d70]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x00597d70], rax
nop
mov edx, 1
lea rsi, [0x00597d78]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x443a13
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004de03b]
mov ebx, 0x28
nop
call fcn.00434d40
mov rax, rsi
mov rcx, rdx
call fcn.00461040
call fcn.004333e0
lea rax, [0x004dd1a4]
mov ebx, 0x23
call fcn.00434d40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045edc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004438e0
Function at 0x44ea00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44eb77
movzx edx, byte [rax]
test edx, edx
jne 0x44ea34
nop dword [rax]
test r8b, r8b
jne 0x44ea34
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x44ea47
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44eb37
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x44eb25
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x44eb17
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x44ea9d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x44eae0
mov eax, 1
cmp rax, rbx
ja 0x44eacb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00461100
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x44eb0f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x44ead3
mov rcx, r11
mov eax, r12d
jmp 0x44eaa2
mov rcx, rbx
call fcn.00461040
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00461040
mov eax, r8d
mov rcx, rbx
call fcn.00461100
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44eb6d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x44eb30
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44ea4d
mov eax, edx
mov rcx, rbx
call fcn.00461040
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00461040
nop
int3
Function at 0x4560a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45614f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x004561a0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045ec80
xorps xmm15, xmm15
mov r14, qword [0x005ea328]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045edc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.004560a0
Function at 0x460ba0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403243
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00408e80
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045edc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403220
cmp byte [0x005ea0e8], 0
je 0x460bb5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45de00
jmp 0x403220

Function at 0x460bc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005ea3e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005ea0e8], 0
je 0x460bf5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005ea6a0]
aesenc xmm0, xmmword [0x005ea6b0]
aesenc xmm0, xmmword [0x005ea6c0]
movq rax, xmm0
ret
jmp 0x4090a0

Function at 0x460c00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005ea3e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005ea0e8], 0
je 0x460c36
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005ea6a0]
aesenc xmm0, xmmword [0x005ea6b0]
aesenc xmm0, xmmword [0x005ea6c0]
movq rax, xmm0
ret
jmp 0x409100

Function at 0x462900
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x462934
mov rcx, 0x28
jmp 0x46293f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005ea328], rcx
pop rbp
ret
Function at 0x47aec0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47af8a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403140
xorps xmm15, xmm15
mov r14, qword [0x005ea328]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47af6f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004bb600]
xor ebx, ebx
mov rcx, rdx
call fcn.00447b80
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0047b560
inc rbx
cmp rcx, rbx
jae 0x47af5e
mov edi, 1
lea rsi, [0x004bb600]
call fcn.00447c60
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004fe1b8]
lea rsi, [0x004fdb40]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045edc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0047aec0
Function at 0x499de0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x499df7
inc rax
cmp rax, 4
jge 0x499e0f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x499df4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x499e20
inc rax
cmp rax, 4
jge 0x499e2e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x499e57
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x499e3b
jmp 0x499e1d
Function at 0x1406d1058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406d11df
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 0x1406d1089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406d106f
add dl, dl
jne 0x1406d1096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406d10f6
xor eax, eax
add dl, dl
jne 0x1406d10a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406d11ad
add dl, dl
jne 0x1406d10b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406d10c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406d10d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406d10dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406d10ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406d107e
mov eax, 1
add dl, dl
jne 0x1406d1106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406d1113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406d10fb
sub eax, ebx
mov ebx, 1
jne 0x1406d114c
mov ecx, 1
add dl, dl
jne 0x1406d112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406d113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406d1123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406d107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406d1168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406d1175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406d115d
cmp eax, 0x7d00
jae 0x1406d119b
cmp eax, 0x500
jb 0x1406d1196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406d107e
cmp eax, 0x7f
ja 0x1406d119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406d107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406d11d2
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 0x1406d107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000eed0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor ebx, ebx
mov r14, r8
cmp byte [0x1400862f7], bl
mov ebp, edx
mov rdi, rcx
je 0x14000efd0
test edx, edx
jne 0x14000ef13
movzx r8d, byte [0x14007cbcf]
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov al, 1
jmp 0x14000efd2
cmp qword [0x140086538], rbx
jne 0x14000ef44
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [0x140086538]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14000efd0
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
mov rcx, rdi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rsi, rax
test rax, rax
je 0x14000efd0
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x14000efd0
movsxd rax, dword [0x14007ce08]
lea rcx, [rsp + 0x30]
lea rdx, [0x14003f8f8]
mov qword [rsp + 0x20], rcx
mov rcx, qword [0x140086538]
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rdx + rax*4]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14000efe5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov r8d, ebp
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x14000f00a
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x14000efc7
movzx eax, byte [0x14007cbcf]
lea r9, [rsp + 0x78]
mov r8, r14
mov dword [rsp + 0x78], eax
mov edx, 2
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000f032
mov bl, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov al, bl
jmp 0x14000efd2
Function at 0x14000f324
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 8]
mov rbx, rcx
cmp eax, 0xffffffff
jne 0x14000f34c
mov rdx, qword [rcx + 0x10]
mov cl, 1
call fcn.14000f1f4
mov dword [rbx + 8], eax
cmp eax, 0xffffffff
je 0x14000f3ab
test byte [rbx + 0x55], 8
je 0x14000f36a
mov edx, dword [rbx + 0x58]
xor r9d, r9d
xor r8d, r8d
mov ecx, eax
call fcn.14000f198
test eax, eax
jne 0x14000f3ba
and byte [rbx + 0x55], 0xf7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
and dword [rax], 0
mov rdx, qword [rbx + 0x68]
movzx r8d, word [rbx + 0x62]
add rdx, 0x200
mov ecx, dword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov edi, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0
jne 0x14000f3c9
add dword [rbx + 0x58], edi
mov word [rbx + 0x62], di
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rbx + 0x10]
mov ecx, 0x3eb
call fcn.140016aec
int3
mov rdx, qword [rbx + 0x10]
mov ecx, 0x3eb
call fcn.140016aec
int3
mov rdx, qword [rbx + 0x10]
mov ecx, 0x3eb
call fcn.140016aec
int3
Function at 0x14000f6cc
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov rsi, r8
mov ebp, edx
mov r14, rcx
xor r8d, r8d
xor edx, edx
lea rcx, str.bcrypt.dll
mov rdi, r9
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x14000f714
mov eax, 0x80029c4a
jmp 0x14000f89e
lea rdx, str.BCryptOpenAlgorithmProvider
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009d170], rax
test rax, rax
jne 0x14000f73a
mov eax, 0x7f
jmp 0x14000f89e
lea rdx, str.BCryptCloseAlgorithmProvider
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009d168], rax
test rax, rax
je 0x14000f730
lea rdx, str.BCryptGetProperty
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009d160], rax
test rax, rax
je 0x14000f730
lea rdx, str.BCryptCreateHash
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009d158], rax
test rax, rax
je 0x14000f730
lea rdx, str.BCryptHashData
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009d150], rax
test rax, rax
je 0x14000f730
lea rdx, str.BCryptFinishHash
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009d148], rax
test rax, rax
je 0x14000f730
lea rdx, str.BCryptDestroyHash
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14009d140], rax
test rax, rax
je 0x14000f730
xor r9d, r9d
lea rdx, str.SHA256
xor r8d, r8d
lea rcx, [0x14009d178]
call qword [0x14009d170]
test eax, eax
jne 0x14000f89e
and dword [rsp + 0x28], eax
lea r8, [0x14009d13c]
mov rcx, qword [0x14009d178]
lea rax, [rsp + 0x30]
mov ebx, 4
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea rdx, str.HashDigestLength
call qword [0x14009d160]
test eax, eax
jne 0x14000f89e
and dword [rsp + 0x28], eax
lea r8, [0x14009d138]
mov rcx, qword [0x14009d178]
lea rax, [rsp + 0x30]
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea rdx, str.ObjectLength
call qword [0x14009d160]
test eax, eax
jne 0x14000f89e
mov r9, rdi
mov r8, rsi
mov edx, ebp
mov rcx, r14
call fcn.14000f5b0
test eax, eax
jne 0x14000f89e
mov rcx, qword [0x14009d178]
test rcx, rcx
je 0x14000f899
xor edx, edx
call qword [0x14009d168]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000f8bc
Capabilities:
Get file size

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov byte [rax + 0x18], r8b
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x40
lea rdx, str..NUL
mov rbx, rcx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
xor r14d, r14d
test eax, eax
jne 0x14000f8f8
mov eax, 1
jmp 0x14000fa14
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000fa12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14000fa12
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], eax
mov rcx, rsi
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x14000fa12
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
mov rcx, rdi
test rax, rax
jne 0x14000f997
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000fa12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14000fa12
lea r9, [rsp + 0x70]
mov qword [rsp + 0x68], r14
lea r8, [rsp + 0x68]
mov edx, ebp
mov rcx, rbx
call fcn.14000f6cc
test eax, eax
je 0x14000fa12
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
or eax, 0xc0000000
cmp word [rbx], r14w
jne 0x14000f9e7
mov edx, 0xffff
cmp word [rbx + 2], dx
jne 0x14000f9e7
cmp word [rbx + 4], r14w
je 0x14000f9ea
mov dword [rbx + 8], eax
jmp 0x14000f9ea
mov dword [rbx + 4], eax
mov edx, 1
call fcn.140036704
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x14000fa12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14000f8ee
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140010c7c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov edi, dword [rdx]
xor cl, cl
mov r14, qword [r8]
mov r15, r8
mov r12, rdx
test edi, edi
je 0x140010e9b
or r8, 0xffffffffffffffff
dec edi
movsxd rbp, edi
mov dword [rsp + 0x80], edi
mov rax, qword [r14 + rbp*8]
cmp word [rax], 0x40
jne 0x140010e93
test cl, cl
je 0x140010cde
mov ecx, 0x2338
call fcn.14001628c
mov rcx, rax
call fcn.140012920
or r8, 0xffffffffffffffff
mov esi, dword [r12]
mov r13d, 0
sub esi, edi
mov byte [rsp + 0x78], 1
sub esi, 1
je 0x140010d27
movsxd rbx, esi
lea eax, [r13 + 8]
mul rbx
cmovo rax, r8
mov rcx, rax
call fcn.14002adb4
lea ecx, [rdi + 1]
mov r13, rax
movsxd rdx, ecx
lea r8, [rbx*8]
mov rcx, rax
lea rdx, [r14 + rdx*8]
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [r14 + rbp*8]
mov cl, 1
add rdi, 2
mov rdx, rdi
call fcn.14000f1f4
mov ebp, eax
cmp eax, 0xffffffff
je 0x140010eac
xor edx, edx
lea r9, [rsp + 0x88]
mov ecx, eax
lea r8d, [rdx + 2]
call fcn.14000f198
test eax, eax
jne 0x140010eba
movsxd r14, dword [rsp + 0x88]
lea rcx, [r14 + 2]
call fcn.14002adb4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, ebp
mov rbx, rax
call fcn.14000f198
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r8d, r14d
mov rdx, rbx
mov ecx, ebp
and dword [rax], 0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0
jne 0x140010eba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xor edi, edi
mov ecx, ebp
mov dword [rax], edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov byte [r14 + rbx], dil
lea eax, [r14 + 1]
movsxd rcx, eax
mov bpl, dil
mov byte [rcx + rbx], dil
cmp byte [rbx], 0xff
jne 0x140010de5
cmp byte [rbx + 1], 0xfe
jne 0x140010e01
lea rdi, [rbx + 2]
jmp 0x140010e0f
cmp byte [rbx], 0xef
jne 0x140010e01
cmp byte [rbx + 1], 0xbb
jne 0x140010e01
cmp byte [rbx + 2], 0xbf
jne 0x140010e01
lea rcx, [rbx + 3]
call fcn.14002b17c
jmp 0x140010e09
mov rcx, rbx
call fcn.14002b08c
mov bpl, 1
mov rdi, rax
mov r14, qword [rsp + 0x70]
lea r8, [rsp + 0x80]
mov rdx, r14
mov r9, r15
mov rcx, rdi
call fcn.140011dcc
test bpl, bpl
je 0x140010e38
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movsxd rdi, dword [rsp + 0x80]
test esi, esi
je 0x140010e81
lea eax, [rsi + rdi]
movsxd rdx, eax
mov dword [r14], eax
mov rcx, qword [r15]
shl rdx, 3
call fcn.14002ade8
movsxd r8, esi
mov rdx, r13
shl r8, 3
mov qword [r15], rax
lea rcx, [rax + rdi*8]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [r15]
lea eax, [rsi + rdi]
mov cl, byte [rsp + 0x78]
or r8, 0xffffffffffffffff
mov dword [r12], eax
test edi, edi
jne 0x140010caa
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rdx, rdi
mov ecx, 0x3e8
call fcn.140016aec
int3
mov rdx, rdi
mov ecx, 0x3eb
call fcn.140016aec
int3
Function at 0x140012880
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp byte [0x140086a5b], 0
jne 0x140012892
call fcn.140012838
lea rcx, str.________ML64____options___filelist____link_linkoptions___n_n_Bl_linker__Use_alternate_linker___________Sf_Generate_first_pass_listing_n_c_Assemble_without_linking________________Sl_width__Set_line_width_n_Cp_Preserve_case_of_user_identifiers______Sn_Suppress_symbol_table_listing_n_Cx_Preserve_case_in_publics__externs______Sp_length__Set_page_length_n_D_name__text__Define_text_macro__________Ss_string__Set_subtitle_n_EP_Output_preprocessed_listing_to_stdout__St_string__Set_title_n_F__hex__Set_stack_size__bytes_____________Sx_List_false_conditionals_n_Fe_file__Name_executable__________________Ta_file__Assemble_non_.ASM_file_n_Fl_file__Generate_listing_________________w_Same_as__W0__WX_n_Fm_file__Generate_map_____________________WX_Treat_warnings_as_errors_n_Fo_file__Name_object_file_________________W_number__Set_warning_level_n_Fr_file__Generate_limited_browser_info____X_Ignore_INCLUDE_environment_path_n_FR_file__Generate_full_browser_info_______Zd_Add_line_number_debug_info_n_I_name__Add_include_path__________________Zf_Make_all_symbols_public_n_link__linker_options_and_libraries________Zi_Add_symbolic_debug_info_n_nologo_Suppress_copyright_message_________Zp_n__Set_structure_alignment_n_Sa_Maximize_source_listing________________Zs_Perform_syntax_check_only_n_ZH:SHA_256_Use_SHA256_for_checksum_n____in_debug_info__experimental__n_Gy____separate_functions_for_linker_n_errorReport:_option__Deprecated._Report_internal_assembler_errors_to_Microsoft_n____none___do_not_send_report_n____prompt___prompt_to_immediately_send_report_n____queue___at_next_admin_logon__prompt_to_send_report_n____send___send_report_automatically_n
call fcn.14002ebfc
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x1400128a8
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp byte [0x140086a5b], 0
jne 0x1400128ba
call fcn.140012838
lea rcx, str.usage:_ML64___options___filelist____link_linkoptions__nRun__ML64__help__or__ML64_____for_more_info_n
call fcn.14002ebfc
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3