joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044550
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140044568
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140044570
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140044580
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1400445c5
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x1400445bc
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x1400445c7
add rax, 0x28
cmp rax, r9
jne 0x1400445a8
xor eax, eax
ret

Function at 0x1400445d0
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x140044660
mov rdx, qword [0x14006a650]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x14004464e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14004464e
cmp word [rax + 0x18], 0x20b
jne 0x14004464e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x140044660
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x140044639
add r12, 0x28
cmp r12, rsi
je 0x140044660
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x140044630
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x140044670
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14006a650]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140044690
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140044698
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140044690
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1400446e5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400446dc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140044690
add rax, 0x28
cmp rax, r9
jne 0x1400446c8
xor eax, eax
ret

Function at 0x1400446f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14006a650]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140044710
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140044718
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140044710
movzx r8d, word [rax + 6]
mov eax, r8d
ret
Function at 0x140044730
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14006a650]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140044750
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140044758
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140044750
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x140044798
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14004478f
test rcx, rcx
je 0x140044750
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140044780
xor eax, eax
ret

Function at 0x1400447a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14006a650]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400447c0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400447c8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x1400447e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14006a650]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140044800
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140044808
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140044800
sub rcx, rdx
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140044800
lea eax, [r8 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop dword [rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x14004484c
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140044860
add rdx, 0x28
cmp rdx, r9
jne 0x140044838
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140044870
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14006a650]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140044892
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400448a0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140044892
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140044892
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140044892
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400448ed
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140044900
add rdx, 0x28
cmp r10, rdx
jne 0x1400448d8
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14004490f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14004491f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400448f6
test ecx, ecx
jg 0x140044908
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400449a0
Capabilities:
Hash data using sha256

Disassembly:
sub rsp, 0x98
movdqu xmm0, xmmword [0x14006a110]
movzx eax, byte [r8 + 0x1f]
movdqu xmm1, xmmword [rdx]
movdqu xmm2, xmmword [rdx + 0x10]
and eax, 1
or eax, 2
mov byte [rsp + 0x40], al
mov rdx, rcx
lea rax, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movdqu xmm0, xmmword [0x14006a120]
mov rcx, rax
mov qword [rsp + 0x80], 0x21
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x41], xmm1
movups xmmword [rsp + 0x51], xmm2
call sym.rustsecp256k1_v0_9_2_sha256_finalize
mov eax, 1
add rsp, 0x98
ret
Function at 0x140044af0
Capabilities:
Hash data using sha256

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x90
movdqu xmm0, xmmword [0x14006a110]
mov rax, qword [rsp + 0xf0]
movdqu xmm1, xmmword [rax]
movdqu xmm2, xmmword [rax + 0x10]
movdqu xmm3, xmmword [rax + 0x20]
movdqu xmm4, xmmword [rax + 0x30]
movups xmmword [rsp + 0x20], xmm0
lea rsi, [rsp + 0x20]
mov rbx, r8
mov rdi, rcx
lea r14, [rsp + 0x40]
mov rcx, rsi
mov rbp, rdx
mov r12, r9
movdqu xmm0, xmmword [0x14006a120]
mov rdx, r14
movups xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x80], 0x40
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x60], xmm3
movups xmmword [rsp + 0x70], xmm4
call sym.rustsecp256k1_v0_9_2_sha256_transform
mov rdx, rbx
mov rcx, rsi
mov ebx, 0x40
mov r8d, 0x40
call sym.rustsecp256k1_v0_9_2_sha256_write
mov rax, qword [rsp + 0x80]
mov r13, rax
add rax, 0x40
and r13d, 0x3f
mov qword [rsp + 0x80], rax
sub rbx, r13
lea rax, [r14 + r13]
cmp ebx, 8
jae 0x140044c18
test bl, 4
jne 0x140044d07
test ebx, ebx
je 0x140044bd1
movzx edx, byte [r12]
mov byte [rax], dl
test bl, 2
jne 0x140044d1d
mov rdx, r14
mov rcx, rsi
call sym.rustsecp256k1_v0_9_2_sha256_transform
test r13, r13
jne 0x140044c70
mov rdx, rbp
mov rcx, rsi
call sym.rustsecp256k1_v0_9_2_sha256_write.constprop.0
mov rdx, rdi
mov rcx, rsi
call sym.rustsecp256k1_v0_9_2_sha256_finalize
mov eax, 1
add rsp, 0x90
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rdx, qword [r12]
lea r8, [rax + 8]
mov r10, r12
and r8, 0xfffffffffffffff8
mov qword [rax], rdx
mov edx, ebx
mov rcx, qword [r12 + rdx - 8]
mov qword [rax + rdx - 8], rcx
sub rax, r8
sub r10, rax
add eax, ebx
and eax, 0xfffffff8
cmp eax, 8
jb 0x140044bd1
and eax, 0xfffffff8
xor edx, edx
mov ecx, edx
add edx, 8
mov r9, qword [r10 + rcx]
mov qword [r8 + rcx], r9
cmp edx, eax
jb 0x140044c4b
mov rdx, r14
mov rcx, rsi
call sym.rustsecp256k1_v0_9_2_sha256_transform
test r13, r13
je 0x140044be5
add r12, rbx
mov rcx, r14
mov rax, r12
cmp r13d, 8
jae 0x140044ce0
xor edx, edx
test r13b, 4
jne 0x140044cc8
test r13b, 2
jne 0x140044ca8
and r13d, 1
je 0x140044be5
movzx eax, byte [rax + rdx]
mov byte [rcx + rdx], al
jmp 0x140044be5
movzx r8d, word [rax + rdx]
mov word [rcx + rdx], r8w
add rdx, 2
and r13d, 1
je 0x140044be5
jmp 0x140044c97
mov edx, dword [rax]
mov dword [rcx], edx
mov edx, 4
test r13b, 2
je 0x140044c8d
jmp 0x140044ca8
mov r8d, r13d
xor eax, eax
and r8d, 0xfffffff8
mov edx, eax
add eax, 8
mov rcx, qword [r12 + rdx]
mov qword [r14 + rdx], rcx
cmp eax, r8d
jb 0x140044ce9
lea rcx, [r14 + rax]
add rax, r12
jmp 0x140044c7f
mov edx, dword [r12]
mov dword [rax], edx
mov edx, ebx
mov ecx, dword [r12 + rdx - 4]
mov dword [rax + rdx - 4], ecx
jmp 0x140044bd1
mov edx, ebx
movzx ecx, word [r12 + rdx - 2]
mov word [rax + rdx - 2], cx
jmp 0x140044bd1
Function at 0x140044d30
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xf8
movups xmmword [rsp + 0xd0], xmm6
movups xmmword [rsp + 0xe0], xmm7
mov rsi, qword [rsp + 0x168]
mov r15, qword [rsp + 0x170]
mov r12, rdx
mov rbp, rcx
mov r13, r8
mov rdi, r9
mov rdx, qword [rsp + 0x178]
test rsi, rsi
je 0x140044fb0
test rdx, rdx
je 0x140044f00
movdqu xmm0, xmmword [0x14006a130]
lea rbx, [rsp + 0x60]
lea r14, [rsp + 0x20]
mov qword [rsp + 0xc0], 0x40
mov rcx, rbx
movups xmmword [rsp + 0x60], xmm0
movdqu xmm0, xmmword [0x14006a140]
movups xmmword [rsp + 0x70], xmm0
call sym.rustsecp256k1_v0_9_2_sha256_write.constprop.0
mov rdx, r14
mov rcx, rbx
call sym.rustsecp256k1_v0_9_2_sha256_finalize
movdqu xmm0, xmmword [rdi]
pxor xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movdqu xmm0, xmmword [rdi + 0x10]
pxor xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
cmp r15, 0xd
jne 0x140044f39
cmp byte [rsi], 0x42
jne 0x140044f39
cmp byte [rsi + 1], 0x49
jne 0x140044f39
cmp byte [rsi + 2], 0x50
jne 0x140044f39
cmp byte [rsi + 3], 0x30
jne 0x140044f39
cmp byte [rsi + 4], 0x33
jne 0x140044f39
cmp byte [rsi + 5], 0x34
jne 0x140044f39
cmp byte [rsi + 6], 0x30
jne 0x140044f39
cmp byte [rsi + 7], 0x2f
jne 0x140044f39
cmp byte [rsi + 8], 0x6e
jne 0x140044f39
cmp byte [rsi + 9], 0x6f
jne 0x140044f39
cmp byte [rsi + 0xa], 0x6e
jne 0x140044f39
cmp byte [rsi + 0xb], 0x63
jne 0x140044f39
cmp byte [rsi + 0xc], 0x65
jne 0x140044f39
movdqu xmm0, xmmword [str.5_aF]
mov qword [rsp + 0xc0], 0x40
movups xmmword [rsp + 0x60], xmm0
movdqu xmm0, xmmword [0x14006a180]
movups xmmword [rsp + 0x70], xmm0
mov rdx, r14
mov rcx, rbx
call sym.rustsecp256k1_v0_9_2_sha256_write.constprop.0
mov rdx, qword [rsp + 0x160]
mov rcx, rbx
call sym.rustsecp256k1_v0_9_2_sha256_write.constprop.0
mov r8, r13
mov rdx, r12
mov rcx, rbx
call sym.rustsecp256k1_v0_9_2_sha256_write
mov rdx, rbp
mov rcx, rbx
call sym.rustsecp256k1_v0_9_2_sha256_finalize
mov eax, 1
movups xmm6, xmmword [rsp + 0xd0]
movups xmm7, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movdqu xmm0, xmmword [r9]
lea rbx, [rsp + 0x60]
lea r14, [rsp + 0x20]
pxor xmm0, xmmword [0x14006a150]
movups xmmword [rsp + 0x20], xmm0
movdqu xmm0, xmmword [r9 + 0x10]
pxor xmm0, xmmword [0x14006a160]
movups xmmword [rsp + 0x30], xmm0
cmp r15, 0xd
je 0x140044df5
movdqu xmm7, xmmword [0x14006a110]
mov r8, r15
mov rdx, rsi
mov rcx, rbx
movdqu xmm6, xmmword [0x14006a120]
lea rsi, [rsp + 0x40]
mov qword [rsp + 0xc0], 0
movups xmmword [rsp + 0x60], xmm7
movups xmmword [rsp + 0x70], xmm6
call sym.rustsecp256k1_v0_9_2_sha256_write
mov rdx, rsi
mov rcx, rbx
call sym.rustsecp256k1_v0_9_2_sha256_finalize
mov rdx, rsi
mov rcx, rbx
movups xmmword [rsp + 0x60], xmm7
mov qword [rsp + 0xc0], 0
movups xmmword [rsp + 0x70], xmm6
call sym.rustsecp256k1_v0_9_2_sha256_write.constprop.0
mov rdx, rsi
mov rcx, rbx
call sym.rustsecp256k1_v0_9_2_sha256_write.constprop.0
jmp 0x140044e9c
xor eax, eax
jmp 0x140044ed5
Function at 0x140045230
Capabilities:
Hash data using sha256

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0xb0
movdqu xmm0, xmmword [0x14006a110]
movabs rax, 0x7369687420726f46
mov edi, edx
mov qword [rsp + 0x60], rax
lea rsi, [rsp + 0x20]
mov rbx, rcx
movabs rdx, 0x2c656c706d617320
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
movabs rax, 0x3336207369687420
mov qword [rsp + 0x68], rdx
movabs rdx, 0x747320657479622d
movdqu xmm0, xmmword [0x14006a120]
mov qword [rsp + 0x78], rdx
movabs rdx, 0x657375206562206c
mov qword [rsp + 0x88], rdx
movabs rdx, 0x6174616420747570
mov qword [rsp + 0x70], rax
movabs rax, 0x6c697720676e6972
mov qword [rsp + 0x80], rax
movabs rax, 0x6e69207361206465
mov qword [rsp + 0x97], rdx
mov rdx, rsi
mov qword [rsp + 0x8f], rax
mov qword [rsp + 0xa0], 0x3f
movups xmmword [rsp + 0x50], xmm0
call sym.rustsecp256k1_v0_9_2_sha256_finalize
xor r8d, r8d
lea rax, [0x14006a8c0]
jmp 0x14004531a
add r8, 1
cmp r8, 0x20
je 0x140045333
movzx ecx, byte [rax + r8]
cmp byte [rsi + r8], cl
je 0x140045310
xor edx, edx
lea rcx, str.self_test_failed
call sym.rustsecp256k1_v0_9_2_default_error_callback_fn
cmp dil, 1
jne 0x1400453a0
and edi, 0x400
jne 0x1400453bb
mov rax, qword [sym.rustsecp256k1_v0_9_2_default_illegal_callback_fn]
xor edx, edx
mov rcx, rbx
mov qword [rbx + 0xb0], 0
mov qword [rbx + 0xc0], 0
mov qword [rbx + 0xa8], rax
mov rax, qword [sym.rustsecp256k1_v0_9_2_default_error_callback_fn]
mov qword [rbx + 0xb8], rax
call sym.rustsecp256k1_v0_9_2_ecmult_gen_blind
mov rax, rbx
mov dword [rbx], 1
mov dword [rbx + 0xc8], 0
add rsp, 0xb0
pop rbx
pop rsi
pop rdi
ret
xor edx, edx
lea rcx, str.Invalid_flags
call sym.rustsecp256k1_v0_9_2_default_illegal_callback_fn
xor eax, eax
add rsp, 0xb0
pop rbx
pop rsi
pop rdi
ret
xor edx, edx
lea rcx, str.Declassify_flag_requires_running_with_memory_checking
call sym.rustsecp256k1_v0_9_2_default_illegal_callback_fn
xor eax, eax
jmp 0x1400453b0
Function at 0x140057500
Capabilities:
Hash data using murmur3
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0x70
movups xmmword [rsp + 0x60], xmm6
movdqu xmm2, xmmword [str.6666666666666666]
movabs rax, 0x5c5c5c5c5c5c5c5c
movdqu xmm4, xmmword [0x14006a110]
movdqu xmm3, xmmword [0x14006a120]
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rdx + 0x10]
movabs rdx, 0x5c5c5c5c5c5c5c5c
movdqa xmm6, xmm1
movdqa xmm5, xmm0
pxor xmm6, xmm2
pxor xmm5, xmm2
mov qword [rcx + 0xa8], rax
mov rbx, rcx
lea rcx, [rcx + 0x68]
mov qword [rcx + 0x48], rdx
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x58], rdx
lea rdx, [rbx + 0x88]
mov qword [rcx + 0x60], 0x40
movups xmmword [rcx], xmm4
movups xmmword [rcx + 0x10], xmm3
movups xmmword [rcx + 0x20], xmm6
movups xmmword [rcx + 0x30], xmm5
movups xmmword [rsp + 0x20], xmm6
movups xmmword [rsp + 0x40], xmm2
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x30], xmm5
call sym.rustsecp256k1_v0_9_2_sha256_transform
movdqu xmm2, xmmword [0x14006a200]
movups xmmword [rbx], xmm4
mov rcx, rbx
movabs rax, 0x3636363636363636
mov qword [rbx + 0x60], 0x40
movabs rdx, 0x3636363636363636
pxor xmm1, xmm2
pxor xmm0, xmm2
mov qword [rbx + 0x48], rdx
mov qword [rbx + 0x58], rdx
lea rdx, [rbx + 0x20]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x50], rax
movups xmmword [rbx + 0x10], xmm3
movups xmmword [rbx + 0x20], xmm1
movups xmmword [rbx + 0x30], xmm0
movups xmm6, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x20], xmm1
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm2
movups xmmword [rsp + 0x50], xmm2
add rsp, 0x70
pop rbx
jmp sym.rustsecp256k1_v0_9_2_sha256_transform
Function at 0x14005b3a0
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0xb0
movdqu xmm0, xmmword [0x14006a110]
movabs rdx, 0x2c656c706d617320
movabs rax, 0x7369687420726f46
mov qword [rsp + 0x68], rdx
lea rbx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
movabs rdx, 0x747320657479622d
mov qword [rsp + 0x60], rax
movabs rax, 0x3336207369687420
mov qword [rsp + 0x78], rdx
movabs rdx, 0x657375206562206c
mov qword [rsp + 0x88], rdx
movabs rdx, 0x6174616420747570
mov qword [rsp + 0x70], rax
movabs rax, 0x6c697720676e6972
movups xmmword [rsp + 0x40], xmm0
movdqu xmm0, xmmword [0x14006a120]
mov qword [rsp + 0x80], rax
movabs rax, 0x6e69207361206465
mov qword [rsp + 0x97], rdx
mov rdx, rbx
mov qword [rsp + 0x8f], rax
mov qword [rsp + 0xa0], 0x3f
movups xmmword [rsp + 0x50], xmm0
call sym.rustsecp256k1_v0_9_2_sha256_finalize
xor eax, eax
lea rdx, [0x14006a8c0]
jmp 0x14005b47a
add rax, 1
cmp rax, 0x20
je 0x14005b4a0
movzx ecx, byte [rdx + rax]
cmp byte [rbx + rax], cl
je 0x14005b470
xor edx, edx
lea rcx, str.self_test_failed
add rsp, 0xb0
pop rbx
jmp sym.rustsecp256k1_v0_9_2_default_error_callback_fn
add rsp, 0xb0
pop rbx
ret
Function at 0x14005e920
Capabilities:
Hash data using sha256

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
movups xmmword [rsp + 0xb0], xmm6
movups xmmword [rsp + 0xc0], xmm7
mov rbp, qword [rsp + 0x120]
mov rsi, rdx
mov rax, rcx
mov rdx, r8
mov r8, r9
test rsi, rsi
je 0x14005ea20
test rdx, rdx
je 0x14005ea40
test rbp, rbp
je 0x14005ea60
lea rbx, [rsp + 0x40]
movdqu xmm7, xmmword [0x14006a110]
lea rdi, [rsp + 0x20]
movdqu xmm6, xmmword [0x14006a120]
mov qword [rsp + 0xa0], 0
mov rcx, rbx
movups xmmword [rsp + 0x40], xmm7
movups xmmword [rsp + 0x50], xmm6
call sym.rustsecp256k1_v0_9_2_sha256_write
mov rdx, rdi
mov rcx, rbx
call sym.rustsecp256k1_v0_9_2_sha256_finalize
mov rdx, rdi
mov rcx, rbx
movups xmmword [rsp + 0x40], xmm7
mov qword [rsp + 0xa0], 0
movups xmmword [rsp + 0x50], xmm6
call sym.rustsecp256k1_v0_9_2_sha256_write.constprop.0
mov rdx, rdi
mov rcx, rbx
call sym.rustsecp256k1_v0_9_2_sha256_write.constprop.0
mov r8, qword [rsp + 0x128]
mov rdx, rbp
mov rcx, rbx
call sym.rustsecp256k1_v0_9_2_sha256_write
mov rdx, rsi
mov rcx, rbx
call sym.rustsecp256k1_v0_9_2_sha256_finalize
mov eax, 1
movups xmm6, xmmword [rsp + 0xb0]
movups xmm7, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rdx, qword [rcx + 0xb0]
lea rcx, str.hash32___NULL
call qword [rax + 0xa8]
xor eax, eax
jmp 0x14005e9fc
mov rdx, qword [rcx + 0xb0]
lea rcx, str.tag___NULL
call qword [rax + 0xa8]
xor eax, eax
jmp 0x14005e9fc
mov rdx, qword [rcx + 0xb0]
lea rcx, str.msg___NULL
call qword [rax + 0xa8]
xor eax, eax
jmp 0x14005e9fc
Function at 0x401650
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
cmp qword [rcx], 0
mov rbx, rcx
mov rsi, rdx
je 0x401793
mov edi, dword [rbx + 8]
mov ecx, dword [rsi + 4]
mov rbp, qword [sym.imp.WS2_32.dll_ntohl]
call rbp
mov rcx, qword [rbx]
xor r8d, r8d
lea edx, [rdi + rax]
call sub.msvcrt.dll_fseek
mov ecx, dword [rsi + 8]
call rbp
mov ecx, eax
call sub.msvcrt.dll_malloc
test rax, rax
mov rdi, rax
je 0x4017e3
mov r12, qword [rbx]
mov ecx, dword [rsi + 8]
call rbp
mov r8d, 1
mov rcx, rdi
mov edx, eax
mov r9, r12
call sub.msvcrt.dll_fread
test rax, rax
je 0x4017d0
cmp byte [rsi + 0x10], 1
je 0x4016f0
mov rcx, qword [rbx]
test rcx, rcx
je 0x4016dd
call sub.msvcrt.dll_fclose
mov qword [rbx], 0
mov rax, rdi
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.00408130
mov ecx, dword [rsi + 0xc]
call rbp
mov ecx, eax
call sub.msvcrt.dll_malloc
test rax, rax
mov r12, rax
je 0x40183b
mov ecx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
call rbp
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
call rbp
lea rbp, [rsp + 0x20]
mov r8d, 0x58
lea rdx, [0x0040c0bf]
mov rcx, rbp
mov dword [rsp + 0x38], eax
call fcn.004058f0
test eax, eax
js 0x4017f4
mov edx, 4
mov rcx, rbp
call fcn.00405970
test eax, eax
js 0x401826
mov rcx, rbp
call fcn.004075c0
mov rcx, rdi
mov rdi, r12
call sub.msvcrt.dll_free
jmp 0x4016c9
lea rcx, [rcx + 0x78]
lea rdx, [0x0040c050]
call fcn.00402e10
test rax, rax
mov qword [rbx], rax
jne 0x40166a
lea rcx, str.Cannot_open_archive_file_n
xor edi, edi
call fcn.00401e00
mov rax, rdi
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rcx, str.Could_not_read_from_file_n
xor edi, edi
call fcn.00401e00
jmp 0x4016dd
lea rcx, str.Could_not_allocate_read_buffer_n
call fcn.00401e00
jmp 0x4016dd
mov r8, qword [rsp + 0x40]
lea rcx, str.Error__d_from_inflateInit:__s_n
mov edx, eax
call fcn.00401e00
mov rcx, rdi
xor edi, edi
call sub.msvcrt.dll_free
lea rdx, [rsi + 0x12]
lea rcx, str.Error_decompressing__s_n
call fcn.00401e00
jmp 0x4016dd
mov r8, qword [rsp + 0x40]
lea rcx, str.Error__d_from_inflate:__s_n
mov edx, eax
call fcn.00401e00
jmp 0x401807
lea rcx, str.Error_allocating_decompression_buffer_n
call fcn.00401e00
jmp 0x401807
Function at 0x401850
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rsi, rdx
call fcn.00401650
mov rcx, rbx
mov rbp, rax
call fcn.00404670
cmp eax, 0xffffffff
je 0x4018cc
lea r12, [rsi + 0x12]
lea rcx, [rbx + 0x2078]
mov rdx, r12
call fcn.004048a0
mov ecx, dword [rsi + 0xc]
mov rdi, rax
call qword [sym.imp.WS2_32.dll_ntohl]
test rdi, rdi
mov ebx, eax
je 0x4018f6
mov r9, rdi
mov r8d, 1
mov rdx, rbx
mov rcx, rbp
call sub.msvcrt.dll_fwrite
cmp rax, 1
je 0x4018ba
test rbx, rbx
jne 0x4018e0
mov rcx, rdi
call sub.msvcrt.dll_fclose
mov rcx, rbp
call sub.msvcrt.dll_free
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rcx, str.Failed_to_write_all_bytes_for__s_n
mov rdx, r12
call fcn.00401e00
mov eax, 0xffffffff
jmp 0x4018cc
lea rcx, str._s_could_not_be_extracted__n
mov rdx, r12
call fcn.00401e00
mov eax, 0xffffffff
jmp 0x4018cc
Function at 0x404490
Capabilities:
Query environment variable

Disassembly:
push rbx
mov eax, 0x4020
call fcn.0040a6a0
sub rsp, rax
xor r8d, r8d
lea rbx, [rsp + 0x20]
mov rdx, rcx
xor ecx, ecx
call fcn.00405090
mov r8d, 0x2000
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x4044d1
xor eax, eax
add rsp, 0x4020
pop rbx
ret
lea rdx, [rsp + 0x2020]
mov r8d, 0x2000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ecx, ecx
xor r8d, r8d
mov rdx, rbx
call fcn.00404ee0
test rax, rax
mov rcx, rax
je 0x4044c6
cmp byte [rax], 0
je 0x4044c6
call sub.msvcrt.dll__strdup
add rsp, 0x4020
pop rbx
ret

Function at 0x404510
Capabilities:
Set environment variable

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
xor r8d, r8d
mov rbx, rdx
mov rdx, rcx
xor ecx, ecx
call fcn.00405090
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
mov rsi, rax
call fcn.00405090
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rsi
mov edi, eax
call sub.msvcrt.dll_free
mov rcx, rbx
call sub.msvcrt.dll_free
mov eax, edi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x404570
Capabilities:
Set environment variable

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rdx, rcx
xor ecx, ecx
call fcn.00405090
xor edx, edx
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_free
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x4045b0
Capabilities:
Create directory
Get common file path

Disassembly:
push r14
mov eax, 0x2040
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.0040a6a0
sub rsp, rax
mov ebx, 5
lea rbp, [rsp + 0x40]
mov r14, rcx
mov ecx, 0x1000
lea rdi, [rsp + 0x20]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call sub.msvcrt.dll__getpid
lea r8, str._MEI_d
mov edx, 0x10
mov rcx, rdi
mov r9d, eax
call fcn.00404380
mov r13, qword [sym.imp.msvcrt.dll__wtempnam]
mov r12, qword [sym.imp.msvcrt.dll__wmkdir]
mov rdx, rdi
mov rcx, rbp
call r13
mov rsi, rax
mov rcx, rax
call r12
test eax, eax
je 0x404650
mov rcx, rsi
call sub.msvcrt.dll_free
sub ebx, 1
jne 0x404611
xor eax, eax
add rsp, 0x2040
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov r8d, 0x1000
mov rdx, rsi
mov rcx, r14
call fcn.00404ee0
mov rcx, rsi
call sub.msvcrt.dll_free
mov eax, 1
jmp 0x404636