joyce8/EMBER2024-capa huggingface dataset:
Function at 0x259dc1de0
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 0x259dc1e2d
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 0x259dc1e24
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x259dc1e2f
add rax, 0x28
cmp rax, r9
jne 0x259dc1e10
xor eax, eax
ret

Function at 0x259dc1e30
Capabilities:
Parse pe header

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

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

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

Function at 0x259dc1f60
Capabilities:
Parse pe header

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

Function at 0x259dc1fa0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x259dc4230]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x259dc1fc0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x259dc1fc8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x259dc1fc0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x259dc2010
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x259dc2007
test rcx, rcx
je 0x259dc1fc0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x259dc1ff8
xor eax, eax
ret
Function at 0x259dc2020
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x259dc4230]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x259dc2080
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x259dc2088
ret
cmp word [r8 + 0x18], 0x20b
jne 0x259dc2080
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x259dc2080
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 0x259dc20d4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x259dc20e0
add rdx, 0x28
cmp rdx, r9
jne 0x259dc20c0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x259dc4230]
xor r8d, r8d
cmp word [r11], 0x5a4d
mov r10d, ecx
jne 0x259dc2114
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
cmp dword [rcx], 0x4550
je 0x259dc2120
mov rax, r8
ret
cmp word [rcx + 0x18], 0x20b
jne 0x259dc2114
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x259dc2114
movzx edx, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rdx, [rcx + rdx + 0x18]
test r9w, r9w
je 0x259dc2114
lea ecx, [r9 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rdx + 0xc]
mov rcx, r8
cmp rax, r8
jb 0x259dc216c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x259dc2180
add rdx, 0x28
cmp r9, rdx
jne 0x259dc2158
xor r8d, r8d
mov rax, r8
ret
add rax, r11
jmp 0x259dc2190
sub r10d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x259dc219e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x259dc2175
test r10d, r10d
jg 0x259dc2188
mov r8d, dword [rax + 0xc]
add r8, r11
mov rax, r8
ret
Function at 0x140073ae0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x4050
call fcn.14019ef90
sub rsp, rax
mov rax, qword [0x14023cac0]
xor rax, rsp
mov qword [rsp + 0x4040], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi], rcx
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rcx
mov dword [rsp + 0x20], 1
lea r8, [rsp + 0x30]
mov edx, 0x4000
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140073b8e
mov eax, dword [rsp + 0x30]
shr eax, 2
test eax, eax
je 0x140073b8e
lea rbx, [rsp + 0x40]
mov esi, eax
nop dword [rax]
mov eax, dword [rbx]
test eax, eax
je 0x140073b84
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140073b79
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x140073b84
mov r8, rbx
mov rcx, rdi
call fcn.140074910
add rbx, 4
sub rsi, 1
jne 0x140073b60
mov rax, rdi
mov rcx, qword [rsp + 0x4040]
xor rcx, rsp
call fcn.14019e640
lea r11, [rsp + 0x4050]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400778f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
xor r10d, r10d
mov rdi, r9
lea r9, section..data
mov rbp, r8
mov r15, rdx
mov r12, rcx
mov r11, rdx
test r8, r8
je 0x140077964
lea rdx, [r8 - 1]
test rdx, rdx
je 0x14007795c
nop word [rax + rax]
movzx eax, byte [r11]
movzx ecx, dl
and cl, 0x1f
inc r11
mov eax, dword [r9 + rax*4]
rol eax, cl
xor r10d, eax
sub rdx, 1
jne 0x140077940
movzx eax, byte [r11]
xor r10d, dword [r9 + rax*4]
test rdi, rdi
je 0x1400779b4
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x140077970
mov r8, rdi
test rax, rax
je 0x1400779b4
lea rdx, [rax - 1]
test rdx, rdx
je 0x1400779ac
nop word [rax + rax]
movzx eax, byte [r8]
movzx ecx, dl
and cl, 0x1f
inc r8
mov eax, dword [r9 + rax*4]
rol eax, cl
xor r10d, eax
sub rdx, 1
jne 0x140077990
movzx ecx, byte [r8]
xor r10d, dword [r9 + rcx*4]
xor edx, edx
mov eax, r10d
div dword [r12]
xor esi, esi
mov r14d, edx
mov rbx, qword [r12 + rdx*8 + 8]
test rbx, rbx
je 0x140077a45
nop dword [rax]
cmp qword [rbx + 8], rbp
jne 0x1400779f0
mov rcx, qword [rbx]
mov r8, rbp
mov rdx, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400779f0
mov r9d, 1
jmp 0x1400779f3
xor r9d, r9d
mov rax, qword [rbx + 0x10]
cmp rax, rdi
je 0x140077a2b
test rax, rax
je 0x140077a27
test rdi, rdi
je 0x140077a27
mov r8, rdi
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140077a23
inc rax
test ecx, ecx
jne 0x140077a10
test edx, edx
je 0x140077a2b
xor eax, eax
jmp 0x140077a30
mov eax, 1
test r9d, r9d
je 0x140077a39
test eax, eax
jne 0x140077a66
mov rsi, rbx
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x1400779d0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
cmp dword [rsp + 0x60], 0
mov rdi, qword [rbx + 0x18]
je 0x140077aa3
mov rcx, qword [rbx + 0x20]
test rsi, rsi
jne 0x140077a81
mov qword [r12 + r14*8 + 8], rcx
jmp 0x140077a85
mov qword [rsi + 0x20], rcx
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140077a93
call fcn.14007ca60
mov rcx, qword [rbx]
call fcn.14007ca60
mov rcx, rbx
call fcn.14007ca60
mov rax, rdi
jmp 0x140077a47

Function at 0x140077ab0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdx
mov r9d, ecx
test r8, r8
je 0x140077af4
lea rdx, [r8 - 1]
lea r8, section..data
test rdx, rdx
je 0x140077aec
nop dword [rax + rax]
movzx eax, byte [r10]
movzx ecx, dl
and cl, 0x1f
inc r10
mov eax, dword [r8 + rax*4]
rol eax, cl
xor r9d, eax
sub rdx, 1
jne 0x140077ad0
movzx eax, byte [r10]
xor r9d, dword [r8 + rax*4]
mov eax, r9d
ret

Function at 0x140077cc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rsp + 0x28]
mov r10, rcx
cmp eax, 0xfffffffe
jb 0x140077cd2
mov eax, 0x1d
ret
lea ecx, [rax + 1]
mov qword [rsp + 0x28], rcx
mov rcx, r10
jmp fcn.140077b30
Function at 0x14007e690
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
xor ecx, ecx
mov edx, 0x1f
cmp eax, 0xffffffff
mov dword [rbx], eax
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret

Function at 0x14007e6f0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
mov edx, 0x1f
test eax, eax
cmove ecx, edx
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14007ea50
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rdx
test rcx, rcx
jne 0x14007ea69
mov eax, 0x1d
add rsp, 0x40
pop rbx
ret
mov qword [rsp + 0x58], rbp
xor r9d, r9d
mov qword [rsp + 0x60], rsi
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov edx, 0x80000000
mov qword [rsp + 0x68], rdi
mov r8d, 7
mov edi, 3
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14007eb54
lea rdx, [rsp + 0x50]
mov qword [rbx], rax
mov rcx, rax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 8], rbp
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14007eb44
mov rax, qword [rsp + 0x50]
mov qword [rbx + 8], rax
test rax, rax
je 0x14007eb6b
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor edx, edx
mov r8d, 2
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rbx + 0x18], rax
mov rcx, rax
mov edi, 4
test rax, rax
je 0x14007eb40
mov rax, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14007eb73
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x18], rbp
mov qword [rbx + 8], rbp
mov rcx, rsi
mov qword [rbx], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
add rsp, 0x40
pop rbx
ret
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x10], rbp
mov edi, ebp
jmp 0x14007eb54
Function at 0x1400aae30
Capabilities:
Parse pe header

Disassembly:
mov r10, r8
mov r9, rdx
cmp rdx, 0x40
jb 0x1400aae9d
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400aaea3
movsxd rax, dword [rcx + 0x3c]
test eax, eax
js 0x1400aaea3
lea rdx, [rax + 0x18]
cmp r9, rdx
jb 0x1400aaea3
add rax, rcx
add rdx, 0xe0
cmp dword [rax], 0x4550
jne 0x1400aaea3
movzx r8d, word [rax + 4]
mov r11d, 0x14c
cmp r8w, r11w
je 0x1400aae86
mov r11d, 0x8664
cmp r8w, r11w
jne 0x1400aaea3
cmp r9, rdx
jbe 0x1400aaea3
mov edx, 0x2000
test word [rax + 0x16], dx
jne 0x1400aaea3
mov eax, dword [rax + 0x28]
add rax, r10
ret
cmp r9, 0x10
jb 0x1400aaec4
cmp dword [rcx], 0x464c457f
jne 0x1400aaec4
movzx edx, byte [rcx + 4]
mov r8d, edx
sub r8d, 1
je 0x1400aaecf
cmp r8d, 1
jne 0x1400aaec4
cmp r9, 0x40
jae 0x1400aaed5
movabs rax, 0xfffabadafabadaff
ret
cmp r9, 0x34
jb 0x1400aaec4
sub edx, 1
je 0x1400aaeee
cmp edx, 1
jne 0x1400aaec4
cmp word [rcx + 0x10], 2
jne 0x1400aaec4
mov rax, qword [rcx + 0x18]
add rax, r10
ret
cmp word [rcx + 0x10], 2
jne 0x1400aaec4
mov eax, dword [rcx + 0x18]
add rax, r10
ret
Function at 0x1400b3150
Capabilities:
Parse pe header

Disassembly:
cmp rdx, 0x40
jb 0x1400b31b0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400b31b0
movsxd rax, dword [rcx + 0x3c]
test eax, eax
js 0x1400b31b0
lea r8, [rax + 0x18]
cmp rdx, r8
jb 0x1400b31b0
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400b31b0
lea rcx, [r8 + 0xe0]
cmp rdx, rcx
jb 0x1400b31b0
mov r10d, 0x20b
mov ecx, 0xf0
cmp word [rax + 0x18], r10w
mov r9d, 0xe0
cmovne ecx, r9d
add rcx, r8
xor r8d, r8d
cmp rdx, rcx
cmovb rax, r8
ret
xor eax, eax
ret

Function at 0x1400b31c0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov r14, qword [rcx + 0x10]
mov rbp, rdx
mov rdi, rcx
mov r13d, 0xffffffff
movzx eax, word [r14 + 0x14]
lea r9, [r14 + 0x18]
movzx r12d, word [r14 + 6]
add r9, rax
xor r15d, r15d
mov r11d, r15d
mov r8d, r15d
mov esi, r15d
mov ebx, r15d
nop dword [rax]
mov eax, r12d
cmp r12d, 0x60
jb 0x1400b321e
mov eax, 0x60
cmp ebx, eax
jge 0x1400b32d1
mov rcx, qword [rdi + 8]
cmp rcx, 0x28
jb 0x1400b3311
mov rax, qword [rdi]
cmp r9, rax
jb 0x1400b3311
add rax, 0xffffffffffffffd8
add rax, rcx
cmp r9, rax
ja 0x1400b3311
mov edx, dword [r9 + 0xc]
mov r10d, dword [r9 + 0x10]
cmp r13d, edx
mov eax, edx
cmovbe eax, r13d
mov r13d, eax
mov eax, dword [r9 + 8]
cmp rbp, rdx
jb 0x1400b32c6
cmp eax, r10d
cmovbe eax, r10d
mov ecx, eax
mov rax, rbp
sub rax, rdx
cmp rax, rcx
jae 0x1400b32c6
cmp r11d, edx
ja 0x1400b32c6
mov ecx, dword [r14 + 0x3c]
mov r11d, edx
mov r8d, dword [r9 + 0x14]
mov esi, r10d
cmp ecx, 0x200
jae 0x1400b32a2
test ecx, ecx
je 0x1400b32b5
jmp 0x1400b32a7
mov ecx, 0x200
xor edx, edx
mov eax, r8d
div ecx
test edx, edx
je 0x1400b32b5
sub r8d, edx
cmp dword [r14 + 0x38], 0x1000
jb 0x1400b32c6
and r8d, 0xfffffe00
add r9, 0x28
inc ebx
jmp 0x1400b3210
mov edx, r13d
cmp rbp, rdx
jae 0x1400b32dc
mov esi, dword [rdi + 8]
mov r9d, r15d
mov eax, esi
cmovae r9d, r11d
mov rcx, rbp
sub rcx, r9
cmp rcx, rax
jae 0x1400b3311
cmp rbp, rdx
mov rcx, 0xffffffffffffffff
cmovae r15d, r8d
mov eax, r15d
sub rax, r9
add rax, rbp
cmp rax, qword [rdi + 8]
cmovae rax, rcx
jmp 0x1400b3318
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x1400b93d0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15d, dword [rcx]
lea rsi, [rdx + 8]
movsxd rbx, r8d
lea r13, [rcx + 8]
movabs r10, 0xaaaaaaaaaaaaaaab
mov r8d, 3
mov rax, r10
xor edi, edi
lea rbp, [rbx + r15]
mul rbp
mov rax, r10
shr rdx, 1
lea rcx, [rdx + rdx*2]
mov rdx, rbp
sub rdx, rcx
lea rcx, [r15*4 + 3]
sub r8d, edx
test rdx, rdx
cmove r8d, edi
mul rcx
movsxd rcx, r8d
lea rax, [rbx + 9]
shr rdx, 1
add rax, rdx
mov dword [r9], r8d
add rcx, rax
call fcn.14007cae0
mov r14, rax
test rax, rax
je 0x1400b9473
mov rcx, rbp
call fcn.14007cae0
mov rbp, rax
test rax, rax
jne 0x1400b947a
mov rcx, r14
call fcn.14007ca60
xor eax, eax
jmp 0x1400b9595
test ebx, ebx
jle 0x1400b948d
mov r8, rbx
mov dl, 0x41
mov rcx, rbp
mov edi, ebx
call sub.VCRUNTIME140.dll_memset
movsxd rdi, edi
mov r8, r15
mov rdx, r13
lea rcx, [rdi + rbp]
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rdi + r15]
mov rdx, rbp
lea rbx, [r14 + 8]
lea r9, [r8 + rbp]
cmp r8, 3
jl 0x1400b9526
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
sub r8, 3
shr rax, 2
movzx eax, byte [rax + rsi]
mov byte [rbx], al
movzx ecx, byte [rdx]
movzx eax, byte [rdx + 1]
and ecx, 3
shr rax, 4
shl rcx, 4
or rcx, rax
movzx eax, byte [rcx + rsi]
mov byte [rbx + 1], al
movzx ecx, byte [rdx + 1]
movzx eax, byte [rdx + 2]
and ecx, 0xf
shr rax, 6
shl rcx, 2
or rcx, rax
movzx eax, byte [rcx + rsi]
mov byte [rbx + 2], al
movzx eax, byte [rdx + 2]
add rdx, 3
and eax, 0x3f
movzx eax, byte [rax + rsi]
mov byte [rbx + 3], al
add rbx, 4
cmp r8, 3
jge 0x1400b94c0
sub r9, rdx
je 0x1400b9581
movzx eax, byte [rdx]
shr rax, 2
movzx eax, byte [rax + rsi]
mov byte [rbx], al
movzx ecx, byte [rdx]
and ecx, 3
shl rcx, 4
cmp r9, 1
jne 0x1400b9553
movzx eax, byte [rcx + rsi]
mov byte [rbx + 1], al
mov al, 0x3d
jmp 0x1400b9570
movzx eax, byte [rdx + 1]
shr rax, 4
or rax, rcx
movzx eax, byte [rax + rsi]
mov byte [rbx + 1], al
movzx eax, byte [rdx + 1]
and eax, 0xf
movzx eax, byte [rsi + rax*4]
lea rcx, [rbx + 2]
mov rbx, rcx
mov byte [rcx], al
add rbx, 2
mov byte [rcx + 1], 0x3d
mov rcx, rbp
call fcn.14007ca60
sub ebx, r14d
mov rax, r14
sub ebx, 8
mov dword [r14], ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400c96f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
add r8d, 0xdeadbeef
mov rdi, rdx
add r8d, edx
mov r11, rcx
mov r10d, r8d
mov ebx, r8d
cmp rdx, 0xc
jbe 0x1400c9823
mov qword [rsp + 0x10], rsi
lea r9, [rdx - 0xd]
movabs rax, 0xaaaaaaaaaaaaaaab
mul r9
mov rsi, rdx
shr rsi, 3
inc rsi
imul rax, rsi, 0xfffffffffffffff4
add rdi, rax
nop dword [rax]
movzx eax, byte [r11 + 6]
movzx ecx, byte [r11 + 7]
movzx r9d, byte [r11 + 4]
movzx edx, byte [r11 + 8]
add r9d, r10d
shl ecx, 8
add edx, r8d
add ecx, eax
movzx eax, byte [r11 + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [r11 + 0xa]
shl ecx, 8
add r9d, ecx
movzx ecx, byte [r11 + 0xb]
shl ecx, 8
add ecx, eax
movzx eax, byte [r11 + 9]
shl ecx, 8
add ecx, eax
movzx eax, byte [r11 + 2]
shl ecx, 8
add edx, ecx
movzx ecx, byte [r11 + 3]
shl ecx, 8
mov r8d, edx
add ecx, eax
rol r8d, 4
movzx eax, byte [r11 + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [r11]
shl ecx, 8
add r11, 0xc
add ecx, eax
sub ecx, edx
add edx, r9d
add ecx, ebx
xor r8d, ecx
sub r9d, r8d
mov eax, r8d
add r8d, edx
rol eax, 6
xor eax, r9d
sub edx, eax
mov ecx, eax
add eax, r8d
rol ecx, 8
xor ecx, edx
sub r8d, ecx
mov ebx, ecx
add ecx, eax
rol ebx, 0x10
xor ebx, r8d
sub eax, ebx
mov r10d, ebx
ror r10d, 0xd
add ebx, ecx
xor r10d, eax
sub ecx, r10d
mov r8d, r10d
rol r8d, 4
add r10d, ebx
xor r8d, ecx
sub rsi, 1
jne 0x1400c9740
mov rsi, qword [rsp + 0x10]
cmp rdi, 0xc
ja 0x1400c98ac
lea rcx, [0x140000000]
mov eax, dword [rcx + rdi*4 + 0xc990c]
add rax, rcx
jmp rax
movzx eax, byte [r11 + 0xb]
shl eax, 0x18
add r8d, eax
movzx eax, byte [r11 + 0xa]
shl eax, 0x10
add r8d, eax
movzx eax, byte [r11 + 9]
shl eax, 8
add r8d, eax
movzx eax, byte [r11 + 8]
add r8d, eax
movzx eax, byte [r11 + 7]
shl eax, 0x18
add r10d, eax
movzx eax, byte [r11 + 6]
shl eax, 0x10
add r10d, eax
movzx eax, byte [r11 + 5]
shl eax, 8
add r10d, eax
movzx eax, byte [r11 + 4]
add r10d, eax
movzx eax, byte [r11 + 3]
shl eax, 0x18
add ebx, eax
movzx eax, byte [r11 + 2]
shl eax, 0x10
add ebx, eax
movzx eax, byte [r11 + 1]
shl eax, 8
add ebx, eax
movzx eax, byte [r11]
add ebx, eax
xor r8d, r10d
mov eax, r10d
rol eax, 0xe
sub r8d, eax
mov eax, r8d
mov edx, r8d
rol eax, 0xb
xor edx, ebx
sub edx, eax
xor r10d, edx
mov eax, edx
ror eax, 7
sub r10d, eax
xor r8d, r10d
mov eax, r10d
rol eax, 0x10
sub r8d, eax
mov eax, r8d
mov ecx, r8d
rol eax, 4
xor ecx, edx
sub ecx, eax
xor r10d, ecx
mov eax, ecx
rol eax, 0xe
sub r10d, eax
mov eax, r10d
xor r8d, r10d
ror eax, 8
sub r8d, eax
mov eax, r8d
mov rbx, qword [rsp + 0x18]
pop rdi
ret

Function at 0x1400cd310
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.14019ef90
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1400fa930
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x28
call fcn.14019ef90
sub rsp, rax
lea rcx, [0x14023fae0]
add rsp, 0x28
jmp fcn.1400cd170
Function at 0x140133f50
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.14019ef90
sub rsp, rax
mov r10, rdx
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
add rdx, 0xf
lea rax, [r8 + 0xf]
mov r11, rcx
cmp r10, rax
ja 0x140133f80
xor r9d, r9d
cmp rdx, r8
jae 0x140133f99
movdqu xmm1, xmmword [r10]
movdqu xmm0, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [r10], xmm1
mov r9d, reloc.WS2_32.dll_recv
cmp r9, 0x10
jae 0x140133fc1
sub r8, r10
lea rax, [r9 + r10]
mov edx, reloc.WS2_32.dll_recv
sub rdx, r9
nop
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140133fb0
mov rcx, qword [r11 + 8]
lea r8, [rsp + 0x40]
mov r9, r10
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov rdx, r10
call fcn.1400d18e0
test eax, eax
je 0x140133ff2
cmp dword [rsp + 0x40], 0x10
jne 0x140133ff2
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret

Function at 0x1401341a0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x140134228
test r8, r8
je 0x140134228
mov rax, qword [rcx + 0x18]
cmp r8, rax
mov r9, rax
cmovb r9, r8
test r9, r9
je 0x1401341e6
add rcx, 0x20
mov r11, rdx
sub r11, r10
nop
movzx eax, byte [r11 + rcx - 0x20]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x1401341d0
mov rax, qword [r10 + 0x18]
cmp r8, rax
jbe 0x140134228
sub r8, rax
mov eax, reloc.WS2_32.dll_recv
cmp r8, rax
cmova r8, rax
xor ecx, ecx
test r8, r8
je 0x140134228
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r10 + 0x18]
add rax, rcx
movzx eax, byte [rax + rdx]
xor byte [r10 + rcx + 0x40], al
inc rcx
cmp rcx, r8
jb 0x140134210
ret

Function at 0x14017def0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.14019ef90
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x14017df19
lea rax, [0x14017c560]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.1401752c0
lea rax, [0x14017b720]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.140175010

Function at 0x14019f330
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14019f37a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14019f37a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14019f37a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14019f37a
cmp dword [rcx + 0x84], 0xe
jbe 0x14019f37a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14019f37c
xor al, al
add rsp, 0x28
ret

Function at 0x140001b78
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001bc2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001bc2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001bc2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001bc2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001bc2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001bc4
xor al, al
add rsp, 0x28
ret
Function at 0x140067990
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140067f10
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400679cf
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1403a0008]
jmp 0x1400679d9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret