joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004f10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14004a010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor edi, edi
lea rax, vtable.InjectWindow.0
mov qword [rcx], rax
mov dword [rcx + 0x14], 0x42c80000
mov dword [rcx + 0x38], 0x3e109091
mov dword [rcx + 0x3c], 0x3e109091
mov dword [rcx + 0x40], 0x3e109091
mov dword [rcx + 0x44], 0x3f800000
mov dword [rcx + 0x48], 0x3f6dedef
mov dword [rcx + 0x4c], 0x3e109091
mov dword [rcx + 0x50], 0x3ee8e8ea
mov dword [rcx + 0x54], 0x3f800000
mov qword [rcx + 0x58], 0x3f000000
mov dword [rcx + 0x60], 0x3f800000
mov dword [rcx + 8], 0x44160000
mov dword [rcx + 0xc], 0x43960000
mov qword [rcx + 0x70], r8
movaps xmm4, xmmword [0x140041910]
movss xmm3, dword [0x140041760]
mov dword [rbp - 0x29], edi
mov qword [rbp - 0x21], rdi
movaps xmm1, xmmword [0x140041880]
movups xmmword [rbp - 1], xmm1
movaps xmm0, xmmword [0x1400418f0]
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], 0x3f000000
mov dword [rbp + 0x27], 0x3f800000
mov dword [rbp - 0x25], 0x43f00000
movss xmm2, dword [0x140041740]
unpcklps xmm2, xmm3
movups xmmword [rbp - 0x11], xmm4
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rcx + 0x10], xmm0
movups xmm1, xmmword [rbp - 0x19]
movsd xmm1, xmm2
movups xmmword [rcx + 0x20], xmm1
movups xmm0, xmmword [rbp - 9]
movups xmmword [rcx + 0x30], xmm0
movups xmm1, xmmword [rbp + 7]
movups xmmword [rcx + 0x40], xmm1
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rcx + 0x50], xmm0
movsd xmm1, qword [rbp + 0x27]
movsd qword [rcx + 0x60], xmm1
mov dword [rcx + 0x10], 0x41a00000
mov dword [rcx + 0x68], edx
lea ecx, [rdi + 8]
call fcn.14003862c
mov qword [rax], rbx
mov qword [rbp + 0x37], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14000d2b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1400050ba
cmp dword [rbp - 0x31], edi
je 0x1400050ae
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp + 0x37], xmm0
lea rcx, [rbp + 0x37]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400050ae
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140038490
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x31], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140006280
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14004a010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor edi, edi
lea rax, vtable.LoginWindow.0
mov qword [rcx], rax
mov dword [rcx + 0x14], 0x42c80000
mov dword [rcx + 0x38], 0x3e109091
mov dword [rcx + 0x3c], 0x3e109091
mov dword [rcx + 0x40], 0x3e109091
mov dword [rcx + 0x44], 0x3f800000
mov dword [rcx + 0x48], 0x3f6dedef
mov dword [rcx + 0x4c], 0x3e109091
mov dword [rcx + 0x50], 0x3ee8e8ea
mov dword [rcx + 0x54], 0x3f800000
mov qword [rcx + 0x58], 0x3f000000
mov dword [rcx + 0x60], 0x3f800000
mov byte [rcx + 0x68], dil
mov dword [rcx + 8], 0x44160000
mov dword [rcx + 0xc], 0x43960000
movaps xmm4, xmmword [0x140041910]
movss xmm3, dword [0x140041760]
mov dword [rbp - 0x29], edi
mov qword [rbp - 0x21], rdi
movaps xmm1, xmmword [0x140041880]
movups xmmword [rbp - 1], xmm1
movaps xmm0, xmmword [0x1400418f0]
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], 0x3f000000
mov dword [rbp + 0x27], 0x3f800000
mov dword [rbp - 0x25], 0x43f00000
movss xmm2, dword [0x140041740]
unpcklps xmm2, xmm3
movups xmmword [rbp - 0x11], xmm4
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rcx + 0x10], xmm0
movups xmm1, xmmword [rbp - 0x19]
movsd xmm1, xmm2
movups xmmword [rcx + 0x20], xmm1
movups xmm0, xmmword [rbp - 9]
movups xmmword [rcx + 0x30], xmm0
movups xmm1, xmmword [rbp + 7]
movups xmmword [rcx + 0x40], xmm1
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rcx + 0x50], xmm0
movsd xmm1, qword [rbp + 0x27]
movsd qword [rcx + 0x60], xmm1
lea rax, str.Initiating_client
mov qword [rcx + 0x18], rax
mov dword [rcx + 0x10], 0x41a00000
mov qword [rbp + 0x37], rcx
mov qword [rbp + 0x3f], rdx
lea ecx, [rdi + 0x10]
call fcn.14003862c
movups xmm0, xmmword [rbp + 0x37]
movups xmmword [rax], xmm0
mov qword [rbp + 0x37], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14000d350]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x39], rax
test rax, rax
je 0x14000643e
cmp dword [rbp - 0x31], edi
je 0x140006432
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp + 0x37], xmm0
lea rcx, [rbp + 0x37]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140006432
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140038490
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x31], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140006a30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14004a010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov qword [rbp + 0x2f], rcx
xor edi, edi
mov qword [rcx + 8], rdi
lea rax, vtable.InstallerWindow.0
mov qword [rcx], rax
add rcx, 0x10
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
lea r8d, [rdi + 0x25]
lea rdx, str.Please_wait_while_we_set_things_up...
call fcn.14000bf20
nop
mov dword [rbx + 0x34], 0x42c80000
mov dword [rbx + 0x58], 0x3e109091
mov dword [rbx + 0x5c], 0x3e109091
mov dword [rbx + 0x60], 0x3e109091
mov dword [rbx + 0x64], 0x3f800000
mov dword [rbx + 0x68], 0x3f6dedef
mov dword [rbx + 0x6c], 0x3e109091
mov dword [rbx + 0x70], 0x3ee8e8ea
mov dword [rbx + 0x74], 0x3f800000
mov qword [rbx + 0x78], 0x3f000000
mov dword [rbx + 0x80], 0x3f800000
mov dword [rbx + 8], 0x44160000
mov dword [rbx + 0xc], 0x43960000
movaps xmm4, xmmword [0x140041910]
movss xmm3, dword [0x140041760]
mov dword [rbp - 0x29], edi
mov qword [rbp - 0x21], rdi
movaps xmm1, xmmword [0x140041880]
movups xmmword [rbp - 1], xmm1
movaps xmm0, xmmword [0x1400418f0]
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], 0x3f000000
mov dword [rbp + 0x27], 0x3f800000
mov dword [rbp - 0x25], 0x43f00000
movss xmm2, dword [0x140041740]
unpcklps xmm2, xmm3
movups xmmword [rbp - 0x11], xmm4
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rbx + 0x30], xmm0
movups xmm1, xmmword [rbp - 0x19]
movsd xmm1, xmm2
movups xmmword [rbx + 0x40], xmm1
movups xmm0, xmmword [rbp - 9]
movups xmmword [rbx + 0x50], xmm0
movups xmm1, xmmword [rbp + 7]
movups xmmword [rbx + 0x60], xmm1
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rbx + 0x70], xmm0
movsd xmm1, qword [rbp + 0x27]
movsd qword [rbx + 0x80], xmm1
mov dword [rbx + 0x30], edi
mov qword [rbp + 0x37], rbx
lea rax, str.perimede
mov qword [rbp + 0x3f], rax
lea ecx, [rdi + 0x10]
call fcn.14003862c
movups xmm0, xmmword [rbp + 0x37]
movups xmmword [rax], xmm0
mov qword [rbp + 0x37], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14000d3d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140006c13
cmp dword [rbp - 0x31], edi
je 0x140006c07
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp + 0x37], xmm0
lea rcx, [rbp + 0x37]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140006c07
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140038490
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x31], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140007380
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x14004a010]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400074d9
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400074d0
nop
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140007400
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.14000bf20
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x140007425
mov rdx, qword [rbx]
cmp qword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov rdx, qword [rsp + 0x38]
test eax, eax
je 0x140007491
cmp rdx, 0x10
jb 0x140007479
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007474
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400074c4
call fcn.140038990
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400073e0
jmp 0x1400074d0
mov edi, dword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400074d0
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400074cb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400074cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140038990
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140038490
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140009ef0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140009f18
add rsp, 0x20
pop r15
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 rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140009f3e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140009f40
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140009f99
test ecx, ecx
jle 0x140009f79
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140009f99
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140009f99
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140009fc0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140009fe2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140009ff8
add rsp, 0x30
pop r14
pop rsi
pop rbp
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 rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000a014
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000a016
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000a052
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000a0ee
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000a08d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000a0ce
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000a0ee
cmp rbx, rax
ja 0x14000a0a0
test rbx, rbx
je 0x14000a0ee
mov r9, qword [rsi + 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 rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14000a520
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14004a010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000a54d
xor eax, eax
jmp 0x14000a6b9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000a587
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000a587
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14000a6b9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000a6ac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000a5ca
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000a5f5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000a6b1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
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 0x14000a664
sub eax, 1
je 0x14000a664
cmp eax, 2
jne 0x14000a6ac
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000a6b1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000a692
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000a6ac
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000a6b1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140038490
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000b230
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14004a010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000b303
cmp byte [rcx + 0x71], 0
je 0x14000b303
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000b2ff
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 0x14000b2c4
sub eax, 1
je 0x14000b2c8
cmp eax, 2
jne 0x14000b2ff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140038490
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000b2f6
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 0x14000b2ff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000b2ac
xor al, al
jmp 0x14000b2ac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140038490
add rsp, 0x60
pop rbx
ret

Function at 0x14000ee30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000ee8d
lea rbx, [0x14003d360]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000ee74
cmp r10, 2
jb 0x14000ee74
cmp byte [r9], r8b
jne 0x14000ee74
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000ee50
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000eecf
lea rbx, [0x14003d360]
cmp r8b, 0x23
jne 0x14000eeb3
cmp byte [r9], r8b
jne 0x14000eeb3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000eea0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14000f010
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000f02a
mov qword [r8], 0
lea rdx, [0x140041530]
call fcn.14000eee0
mov rbx, rax
test rax, rax
jne 0x14000f04a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000f121
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000f121
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000f121
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000f121
cmp rdi, 0xffffffffffffffff
je 0x14000f121
mov rax, qword [0x14006ae90]
test rax, rax
je 0x14000f0be
inc dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000f121
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000f10e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14006ae90]
test rax, rax
je 0x14000f103
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000f12a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000f11c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000f12c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140012bd0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
xor eax, eax
lea r8, [0x14004146d]
mov dword [rsp + 0x2c], eax
lea r11, [0x14003d360]
mov qword [rsp + 0x38], rax
mov r10d, 0xffffffff
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x140012c26
cmp byte [r8], r9b
jne 0x140012c26
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140012c13
mov ecx, dword [rbx + 0x304c]
lea rax, [0x14001f5a0]
mov edi, dword [rbx + 0x3048]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x14001f630]
mov qword [rsp + 0x40], rax
lea rax, [0x14001f720]
mov qword [rsp + 0x48], rax
lea rax, [0x14001f800]
mov qword [rsp + 0x50], rax
lea rax, [0x14001f950]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x140012d46
inc edi
test ecx, ecx
je 0x140012caa
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140012caf
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x140012d46
mov rax, qword [0x14006ae90]
mov qword [rsp + 0x80], rsi
test rax, rax
je 0x140012cd6
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*8]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x3050]
mov rsi, rax
test rdx, rdx
je 0x140012d31
movsxd rcx, dword [rbx + 0x3048]
lea r8, [rcx + rcx*8]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x3050]
test rcx, rcx
je 0x140012d2b
mov rax, qword [0x14006ae90]
test rax, rax
je 0x140012d2b
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3050], rsi
mov rsi, qword [rsp + 0x80]
mov dword [rbx + 0x304c], edi
movsxd rax, dword [rbx + 0x3048]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x3050]
movups xmmword [rax + rcx*8], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x20], xmm0
movsd xmm0, qword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x30], xmm1
movsd qword [rax + rcx*8 + 0x40], xmm0
inc dword [rbx + 0x3048]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret