joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494f80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp qword [rcx + 0x9c0], 0x26f
ja 0x494fc9
mov rax, qword [rcx + 0x9c0]
lea rdx, [rax + 1]
mov qword [rcx + 0x9c0], rdx
mov eax, dword [rcx + rax*4]
mov edx, eax
shr edx, 0xb
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor edx, eax
mov eax, edx
shl eax, 0xf
and eax, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
ret
mov rdx, rcx
lea r11, [rcx + 0x38c]
mov r8, rcx
mov r10d, 0x9908b0df
mov eax, dword [r8]
and eax, 0x80000000
mov r9d, dword [r8 + 4]
and r9d, 0x7fffffff
or eax, r9d
mov r9d, eax
shr r9d, 1
xor r9d, dword [r8 + 0x634]
and eax, 1
cmovne eax, r10d
xor eax, r9d
mov dword [r8], eax
add r8, 4
cmp r8, r11
jne 0x494fdc
lea r10, [rcx + 0x630]
mov r9d, 0x9908b0df
mov eax, dword [rdx + 0x38c]
and eax, 0x80000000
mov r8d, dword [rdx + 0x390]
and r8d, 0x7fffffff
or eax, r8d
mov r8d, eax
shr r8d, 1
xor r8d, dword [rdx]
and eax, 1
cmovne eax, r9d
xor eax, r8d
mov dword [rdx + 0x38c], eax
add rdx, 4
cmp rdx, r10
jne 0x495022
mov eax, dword [rcx + 0x9bc]
and eax, 0x80000000
mov edx, dword [rcx]
and edx, 0x7fffffff
or eax, edx
mov edx, eax
shr edx, 1
xor edx, dword [rcx + 0x630]
and eax, 1
mov r8d, 0x9908b0df
cmovne eax, r8d
xor eax, edx
mov dword [rcx + 0x9bc], eax
mov qword [rcx + 0x9c0], 0
jmp 0x494f8d

Function at 0x4adb40
Capabilities:
Write file on windows

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

Disassembly:
test ecx, ecx
je 0x140003667
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov esi, r9d
mov rbp, r8
mov r14, rdx
mov edi, ecx
cmp ecx, 0x2be
jne 0x140003616
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.CUDA_timeout__increase_the_Tdr_value_in_the_registry:_n
call fcn.14000d240
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.HKEY_LOCAL_MACHINESystemCurrentControlSetControlGraphicsDrivers__DWORD_value_TdrDelay__and_reboot_n
call fcn.14000d240
jmp 0x140003656
mov qword [rsp + 0x50], rbx
call fcn.140033950
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rsp + 0x30], r14
lea rdx, str.CUDA_error_at__s:_d_code_d__s____s___n
mov rcx, rax
mov qword [rsp + 0x28], rbx
mov r9d, esi
mov dword [rsp + 0x20], edi
mov r8, rbp
call fcn.14000d240
mov rbx, qword [rsp + 0x50]
call fcn.140033340
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
ret

Function at 0x1400043c0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x14008e1c0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movzx edi, dl
mov rbx, rcx
mov eax, 1
lock xadd dword [0x14008fd50], eax
inc eax
cmp eax, 1
jne 0x14000440d
lea ecx, [rax + 1]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x14008fd54], eax
test dil, dil
je 0x140004420
xor eax, eax
lock xadd dword [0x14008fd54], eax
test eax, eax
jne 0x140004444
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400496c0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
mov dword [rsp + 0x20], eax
lea rdx, str.winsock
lea rax, [0x14004dd00]
mov byte [rsp + 0x24], 1
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
call fcn.1400077e0
int3
Function at 0x140006390
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14008e1c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006463
cmp byte [rcx + 0x71], 0
je 0x140006463
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000645f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006424
sub eax, 1
je 0x140006428
cmp eax, 2
jne 0x14000645f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400496c0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006456
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000645f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000640c
xor al, al
jmp 0x14000640c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400496c0
add rsp, 0x60
pop rbx
ret

Function at 0x140008210
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
mov r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x14008fd44], eax
mov rcx, qword [rbx + 8]
test eax, eax
je 0x14000826d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
add rsp, 0x30
pop rbx
ret
mov rdx, rcx
xor r8d, r8d
lea rcx, [fcn.140006e80]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x30
pop rbx
ret
Function at 0x140008940
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14008e1c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x14000896d
xor eax, eax
jmp 0x140008ad6
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1400089ad
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x1400089ad
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x140008ace
cmp qword [rdi + 0x80], 0
je 0x140008ac9
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x1400089e7
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x140008a12
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x140008ace
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140008a81
sub eax, 1
je 0x140008a81
cmp eax, 2
jne 0x140008ac9
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x140008ace
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x140008aaf
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x140008ac9
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x140008ace
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400496c0
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000d030
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x14000d061
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14000d078
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x30], rbx
mov rbx, rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x14000d0c9
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x14000d141
mov rcx, rbp
call fcn.1400068e0
cmp rbx, 0xfff
jbe 0x14000d121
nop word [rax + rax]
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x14000d162
cmp rbx, rax
ja 0x14000d0f0
test rdi, rdi
je 0x14000d141
mov r9, qword [rbp + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub rsi, rbx
jmp 0x14000d144
add byte [rax], ah
adc eax, 0x3044003
ror byte [rdi], 1
adc al, 0xa0
cwde
adc eax, 0x7eb6803
loopne 0x1400d86c5
adc dword [rdi + 0x38310018], eax
and byte [rdi], dh
add byte [rdx + 4], bl
call 0x1224d8aed
adc ecx, dword [0x1791e714f]
and al, 4
loop 0x1400d86dd
Function at 0x14000d170
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x14000d191
add rsp, 0x20
pop r14
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x14000d20c
test rax, rax
jle 0x14000d1ec
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x14000d20c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000d20c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
jmp 0x1400d8728
push rsi
add al, 0xe0
push rsi
add al, 0x60
jnp 0x1400d8731
movabs al, byte [0xa007082906600009]
or dword [rbx], edx
or al, 0x28
invalid
or dword [rax], eax
invalid
Function at 0x140010320
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, dword [rcx]
call fcn.140034370
mov ecx, eax
lea r8, str.F:projects_bip39scan_secp256k1.cu
mov r9d, 0x33f
lea rdx, str.cudaSetDevice__device_
add rsp, 0x28
jmp fcn.1400035b0

Function at 0x1400109b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
lea rax, vtable.bip32::Derivation.0
mov qword [rcx], rax
mov word [rcx + 0x40], 0x101
mov byte [rcx + 0x42], 0
mov qword [rcx + 0x48], rdx
mov qword [rcx + 0x50], r8
movsd xmm0, qword [r9]
movsd qword [rcx + 0x58], xmm0
mov eax, dword [r9 + 8]
mov dword [rcx + 0x60], eax
mov rcx, rdx
call fcn.1400102c0
mov rdi, rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], 0
shl rdi, 5
mov rdx, rdi
mov rcx, qword [rbx + 8]
call fcn.1400135a0
test rax, rax
jne 0x140010a59
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov dword [rsp + 0x20], 0x59
lea r9, str.F:projects_bip39scan_bip32.cu
mov r8, rdi
lea rdx, str.Cannot_allocate__lld_bytes_in__s:_d_n
call fcn.14000d240
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rbx + 0x38], rax
mov rdi, qword [rbx + 0x18]
shl rdi, 6
mov rdx, rdi
mov rcx, qword [rbx + 8]
call fcn.1400135a0
test rax, rax
jne 0x140010aac
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov dword [rsp + 0x20], 0x5a
lea r9, str.F:projects_bip39scan_bip32.cu
mov r8, rdi
lea rdx, str.Cannot_allocate__lld_bytes_in__s:_d_n
call fcn.14000d240
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rbx + 0x10], rax
imul rdi, qword [rbx + 0x18], 0x21
mov rdx, rdi
mov rcx, qword [rbx + 8]
call fcn.1400135a0
test rax, rax
jne 0x140010afc
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov dword [rsp + 0x20], 0x5b
lea r9, str.F:projects_bip39scan_bip32.cu
mov r8, rdi
lea rdx, str.Cannot_allocate__lld_bytes_in__s:_d_n
call fcn.14000d240
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rbx + 0x28], rax
mov rdi, qword [rbx + 0x18]
shl rdi, 6
mov rdx, rdi
mov rcx, qword [rbx + 8]
call fcn.1400135a0
test rax, rax
jne 0x140010b4f
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov dword [rsp + 0x20], 0x5c
lea r9, str.F:projects_bip39scan_bip32.cu
mov r8, rdi
lea rdx, str.Cannot_allocate__lld_bytes_in__s:_d_n
call fcn.14000d240
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rbx + 0x30], rax
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140011900
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
imul rdi, qword [rcx + 0x20], 0x21
mov rbx, rcx
mov rcx, qword [rcx + 8]
mov rdx, rdi
call fcn.1400135a0
test rax, rax
jne 0x140011959
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r9, str.F:projects_bip39scan_bip32.cu
mov dword [rsp + 0x20], 0x16b
mov rcx, rax
lea rdx, str.Cannot_allocate__lld_bytes_in__s:_d_n
mov r8, rdi
call fcn.14000d240
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r9, qword [rbx + 0x38]
lea rdx, [rsp + 0x30]
mov qword [rbx + 0x18], rax
lea rcx, [rsp + 0x40]
mov rax, qword [rbx + 0x20]
xor r8d, r8d
mov dword [rsp + 0x30], 0x20
add rax, 0x1f
mov dword [rsp + 0x34], 1
movsd xmm0, qword [rsp + 0x30]
mov dword [rsp + 0x44], 1
shr rax, 5
mov dword [rsp + 0x40], eax
movsd qword [rsp + 0x30], xmm0
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x48], 1
call fcn.1400354a0
test eax, eax
jne 0x1400119d8
mov r8, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x10]
call fcn.140011700
mov rcx, qword [rbx + 0x38]
call fcn.140034730
mov ecx, eax
lea r8, str.F:projects_bip39scan_bip32.cu
mov r9d, 0x16d
lea rdx, str.cudaStreamSynchronize__stream_
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp fcn.1400035b0
Function at 0x140011ec0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
cmp qword [rcx + 0x28], 0
movzx r14d, dl
mov rbx, rcx
jne 0x140011f33
imul rsi, qword [rcx + 0x18], 0x21
mov rcx, qword [rcx + 8]
mov rdx, rsi
call fcn.1400135a0
test rax, rax
jne 0x140011f2f
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r9, str.F:projects_bip39scan_bip32.cu
mov dword [rsp + 0x20], 0x196
mov rcx, rax
lea rdx, str.Cannot_allocate__lld_bytes_in__s:_d_n
mov r8, rsi
call fcn.14000d240
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rbx + 0x28], rax
cmp byte [rbx + 0x40], 0
je 0x14001203a
test r14b, r14b
je 0x140011fba
mov rcx, qword [rbx + 0x48]
call fcn.140010350
mov rcx, qword [rbx + 0x18]
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x20
mov r9, rax
mov dword [rbp - 0x1c], 1
xor r8d, r8d
movsd xmm0, qword [rbp - 0x20]
shr rcx, 5
mov dword [rbp - 0x10], ecx
lea rcx, [rbp - 0x10]
mov dword [rbp - 0xc], 1
movsd qword [rbp - 0x20], xmm0
movsd xmm0, qword [rbp - 0x10]
movsd qword [rbp - 0x10], xmm0
mov dword [rbp - 0x18], 1
mov dword [rbp - 8], 1
call fcn.1400354a0
test eax, eax
jne 0x140012036
mov r8, qword [rbx + 0x28]
mov edx, dword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
call fcn.140011600
jmp 0x140012036
mov rax, qword [rbx]
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [rax + 0x18]
mov rcx, qword [rbx + 0x48]
call fcn.140010350
mov rcx, qword [rbx + 0x18]
lea rdx, [rbp - 0x10]
mov dword [rbp - 0x10], 0x20
mov r9, rax
mov dword [rbp - 0xc], 1
xor r8d, r8d
movsd xmm0, qword [rbp - 0x10]
shr rcx, 5
mov dword [rbp - 0x20], ecx
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x1c], 1
movsd qword [rbp - 0x10], xmm0
movsd xmm0, qword [rbp - 0x20]
movsd qword [rbp - 0x20], xmm0
mov dword [rbp - 8], 1
mov dword [rbp - 0x18], 1
call fcn.1400354a0
test eax, eax
jne 0x140012036
mov rdx, qword [rbx + 0x28]
mov rcx, qword [rbx + 0x30]
call fcn.1400112b0
mov byte [rbx + 0x40], 0
mov rax, qword [rbx + 0x68]
sub rax, qword [rbx + 0x20]
mov rsi, qword [rsp + 0x80]
imul rax, rax, 0x21
add rax, qword [rbx + 0x28]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret

Function at 0x140012070
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
sub rdx, qword [rcx + 0x20]
mov rax, r8
mov r9d, 2
shl rdx, 6
add rdx, qword [rcx + 0x10]
mov rcx, rax
lea r8d, [r9 + 0x1e]
call fcn.140033e90
mov ecx, eax
lea r8, str.F:projects_bip39scan_bip32.cu
mov r9d, 0x190
lea rdx, str.cudaMemcpy_key__ptr__32__cudaMemcpyDeviceToHost_
add rsp, 0x28
jmp fcn.1400035b0
Function at 0x140014330
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rbx
push r14
sub rsp, 0x98
mov r9, qword [rdx]
mov r14, rdx
mov r8, qword [rdx + 8]
mov rbx, rcx
cmp r9, r8
je 0x1400144ef
mov qword [rax + 0x10], rsi
mov rcx, r8
mov qword [rax - 0x18], r12
sub rcx, r9
mov qword [rax + 8], rbp
movabs r12, 0x6666666666666667
mov qword [rax + 0x18], rdi
xor esi, esi
mov qword [rax - 0x20], r13
mov qword [rax - 0x28], r15
mov rax, r12
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400144a6
mov r15d, esi
mov r13d, 0x10000
mov rcx, qword [rbx + 0x40]
sub r8, r9
mov rax, r12
imul r8
mov rdi, rdx
lea rdx, [r15 + r9]
sar rdi, 3
mov r9d, 1
mov rax, rdi
shr rax, 0x3f
add rdi, rax
mov rax, qword [rbx + 0x10]
sub rdi, rsi
mov qword [rsp + 0x20], rax
cmp rdi, r13
cmova rdi, r13
lea r8, [rdi + rdi*4]
shl r8, 2
call fcn.140034010
mov ebp, eax
test eax, eax
jne 0x1400144fa
mov eax, dword [rbx + 0x38]
lea rdx, [rsp + 0x60]
mov r9, qword [rbx + 0x10]
lea rcx, [rsp + 0x70]
shl eax, 4
xor r8d, r8d
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x44], 1
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm0
mov dword [rsp + 0x54], 1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x78], 1
call fcn.1400354a0
test eax, eax
jne 0x140014472
mov rax, qword [rbx + 0x28]
mov ecx, edi
mov r9d, dword [rbx + 0x20]
mov r8, qword [rbx + 8]
mov rdx, qword [rbx + 0x40]
mov qword [rsp + 0x20], rax
call fcn.140014590
mov r8, qword [r14 + 8]
mov rax, r12
mov r9, qword [r14]
mov rcx, r8
sub rcx, r9
add rsi, r13
imul rcx
add r15, 0x140000
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jb 0x1400143a0
mov r13, qword [rsp + 0x88]
sub r8, r9
mov rbp, qword [rsp + 0xb0]
mov rax, r12
mov rdi, qword [rsp + 0xc0]
mov r15, qword [rsp + 0x80]
mov rsi, qword [rsp + 0xb8]
mov r12, qword [rsp + 0x90]
imul r8
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
add dword [rbx], edx
add rsp, 0x98
pop r14
pop rbx
ret
cmp ebp, 0x2be
jne 0x140014538
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.CUDA_timeout__increase_the_Tdr_value_in_the_registry:_n
call fcn.14000d240
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.HKEY_LOCAL_MACHINESystemCurrentControlSetControlGraphicsDrivers__DWORD_value_TdrDelay__and_reboot_n
call fcn.14000d240
jmp 0x14001457e
mov ecx, ebp
call fcn.140033950
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.cudaMemcpyAsync_d_addresses__set.data____i__naddresses__sizeof_Hash___cudaMemcpyHostToDevice___stream_
mov r9d, 0xbc
mov qword [rsp + 0x30], rdx
lea r8, [0x140057a88]
mov qword [rsp + 0x28], rbx
lea rdx, str.CUDA_error_at__s:_d_code_d__s____s___n
mov rcx, rax
mov dword [rsp + 0x20], ebp
call fcn.14000d240
call fcn.140033340
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3