joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x140013800
Capabilities:
Listen for remote procedure calls

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0xc]
mov ecx, dword [rcx + 8]
mov r8d, 1
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov ebx, eax
cmp eax, 0x6b1
je 0x140013871
test eax, eax
je 0x140013871
lea rcx, str...SwRpcServer.cpp
mov edx, 0x5c
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140013841
inc rax
jmp 0x140013848
lea rax, str...SwRpcServer.cpp
lea rcx, [0x140042858]
mov rdx, rax
call fcn.140001760
movabs rcx, 0x212500000000
shl rax, 0x34
or rax, rbx
or rax, rcx
add rsp, 0x20
pop rbx
ret
movabs rax, 0x8000000000
add rsp, 0x20
pop rbx
ret
Function at 0x140003570
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
xor eax, eax
mov word [rsp + 0x35], ax
mov byte [rsp + 0x37], al
mov rbp, qword [rcx + 8]
mov r14, qword [rcx]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x34], al
call fcn.140002f50
test rax, rax
je 0x1400035e2
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, rbp
mov rcx, r14
call rax
test eax, eax
setne byte [rsp + 0x34]
movzx eax, byte [rsi]
mov byte [rdi + 0x10], al
mov ecx, 1
lea rdx, [rbx - 1]
cmp rbx, rcx
jbe 0x1400036b0
cmp rdx, 0x40
jb 0x140003690
lea r8, [rdi + 0x20]
movsx eax, byte [r8]
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
lea r9, [rdx + rsi]
lea rax, [rsi + 1]
cmp rax, r8
ja 0x14000362f
cmp r9, r8
jae 0x140003690
and edx, 0x3f
mov r8, rbx
sub r8, rdx
lea rax, [rsi + 0x21]
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x20]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
movdqu xmm0, xmmword [rax - 0x10]
xorps xmm0, xmm2
movdqu xmmword [rax - 0x10], xmm0
movdqu xmm0, xmmword [rax]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
movdqu xmm0, xmmword [rax + 0x10]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax + 0x10], xmm1
add rcx, 0x40
lea rax, [rax + 0x40]
cmp rcx, r8
jb 0x140003640
cmp rcx, rbx
jae 0x1400036b0
lea rax, [rsi + rcx]
sub rbx, rcx
nop word [rax + rax]
movzx ecx, byte [rdi + 0x20]
xor byte [rax], cl
lea rax, [rax + 1]
sub rbx, 1
jne 0x1400036a0
mov rax, qword [rdi]
mov byte [rax], 0xcc
cmp byte [rsp + 0x34], 0
je 0x1400036de
call fcn.140002f50
test rax, rax
je 0x1400036de
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call rax
nop
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140297700
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140003700
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov word [rsp + 0x35], ax
mov byte [rsp + 0x37], al
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x34], al
call fcn.140002f50
test rax, rax
je 0x14000376e
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, rbx
mov rcx, rdi
call rax
test eax, eax
setne r9b
mov byte [rsp + 0x34], r9b
jmp 0x140003774
movzx r9d, byte [rsp + 0x34]
movzx eax, byte [rsi + 0x10]
mov byte [rdi], al
mov ecx, 1
lea rdx, [rbx - 1]
cmp rbx, rcx
jbe 0x140003830
cmp rdx, 0x40
jb 0x140003818
lea r8, [rsi + 0x20]
movsx eax, byte [r8]
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
lea r10, [rdx + rdi]
lea rax, [rdi + 1]
cmp rax, r8
ja 0x1400037c1
cmp r10, r8
jae 0x140003818
and edx, 0x3f
mov r8, rbx
sub r8, rdx
lea rax, [rdi + 0x21]
nop
movdqu xmm0, xmmword [rax - 0x20]
xorps xmm0, xmm2
movdqu xmmword [rax - 0x20], xmm0
movdqu xmm0, xmmword [rax - 0x10]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
movdqu xmm0, xmmword [rax]
xorps xmm0, xmm2
movdqu xmmword [rax], xmm0
movdqu xmm0, xmmword [rax + 0x10]
xorps xmm0, xmm2
movdqu xmmword [rax + 0x10], xmm0
add rcx, 0x40
lea rax, [rax + 0x40]
cmp rcx, r8
jb 0x1400037d0
cmp rcx, rbx
jae 0x140003830
lea rax, [rdi + rcx]
sub rbx, rcx
nop
movzx ecx, byte [rsi + 0x20]
xor byte [rax], cl
lea rax, [rax + 1]
sub rbx, 1
jne 0x140003820
test r9b, r9b
je 0x140003856
call fcn.140002f50
test rax, rax
je 0x140003856
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call rax
nop
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140297700
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400163a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x140016531
mov r15, qword [rsp + 0x60]
lea r8d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r9d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x140016531
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r8w, dx
jae 0x14001643b
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x140016558
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140016452
mov eax, ecx
add cx, r11w
cmp cx, r9w
ja 0x140016452
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140016465
movzx r9d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x1400164b2
mov r9d, eax
cmp eax, 0x800
jae 0x14001647f
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov r11d, r8d
jmp 0x1400164b2
cmp eax, 0x10000
jae 0x140016499
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov r11d, r10d
jmp 0x1400164b2
shr r9d, 0x12
mov r10d, 3
movzx r11d, sil
or r9b, 0xf0
xor r11d, 1
add r11d, r11d
lea r8d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r8d
cmp rdx, rcx
jl 0x140016531
add qword [r14], 2
test sil, sil
jne 0x1400164d3
cmp r10d, 3
jae 0x1400164df
mov rcx, qword [rbx]
mov r8d, r11d
mov byte [rcx], r9b
inc qword [rbx]
mov r9, qword [rbx]
test r8d, r8d
jle 0x14001650e
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [rbx]
mov r9, qword [rbx]
test r8d, r8d
jg 0x1400164f0
shr eax, 0xa
mov r8d, 1
test sil, sil
mov ecx, r8d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x1400163ef
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x14001653f
Function at 0x1400169f0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
test rbx, rbx
je 0x140016b2a
mov r8, qword [rbx + 8]
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140003700
movzx edx, byte [rbx]
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbx + 1]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 2]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 3]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 4]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 5]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 6]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbx + 7]
xor rdx, rax
imul rdx, rcx
and rdx, qword [0x140731590]
shl rdx, 4
add rdx, qword [0x140731578]
mov rcx, qword [rdx + 8]
mov r9, qword [0x140731568]
cmp rcx, r9
je 0x140016ac1
mov r8, qword [rdx]
mov rax, qword [rbx]
cmp rax, qword [rcx + 0x10]
je 0x140016ac3
nop word [rax + rax]
cmp rcx, r8
je 0x140016ac1
mov rcx, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
jne 0x140016ab0
jmp 0x140016ac3
xor ecx, ecx
test rcx, rcx
je 0x140016b18
mov rax, qword [rdx]
cmp qword [rdx + 8], rcx
jne 0x140016ae9
cmp rax, rcx
jne 0x140016adf
mov qword [rdx], r9
mov qword [rdx + 8], r9
jmp 0x140016af4
mov r9, qword [rcx + 8]
mov qword [rdx + 8], r9
jmp 0x140016af4
cmp rax, rcx
jne 0x140016af4
mov rax, qword [rcx]
mov qword [rdx], rax
mov rdx, qword [rcx]
dec qword [0x140731570]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140297720
nop
mov edx, gethostname
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140297720
add rsp, 0x20
pop rbx
ret

Function at 0x140016ec0
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 0x140016ee8
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 0x140016f0e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140016f10
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140016f69
test ecx, ecx
jle 0x140016f49
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 0x140016f69
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140016f69
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 0x140016f90
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 0x140016fb2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140016fc8
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 0x140016fe4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140016fe6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140017022
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 0x1400170be
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001705d
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 0x14001709e
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 0x1400170be
cmp rbx, rax
ja 0x140017070
test rbx, rbx
je 0x1400170be
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 0x1400174f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001751d
xor eax, eax
jmp 0x140017689
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140017557
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140017557
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 0x140017689
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001767c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001759a
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 0x1400175c5
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 0x140017681
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 0x140017634
sub eax, 1
je 0x140017634
cmp eax, 2
jne 0x14001767c
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 0x140017681
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140017662
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 0x14001767c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140017681
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140297700
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140018dd0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140018ea3
cmp byte [rcx + 0x71], 0
je 0x140018ea3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + SafeArrayPutElement]
cmp eax, 0xffffffff
je 0x140018e9f
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 0x140018e64
sub eax, 1
je 0x140018e68
cmp eax, 2
jne 0x140018e9f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140297700
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140018e96
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 0x140018e9f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140018e4c
xor al, al
jmp 0x140018e4c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140297700
add rsp, 0x60
pop rbx
ret

Function at 0x140019f80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.1402978c0
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14001c830]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140019ff3
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140297700
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14001bee0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14001bf11
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 + 0x30], rbx
mov rbx, qword [0x140731568]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140731578]
lea rdx, [rdi + rdi]
call fcn.14001c1b0
mov rax, qword [0x140731568]
lea r9, [rdi - 1]
mov qword [0x140731590], r9
mov qword [0x140731598], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14001c0b2
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140731578]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14001bffc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14001c073
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14001c039
mov r10, qword [rdx]
cmp r10, rax
je 0x14001c033
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 0x14001c073
cmp r9, rdx
je 0x14001c04f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14001c087
cmp r9, rdx
jne 0x14001c040
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, rbx
je 0x14001c0ad
mov r9, qword [0x140731590]
jmp 0x14001bf81
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 0x14001c073
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f4b0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2b0
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
lea rsi, [rcx + 0x60]
lea rdi, [rcx + 0x20]
mov rcx, rdi
call fcn.14001f710
mov rcx, rsi
call fcn.14001f640
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001f528
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14001f52f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14001f615
xor ebp, ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x8c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14001f552
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x20]
call fcn.14001ac30
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140020370
nop
lea rcx, [rsp + 0x20]
call fcn.140019100
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x8c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14001f5b0
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x20]
call fcn.14001ac30
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14001ffe0
mov rcx, qword [rax]
mov eax, dword [rsp + 0x68]
mov dword [rcx + 0x30], eax
lea rcx, [rsp + 0x20]
call fcn.140019100
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14001f531
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140297700
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140027b80
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rdx
xor dil, dil
cmp qword [rdx + 0x10], 0
je 0x140027c2b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test al, al
jne 0x140027c2b
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140029320
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rcx, qword [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140027be4
mov dil, 1
jmp 0x140027c21
lea rdx, str.Error_creating_directory
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140019a90
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140027c05
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14003a970
lea rdx, [0x140019ed0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x20]
call fcn.140019100
movzx eax, dil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140297700
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret