joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400254c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x32a8], 0
lea rbx, [rcx + 0x32b0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140025567
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002551a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140034f90
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400347e0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x32a8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x32b8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401cba10]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002556f
mov rcx, rbx
call fcn.1400347e0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14002e410
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1401cba08]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x3244], ecx
test rbx, rbx
je 0x14002e47f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.14002e490
lea rdx, [0x1400c659c]
mov rcx, rbx
mov rdi, rax
call fcn.140022f20
mov rbx, rax
test rax, rax
je 0x14002e47a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x140032130
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x1401cba08]
cmp byte [rbx + 0x3240], 0
jne 0x1400322a6
cmp dword [rbx + 0x3268], 0
je 0x14003216d
mov r8d, 0x2b20
lea rdx, str.C:UsersFinishDesktopJhonNet_Cimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14003229f
lea rdx, [0x1400c6598]
mov qword [rsp + 0x40], rdi
call fcn.140022f20
mov rdi, rax
test rax, rax
je 0x14003229a
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140032287
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140032287
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140032287
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140032287
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x140032287
mov rax, qword [0x1401cba08]
test rax, rax
je 0x140032216
inc dword [rax + 0x3b0]
mov rdx, qword [0x1401cba18]
mov rcx, rbp
call qword [0x140122030]
mov rsi, rax
test rax, rax
je 0x140032287
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rbp
je 0x140032252
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140032263
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.140024d60
mov rax, qword [0x1401cba08]
test rax, rax
je 0x140032275
dec dword [rax + 0x3b0]
mov rdx, qword [0x1401cba18]
mov rcx, rsi
call qword [0x140122038]
jmp 0x140032290
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x3240], 1
movss xmm0, dword [rbx + 0x3244]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1400322f7
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x3244], xmm0
jb 0x1400322f7
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400322e6
call fcn.14002e410
mov dword [rbx + 0x3244], 0
add rsp, 0x20
pop rbx
ret
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x3244], 0
add rsp, 0x20
pop rbx
ret
Function at 0x1400567e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
push r12
push r14
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
mov rax, qword [0x1401cad28]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [0x1401cba08]
lea rdx, [rsp + 0x30]
movss xmm1, dword [rcx + 0x2c]
mov rdi, rcx
movss xmm0, dword [rax + 0x1674]
mov r12, qword [rax + 0x1d28]
subss xmm1, xmm0
movaps xmm2, xmm0
movss xmm0, dword [rcx + 0x30]
addss xmm2, dword [rax + 0x1a90]
movss xmm6, dword [r12 + 0x118]
movss xmm7, dword [r12 + 0x11c]
movss dword [r12 + 0x11c], xmm0
movss dword [r12 + 0x118], xmm1
addss xmm2, dword [rcx + 0x2c]
movss dword [rcx + 0x2c], xmm2
mov ecx, 1
movups xmm0, xmmword [rax + 0x170c]
movups xmmword [rsp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [0x1400bfe64]
movss dword [rsp + 0x3c], xmm0
call fcn.14002af00
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov ecx, reloc.WLDAP32.dll_Ordinal_22
movups xmmword [rsp + 0x20], xmm0
call fcn.14002af00
xor edx, edx
lea rcx, [0x1400c86b0]
lea r8d, [rdx + 0x50]
call fcn.14004d6d0
mov ecx, 2
movzx ebx, al
call fcn.14002a8b0
xor r14d, r14d
test bl, bl
je 0x1400569cd
mov eax, dword [rdi]
mov qword [rsp + 0xb0], rsi
mov esi, r14d
test eax, eax
jle 0x1400569c0
mov qword [rsp + 0xa8], rbp
mov ebp, r14d
mov qword [rsp + 0x70], r15
mov r15d, r14d
nop
test rbp, rbp
js 0x140056909
cmp esi, eax
jl 0x140056923
mov r8d, 0x6c8
lea rdx, str.C:UsersFinishDesktopJhonNet_Cimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [rdi + 8]
add rbx, r15
test dword [rbx + 4], 0x200000
jne 0x1400569a0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140056941
mov rcx, qword [rcx]
jmp 0x14005697c
movsx ecx, word [rbx + 0x24]
cmp cx, 0xffff
je 0x140056953
cmp ecx, dword [rdi + 0x88]
jl 0x140056971
mov r8d, 0x8ac
lea rdx, str.C:UsersFinishDesktopJhonNet_Cimguiimgui_internal.h
lea rcx, str.tab__NameOffset____1___int_tab__NameOffset___TabsNames.Buf.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx ecx, word [rbx + 0x24]
movsx rcx, cx
add rcx, qword [rdi + 0x90]
mov eax, dword [rbx]
lea r9, [rsp + 0x20]
cmp dword [rdi + 0x18], eax
mov qword [rsp + 0x20], 0
sete dl
xor r8d, r8d
call fcn.140054540
test al, al
cmovne r14, rbx
mov eax, dword [rdi]
inc esi
inc rbp
add r15, 0x30
cmp esi, eax
jl 0x140056900
mov r15, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xa8]
call fcn.14001fd60
mov rsi, qword [rsp + 0xb0]
movss dword [r12 + 0x118], xmm6
mov rax, r14
movss dword [r12 + 0x11c], xmm7
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400bbf50
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x78
pop r14
pop r12
pop rdi
pop rbx
ret
Function at 0x14005ae60
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r9d, r9d
cmp byte [r8 + 6], r9b
je 0x14005ae94
mov ecx, r9d
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x14005ae80
mov byte [r8 + 6], r9b
mov qword [rsp + 0x20], r9
lea rax, [r8 + 5]
cmp r8, rax
jne 0x14005aeb7
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
jmp 0x14005aee0
mov qword [rsp + 0x30], 5
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, byte [r8 + 4]
mov byte [rsp + 0x24], al
mov byte [rsp + 0x25], r9b
nop
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.14005adf0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14005af2e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005af29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005af29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb9cc
mov rax, rbx
add rsp, 0x50
pop rbx
ret

Function at 0x14005af40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r9d, r9d
cmp byte [r8 + 7], r9b
je 0x14005af74
mov ecx, r9d
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x14005af60
mov byte [r8 + 7], r9b
mov qword [rsp + 0x20], r9
lea rax, [r8 + 6]
cmp r8, rax
jne 0x14005af97
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
jmp 0x14005afc0
mov qword [rsp + 0x30], 6
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x26], r9b
nop
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.14005adf0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14005b00e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b009
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b009
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb9cc
mov rax, rbx
add rsp, 0x50
pop rbx
ret
Function at 0x14005b020
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r9d, r9d
cmp byte [r8 + 9], r9b
je 0x14005b054
mov ecx, r9d
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x14005b040
mov byte [r8 + 9], r9b
mov qword [rsp + 0x20], r9
lea rax, [r8 + 8]
cmp r8, rax
jne 0x14005b077
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
jmp 0x14005b0a0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov rax, qword [r8]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x28], r9b
nop word [rax + rax]
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.14005adf0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14005b0ee
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b0e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b0e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb9cc
mov rax, rbx
add rsp, 0x50
pop rbx
ret
Function at 0x14005b100
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 6], r9b
je 0x14005b144
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x14005b130
mov byte [r8 + 6], r9b
mov qword [rbp - 0x38], r9
lea rax, [r8 + 5]
cmp r8, rax
jne 0x14005b163
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], 0
jmp 0x14005b185
mov qword [rbp - 0x28], 5
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov eax, dword [r8]
mov dword [rbp - 0x38], eax
movzx eax, byte [r8 + 4]
mov byte [rbp - 0x34], al
mov byte [rbp - 0x33], r9b
cmp byte [rdx + 0xa], 0
je 0x14005b1a3
mov rcx, r9
nop
lea eax, [rcx - 0x75]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 9
jb 0x14005b190
mov byte [rdx + 0xa], 0
mov qword [rbp - 0x58], r9
lea rax, [rdx + 9]
cmp rdx, rax
jne 0x14005b1c2
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
jmp 0x14005b1f0
mov qword [rbp - 0x48], 9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
movzx eax, byte [rdx + 8]
mov byte [rbp - 0x50], al
mov byte [rbp - 0x4f], 0
nop word [rax + rax]
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.1400610c0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14005b244
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b23e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b23e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb9cc
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14005b282
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b27d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b27d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb9cc
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x14005b2a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r9d, r9d
cmp byte [r8 + 0xa], r9b
je 0x14005b2d4
mov ecx, r9d
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 9
jb 0x14005b2c0
mov byte [r8 + 0xa], r9b
mov qword [rsp + 0x20], r9
lea rax, [r8 + 9]
cmp r8, rax
jne 0x14005b2f7
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
jmp 0x14005b322
mov qword [rsp + 0x30], 9
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [r8]
movsd qword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 8]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x29], r9b
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.14005adf0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14005b370
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b36b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b36b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb9cc
mov rax, rbx
add rsp, 0x50
pop rbx
ret
Function at 0x14005b380
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 0xb], r9b
je 0x14005b3c4
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x14005b3b0
mov byte [r8 + 0xb], r9b
mov qword [rbp - 0x38], r9
lea rax, [r8 + 0xa]
cmp r8, rax
jne 0x14005b3e3
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], 0
jmp 0x14005b410
mov qword [rbp - 0x28], 0xa
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [r8]
movsd qword [rbp - 0x38], xmm0
movzx eax, word [r8 + 8]
mov word [rbp - 0x30], ax
mov byte [rbp - 0x2e], r9b
nop word [rax + rax]
cmp byte [rdx + 0xb], 0
je 0x14005b433
mov rcx, r9
nop dword [rax]
lea eax, [rcx - 0x75]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x14005b420
mov byte [rdx + 0xb], 0
mov qword [rbp - 0x58], r9
lea rax, [rdx + 0xa]
cmp rdx, rax
jne 0x14005b452
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
jmp 0x14005b480
mov qword [rbp - 0x48], 0xa
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
movzx eax, word [rdx + 8]
mov word [rbp - 0x50], ax
mov byte [rbp - 0x4e], 0
nop word [rax + rax]
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.1400610c0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14005b4d4
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b4ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b4ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb9cc
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14005b512
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b50d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b50d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb9cc
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x14005b530
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r9d, r9d
cmp byte [r8 + 0xc], r9b
je 0x14005b564
mov ecx, r9d
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xb
jb 0x14005b550
mov byte [r8 + 0xc], r9b
mov qword [rsp + 0x20], r9
lea rax, [r8 + 0xb]
cmp r8, rax
jne 0x14005b587
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
jmp 0x14005b5c0
mov qword [rsp + 0x30], send
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [r8]
movsd qword [rsp + 0x20], xmm0
movzx eax, word [r8 + 8]
mov word [rsp + 0x28], ax
movzx eax, byte [r8 + 0xa]
mov byte [rsp + 0x2a], al
mov byte [rsp + 0x2b], r9b
nop dword [rax]
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.14005adf0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14005b60e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b609
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b609
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb9cc
mov rax, rbx
add rsp, 0x50
pop rbx
ret
Function at 0x14005b620
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 0xb], r9b
je 0x14005b664
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x14005b650
mov byte [r8 + 0xb], r9b
mov qword [rbp - 0x38], r9
lea rax, [r8 + 0xa]
cmp r8, rax
jne 0x14005b683
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], 0
jmp 0x14005b6b0
mov qword [rbp - 0x28], 0xa
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [r8]
movsd qword [rbp - 0x38], xmm0
movzx eax, word [r8 + 8]
mov word [rbp - 0x30], ax
mov byte [rbp - 0x2e], r9b
nop word [rax + rax]
cmp byte [rdx + 0xe], 0
je 0x14005b6d3
mov rcx, r9
nop dword [rax]
lea eax, [rcx - 0x75]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0xd
jb 0x14005b6c0
mov byte [rdx + 0xe], 0
mov qword [rbp - 0x58], r9
lea rax, [rdx + 0xd]
cmp rdx, rax
jne 0x14005b6f2
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
jmp 0x14005b720
mov qword [rbp - 0x48], reloc.WS2_32.dll_listen
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
mov eax, dword [rdx + 8]
mov dword [rbp - 0x50], eax
movzx eax, byte [rdx + 0xc]
mov byte [rbp - 0x4c], al
mov byte [rbp - 0x4b], 0
nop dword [rax]
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.1400610c0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14005b774
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b76e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b76e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb9cc
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14005b7b2
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b7ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b7ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb9cc
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret

Function at 0x140063850
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x140063873
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x75]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x43
jb 0x140063860
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x140063880
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x1400638a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x75]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x140063890
mov byte [rcx + 0x47], 0
mov rax, rcx
ret
Function at 0x140082cd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x140082d2e
mov dl, 1
call fcn.140073720
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140073720
mov eax, ebx
jmp 0x140082d72
cmp ebx, 2
ja 0x140082d70
mov r9, qword [rdi + 0x668]
lea rdx, [0x140106d88]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140082d90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x1401cad28]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
jne 0x140082dd3
cmp qword [rcx + 0x678], 0
je 0x140082eb0
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.140071820
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140082e01
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x140082e48
cmp byte [rdi + 0x1597], 0
jne 0x140082e48
lea rdx, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140082e30
mov byte [rdi + 0x1597], 1
cmp byte [rdi + 0xf1e], 0
je 0x140082ea8
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x140082f03
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x140082ec9
mov dl, 1
mov rcx, rdi
call fcn.140073720
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.140073720
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400bbf50
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x140106d88]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140082ea8
call fcn.1400bc770
int3