joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b7a4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b7ba
mov al, 1
jmp 0x14001b81a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b7cb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b818
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400198f8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b818
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b818
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b818
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b81a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001fcd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001fcf8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001fcf8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400111e0
Capabilities:
Terminate process

Disassembly:
jmp 0x140014ed0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001125d
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012ce0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012d00
xor al, al
jmp 0x140012d81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012d13
xor al, al
jmp 0x140012d81
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140012d3d
xor al, al
jmp 0x140012d81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012d51
xor al, al
jmp 0x140012d81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012d63
xor al, al
jmp 0x140012d81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012d7f
xor al, al
jmp 0x140012d81
mov al, 1
add rsp, 0x38
ret
Function at 0x1400017ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001838
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001830
cmp dword [rcx + 0x3c], edx
jl 0x140001830
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001830
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140001838
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140001960
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001988
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140001988
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x14000b000
Capabilities:
Terminate process

Disassembly:
movabs rcx, 0x14000b06d
sub rsp, 0x30
movabs rax, sym.imp.KERNEL32.dll_LoadLibraryA
call qword [rax]
add rsp, 0x30
movabs rdx, 0x14000b076
mov rcx, rax
sub rsp, 0x30
movabs rax, sym.imp.SHELL32.dll_ShellExecuteW
call qword [rax]
add rsp, 0x30
push 0
push 0
mov r9, 0
movabs r8, 0x14000b083
mov rdx, 0
mov rcx, 0
call rax
add rsp, 0x10
jmp fcn.140001750
Function at 0x1400014e0
Capabilities:
Write file on windows

Disassembly:
push rbx
mov eax, 0x1070
call fcn.14000dc90
sub rsp, rax
mov rax, qword [0x140e8b968]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov eax, dword [0x140e8cb00]
mov rbx, rcx
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x4c], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x30], 0x64
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x48], 0x1000
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x140e8caf8]
lea r9, [rsp + 0x58]
mov r8d, 0x29
mov dword [rsp + 0x4c], eax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000f530
mov rax, rbx
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.14000dd00
add rsp, 0x1070
pop rbx
ret

Function at 0x1400015a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140e8b968]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [0x140e8cb00]
mov rbx, rcx
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x4c], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x30], 0x64
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], 0x14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x140e8caf8]
lea r9, [rsp + 0x58]
mov r8d, 0x29
mov dword [rsp + 0x4c], eax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000dd00
add rsp, 0x70
pop rbx
ret

