joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400497c0
Capabilities:
Hash data using sha256

Disassembly:
sub rsp, 0x98
movdqu xmm0, xmmword [0x14006eb90]
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 [0x14006eba0]
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 0x140049910
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 [0x14006eb90]
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 [0x14006eba0]
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 0x140049a38
test bl, 4
jne 0x140049b27
test ebx, ebx
je 0x1400499f1
movzx edx, byte [r12]
mov byte [rax], dl
test bl, 2
jne 0x140049b3d
mov rdx, r14
mov rcx, rsi
call sym.rustsecp256k1_v0_9_2_sha256_transform
test r13, r13
jne 0x140049a90
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 0x1400499f1
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 0x140049a6b
mov rdx, r14
mov rcx, rsi
call sym.rustsecp256k1_v0_9_2_sha256_transform
test r13, r13
je 0x140049a05
add r12, rbx
mov rcx, r14
mov rax, r12
cmp r13d, 8
jae 0x140049b00
xor edx, edx
test r13b, 4
jne 0x140049ae8
test r13b, 2
jne 0x140049ac8
and r13d, 1
je 0x140049a05
movzx eax, byte [rax + rdx]
mov byte [rcx + rdx], al
jmp 0x140049a05
movzx r8d, word [rax + rdx]
mov word [rcx + rdx], r8w
add rdx, 2
and r13d, 1
je 0x140049a05
jmp 0x140049ab7
mov edx, dword [rax]
mov dword [rcx], edx
mov edx, 4
test r13b, 2
je 0x140049aad
jmp 0x140049ac8
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 0x140049b09
lea rcx, [r14 + rax]
add rax, r12
jmp 0x140049a9f
mov edx, dword [r12]
mov dword [rax], edx
mov edx, ebx
mov ecx, dword [r12 + rdx - 4]
mov dword [rax + rdx - 4], ecx
jmp 0x1400499f1
mov edx, ebx
movzx ecx, word [r12 + rdx - 2]
mov word [rax + rdx - 2], cx
jmp 0x1400499f1
Function at 0x140049b50
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 0x140049dd0
test rdx, rdx
je 0x140049d20
movdqu xmm0, xmmword [0x14006ebb0]
lea rbx, [rsp + 0x60]
lea r14, [rsp + 0x20]
mov qword [rsp + 0xc0], 0x40
mov rcx, rbx
movups xmmword [rsp + 0x60], xmm0
movdqu xmm0, xmmword [0x14006ebc0]
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 0x140049d59
cmp byte [rsi], 0x42
jne 0x140049d59
cmp byte [rsi + 1], 0x49
jne 0x140049d59
cmp byte [rsi + 2], 0x50
jne 0x140049d59
cmp byte [rsi + 3], 0x30
jne 0x140049d59
cmp byte [rsi + 4], 0x33
jne 0x140049d59
cmp byte [rsi + 5], 0x34
jne 0x140049d59
cmp byte [rsi + 6], 0x30
jne 0x140049d59
cmp byte [rsi + 7], 0x2f
jne 0x140049d59
cmp byte [rsi + 8], 0x6e
jne 0x140049d59
cmp byte [rsi + 9], 0x6f
jne 0x140049d59
cmp byte [rsi + 0xa], 0x6e
jne 0x140049d59
cmp byte [rsi + 0xb], 0x63
jne 0x140049d59
cmp byte [rsi + 0xc], 0x65
jne 0x140049d59
movdqu xmm0, xmmword [str.5_aF]
mov qword [rsp + 0xc0], 0x40
movups xmmword [rsp + 0x60], xmm0
movdqu xmm0, xmmword [0x14006ec00]
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 [0x14006ebd0]
movups xmmword [rsp + 0x20], xmm0
movdqu xmm0, xmmword [r9 + 0x10]
pxor xmm0, xmmword [0x14006ebe0]
movups xmmword [rsp + 0x30], xmm0
cmp r15, 0xd
je 0x140049c15
movdqu xmm7, xmmword [0x14006eb90]
mov r8, r15
mov rdx, rsi
mov rcx, rbx
movdqu xmm6, xmmword [0x14006eba0]
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 0x140049cbc
xor eax, eax
jmp 0x140049cf5
Function at 0x14004a050
Capabilities:
Hash data using sha256

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0xb0
movdqu xmm0, xmmword [0x14006eb90]
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 [0x14006eba0]
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, [0x14006f340]
jmp 0x14004a13a
add r8, 1
cmp r8, 0x20
je 0x14004a153
movzx ecx, byte [rax + r8]
cmp byte [rsi + r8], cl
je 0x14004a130
xor edx, edx
lea rcx, str.self_test_failed
call sym.rustsecp256k1_v0_9_2_default_error_callback_fn
cmp dil, 1
jne 0x14004a1c0
and edi, 0x400
jne 0x14004a1db
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 0x14004a1d0
Function at 0x14005c320
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 [0x14006eb90]
movdqu xmm3, xmmword [0x14006eba0]
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 [0x14006ec80]
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 0x1400601c0
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0xb0
movdqu xmm0, xmmword [0x14006eb90]
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 [0x14006eba0]
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, [0x14006f340]
jmp 0x14006029a
add rax, 1
cmp rax, 0x20
je 0x1400602c0
movzx ecx, byte [rdx + rax]
cmp byte [rbx + rax], cl
je 0x140060290
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 0x140063740
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 0x140063840
test rdx, rdx
je 0x140063860
test rbp, rbp
je 0x140063880
lea rbx, [rsp + 0x40]
movdqu xmm7, xmmword [0x14006eb90]
lea rdi, [rsp + 0x20]
movdqu xmm6, xmmword [0x14006eba0]
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 0x14006381c
mov rdx, qword [rcx + 0xb0]
lea rcx, str.tag___NULL
call qword [rax + 0xa8]
xor eax, eax
jmp 0x14006381c
mov rdx, qword [rcx + 0xb0]
lea rcx, str.msg___NULL
call qword [rax + 0xa8]
xor eax, eax
jmp 0x14006381c
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400eef20]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400eef30]
mov dword [rax], 1
mov rax, qword [0x1400eef40]
mov dword [rax], 1
mov rax, qword [0x1400eef10]
mov dword [rax], 1
mov rax, qword [0x1400eed80]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x1400eef00]
mov dword [0x140118020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400eeeb0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400eee90]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400ee1a0]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067
Function at 0x140001cc0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, [0x1400ed700]
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]

Function at 0x140001d30
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x1401180c4]
mov r12, rcx
test ebx, ebx
jle 0x140001e60
mov rax, qword [0x1401180c8]
xor r9d, r9d
add rax, 0x18
nop dword [rax + rax]
mov r8, qword [rax]
cmp r8, r12
ja 0x140001d7b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp r12, r8
jb 0x140001e05
add r9d, 1
add rax, 0x28
cmp r9d, ebx
jne 0x140001d60
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x140001e82
mov rax, qword [0x1401180c8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rsi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401180c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001e67
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001dfe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001e10
add dword [0x1401180c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x1401180c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001dfe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x1400ed778]
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x140001d88
mov rax, qword [0x1401180c8]
mov edx, dword [rsi + 8]
lea rcx, [0x1400ed740]
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, [0x1400ed720]
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002350
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r13, [0x140118120]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140118100]
test rbx, rbx
je 0x1400023ac
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1400023a3
test r12, r12
je 0x1400023a3
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002388
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400025e0
Capabilities:
Parse pe header

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

Function at 0x140002610
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 0x140002655
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 0x14000264c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x140002657
add rax, 0x28
cmp rax, r9
jne 0x140002638
xor eax, eax
ret

Function at 0x140002660
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x1400026f0
mov rdx, qword [0x1400eed80]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x1400026de
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400026de
cmp word [rax + 0x18], 0x20b
jne 0x1400026de
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x1400026f0
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x1400026c9
add r12, 0x28
cmp r12, rsi
je 0x1400026f0
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x1400026c0
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 0x140002700
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400eed80]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002720
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002728
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002720
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140002775
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 0x14000276c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002720
add rax, 0x28
cmp rax, r9
jne 0x140002758
xor eax, eax
ret

Function at 0x140002780
Capabilities:
Parse pe header

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

Disassembly:
mov r8, qword [0x1400eed80]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400027e0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400027e8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400027e0
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x140002828
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14000281f
test rcx, rcx
je 0x1400027e0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002810
xor eax, eax
ret

Function at 0x140002830
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x1400eed80]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002890
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002898
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002890
sub rcx, rdx
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140002890
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 0x1400028dc
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400028f0
add rdx, 0x28
cmp rdx, r9
jne 0x1400028c8
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x1400eed80]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002922
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002930
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002922
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002922
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140002922
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 0x14000297d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002990
add rdx, 0x28
cmp r10, rdx
jne 0x140002968
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000299f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400029af
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002986
test ecx, ecx
jg 0x140002998
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14000df90
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
lea rcx, [0x1400edfc0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1400edfd6]
mov rcx, rax
call rbx
test rax, rax
je 0x14000dfd8
mov rcx, r12
mov qword [dbg.init_rand_s], rax
add rsp, 0x28
pop rbx
pop r12
jmp rax
lea rcx, [0x1400edfde]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [0x1400edff8]
mov rcx, rax
call rbx
mov qword [0x140118cc0], rax
lea rax, [dbg.mingw_rand_s]
jmp 0x14000dfbf

Function at 0x140010240
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x140010352
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x14001032a
add rax, 1
cmp rax, 0x6b
je 0x140010347
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x140010320
cmp edx, 0x6a
je 0x140010347
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sym.abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x14001033b