joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b570
Capabilities:
Resume thread
Suspend thread

Disassembly:
cmp qword [rcx + 0x60], 0xffffffffffffffff
je 0x140004217
mov eax, dword [rcx + 0x38]
shr eax, 5
test al, 1
jne 0x140004217
mov eax, dword [rcx + 0x38]
shr eax, 7
test al, 1
jne 0x140004217
mov rdx, rcx
mov rcx, qword [rcx + 0x60]
jmp 0x14000b570
ret
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x500
mov rax, qword [0x1401fe000]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rax, qword [0x1401fd608]
mov rbx, rdx
mov rdi, rcx
cmp rax, 0xffffffffffffffff
jne 0x14000b5ce
xor edx, edx
lea rcx, str.kernel32
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
lea rdx, str.QueueUserAPC2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401fd608], rax
test rax, rax
je 0x14000b62a
mov rcx, rbx
call fcn.140004510
test al, al
jne 0x14000b678
mov dl, 1
mov rcx, rbx
call fcn.140004590
mov r9d, 0x10001
lea rcx, [0x14000b1e0]
mov r8, rbx
mov rdx, rdi
call qword [0x1401fd608]
test eax, eax
jne 0x14000b678
xor edx, edx
mov rcx, rbx
call fcn.140004590
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x14000b678
mov qword [0x1401fd608], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x14000b678
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x50], 0x40100003
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14000b66f
mov eax, dword [rsp + 0x50]
test eax, eax
jns 0x14000b66f
test eax, 0x18000000
jne 0x14000b66f
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [0x1402031d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140045050
mov rbx, qword [rsp + 0x520]
add rsp, 0x500
pop rdi
ret

Function at 0x14000b800
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x14000b814
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000b8c0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x14000b8e9
add rsp, 0x38
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret

Function at 0x14000b900
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rdx
mov qword [rsp + 0x28], 0
mov r8, rcx
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x14000b935
add rsp, 0x30
pop rbx
ret
mov edx, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x14000cd90
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1401fe000]
xor rax, rsp
mov qword [rsp + 0xd0], rax
movzx ebx, r8b
mov rdi, rdx
mov r8d, 0x40
lea rdx, [rsp + 0x50]
call fcn.14000c9c0
mov r8d, 0x11
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov r11d, eax
lea ecx, [rax - 1]
cmp ecx, 0xf
ja 0x14000ce58
xor ecx, ecx
mov r9d, ecx
test eax, eax
je 0x14000ce51
lea r10, [rsp + 0x20]
movzx r8d, word [r10]
lea eax, [r8 - 0x30]
test bl, bl
je 0x14000ce14
cmp ax, 9
ja 0x14000ce58
lea rcx, [rcx + rcx*4]
lea rcx, [rcx - 0x18]
lea rcx, [r8 + rcx*2]
jmp 0x14000ce45
shl rcx, 4
cmp ax, 9
ja 0x14000ce24
add rcx, 0xffffffffffffffd0
jmp 0x14000ce42
lea eax, [r8 - 0x61]
cmp ax, 5
ja 0x14000ce34
add rcx, 0xffffffffffffffa9
jmp 0x14000ce42
lea eax, [r8 - 0x41]
cmp ax, 5
ja 0x14000ce58
add rcx, 0xffffffffffffffc9
add rcx, r8
inc r9d
add r10, 2
cmp r9d, r11d
jb 0x14000cdf4
mov qword [rdi], rcx
mov al, 1
jmp 0x14000ce5a
xor al, al
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140045050
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rdi
ret
Function at 0x140010c90
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x1401fe000]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
test rcx, rcx
je 0x140010d7f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x48
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x140010d7f
mov rdx, qword [rsp + 0x70]
test r14, r14
je 0x140010d5a
xorps xmm0, xmm0
test rdx, rdx
js 0x140010d01
cvtsi2ss xmm0, rdx
jmp 0x140010d19
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x1401e4bc8]
test rdi, rdi
js 0x140010d33
cvtsi2ss xmm0, rdi
jmp 0x140010d4b
mov rax, rdi
mov rcx, rdi
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov dword [r14], eax
xor eax, eax
test rbx, rbx
je 0x140010d71
cmp rdx, rdi
jbe 0x140010d6b
mov qword [rbx], rax
jmp 0x140010d71
sub rdi, rdx
mov qword [rbx], rdi
test rsi, rsi
je 0x140010e48
jmp 0x140010e45
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsp + 0x28]
jae 0x140010e22
test r14, r14
je 0x140010e11
mov rcx, rdx
xorps xmm0, xmm0
sub rcx, qword [rsp + 0x50]
js 0x140010dbb
cvtsi2ss xmm0, rcx
jmp 0x140010dd0
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x1401e4bc8]
test rdx, rdx
js 0x140010dea
cvtsi2ss xmm0, rdx
jmp 0x140010e02
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov dword [r14], eax
test rbx, rbx
je 0x140010e19
mov qword [rbx], rdx
test rsi, rsi
je 0x140010e48
xor eax, eax
jmp 0x140010e45
test r14, r14
je 0x140010e2e
mov eax, dword [rsp + 0x24]
mov dword [r14], eax
test rbx, rbx
je 0x140010e3b
mov rax, qword [rsp + 0x30]
mov qword [rbx], rax
test rsi, rsi
je 0x140010e48
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140045050
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop r14
pop rdi
pop rsi
ret
Function at 0x140010e70
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x1a0
mov rax, qword [0x1401fe000]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, rcx
test rcx, rcx
je 0x140010ea8
mov byte [rcx], 0
xor ebx, ebx
mov rbp, 0xffffffffffffffff
mov r15d, ebx
mov dword [rsp + 0x30], ebx
mov r14d, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
je 0x140010f80
cmp dword [rsp + 0x30], ebx
je 0x140010f80
mov r9d, 0x90
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x100]
xor ecx, ecx
lea edx, [rbp + 0xa]
call qword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x140010f80
mov eax, dword [rsp + 0x110]
mov rdx, rbp
bt eax, 9
mov rcx, rbp
mov rsi, rbp
cmovb rdx, qword [rsp + 0x178]
bt eax, 8
cmovb rcx, qword [rsp + 0x170]
test al, 1
cmovne rsi, qword [rsp + 0x120]
cmp rdx, rbp
jne 0x140010f49
cmp rcx, rbp
jne 0x140010f49
cmp rsi, rbp
je 0x140010f80
cmp rdx, rcx
mov dword [rsp + 0x40], 0x40
cmovb rcx, rdx
cmp rcx, rsi
cmovb rsi, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rbp, qword [rsp + 0x48]
mov r15, qword [rsp + 0x68]
cmp rsi, rbp
mov r14, qword [rsp + 0x50]
cmovb rbp, rsi
cmp rbp, 0xffffffffffffffff
mov rsi, rbx
cmovne rsi, rbp
test r15, r15
jne 0x140010fb9
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r15, qword [rsp + 0xa8]
mov r14, qword [rsp + 0x88]
test rsi, rsi
cmovne r14, rsi
cmp r15, r14
cmovae rbx, rsi
test rbx, rbx
je 0x140010fd9
test rdi, rdi
je 0x140010fd4
mov byte [rdi], 1
mov rax, rbx
jmp 0x14001100b
lea rcx, [rsp + 0xc0]
mov dword [rsp + 0xc0], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0xe8], rax
cmovb rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140045050
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x140011060
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1401fe000]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140045050
add rsp, 0x78
ret
Function at 0x1400112c0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
xor ebx, ebx
mov dword [0x140203ef0], eax
mov eax, dword [rsp + 0x24]
mov dword [0x140203ef4], eax
mov eax, dword [rsp + 0x48]
mov dword [0x140203ef8], eax
mov dword [rsp + 0x60], ebx
mov byte [0x140203efd], bl
call fcn.1400124b0
test al, al
je 0x14001132e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
test eax, eax
je 0x14001132e
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14001132e
inc eax
mov byte [0x140203efd], 1
mov dword [0x140203f80], eax
mov byte [0x140203efe], bl
mov word [rsp + 0x60], bx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessGroupAffinity]
mov edi, 1
test eax, eax
jne 0x14001136b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001136b
movzx eax, word [rsp + 0x60]
jmp 0x140011372
mov eax, edi
mov word [rsp + 0x60], ax
cmp ax, di
seta cl
call fcn.1400123a0
test al, al
je 0x14001139b
call fcn.1400110a0
test al, al
je 0x14001139b
cmp dword [0x140203f84], edi
seta al
mov byte [0x140203efe], al
jmp 0x1400113a2
movzx eax, byte [0x140203efe]
test al, al
je 0x1400113f0
mov r9d, dword [0x140203f88]
test r9, r9
je 0x140011473
lea r8, [0x140203f00]
nop dword [rax]
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
inc rbx
mov rax, qword [rdx]
bts rax, rcx
mov qword [rdx], rax
cmp rbx, r9
jb 0x1400113c0
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x140011473
mov r9, qword [rsp + 0x60]
lea r8, [0x140203f00]
nop dword [rax]
test r9, rdi
je 0x140011441
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rcx
mov qword [rdx], rax
rol rdi, 1
test r9, rdi
je 0x140011466
lea rdx, [rbx + 1]
mov rax, rdx
and edx, 0x3f
shr rax, 6
lea rcx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rdx
mov qword [rcx], rax
rol rdi, 1
add rbx, 2
cmp rbx, 0x40
jb 0x140011420
mov rbx, qword [rsp + 0x70]
mov al, 1
add rsp, 0x50
pop rdi
ret

Function at 0x140045720
Capabilities:
Parse pe header

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

Function at 0x14004a030
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14004a058
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14004a058
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140055920
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
mov qword [rsp + 0x60], r9
mov r10, qword [rcx]
mov ecx, dword [rcx + 8]
mov r11, qword [rdx]
mov ebx, ecx
and ebx, 0xfffffffc
mov esi, dword [rdx + 8]
xor edi, edi
xor ebp, ebp
test ecx, ecx
je 0x140055b44
lea r14, [0x140164130]
mov eax, ebx
sar eax, 2
lea eax, [rax + rax*2]
cmp esi, eax
jl 0x140055967
lea r15d, [rbx - 4]
jmp 0x14005597e
mov edx, 0x55555556
mov eax, edx
imul esi
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
shl r15d, 2
test r15d, r15d
jle 0x140055a24
movsxd rax, edi
lea rax, [r10 + rax*2]
movzx edx, word [rax]
movzx r13d, word [rax + 2]
movzx r12d, word [rax + 4]
movzx eax, word [rax + 6]
mov r9d, edx
or r9d, r13d
or r9d, r12d
or r9d, eax
test r9d, 0xffffff00
je 0x1400559bc
mov r9d, 0xffffffff
jmp 0x1400559f1
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
movsxd r9, r13d
movsx r13, byte [r14 + r9]
movsxd r9, r12d
movsx r12, byte [r14 + r9]
cdqe
movsx rax, byte [r14 + rax]
shl edx, 0x12
or eax, edx
shl r13d, 0xc
or eax, r13d
shl r12d, 6
mov r9d, eax
or r9d, r12d
test r9d, r9d
jl 0x140055b61
movsxd rax, ebp
add rax, r11
mov edx, r9d
sar edx, 0x10
mov byte [rax], dl
mov edx, r9d
sar edx, 8
mov byte [rax + 1], dl
mov byte [rax + 2], r9b
add ebp, 3
add edi, 4
cmp edi, r15d
jl 0x140055987
lea eax, [rbx - 4]
cmp r15d, eax
jne 0x140055b61
cmp edi, ebx
je 0x140055b61
lea eax, [rbx - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rbx - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rbx - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rbx - 1]
movsxd r15, r15d
movzx r10d, word [r10 + r15*2]
mov r15d, eax
or r15d, edx
or r15d, r9d
or r15d, r10d
test r15d, 0xffffff00
jne 0x140055b61
cdqe
movsx rax, byte [r14 + rax]
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl eax, 0x12
shl edx, 0xc
or eax, edx
cmp r10d, 0x3d
je 0x140055ae9
movsxd r9, r9d
movsx r9, byte [r14 + r9]
movsxd r10, r10d
movsx r10, byte [r14 + r10]
or r10d, eax
shl r9d, 6
mov eax, r10d
or eax, r9d
jl 0x140055b61
add esi, 0xfffffffd
cmp ebp, esi
jg 0x140055b61
movsxd rdx, ebp
add r11, rdx
mov edx, eax
sar edx, 0x10
mov byte [r11], dl
mov edx, eax
sar edx, 8
mov byte [r11 + 1], dl
mov byte [r11 + 2], al
add ebp, 3
jmp 0x140055b3d
cmp r9d, 0x3d
je 0x140055b26
movsxd r9, r9d
movsx r9, byte [r14 + r9]
mov edx, r9d
shl edx, 6
or eax, edx
jl 0x140055b61
lea edx, [rsi - 2]
cmp ebp, edx
jg 0x140055b61
mov edx, eax
sar edx, 0x10
movsxd r10, ebp
mov byte [r11 + r10], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x140055b3d
test eax, eax
jl 0x140055b61
lea edx, [rsi - 1]
cmp ebp, edx
jg 0x140055b61
sar eax, 0x10
movsxd rdx, ebp
mov byte [r11 + rdx], al
inc ebp
add edi, 4
cmp ebx, ecx
jne 0x140055b61
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
mov eax, 1
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
xor eax, eax
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14009fca0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x38
cmp r8d, 8
jge 0x14009fd3d
xor eax, eax
cmp r8d, 4
jl 0x14009fcf1
add r8d, 0xfffffffc
movsx r10, word [rcx + rax*2]
movsx r9, dx
cmp r10d, r9d
je 0x14009fd38
nop dword [rax]
movsx r10, word [rcx + rax*2 + 2]
cmp r10d, r9d
je 0x14009fd31
movsx r10, word [rcx + rax*2 + 4]
cmp r10d, r9d
je 0x14009fd29
movsx r10, word [rcx + rax*2 + 6]
cmp r10d, r9d
je 0x14009fd21
add rax, 4
test r8d, r8d
jle 0x14009ff1a
movsx r9, dx
nop
dec r8d
movsx rdx, word [rcx + rax*2]
cmp edx, r9d
je 0x14009fd38
inc rax
test r8d, r8d
jg 0x14009fd00
jmp 0x14009ff1a
add eax, 3
jmp 0x14009ff15
add eax, 2
jmp 0x14009ff15
inc eax
jmp 0x14009ff15
jmp 0x14009ff15
movsx r9, dx
movd xmm0, r9d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov rax, rcx
lea edx, [r8 - 8]
movsxd rdx, edx
add rdx, rdx
lea r10, [rax + rdx]
movups xmm1, xmmword [rax]
pcmpeqw xmm1, xmm0
movaps xmmword [rsp + 0x20], xmm1
xorps xmm2, xmm2
pcmpeqw xmm1, xmm2
pmovmskb r9d, xmm1
cmp r9d, 0xffff
jne 0x14009fe56
add rax, 0x10
cmp rax, r10
jbe 0x14009fd60
mov eax, r8d
test al, 7
je 0x14009ff1a
movups xmm1, xmmword [r10]
pcmpeqw xmm0, xmm1
movaps xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x14009ff1a
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
jne 0x14009ff0c
mov ecx, 0x20
jmp 0x14009ff0f
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
jne 0x14009fefd
mov r8d, 0x20
jmp 0x14009ff01
bsf r8d, edx
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x14009ff15
bsf ecx, eax
shr rdx, 1
lea eax, [rdx + rcx]
add rsp, 0x38
ret
mov eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x140001179
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x14000c0d8]
lea rdx, [rsp + 0x21]
mov byte [rdx - 1], 0
mov byte [rdx], 0x48
mov cl, 0x6a
mov byte [rdx + 1], cl
mov byte [rdx + 2], 0x7b
mov byte [rdx + 3], 0x5f
mov byte [rdx + 4], 0x7d
mov byte [rdx + 5], 0x60
mov byte [rdx + 6], 0x6c
mov byte [rdx + 7], cl
mov r8b, 0x7c
mov byte [rdx + 8], r8b
mov byte [rdx + 9], r8b
mov byte [rdx + 0xa], 0x47
mov byte [rdx + 0xb], cl
mov byte [rdx + 0xc], 0x6e
mov byte [rdx + 0xd], 0x7f
mov byte [rdx + 0xe], 0xf
mov cl, byte [rdx - 1]
test cl, 1
jne 0x1400011eb
mov ecx, 1
xor byte [rsp + rcx + 0x20], 0xf
inc rcx
cmp rcx, 0x10
jne 0x1400011dd
mov rcx, qword [0x14000c0c8]
call rax
mov rdi, rax
mov rax, qword [0x14000c0d8]
lea rdx, [rsp + 0x21]
mov byte [rdx - 1], 0
mov byte [rdx], 0x18
mov byte [rdx + 1], 0x35
mov byte [rdx + 2], 0x31
mov byte [rdx + 3], 0x20
mov byte [rdx + 4], 0x11
mov cl, 0x3c
mov byte [rdx + 5], cl
mov byte [rdx + 6], cl
mov byte [rdx + 7], 0x3f
mov byte [rdx + 8], 0x33
mov byte [rdx + 9], 0x50
mov cl, byte [rdx - 1]
test cl, 1
jne 0x140001249
mov ecx, 1
xor byte [rsp + rcx + 0x20], 0x50
inc rcx
cmp rcx, 0xb
jne 0x14000123b
mov rcx, qword [0x14000c0c8]
call rax
mov rbx, rax
test rdi, rdi
sete al
test rbx, rbx
sete cl
or cl, al
jne 0x140001276
call rdi
mov rcx, rax
mov edx, 8
mov r8, rsi
call rbx
jmp 0x140001278
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x140001280
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x14000c0d8]
lea rdx, [rsp + 0x21]
mov byte [rdx - 1], 0
mov byte [rdx], 0x42
mov cl, 0x60
mov byte [rdx + 1], cl
mov byte [rdx + 2], 0x71
mov byte [rdx + 3], 0x55
mov byte [rdx + 4], 0x77
mov byte [rdx + 5], 0x6a
mov byte [rdx + 6], 0x66
mov byte [rdx + 7], cl
mov r8b, 0x76
mov byte [rdx + 8], r8b
mov byte [rdx + 9], r8b
mov byte [rdx + 0xa], 0x4d
mov byte [rdx + 0xb], cl
mov byte [rdx + 0xc], 0x64
mov byte [rdx + 0xd], 0x75
mov byte [rdx + 0xe], 5
mov cl, byte [rdx - 1]
test cl, 1
jne 0x1400012f2
mov ecx, 1
xor byte [rsp + rcx + 0x20], 5
inc rcx
cmp rcx, 0x10
jne 0x1400012e4
mov rcx, qword [0x14000c0c8]
call rax
mov rdi, rax
mov rax, qword [0x14000c0d8]
lea rdx, [rsp + 0x21]
mov byte [rdx - 1], 0
mov byte [rdx], 0x1c
mov cl, 0x31
mov byte [rdx + 1], cl
mov byte [rdx + 2], 0x35
mov byte [rdx + 3], 0x24
mov byte [rdx + 4], 0x12
mov byte [rdx + 5], 0x26
mov byte [rdx + 6], cl
mov byte [rdx + 7], cl
mov byte [rdx + 8], 0x54
mov cl, byte [rdx - 1]
test cl, 1
jne 0x14000134b
mov ecx, 1
xor byte [rsp + rcx + 0x20], 0x54
inc rcx
cmp rcx, 0xa
jne 0x14000133d
mov rcx, qword [0x14000c0c8]
call rax
mov rbx, rax
test rdi, rdi
sete al
test rbx, rbx
sete cl
or cl, al
jne 0x140001376
call rdi
mov rcx, rax
mov edx, 1
mov r8, rsi
call rbx
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140004a43
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r8
cmp edx, 0x10000
jb 0x140004ad0
mov rdi, rcx
movsxd rax, dword [rcx + 0x3c]
mov esi, dword [rcx + rax + 0x88]
add rsi, rcx
cmp dword [rsi + 0x18], 0
je 0x140004ad0
mov ebp, edx
mov r14d, dword [rdi + rax + 0x8c]
mov r12d, dword [rsi + 0x20]
mov r15d, dword [rsi + 0x24]
add r15, rdi
add r12, rdi
xor r13d, r13d
mov eax, dword [r12]
lea rcx, [rax + rdi]
cmp byte [rax + rdi], 0
mov edx, 0
je 0x140004ab0
xor edx, edx
cmp byte [rcx + rdx + 1], 0
lea rdx, [rdx + 1]
jne 0x140004aa5
mov r8d, 0xb801fcda
call fcn.1400062a8
cmp eax, ebp
je 0x140004aed
add r12, 4
add r15, 2
inc r13d
cmp r13d, dword [rsi + 0x18]
jb 0x140004a90
mov qword [rbx], 0
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx r8d, word [r15]
mov rcx, rdi
mov rdx, rsi
call fcn.140003587
mov rdi, rax
mov rcx, rax
mov rdx, rsi
mov r8d, r14d
call fcn.140003231
test eax, eax
je 0x140004ad9
mov rcx, rdi
call fcn.1400016d0
mov rdi, rax
jmp 0x140004ad9

Function at 0x1400062a8
Capabilities:
Encode data using xor

Disassembly:
imul eax, edx, 0xc6a4a793
xor eax, r8d
cmp edx, 4
jl 0x1400062da
add eax, dword [rcx]
imul r8d, eax, 0xc6a4a793
mov eax, r8d
shr eax, 0x10
xor eax, r8d
add rcx, 4
lea r8d, [rdx - 4]
cmp edx, 7
mov edx, r8d
ja 0x1400062b6
jmp 0x1400062dd
mov r8d, edx
cmp r8d, 1
je 0x140006301
cmp r8d, 2
je 0x1400062f8
cmp r8d, 3
jne 0x140006313
movzx edx, byte [rcx + 2]
shl edx, 0x10
add eax, edx
movzx edx, byte [rcx + 1]
shl edx, 8
add eax, edx
movzx ecx, byte [rcx]
add ecx, eax
imul ecx, ecx, 0xc6a4a793
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul eax, eax, 0xc6a4a793
mov ecx, eax
shr ecx, 0xa
xor ecx, eax
imul ecx, ecx, 0xc6a4a793
mov eax, ecx
shr eax, 0x11
xor eax, ecx
ret

Function at 0x140006330
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbp
push rbx
mov eax, dword [rcx]
mov ebx, dword [rcx + 4]
mov r8d, dword [rdx]
mov r9d, dword [rdx + 4]
mov r10d, dword [rdx + 8]
mov edx, dword [rdx + 0xc]
mov r11d, 0x38446867
mov esi, 0x20
mov edi, ebx
shl ebx, 4
add ebx, r8d
lea ebp, [rdi + r11]
xor ebp, ebx
mov ebx, edi
shr ebx, 5
add ebx, r9d
xor ebx, ebp
add eax, ebx
mov ebx, eax
shl ebx, 4
add ebx, r10d
lea ebp, [r11 + rax]
xor ebp, ebx
mov ebx, eax
shr ebx, 5
add ebx, edx
xor ebx, ebp
add ebx, edi
add r11d, 0x38446867
dec esi
jne 0x140006352
mov dword [rcx], eax
mov dword [rcx + 4], ebx
pop rbx
pop rbp
pop rdi
pop rsi
ret