Function at 0x140001640
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140e8b968]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [0x140e8cb00]
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x4c], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x30], 0x64
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x48], 8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x140e8caf8]
lea r9, [rsp + 0x58]
mov r8d, 0x29
mov dword [rsp + 0x4c], eax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000dd00
add rsp, 0x78
ret
Function at 0x140005420
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov byte [rbp - 0x11], 0x63
mov al, 0x2d
mov cl, 0x17
mov dl, 0x20
mov r8b, 0xf
mov r9b, 0xc
mov r10b, 0x10
mov r11b, 6
xor ebx, ebx
xor al, 0x63
mov byte [rbp - 0x10], al
xor cl, 0x63
mov byte [rbp - 0xf], cl
xor dl, 0x63
mov byte [rbp - 0xe], dl
xor r8b, 0x63
mov byte [rbp - 0xd], r8b
xor r9b, 0x63
mov byte [rbp - 0xc], r9b
xor r10b, 0x63
mov byte [rbp - 0xb], r10b
xor r11b, 0x63
mov byte [rbp - 0xa], r11b
mov byte [rbp - 9], bl
movdqa xmm0, xmmword [0x14002aad0]
movdqu xmmword [rbp + 0x2f], xmm0
mov byte [rbp + 0x1f], bl
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x1400054b0
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x1f]
call fcn.140007b90
nop
movdqa xmm0, xmmword [0x14002aae0]
movdqu xmmword [rbp - 1], xmm0
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rbp - 1]
xor byte [rbp + rcx], al
inc rcx
cmp rcx, 0xe
jb 0x1400054e0
mov byte [rbp + 0xe], 0
lea rdx, [rbp]
lea rcx, [rbp + 0xf]
call fcn.140005620
mov rsi, rax
mov rbx, qword [rax]
mov rdi, qword [rbx + 8]
mov r14, rbx
cmp byte [rdi + 0x19], 0
jne 0x140005546
nop word [rax + rax]
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x1f]
call fcn.140008200
shr eax, 0x1f
test al, al
je 0x14000553a
mov rdi, qword [rdi + 0x10]
jmp 0x140005540
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x140005520
cmp rbx, r14
je 0x14000555f
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x1f]
call fcn.140008200
shr eax, 0x1f
test al, al
je 0x14000559a
lea rax, [rbp + 0x1f]
mov qword [rbp + 0x6f], rax
lea r9, [rbp + 0x67]
lea r8, [rbp + 0x6f]
lea rdx, [0x140029490]
mov rcx, rsi
call fcn.1400016e0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp + 0x67]
mov rcx, rsi
call fcn.140001a40
mov rbx, qword [rbp + 0x67]
mov rbx, qword [rbx + 0x40]
mov r9, qword [rbp + 0xf]
mov r8, qword [r9]
lea rdx, [rbp + 0x67]
lea rcx, [rbp + 0xf]
call fcn.140008710
mov edx, 0x48
mov rcx, qword [rbp + 0xf]
call fcn.14000d8b4
nop
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x1400055f8
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005613
call fcn.14000d8b4
mov rax, rbx
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140011d2c
int3
Function at 0x140005ca0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x140e8b968]
xor rax, rsp
mov qword [rsp + 0x268], rax
mov rax, qword [0x140e8caf8]
mov rbx, rcx
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140005d6a
xor edx, edx
mov qword [rsp + 0x30], 0
mov r8d, 0x210
lea rcx, [rsp + 0x48]
call fcn.14000f990
mov eax, dword [0x140e8cb00]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], 0x258
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x248], eax
mov r8, 0xffffffffffffffff
lea rax, [rsp + 0x30]
mov qword [rsp + 0x250], rax
inc r8
cmp byte [rbx + r8], 0
jne 0x140005d20
inc r8
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.140012ff8
mov rcx, qword [0x140e8caf8]
lea r9, [rsp + 0x260]
mov r8d, 0x219
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rsp + 0x30]
jmp 0x140005d6c
xor eax, eax
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.14000dd00
add rsp, 0x270
pop rbx
ret

Function at 0x140005d90
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140e8b968]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [0x140e8caf8]
mov rbx, r9
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140005e16
mov eax, dword [0x140e8cb00]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x40], edx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x140e8caf8]
lea r9, [rsp + 0x58]
mov r8d, 0x29
mov dword [rsp + 0x48], eax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000dd00
add rsp, 0x70
pop rbx
ret
Function at 0x140005e30
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
lea rbp, [r11 - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x140e8b968]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rax, qword [0x140e8caf8]
mov edi, r8d
dec rax
mov rbx, rcx
cmp rax, 0xfffffffffffffffd
ja 0x140005f7a
mov eax, dword [0x140e8cb00]
xorps xmm0, xmm0
mov qword [r11 - 0x20], rsi
xor esi, esi
mov qword [rbp + 0x1b], rsi
mov dword [rbp + 0x23], esi
mov qword [r11 - 0x28], r14
mov dword [rbp - 1], 0xc8
mov dword [rbp + 3], eax
mov qword [rbp + 7], rdx
mov qword [rbp + 0xf], rcx
mov dword [rbp + 0x17], r8d
movdqu xmmword [rbp - 0x11], xmm0
mov dword [rbp - 0x29], 0x12c
mov dword [rbp - 0x25], eax
mov qword [rbp - 0x21], rcx
mov dword [rbp - 0x15], 0x40
mov dword [rbp - 0x19], r8d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x140e8caf8]
lea r14, [0x140e9b7d0]
lea r9, [rbp + 0x27]
mov dword [rbp - 0x11], eax
lea r8d, [rsi + 0x29]
mov qword [rbp - 9], r14
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x140e8caf8]
lea r9, [rbp + 0x2b]
lea r8d, [rsi + 0x28]
mov qword [rsp + 0x20], rsi
lea rdx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [0x140e8caf8]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140005f6a
mov eax, dword [0x140e8cb00]
xorps xmm0, xmm0
mov dword [rbp - 0x25], eax
mov eax, dword [0x140e9b7d0]
mov dword [rbp - 0x15], eax
movdqu xmmword [rbp - 0x11], xmm0
mov dword [rbp - 0x29], 0x12c
mov qword [rbp - 0x21], rbx
mov dword [rbp - 0x19], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [0x140e8caf8]
lea r9, [rbp + 0x27]
lea r8d, [rsi + 0x29]
mov dword [rbp - 0x11], eax
lea rdx, [rbp - 0x29]
mov qword [rbp - 9], r14
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rsi, qword [rsp + 0x98]
mov r14, qword [rsp + 0x90]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14000dd00
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret
Function at 0x140006a50
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [0x140e8b968]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call fcn.14000f990
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, rbx
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14000dd00
add rsp, 0xf0
pop rbx
ret

Function at 0x140009c30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140e8b968]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140009c5d
xor eax, eax
jmp 0x140009da3
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140009c97
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140009c97
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 0x140009da3
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140009d96
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140009cda
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 0x140009ce9
movsx ecx, dil
jmp 0x140009d3d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
js 0x140009d96
cmp eax, 1
jle 0x140009d57
cmp eax, 3
jne 0x140009d96
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.1400137f8
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140009d9b
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140009d84
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.1400140dc
cmp rsi, rax
jne 0x140009d96
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140009d9b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000dd00
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140012224
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400120b7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400120b7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400120b7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400120b7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400120b7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400120b7
cmp dword [rcx + 0xf8], 0
je 0x1400120b7
mov ecx, ebx
call fcn.140012158
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140011f48
cmp dword [rbp + 0x20], 0
je 0x140012104
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001210c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140012050
Function at 0x140003fc0
Capabilities:
Encode data using xor

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

Function at 0x140003ff0
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 + 0x60], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x140004024
mov ecx, esi
lea eax, [rcx + 0x5e]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140004010
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], sil
cmp r9, rax
je 0x140004059
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.14000a1f0
nop
cmp byte [rbx + 0xa], 0
je 0x140004083
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x5e]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x140004070
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
cmp rbx, rax
je 0x1400040b8
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000a1f0
nop
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.14000c500
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000410c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004106
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004106
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be230
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000414c
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004147
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004147
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be230
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140004160
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 0x140004194
mov ecx, esi
lea eax, [rcx + 0x5e]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x140004180
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 0x1400041c9
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.14000a1f0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400041d7
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.14000d6a0
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 0x14000424c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004247
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004247
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be230
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140004260
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 0x140004294
mov ecx, esi
lea eax, [rcx + 0x5e]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 9
jb 0x140004280
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 0x1400042c9
mov r8d, 9
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.14000a1f0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400042d7
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.14000d6a0
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 0x14000434c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004347
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004347
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be230
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140004360
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x140004388
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x5e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x140004370
mov byte [rcx + 0x136], 0
mov rax, rcx
ret
Function at 0x140004d70
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 + 0x60], rcx
xor esi, esi
cmp byte [r8 + 0xb], sil
je 0x140004da4
mov ecx, esi
lea eax, [rcx + 0x5e]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x140004d90
mov byte [r8 + 0xb], sil
lea rax, [r8 + 0xa]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], sil
cmp r9, rax
je 0x140004dd9
mov r8d, 0xa
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.14000a1f0
nop
cmp byte [rbx + 0xb], 0
je 0x140004e03
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x5e]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 0xa
jb 0x140004df0
mov byte [rbx + 0xb], 0
lea rax, [rbx + 0xa]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
cmp rbx, rax
je 0x140004e38
mov r8d, 0xa
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000a1f0
nop
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.14000c500
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140004e8c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004e86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be230
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140004ecc
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ec7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ec7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be230
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret