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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
xor ebx, ebx
mov rsi, rcx
mov rdi, rdx
mov rbp, r8
lea r12, [rdi + rbx]
cmp rbx, rbp
jae 0x140001c32
mov rdx, rsi
mov rcx, r12
movups xmm0, xmmword [rdi + rbx]
call fcn.140001902
xor eax, eax
mov dl, byte [rsi + rax + 0xb0]
xor byte [r12 + rax], dl
inc rax
cmp rax, 0x10
jne 0x140001c11
movups xmmword [rsi + 0xb0], xmm0
add rbx, 0x10
jmp 0x140001bf7
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140001ff0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.140008ea0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140008ea0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140002cc2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14000f108]
test eax, eax
je 0x140002d5a
lea rax, [0x14000f0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14000f110]
mov qword [rbp - 8], rax
jmp 0x140002d3e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140002d32
cmp qword [rbp - 0x10], 0
je 0x140002d32
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002cf8
lea rax, [0x14000f0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140002d5b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140002e60
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140002e88
mov eax, 0
jmp 0x140002ed6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140002eb1
mov eax, 0
jmp 0x140002ed6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140002ed1
mov eax, 0
jmp 0x140002ed6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140002edc
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 0x140002f5a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140002f51
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 0x140002f51
mov rax, qword [rbp - 8]
jmp 0x140002f6f
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 0x140002f24
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001220
Capabilities:
Delete file
Download url
Execute command
Receive data

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, vtable.DownloadProgress.0
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea r8, str.PCXSense.rar
lea rax, [rsp + 0x30]
xor ecx, ecx
lea rdx, str.https:__github.com_Denellyne_PCXSense_releases_download_Latest_PCXSense.rar
mov qword [rsp + 0x20], rax
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
lea rcx, str.unrar_x__o_PCXSense.rar
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.PCXSense.rar
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, str.PCXSense.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001920
add rsp, 0x48
ret

Function at 0x140002254
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000229e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000229e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000229e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000229e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000229e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400022a0
xor al, al
add rsp, 0x28
ret
Function at 0x140ac2528
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140ac26af
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140ac2559
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ac253f
add dl, dl
jne 0x140ac2566
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ac25c6
xor eax, eax
add dl, dl
jne 0x140ac2575
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ac267d
add dl, dl
jne 0x140ac2586
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ac2593
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ac25a0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ac25ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ac25ba
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ac254e
mov eax, 1
add dl, dl
jne 0x140ac25d6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ac25e3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ac25cb
sub eax, ebx
mov ebx, 1
jne 0x140ac261c
mov ecx, 1
add dl, dl
jne 0x140ac25fe
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ac260b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ac25f3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ac254e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ac2638
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ac2645
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ac262d
cmp eax, 0x7d00
jae 0x140ac266b
cmp eax, 0x500
jb 0x140ac2666
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ac254e
cmp eax, 0x7f
ja 0x140ac266e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ac254e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ac26a2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140ac254e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14000df30]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14000df40]
mov dword [rax], 1
mov rax, qword [0x14000df50]
mov dword [rax], 1
mov rax, qword [0x14000ded0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14000df20]
mov dword [0x140011020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14000e030]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14000e010]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14000de80]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x14000193b
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x14000195a
mov rcx, rdx
call sym.strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sym.fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sym.fflush

Function at 0x1400052b5
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
sub rsp, 0xe38
xor eax, eax
mov r11d, 6
lea rsi, [rsp + 0xe]
mov r9, rcx
mov ecx, 0xe22
mov r10, rdx
mov rdi, rsi
rep stosb byte [rdi], al
mov rax, rcx
cqo
idiv r11
mov al, byte [r10 + rdx]
xor al, byte [r9 + rcx]
mov byte [rsi + rcx], al
inc rcx
cmp rcx, 0xe22
jne 0x1400052db
mov rdi, r8
rep movsb byte [rdi], byte [rsi]
add rsp, 0xe38
pop rsi
pop rdi
ret

Function at 0x140005760
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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x1400057d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400220a4]
mov rbx, rcx
test esi, esi
jle 0x140005900
mov rax, qword [0x1400220a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000581b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400058a5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140005800
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140005922
mov rax, qword [0x1400220a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400220a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140005907
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000589e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400058b0
add dword [0x1400220a4], 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 [0x1400220a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000589e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140005828
mov rax, qword [0x1400220a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140005e90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140022100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400220e0]
test rbx, rbx
je 0x140005eec
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 0x140005ee3
test rsi, rsi
je 0x140005ee3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140005ec8
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 0x140006100
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140006118
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140006120
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140006130
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000617d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140006174
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000617f
add rax, 0x28
cmp rax, r9
jne 0x140006160
xor eax, eax
ret

Function at 0x140006180
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140006210
mov rdx, qword [0x14000ded0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400061fe
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400061fe
cmp word [rax + 0x18], 0x20b
jne 0x1400061fe
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140006210
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400061e9
add rbx, 0x28
cmp rbx, rdi
je 0x140006210
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400061e0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140006220
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000ded0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140006240
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140006248
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140006240
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000629d
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 0x140006294
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140006240
add rax, 0x28
cmp rax, r9
jne 0x140006280
xor eax, eax
ret

Function at 0x1400062a0
Capabilities:
Parse pe header

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

Function at 0x1400062e0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000ded0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140006300
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140006308
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140006300
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140006350
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140006347
test rcx, rcx
je 0x140006300
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140006338
xor eax, eax
ret
Function at 0x140006360
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000ded0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000637f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140006388
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400063a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000ded0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400063c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400063c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400063c0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400063c0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140006414
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140006420
add rdx, 0x28
cmp r9, rdx
jne 0x140006400
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140006430
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000ded0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140006452
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140006460
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140006452
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140006452
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140006452
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400064b5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400064c8
add rdx, 0x28
cmp rdx, r10
jne 0x1400064a0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400064d7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400064e7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400064be
test ecx, ecx
jg 0x1400064d0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x6e6c1ca0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x6e6c1cbf
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush

Function at 0x6e6c1ce0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.6e6d8a00]
mov r8d, 0x3f
mov edx, 1
lea rcx, str._GC__tjcygecwqruzabqdounougnycokcpvruiwxtzlndqdazdgedwldtcdgogj
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop

Function at 0x6e6c1d20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.6e6d8a00]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__tiiitgjvysbpgrsbdputghpxrumsbwnjoanoxykvfdhnofrnrkjnyocwvoiuzztvauaojb
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
push rdi
push rsi
push rbx
sub rsp, 0x20
xor ecx, ecx
mov rdi, qword [fcn.6e6d8a00]
call rdi
mov rsi, qword [sym.imp.msvcrt.dll__fileno]
mov rcx, rax
call rsi
mov edx, 0x8000
mov rbx, qword [sym.imp.msvcrt.dll__setmode]
mov ecx, eax
call rbx
mov ecx, 1
call rdi
mov rcx, rax
call rsi
mov edx, 0x8000
mov ecx, eax
call rbx
mov ecx, 2
call rdi
mov rcx, rax
call rsi
mov edx, 0x8000
mov ecx, eax
call rbx
lea rcx, [0x6e6db750]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov qword [0x6e6e3fe0], rax
je 0x6e6c1de8
lea rdx, str.inet_ntop
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x6e6e1028], rax
mov rax, qword [0x6e6ef420]
cmp rax, 0xdab
jg 0x6e6c1f55
lea rcx, [rax + 1]
lea rdx, [0x6e6e4440]
cmp rcx, 0xdac
mov qword [0x6e6ef420], rcx
lea rbx, [0x6e6cd330]
mov qword [rdx + rax*8], rbx
je 0x6e6c1f55
lea rsi, [0x6e6cd320]
mov qword [rdx + rcx*8], rsi
lea rcx, [rax + 2]
cmp rcx, 0xdac
mov qword [0x6e6ef420], rcx
je 0x6e6c1f55
lea rdi, [0x6e6cd2d0]
mov qword [rdx + rcx*8], rdi
lea rcx, [rax + 3]
cmp rcx, 0xdac
mov qword [0x6e6ef420], rcx
je 0x6e6c1f55
lea rdi, [0x6e6cd2c0]
movdqa xmm0, xmmword [0x6e6dca90]
mov qword [rdx + rcx*8], rdi
lea rcx, [rax + 4]
cmp rcx, 0xdac
mov qword [0x6e6ef420], rcx
movaps xmmword [0x6e6eb1a0], xmm0
je 0x6e6c1f55
lea rbx, [0x6e6cd2a0]
mov qword [rdx + rcx*8], rbx
lea rcx, [rax + 5]
cmp rcx, 0xdac
mov qword [0x6e6ef420], rcx
je 0x6e6c1f55
lea rsi, [0x6e6cd290]
add rax, 6
mov qword [rdx + rcx*8], rsi
lea rsi, [0x6e6c1450]
mov qword [0x6e6ef420], rax
lea rax, [0x6e6c13c0]
movq xmm0, rsi
lea rdi, [0x6e6cb040]
movq xmm1, rax
lea rax, [0x6e6c13d0]
punpcklqdq xmm0, xmm1
movaps xmmword [0x6e6e4330], xmm0
movq xmm0, rdi
lea rbx, [0x6e6c1430]
movq xmm2, rax
lea rax, [0x6e6c13e0]
punpcklqdq xmm0, xmm2
movaps xmmword [0x6e6e4340], xmm0
movq xmm0, rbx
movq xmm3, rax
lea rax, [0x6e6d4e20]
punpcklqdq xmm0, xmm3
movaps xmmword [0x6e6e4350], xmm0
mov qword [0x6e6e4360], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.6e6c1d20
nop
nop dword [rax + rax]
Function at 0x6e6c31b0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rdx
xor edx, edx
test r11, r11
je 0x6e6c321b
cmp r11, 0xffffffffffffffff
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
je 0x6e6c3220
mov rax, 0xffffffffffffffff
xor edx, edx
div r11
not rdx
nop word cs:[rax + rax]
lea rax, [r8 + r9]
xor r9, r8
ror r8, 9
mov r10, r9
xor r8, r9
ror r9, 0x1c
shl r10, 0xe
xor r8, r10
cmp rdx, rax
jb 0x6e6c31e0
movq xmm0, r8
movq xmm1, r9
add r11, 1
punpcklqdq xmm0, xmm1
xor edx, edx
movups xmmword [rcx], xmm0
div r11
mov rax, rdx
ret
lea rdx, [r8 + r9]
xor r9, r8
ror r8, 9
mov rax, r9
xor r8, r9
ror r9, 0x1c
shl rax, 0xe
mov qword [rcx + 8], r9
xor r8, rax
mov rax, rdx
mov qword [rcx], r8
ret