joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4d5e3c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d5eba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d5eb1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d5eb1
mov rax, qword [rbp - 8]
jmp 0x2fc4d5ecf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d5e84
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001e76
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov dword [rbp + 0x28], r9d
mov dword [rbp - 4], 0
mov dword [rbp - 8], 0
mov dword [rbp - 0xc], 0
jmp 0x140001f71
mov eax, dword [rbp - 4]
add eax, 1
mov ecx, 0x100
cdq
idiv ecx
mov dword [rbp - 4], edx
mov eax, dword [rbp - 4]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx edx, al
mov eax, dword [rbp - 8]
add eax, edx
mov ecx, 0x100
cdq
idiv ecx
mov dword [rbp - 8], edx
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rdx, rax
mov eax, dword [rbp - 4]
movsxd rcx, eax
mov rax, qword [rbp + 0x10]
add rax, rcx
mov rcx, rax
call fcn.140001d73
mov eax, dword [rbp - 4]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx edx, al
mov eax, dword [rbp - 8]
movsxd rcx, eax
mov rax, qword [rbp + 0x10]
add rax, rcx
movzx eax, byte [rax]
movzx eax, al
add eax, edx
mov ecx, 0x100
cdq
idiv ecx
mov eax, edx
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
mov dword [rbp - 0x10], eax
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rax, qword [rbp + 0x18]
add rax, rdx
movzx eax, byte [rax]
mov edx, eax
mov eax, dword [rbp - 0x10]
mov ecx, edx
xor ecx, eax
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rax, qword [rbp + 0x20]
add rax, rdx
mov edx, ecx
mov byte [rax], dl
add dword [rbp - 0xc], 1
mov eax, dword [rbp - 0xc]
cmp eax, dword [rbp + 0x28]
jl 0x140001ea8
mov eax, 0
add rsp, 0x30
pop rbp
ret

Function at 0x1400029d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140008920
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.140008920
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140002a40
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400440a4]
mov rbx, rcx
test esi, esi
jle 0x140002b70
mov rax, qword [0x1400440a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002a8b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002b15
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002a70
mov rcx, rbx
call fcn.140003490
mov rdi, rax
test rax, rax
je 0x140002b92
mov rax, qword [0x1400440a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400035d0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400440a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002b77
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002b0e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002b20
add dword [0x1400440a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400440a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002b0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400029d0
nop dword [rax]
xor esi, esi
jmp 0x140002a98
mov rax, qword [0x1400440a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400029d0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400029d0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003100
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140044100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400440e0]
test rbx, rbx
je 0x14000315c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003153
test rsi, rsi
je 0x140003153
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003138
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003490
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140040f80]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400034b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400034b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400034b0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000350d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003504
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400034b0
add rax, 0x28
cmp rax, r9
jne 0x1400034f0
xor eax, eax
ret

Function at 0x140003510
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140040f80]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000352f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003538
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000352f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400035d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140040f80]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400035ef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400035f8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001d00
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x48
movsxd rcx, dword [rcx + 0x50]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140001d1b
add rsp, 0x48
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
lea rcx, [rsp + 0x20]
mov edx, dword [rax]
call fcn.140001460
lea rdx, [0x14004f0f0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140001d90
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x48
movsxd rcx, dword [rcx + 0x30]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x140001dad
cdqe
add rsp, 0x48
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
lea rcx, [rsp + 0x20]
mov edx, dword [rax]
call fcn.140001460
lea rdx, [0x14004f0f0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140002df0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, r9
mov rbx, r8
mov rsi, rcx
call fcn.1400059d0
nop
mov rdx, rbx
lea rcx, [rsi + 0x20]
call fcn.1400059d0
nop
lea rcx, [rsi + 0x40]
mov rdx, rdi
call fcn.1400059d0
nop
lea r14, [rsi + 0x60]
xor r12d, r12d
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rdi + 8]
sub rbx, qword [rdi]
sar rbx, 5
test rbx, rbx
je 0x140002f2f
movabs rax, 0x7ffffffffffffff
cmp rbx, rax
ja 0x14000304b
shl rbx, 5
cmp rbx, 0x1000
jb 0x140002eb1
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140003045
call fcn.140035790
mov rcx, rax
test rax, rax
je 0x140002eaa
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140002ec3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rbx, rbx
je 0x140002ec0
mov rcx, rbx
call fcn.140035790
jmp 0x140002ec3
mov rax, r12
mov qword [r14], rax
mov qword [r14 + 8], rax
add rax, rbx
mov qword [r14 + 0x10], rax
mov qword [rsp + 0x90], r14
mov rbx, qword [r14]
mov rbp, qword [rdi + 8]
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], r14
cmp rdi, rbp
je 0x140002f1d
nop word [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.1400059d0
add rbx, 0x20
mov qword [rsp + 0x28], rbx
add rdi, 0x20
cmp rdi, rbp
jne 0x140002f00
mov r8, r14
mov rdx, rbx
mov rcx, rbx
call fcn.140006730
mov qword [r14 + 8], rbx
mov qword [rsi + 0x78], r12
mov qword [rsi + 0x80], r12
mov rbx, qword [rsp + 0x98]
mov rax, qword [rbx + 8]
test rax, rax
je 0x140002f4f
lock inc dword [rax + 8]
mov rax, qword [rbx]
mov qword [rsi + 0x78], rax
mov rax, qword [rbx + 8]
mov qword [rsi + 0x80], rax
lea rcx, [rsi + 0x88]
mov dword [rcx], r12d
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], r12
mov edx, 2
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
nop
cmp qword [rsi + 0x10], 0
jne 0x140002fae
mov r8d, 9
lea rdx, str.localhost
mov rcx, rsi
call fcn.140005f20
cmp qword [rsi + 0x30], 0
jne 0x140002fcb
mov r8d, 5
lea rdx, str.39900
lea rcx, [rsi + 0x20]
call fcn.140005f20
cmp qword [rsi + 0x50], 0
jne 0x140002fea
lea rcx, str.Please_specify_username___u__n
call fcn.140002610
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, rsi
call fcn.140003070
nop
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x140003028
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140003028
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140003028
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rax, rsi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140001390
nop
call fcn.140001f40
int3
Function at 0x140004eb0
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 case.default.0x140004ed1
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 0x140004efe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140004f00
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140004f59
test ecx, ecx
jle 0x140004f39
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 0x140004f59
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140004f59
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
rol ah, 0x1f
add byte [rcx - 0x57fdd8bd], ah
jg 0x1400889ff
pop rbx
movabs byte [0x7f5b007fa8028743], al
invalid
Function at 0x140004f80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140004fb1
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.0x140004fc8
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 rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140004feb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004fed
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005029
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400050be
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140005064
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 0x14000509e
nop dword [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 0x1400050be
cmp rbx, rax
ja 0x140005070
test rbx, rbx
je 0x1400050be
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
cmp byte [rdx], 0x29
pop rbx
jne 0x1400889ed
xchg dword [rdx], eax
mov byte [rdi + 2], bh
pop rbx
loope 0x1400889b9
inc byte [rax - 0x3c]
invalid
xchg dword [r10], eax
invalid
Function at 0x140005530
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400522c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000555d
xor eax, eax
jmp 0x1400056c9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140005597
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140005597
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 0x1400056c9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400056bc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400055da
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 0x140005605
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 0x1400056c1
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 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 0x140005674
sub eax, 1
je 0x140005674
cmp eax, 2
jne 0x1400056bc
movsx ecx, byte [rsp + 0x40]
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 0x1400056c1
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400056a2
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 0x1400056bc
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400056c1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140035770
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140005c10
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400522c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140005ce3
cmp byte [rcx + 0x71], 0
je 0x140005ce3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140005cdf
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 0x140005ca4
sub eax, 1
je 0x140005ca8
cmp eax, 2
jne 0x140005cdf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140035770
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140005cd6
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 0x140005cdf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140005c8c
xor al, al
jmp 0x140005c8c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140035770
add rsp, 0x60
pop rbx
ret
Function at 0x1400098a0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1400522c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, qword [rcx + 0x38]
mov rdi, rcx
shl rsi, 6
mov r14, rdx
add rsi, qword [rcx + 0x28]
mov rcx, qword [rcx + 0x28]
mov rdx, qword [rdi + 0x30]
shl rsi, 3
cmp rcx, rdx
jae 0x140009902
lea rax, [rcx + 1]
mov qword [rdi + 0x28], rax
lea rax, [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400098fa
mov rax, qword [rdi + 0x18]
mov word [rax + rcx], 0x80
jmp 0x140009915
xor r8d, r8d
lea rcx, [rdi + 0x18]
mov r9b, 0x80
lea edx, [r8 + 1]
call fcn.1400067c0
cmp qword [rdi + 0x28], 0x40
mov ebp, dword [rdi + 0x28]
jae 0x140009965
nop
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rdi + 0x30]
cmp rcx, rdx
jae 0x14000994b
lea rax, [rcx + 1]
mov qword [rdi + 0x28], rax
lea rax, [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140009943
mov rax, qword [rdi + 0x18]
mov word [rax + rcx], 0
jmp 0x14000995e
xor r9d, r9d
lea rcx, [rdi + 0x18]
xor r8d, r8d
lea edx, [r9 + 1]
call fcn.1400067c0
cmp qword [rdi + 0x28], 0x40
jb 0x140009920
lea rcx, [rdi + 0x18]
lea rdx, [rsp + 0x20]
call fcn.14000b1f0
cmp ebp, 0x38
jbe 0x14000999e
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140009ac0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x5c], esi
lea rdx, [rsp + 0x20]
shr rsi, 0x20
mov rcx, rdi
mov dword [rsp + 0x58], esi
call fcn.140009ac0
movzx eax, byte [rdi + 3]
lea rdx, [0x140046db1]
mov byte [r14], al
xor r8d, r8d
movzx eax, byte [rdi + 2]
mov byte [r14 + 1], al
movzx eax, byte [rdi + 1]
mov byte [r14 + 2], al
movzx eax, byte [rdi]
mov byte [r14 + 3], al
movzx eax, byte [rdi + 7]
mov byte [r14 + 4], al
movzx eax, byte [rdi + 6]
mov byte [r14 + 5], al
movzx eax, byte [rdi + 5]
mov byte [r14 + 6], al
movzx eax, byte [rdi + 4]
mov byte [r14 + 7], al
movzx eax, byte [rdi + 0xb]
mov byte [r14 + 8], al
movzx eax, byte [rdi + 0xa]
mov byte [r14 + 9], al
movzx eax, byte [rdi + 9]
mov byte [r14 + 0xa], al
movzx eax, byte [rdi + 8]
mov byte [r14 + 0xb], al
movzx eax, byte [rdi + 0xf]
mov byte [r14 + 0xc], al
movzx eax, byte [rdi + 0xe]
mov byte [r14 + 0xd], al
movzx eax, byte [rdi + 0xd]
mov byte [r14 + 0xe], al
movzx eax, byte [rdi + 0xc]
mov byte [r14 + 0xf], al
movzx eax, byte [rdi + 0x13]
mov byte [r14 + 0x10], al
movzx eax, byte [rdi + 0x12]
mov byte [r14 + 0x11], al
movzx ecx, byte [rdi + 0x11]
mov byte [r14 + 0x12], cl
movzx ecx, byte [rdi + 0x10]
mov byte [r14 + 0x13], cl
lea rcx, [rdi + 0x18]
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov dword [rdi + 0x10], 0xc3d2e1f0
mov qword [rdi + 0x38], 0
call fcn.140005f20
mov rax, r14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140035770
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14000e610
Capabilities:
Hash data using sha256

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400522c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rdi, [rcx + rdx]
mov qword [rsp + 0x80], 0
lea rax, [rcx + 0x40]
mov dword [rsp + 0x20], 0x6a09e667
mov dword [rsp + 0x24], 0xbb67ae85
mov rsi, r8
mov dword [rsp + 0x28], 0x3c6ef372
mov rbx, rcx
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov dword [rsp + 0x3c], 0x5be0cd19
cmp rdi, rax
jb 0x14000e6b3
nop dword [rax]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000bfd0
add qword [rsp + 0x80], 0x40
add rbx, 0x40
lea rax, [rbx + 0x40]
cmp rax, rdi
jbe 0x14000e690
cmp rdi, rbx
jbe 0x14000e6d6
mov r8, rdi
lea rcx, [rsp + 0x40]
sub r8, rbx
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub rdi, rbx
add qword [rsp + 0x80], rdi
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.14000e3f0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140035770
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140014980
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbp, r8
mov rsi, rdx
mov ecx, 0x48
call fcn.140035790
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400149cc
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.140015180
mov eax, dword [rdi]
mov dword [rbx + 0x38], eax
mov qword [rbx + 0x40], rbp
jmp 0x1400149ce
xor ebx, ebx
mov qword [rsp + 0x60], rbx
lea rdi, [rsi + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140014420]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x140014a15
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3