joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401ef330
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140d8e080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1401ef3c5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1401ef426
lea rdx, [0x1402227e8]
mov rcx, rdi
call fcn.1401c9880
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1402024e0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1401ef4e1
sub ecx, 1
je 0x1401ef554
sub ecx, 1
je 0x1401ef490
cmp ecx, 1
je 0x1401ef473
lea r8, [0x140222818]
mov rcx, rdi
lea rdx, [0x14021f900]
call fcn.1401c9880
jmp 0x1401ef554
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1401ef060
test eax, eax
je 0x1401ef554
jmp 0x1401ef3fa
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1401ef554
sub rax, rsi
cmp rax, rbp
jae 0x1401ef554
mov r8, rsi
lea rdx, [0x140222808]
mov rcx, rdi
call fcn.1401c9a00
jmp 0x1401ef554
cmp r8d, 4
jle 0x1401ef554
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1401ef554
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1401c97a0
mov esi, eax
test eax, eax
je 0x1401ef533
mov edx, 5
mov rcx, rbx
call fcn.1401f0020
mov eax, esi
jmp 0x1401ef3fa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1401d8280
mov rcx, r14
call fcn.1401d8560
test eax, eax
je 0x1401ef3f8
mov edx, 5
mov rcx, rbx
call fcn.1401f0020
mov eax, Ordinal_46
jmp 0x1401ef3fa
Function at 0x1402022f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140202332
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140202379
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1402023d2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140202390
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140202413
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14022507a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14022507b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1402023e0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14020356c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1402035b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402035b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402035b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402035b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1402035b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1402035b8
xor al, al
add rsp, 0x28
ret
Function at 0x180001c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push r12
push r15
sub rsp, 0x80
xor r8d, r8d
lea r15, [rcx + 0x378]
xor edx, edx
mov rbp, qword [r15 + 0x10]
mov r12, rcx
mov qword [rsp + 0xb8], r8
mov qword [rsp + 0xb0], rbp
test rbp, rbp
je 0x180001f71
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r14
mov rax, qword [rbp + 0x10]
mov rsi, qword [rbp]
mov r13, qword [rbp + 8]
inc edx
mov qword [rsp + 0xa8], rax
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0xa0], edx
test al, 1
je 0x180001f39
test al, 8
jne 0x180001f39
mov rax, rsi
and eax, 7
jne 0x180001c9e
xor eax, eax
jmp 0x180001ca4
neg rax
and eax, 7
lea rdi, [rax + rsi]
mov rax, qword [rax + rsi + 8]
mov r14, rax
mov qword [rsp + 8], rbx
mov qword [rsp + 8], rbx
mov eax, r8d
mov r8d, r9d
dec r9d
leave
mov word [rbx + rax*2], r12w
movzx ecx, word [rbx + r9*2]
mov eax, dword [0x1800abc18]
cmp cx, ax
jne 0x180001f31
movzx eax, byte [r10]
mov edx, r12d
test al, al
je 0x180001f7a
nop dword [rax]
movsx ecx, al
lea edx, [rdx + 1]
mov eax, r8d
inc r8d
mov word [rbx + rax*2], cx
movzx eax, byte [rdx + r10]
test al, al
jne 0x180001f61
mov r9d, dword [0x1800abc08]
mov rcx, rdi
mov r8d, dword [0x1800abc04]
mov edx, dword [0x1800abc1c]
call fcn.180001cb1
mov ecx, dword [0x1800abbe0]
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ecx
mov ecx, dword [0x1800abbe8]
mov edx, dword [0x1800abbf8]
lea r8d, [r9 + 1]
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call rax
mov r9d, dword [0x1800abc08]
mov rcx, rdi
mov r8d, dword [0x1800abc04]
mov rsi, rax
mov edx, dword [0x1800abc2c]
call fcn.180001cb1
xor edx, edx
mov rcx, rsi
call rax
mov ecx, dword [0x1800abc08]
mov r14d, eax
cmp eax, ecx
jne 0x180001ffb
mov ecx, 2
call rbp
mov r9d, dword [0x1800abc08]
mov rcx, rdi
mov r8d, dword [0x1800abc04]
mov edx, dword [0x1800abbdc]
call fcn.180001cb1
lea r9, [rsp + 0xa8]
mov dword [rsp + 0xa8], r12d
mov r8d, r14d
mov qword [rsp + 0x20], r12
mov rdx, rbx
mov rcx, rsi
call rax
test eax, eax
jne fcn.180002040
lea ecx, [rax + 2]
call rbp
Function at 0x180001cb1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov r10d, r9d
mov ebx, r8d
movsxd r9, dword [rcx + 0x3c]
mov ebp, edx
add r9, rcx
mov rdi, rcx
mov eax, dword [r9 + r10*8 + 0x88]
xor r10d, r10d
add rax, rcx
mov r11d, dword [rax + 0x20]
mov r14d, dword [rax + 0x1c]
add r11, rcx
mov r15d, dword [rax + 0x24]
add r14, rcx
mov esi, dword [rax + 0x18]
add r15, rcx
test esi, esi
je 0x180001d63
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r11]
xor eax, eax
add rdx, rdi
xor r8d, r8d
cmp byte [rdx], al
je 0x180001d53
nop
inc r8d
cmp byte [r8 + rdx], al
jne 0x180001d21
test r8d, r8d
je 0x180001d53
mov r9d, r8d
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
imul eax, ebx
add eax, ecx
sub r9, 1
jne 0x180001d41
cmp eax, ebp
je 0x180001d7e
inc r10d
add r11, 4
cmp r10d, esi
jb 0x180001d11
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
movzx ecx, word [r15 + r10*2]
mov eax, dword [r14 + rcx*4]
add rax, rdi
jmp 0x180001d65

Function at 0x180001e01
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov edi, dword [0x1800abbd8]
xor r12d, r12d
mov rax, qword gs:[0x60]
mov rbx, qword [rax + 0x18]
add rbx, 0x10
mov r11, qword [rbx]
cmp r11, rbx
je 0x180001e97
nop word [rax + rax]
mov r10, qword [r11 + 0x60]
mov r9d, r12d
mov r8, r12
movzx eax, word [r10]
test ax, ax
je 0x180001e83
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x41]
lea edx, [rax + 0x20]
cmp cx, 0x19
lea r8, [r8 + 1]
cmova dx, ax
movzx eax, dx
add r9d, eax
movzx eax, word [r10 + r8*2]
test ax, ax
jne 0x180001e61
lea eax, [r9 + r9*2]
cmp edi, eax
je 0x1800022d2
mov r11, qword [r11]
cmp r11, rbx
jne 0x180001e41
mov rdi, r12
mov r9d, dword [0x1800abc08]
mov rcx, rdi
mov r8d, dword [0x1800abc04]
mov edx, dword [0x1800abc14]
call fcn.180001cb1
mov ebx, dword [0x1800abbe4]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r9d, dword [0x1800abc08]
mov rcx, rdi
mov r8d, dword [0x1800abc04]
mov rbx, rax
mov edx, dword [0x1800abc00]
call fcn.180001cb1
mov r8d, 0x104
mov rdx, rbx
xor ecx, ecx
call rax
mov r10, qword [0x1800abc24]
mov r8d, eax
mov ecx, dword [0x1800abc18]
lea r9d, [rax - 1]
movzx edx, word [rbx + r9*2]
cmp dx, cx
je 0x180001f4f
nop dword [rax]
nop word [rax + rax]
mov rdi, qword [r11 + 0x30]
jmp 0x180001e9a
Function at 0x140007350
Capabilities:
Set file attributes

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140096080]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140007430
nop
cmp qword [rsp + 0xb8], 0
je 0x140007408
lea rdx, [0x140096128]
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rdx, qword [0x140096128]
mov r8, qword [0x140096138]
lea rcx, [rsp + 0x30]
call fcn.14000bc00
lea rcx, [rsp + 0x38]
call fcn.140008ae0
test rax, rax
jne 0x1400073ef
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
cmp qword [rbx + 0x18], 0xf
jbe 0x1400073f9
mov rbx, qword [rbx]
mov edx, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop
lea rcx, [rsp + 0x30]
call fcn.140004bd0
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400745c0
add rsp, 0x150
pop rbx
ret

Function at 0x140007900
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 0x140007928
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 0x14000794e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140007950
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400079a9
test ecx, ecx
jle 0x140007989
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 0x1400079a9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400079a9
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 0x1400079d0
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 0x1400079f2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140007a08
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 0x140007a24
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140007a26
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007a62
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 0x140007afe
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140007a9d
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 0x140007ade
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 0x140007afe
cmp rbx, rax
ja 0x140007ab0
test rbx, rbx
je 0x140007afe
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 0x140007f60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140096080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140007f8d
xor eax, eax
jmp 0x1400080f9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140007fc7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140007fc7
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 0x1400080f9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400080ec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000800a
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 0x140008035
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 0x1400080f1
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 0x1400080a4
sub eax, 1
je 0x1400080a4
cmp eax, 2
jne 0x1400080ec
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 0x1400080f1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400080d2
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 0x1400080ec
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400080f1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400745c0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400089f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140096080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140008ac3
cmp byte [rcx + 0x71], 0
je 0x140008ac3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x140008abf
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 0x140008a84
sub eax, 1
je 0x140008a88
cmp eax, 2
jne 0x140008abf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400745c0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140008ab6
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 0x140008abf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140008a6c
xor al, al
jmp 0x140008a6c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400745c0
add rsp, 0x60
pop rbx
ret

Function at 0x14000d990
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x14000d9c4
mov eax, esi
lea ecx, [rax - 0x15]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x14000d9b0
mov byte [r8 + 7], sil
add r8, 6
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14000b7d0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000d9e9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14000b280
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000da63
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000da5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000da5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007492c
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000da70
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x14000daa4
mov eax, esi
lea ecx, [rax - 0x15]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x14000da90
mov byte [r8 + 9], sil
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14000b7d0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000dac9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14000b280
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000db43
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000db3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000db3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007492c
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000db50
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x14000db84
mov eax, esi
lea ecx, [rax - 0x15]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x14000db70
mov byte [r8 + 0xa], sil
add r8, 9
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14000b7d0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000dba9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14000b280
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000dc23
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dc1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dc1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007492c
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret