joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ac50
Capabilities:
Encode data using xor
Execute command
Terminate process

Disassembly:
sub rsp, 0x88
mov byte [0x140109e90], 0
mov byte [0x140109e91], 0
call fcn.140017920
call fcn.1400188a0
call fcn.14005ea50
call fcn.14001daa0
lea rcx, [0x1400eea18]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov r11, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x30]
call fcn.14000aea0
mov r10, rax
cmp byte [rax + 0x1d], 0
je 0x14000ae61
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000ae25
movdqa xmm0, xmmword [0x1400f5240]
mov eax, 4
movdqa xmm5, xmmword [0x1400f5100]
mov rcx, r10
movdqa xmm4, xmmword [0x1400f5270]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [str.2222444466668888]
movd xmm6, eax
mov eax, Ordinal_35
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm8
movd xmm8, eax
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400f5220]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f5220]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp r8d, 0x18
jl 0x14000ad10
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp r8d, 0x1e
jge 0x14000ae61
movsxd r9, r8d
add r9, r10
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x1e
jl 0x14000ae30
mov rdx, r10
mov rcx, r11
call fcn.14000b3c0
lea rdx, [rsp + 0x90]
mov dword [rsp + 0x90], 0x7d0
lea rcx, [rsp + 0x98]
call fcn.14000b220
mov rcx, rax
call fcn.14000b230
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14000aed0
Capabilities:
Create thread
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x140108718]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r14d, r14d
xorps xmm0, xmm0
lea rax, [0x140013020]
mov qword [rbp - 0x29], rax
lea rax, [0x140013b30]
mov qword [rbp - 0x21], rax
lea rax, [0x140013d30]
mov qword [rbp - 0x19], rax
lea rax, [0x140013fc0]
mov qword [rbp - 0x11], rax
lea rax, [0x140014620]
mov qword [rbp - 9], rax
lea rax, [0x1400147d0]
mov qword [rbp - 1], rax
lea rax, [0x140014d10]
mov qword [rbp + 7], rax
movdqu xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], r14
lea ecx, [r14 + 0x38]
call fcn.1400bba90
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
lea rsi, [rax + 0x38]
mov qword [rbp + 0x37], rsi
lea r8d, [r14 + 0x38]
lea rdx, [rbp - 0x29]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x2f], rsi
mov rdi, qword [rbp + 0x27]
cmp rdi, rsi
je 0x14000b015
lea r15, [0x14000ac20]
nop dword [rax + rax]
mov rbx, qword [rdi]
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400bba90
mov qword [rax], rbx
mov qword [rax + 8], r15
mov qword [rbp + 0x17], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14000b730]
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 0x14000b06e
cmp dword [rbp - 0x31], 0
je 0x14000b062
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000b062
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
add rdi, 8
cmp rdi, rsi
jne 0x14000afa0
mov ebx, r14d
lea rdi, [0x14010a128]
nop
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x14000b032
cmp byte [0x140109e9d], 0
jne 0x14000b09e
mov rcx, rdi
cmp qword [0x14010a140], 0x10
cmovae rcx, qword [0x14010a128]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x14000b07e
inc ebx
cmp ebx, 5
jne 0x14000b081
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x31], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ebx, r14d
call fcn.140017920
call fcn.1400188a0
mov qword [rbp + 0x17], 0x258
lea rcx, [rbp + 0x17]
call fcn.14000b230
jmp 0x14000b020
call fcn.14000ac50
int3
Function at 0x14000b9b0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x140108718]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000ba53
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14000ba4a
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14000ba12
mov rdx, qword [rbx]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000bac7
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 1
call fcn.14000b230
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14000ba05
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000ba8d
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000ba88
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bb0a
mov rcx, r8
call fcn.1400bbd1c
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400bb950
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000bb06
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000bb01
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bb0a
mov rcx, r8
call fcn.1400bbd1c
mov al, 1
jmp 0x14000ba8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000f8d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140108718]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r8
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, str.SOFTWARECC1201
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000f9a9
xor ecx, ecx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], rcx
lea rdx, str.cc1201
mov dword [rsp + 0x38], ecx
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000f99e
cmp dword [rsp + 0x3c], 4
jne 0x14000f99e
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, str.cc1201
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000f99e
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400bb950
add rsp, 0x50
pop rbx
ret
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400bb950
add rsp, 0x50
pop rbx
ret

Function at 0x14000f9c0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140108718]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ecx, ecx
mov dword [rsp + 0x58], r8d
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, str.SOFTWARECC1201
mov qword [rsp + 0x30], rcx
xor r9d, r9d
mov dword [rsp + 0x28], 2
xor r8d, r8d
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000fa6e
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea rdx, str.cc1201
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
jne 0x14000fa68
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400bb950
add rsp, 0x78
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400bb950
add rsp, 0x78
ret
Function at 0x14000fa90
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140108718]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
lea rax, [rsp + 0x30]
movzx edi, r9b
mov dword [rsp + 0x38], ebx
movzx esi, r8b
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWARECC1201
lea r9d, [rbx + 2]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000fb4f
lea r8, [rsp + 0x38]
call fcn.14000f8d0
test al, al
je 0x14000fb42
test sil, sil
jne 0x14000fafe
mov ebx, dword [rsp + 0x38]
inc ebx
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.cc1201
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x38], ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14000fb63
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14000fb74
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000fb54
test dil, dil
je 0x14000fb67
mov r8d, 1
call fcn.14000f9c0
test al, al
jne 0x14000fb3e
xor al, al
jmp 0x14000fb74
xor r8d, r8d
call fcn.14000f9c0
test al, al
setne al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400bb950
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x14000ff90
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 0x14000ffb8
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 0x14000ffde
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000ffe0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140010039
test ecx, ecx
jle 0x140010019
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 0x140010039
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140010039
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 0x140010060
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 0x140010082
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140010098
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 0x1400100b4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400100b6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400100f2
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 fcn.14001018e
Function at 0x1400105c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140108718]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400105ed
xor eax, eax
jmp 0x140010759
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140010627
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140010627
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 0x140010759
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001074c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001066a
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 0x140010695
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 0x140010751
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 0x140010704
sub eax, 1
je 0x140010704
cmp eax, 2
jne 0x14001074c
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 0x140010751
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140010732
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 0x14001074c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140010751
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400bb950
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140010fd0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140108718]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400110a3
cmp byte [rcx + 0x71], 0
je 0x1400110a3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14001109f
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 0x140011064
sub eax, 1
je 0x140011068
cmp eax, 2
jne 0x14001109f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400bb950
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140011096
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 0x14001109f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001104c
xor al, al
jmp 0x14001104c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400bb950
add rsp, 0x60
pop rbx
ret
Function at 0x140011f20
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140011f55
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.140011430
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x1400120c4
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x14001203c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400120b3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140012079
mov r10, qword [rdx]
cmp r10, rax
je 0x140012073
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400120b3
cmp r9, rdx
je 0x14001208f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1400120d5
cmp r9, rdx
jne 0x140012080
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x140011fc0
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400120b3
Function at 0x140014f70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140108718]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400bba90
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140015020]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140014fe9
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400bb950
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14001a1d0
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x140108718]
xor rax, rsp
mov qword [rsp + 0x170], rax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
xor ebx, ebx
mov qword [rsp + 0x60], rbx
lea rdx, [rsp + 0x50]
lea rcx, [0x14001a190]
call qword [sym.imp.USER32.dll_EnumWindows]
mov r15, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
cmp r15, r13
je 0x14001a340
nop word [rax + rax]
mov r8d, 0x100
lea rdx, [rsp + 0x70]
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rdi, qword [0x14010a290]
mov r12, qword [0x14010a298]
cmp rdi, r12
je 0x14001a32e
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14001a290
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.14000b590
mov rax, qword [rdi + 0x10]
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14001a2ba
mov r9, qword [rdi]
lea rcx, [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
cmp rbp, 0x10
setae bl
mov rsi, qword [rsp + 0x30]
cmovae rcx, rsi
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x40]
call fcn.140011ac0
mov r14, rax
test bl, bl
je 0x14001a317
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14001a30f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a37b
mov rcx, rsi
call fcn.1400bbd1c
cmp r14, 0xffffffffffffffff
jne 0x14001a382
add rdi, 0x20
cmp rdi, r12
lea ebx, [r14 + 1]
jne 0x14001a270
add r15, 8
cmp r15, r13
jne 0x14001a240
mov r15, qword [rsp + 0x50]
xor bl, bl
test r15, r15
je 0x14001a393
mov rdx, qword [rsp + 0x60]
sub rdx, r15
and rdx, 0xfffffffffffffff8
mov rax, r15
cmp rdx, 0x1000
jb 0x14001a38b
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a38b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov bl, 1
mov r15, qword [rsp + 0x50]
jmp 0x14001a342
mov rcx, r15
call fcn.1400bbd1c
movzx eax, bl
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400bb950
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret