joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a3734
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [0x14030ca08]
xor rax, rsp
mov qword [rsp + 0x18], rax
lea rax, [rsp + 0x10]
mov qword [rsp + 8], rax
mov dword [rsp], 2
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
xor eax, 0x56ad48a9
sub eax, 0x4e957b3c
shl eax, 0xb
mov ecx, dword [rsp + 4]
xor ecx, 0x56ad48a9
sub ecx, 0x4e957b3c
shr ecx, 0x15
or eax, ecx
mov rcx, qword [rsp + 8]
mov dword [rcx - 4], eax
mov eax, dword [rsp]
dec eax
mov dword [rsp], eax
cmp dword [rsp], 0
jne 0x1400a3767
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.1401179f0
add rsp, 0x28
ret

Function at 0x1400a46b4
Capabilities:
Enumerate gui resources

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov rax, qword [0x14030ca08]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14007ec14
lea rcx, [rsp + 0x20]
call fcn.14008c874
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1400a4725
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x1400a4725
cmp qword [rsp + 0x30], 0
je 0x1400a4725
mov rax, qword [rsp + 0x30]
jmp 0x1400a4727
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401179f0
add rsp, 0x58
ret
Function at 0x1400a4a10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdx, [0x14030d4e0]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call sub.d3d9.dll_Direct3DCreate9Ex
test eax, eax
jge 0x1400a4a3d
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rax, [0x14030d4f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov dword [0x14030d518], 1
mov dword [0x14030d508], 1
mov rax, qword [rsp + 0x90]
mov qword [0x14030d510], rax
mov dword [0x14030d504], 0
mov dword [0x14030d4f8], 0x15
mov eax, dword [0x14030d5c8]
mov dword [0x14030d4f0], eax
mov eax, dword [0x14030d5cc]
mov dword [0x14030d4f4], eax
mov dword [0x14030d51c], 1
mov dword [0x14030d520], 0x50
mov dword [0x14030d52c], 0x80000000
mov rax, qword [0x14030d4e0]
mov rax, qword [rax]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x48], rax
lea rax, [0x14030d4e8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
lea rax, [0x14030d4f0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x40
mov r9, qword [rsp + 0x90]
mov r8d, 1
xor edx, edx
mov rcx, qword [0x14030d4e0]
call qword [rsp + 0x48]
test eax, eax
jge 0x1400a4b3a
mov rax, qword [0x14030d4e0]
mov rax, qword [rax]
mov rcx, qword [0x14030d4e0]
call qword [rax + reloc.WS2_32.dll_recv]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor ecx, ecx
call fcn.1400133b0
call fcn.140017b64
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x50], rax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.140034180
call fcn.140017b64
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x50]
call fcn.140039398
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
movss xmm3, dword [0x1401223a0]
mov r8d, 0x273b8
lea rdx, [0x14017be60]
mov rcx, qword [rsp + 0x60]
call fcn.140034750
mov qword [0x14030d620], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x50]
call fcn.140039398
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
movss xmm3, dword [0x140127688]
mov r8d, 0x273b8
lea rdx, [0x14017be60]
mov rcx, qword [rsp + 0x70]
call fcn.140034750
mov qword [0x14030d628], rax
call fcn.1400b2d10
mov rcx, qword [rsp + 0x90]
call fcn.14004f618
mov rcx, qword [0x14030d4e8]
call fcn.14004daf4
xor eax, eax
add rsp, 0x80
pop rdi
ret
Function at 0x1400a6ab0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14030ca08]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov rax, qword [rsp + 0x80]
add rax, 0x18
mov rcx, rax
call fcn.140087d70
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
sub eax, 0x5a39ac35
xor eax, 0xed3d74b4
add eax, 0x1ffff951
mov rcx, qword [rsp + 0x28]
mov dword [rcx - 4], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400a6afd
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x38]
call fcn.1400982fc
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401179f0
add rsp, 0x78
ret
Function at 0x1400b3110
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x1400b3144
mov eax, esi
lea ecx, [rax + 0x6d]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x1400b3130
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x1400b3179
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.14007ae78
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400b3187
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14007b258
mov qword [rdi], rsi
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 + 0x38]
cmp rdx, 0x10
jb 0x1400b31fe
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b31f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b31f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140117150
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b3210
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x1400b3244
mov ecx, esi
lea eax, [rcx + 0x6d]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x1400b3230
mov byte [r8 + 9], sil
lea rax, [r8 + 8]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x1400b3279
mov r8d, 8
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.14007ae78
nop
cmp byte [rbx + 9], 0
je 0x1400b32a3
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x6d]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 8
jb 0x1400b3290
mov byte [rbx + 9], 0
lea rax, [rbx + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x1400b32d8
mov r8d, 8
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14007ae78
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140088900
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400b3331
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b332b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b332b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140117150
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400b3371
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b336c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b336c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140117150
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b3380
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x1400b33b4
mov eax, esi
lea ecx, [rax + 0x6d]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x1400b33a0
mov byte [r8 + 9], sil
lea rax, [r8 + 8]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x1400b33e9
mov r8d, 8
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.14007ae78
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400b33f7
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14007b258
mov qword [rdi], rsi
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 + 0x38]
cmp rdx, 0x10
jb 0x1400b346e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b3469
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b3469
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140117150
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b3480
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x1400b34b4
mov ecx, esi
lea eax, [rcx + 0x6d]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x1400b34a0
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x1400b34e9
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.14007ae78
nop
cmp byte [rbx + 0xa], 0
je 0x1400b3513
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x6d]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x1400b3500
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x1400b3548
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14007ae78
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140088900
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400b35a1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b359b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b359b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140117150
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400b35e1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b35dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b35dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140117150
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b35f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x1400b3624
mov eax, esi
lea ecx, [rax + 0x6d]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x1400b3610
mov byte [r8 + 0xa], sil
lea rax, [r8 + 9]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x1400b3659
mov r8d, 9
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.14007ae78
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400b3667
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14007b258
mov qword [rdi], rsi
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 + 0x38]
cmp rdx, 0x10
jb 0x1400b36de
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b36d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b36d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140117150
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400b36f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 0xc], sil
je 0x1400b3724
mov eax, esi
lea ecx, [rax + 0x6d]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x1400b3710
mov byte [r8 + 0xc], sil
lea rax, [r8 + 0xb]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x1400b3759
mov r8d, ntohs
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.14007ae78
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400b3767
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14007b258
mov qword [rdi], rsi
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 + 0x38]
cmp rdx, 0x10
jb 0x1400b37de
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b37d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b37d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140117150
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b37f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x1400b3824
mov ecx, esi
lea eax, [rcx + 0x6d]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x1400b3810
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x1400b3859
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.14007ae78
nop
cmp byte [rbx + 0xd], 0
je 0x1400b3883
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x6d]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 0xc
jb 0x1400b3870
mov byte [rbx + 0xd], 0
lea rax, [rbx + 0xc]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x1400b38b8
mov r8d, ntohs
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14007ae78
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140088900
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400b3911
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b390b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b390b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140117150
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400b3951
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b394c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b394c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140117150
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400ba7e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 5], r8b
je 0x1400ba813
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x6d]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 4
jb 0x1400ba800
mov byte [rdx + 5], r8b
lea rcx, [rdx + 4]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x1400ba83c
mov r8d, 4
mov rcx, rbx
call fcn.14007ae78
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400ba850
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 8], r8b
je 0x1400ba883
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x6d]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 7
jb 0x1400ba870
mov byte [rdx + 8], r8b
lea rcx, [rdx + 7]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x1400ba8ac
mov r8d, 7
mov rcx, rbx
call fcn.14007ae78
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x1400ba8c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 9], r8b
je 0x1400ba8f3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x6d]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 8
jb 0x1400ba8e0
mov byte [rdx + 9], r8b
lea rcx, [rdx + 8]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x1400ba91c
mov r8d, 8
mov rcx, rbx
call fcn.14007ae78
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400ba930
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x10], r8b
je 0x1400ba963
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x6d]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xf
jb 0x1400ba950
mov byte [rdx + 0x10], r8b
lea rcx, [rdx + 0xf]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x1400ba98c
mov r8d, reloc.WS2_32.dll_ntohs
mov rcx, rbx
call fcn.14007ae78
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400ba9a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0xb], r8b
je 0x1400ba9d3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x6d]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xa
jb 0x1400ba9c0
mov byte [rdx + 0xb], r8b
lea rcx, [rdx + 0xa]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x1400ba9fc
mov r8d, 0xa
mov rcx, rbx
call fcn.14007ae78
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400baa80
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14030ca08]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x40]
xor edx, edx
mov rcx, rax
lea r8, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
xor esi, esi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400bab2d
mov qword [rsp + 0x28], rsi
lea r8d, [rsi + 2]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
jne 0x1400bab5c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov qword [rbx], rsi
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401179f0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 8], rax
mov qword [rbx], rdi
jmp 0x1400bab34
Function at 0x1400bb050
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14030ca08]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400bb123
cmp byte [rcx + 0x71], 0
je 0x1400bb123
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400bb11f
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 0x1400bb0e4
sub eax, 1
je 0x1400bb0e8
cmp eax, 2
jne 0x1400bb11f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401179f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400bb116
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 0x1400bb11f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400bb0cc
xor al, al
jmp 0x1400bb0cc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401179f0
add rsp, 0x60
pop rbx
ret

Function at 0x1400bc1c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x1400bc1e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6d]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x1400bc1d0
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x1400bc1f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3c], 0
je 0x1400bc213
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6d]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x3b
jb 0x1400bc200
mov byte [rcx + 0x3c], 0
mov rax, rcx
ret

Function at 0x1400bc220
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x1400bc243
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6d]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x43
jb 0x1400bc230
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x1400bc250
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x1400bc273
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6d]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x1400bc260
mov byte [rcx + 0x47], 0
mov rax, rcx
ret