joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a22f0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rdi, rdx
lea rdx, [rax + 0x18]
call section..nlhql4
nop
mov ecx, Ordinal_41
call fcn.14005ef64
mov qword [rsp + 0x50], rax
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [rsp + 0x48], Ordinal_30
mov dword [rsp + 0x58], 1
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x48]
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400a23e9
mov dword [rsp + 0x80], ebp
lea r9d, [rbp + 2]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [rdi]
mov esi, dword [rcx - 0x10]
cmp dword [rcx - 8], 1
jle 0x1400a23c3
mov edx, esi
mov rcx, rdi
call fcn.14000c080
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x80]
mov r8d, esi
mov rdx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
lea rsi, [0x1400de840]
sub eax, 1
jg 0x1400a2433
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
cmp rax, rsi
jne 0x1400a242f
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400a2433
call r8
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400a246b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
cmp rax, rsi
jne 0x1400a2468
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400a246b
call r8
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a8360
Capabilities:
Check if file exists
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
xor sil, sil
xorps xmm0, xmm0
movdqu xmmword [rax - 0x20], xmm0
mov qword [rax - 0x10], 0
mov rcx, qword [0x1400f1d60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1400a83d0
mov rcx, qword [0x1400f1d60]
add rcx, 0xffffffffffffffe8
call fcn.14000bbe0
add rax, 0x18
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x70]
call section..jvs246
test al, al
jne 0x1400a8431
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
mov edx, 0x66
lea r8d, [rdx - 0x5c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x1400a8479
test rbp, rbp
je 0x1400a8479
mov r8d, eax
lea r9, [rsp + 0x48]
mov rdx, rbp
call fcn.140007f70
test al, al
je 0x1400a8479
mov rdx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
sub rdx, rbx
mov rcx, rbx
call fcn.1400af160
mov rdi, rax
test rax, rax
setne sil
test sil, sil
je 0x1400a847e
cmp qword [0x1400f1d50], 0
je 0x1400a8470
call fcn.14007e3a0
mov rcx, qword [0x1400f1d50]
call fcn.1400b1280
mov qword [0x1400f1d50], rdi
jmp 0x1400a847e
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1400a84d3
mov rax, qword [rsp + 0x58]
sub rax, rbx
cmp rax, 0x1000
jb 0x1400a84cb
test bl, 0x1f
je 0x1400a849e
call fcn.140058db4
int3
mov rax, qword [rbx - 8]
cmp rax, rbx
jb 0x1400a84ad
call fcn.140058db4
int3
sub rbx, rax
cmp rbx, 8
jae 0x1400a84bc
call fcn.140058db4
int3
cmp rbx, 0x27
jbe 0x1400a84c8
call fcn.140058db4
int3
mov rbx, rax
mov rcx, rbx
call fcn.1400518d0
movzx eax, sil
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400a90a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400ee0e8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rcx, qword [0x1400f1d50]
mov rbx, rdx
mov word [rsp + 0x23], 0x614c
mov word [rsp + 0x20], 0x6547
mov dword [rsp + 0x2b], 0x444d4172
mov dword [rsp + 0x25], 0x72457473
mov word [rsp + 0x29], 0x6f72
mov byte [rsp + 0x2f], 0
mov byte [rsp + 0x22], reloc.WS2_32.dll_WSACleanup
test rcx, rcx
je 0x1400a911f
lea rdx, [rsp + 0x20]
call fcn.14007e410
test rax, rax
je 0x1400a911f
mov edx, 0x100
mov rcx, rbx
call rax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400518f0
add rsp, 0x40
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400518f0
add rsp, 0x40
pop rbx
ret
Function at 0x1400a9420
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400ee0e8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rcx, qword [0x1400f1d50]
xor dil, dil
mov word [rsp + 0x2a], 0x6f69
mov rbx, rdx
mov dword [rsp + 0x23], 0x566c6c44
mov word [rsp + 0x21], 0x7465
mov word [rsp + 0x27], 0x7265
mov word [rsp + 0x2c], WSACleanup
mov byte [rsp + 0x29], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x20], 0x47
test rcx, rcx
jne 0x1400a947d
xor al, al
jmp 0x1400a94fc
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x50], rsi
call fcn.14007e410
mov rsi, rax
test rax, rax
je 0x1400a94f3
mov rax, qword [rbx]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, 0x100
or ecx, eax
jge 0x1400a94b8
mov edx, 0x100
mov rcx, rbx
call fcn.14000bef0
mov rcx, qword [rbx]
mov edx, 0x100
call rsi
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400a94ce
xor eax, eax
jmp 0x1400a94db
movsxd rdx, dword [rcx - 0xc]
call fcn.14005a4dc
test eax, eax
js 0x1400a9514
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1400a9514
mov dword [rcx - 0x10], eax
mov dil, 1
movsxd rcx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], 0
mov rsi, qword [rsp + 0x50]
movzx eax, dil
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400518f0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80070057
call fcn.14000c2c0
int3

Function at 0x1400a9520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400ee0e8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rcx, qword [0x1400f1d50]
mov rbx, rdx
mov dword [rsp + 0x26], 0x72724574
mov dword [rsp + 0x20], 0x4c746547
mov word [rsp + 0x2d], 0x5550
mov word [rsp + 0x2a], 0x726f
mov word [rsp + 0x24], 0x7361
mov byte [rsp + 0x2f], 0
mov byte [rsp + 0x2c], 0x43
test rcx, rcx
je 0x1400a959f
lea rdx, [rsp + 0x20]
call fcn.14007e410
test rax, rax
je 0x1400a959f
mov edx, 0x100
mov rcx, rbx
call rax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400518f0
add rsp, 0x40
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400518f0
add rsp, 0x40
pop rbx
ret
Function at 0x1400a9600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400ee0e8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov rsi, rdx
mov ecx, 3
xor bpl, bpl
call fcn.14000dfc0
call fcn.14000def0
mov r8, qword [rsi]
mov edx, 0x2712
mov rcx, rax
mov rdi, rax
call fcn.140010720
lea r8, [0x1400aa180]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.140010720
mov r8, rbx
mov edx, 0x2711
mov rcx, rdi
call fcn.140010720
lea r8, [rsp + 0x20]
mov dword [rsp + 0x2e], 0x302e31
mov edx, 0x2722
mov dword [rsp + 0x24], 0x2d6c7275
mov rcx, rdi
mov dword [rsp + 0x20], 0x6362696c
mov dword [rsp + 0x28], 0x6e656761
mov word [rsp + 0x2c], 0x2f74
call fcn.140010720
mov rcx, rdi
call fcn.14000dfb0
test eax, eax
movzx ebx, bpl
mov ecx, 1
cmove ebx, ecx
mov rcx, rdi
call fcn.14000dee0
mov rdx, qword [rsi]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a96fe
mov r9, qword [rdx]
lea r8, [0x1400de840]
mov rcx, qword [r9]
mov rax, qword [rcx + 8]
cmp rcx, r8
jne 0x1400a971b
mov rcx, qword [r9 + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400518f0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov rcx, r9
call rax
jmp 0x1400a96fe
Function at 0x1400aa000
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov r12, r8
mov rsi, rdx
xor bpl, bpl
xor ebx, ebx
mov qword [rax - 0x58], rbx
mov dword [rax - 0x60], ebx
mov dword [rax - 0x68], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400aa121
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.14000dd40
nop
mov dword [rsp + 0x90], ebx
mov r15, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
sub r15, rdi
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x90]
mov r8d, r15d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1400aa0c9
mov r9, r12
mov r8, r15
mov rdx, rdi
call fcn.140007f70
movzx ebp, al
test rdi, rdi
je 0x1400aa121
mov rcx, qword [rsp + 0x58]
sub rcx, rdi
cmp rcx, 0x1000
jb 0x1400aa118
test dil, 0x1f
je 0x1400aa0eb
call fcn.140058db4
int3
mov rax, qword [rdi - 8]
cmp rax, rdi
jb 0x1400aa0fa
call fcn.140058db4
int3
sub rdi, rax
cmp rdi, 8
jae 0x1400aa109
call fcn.140058db4
int3
cmp rdi, 0x27
jbe 0x1400aa115
call fcn.140058db4
int3
mov rdi, rax
mov rcx, rdi
call fcn.1400518d0
nop
mov rdx, qword [rsi]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400aa163
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
lea r9, [0x1400de840]
cmp rax, r9
jne 0x1400aa160
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400aa163
call r8
movzx eax, bpl
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400aa690
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400ee0e8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rcx, qword [0x1400f1d50]
mov rbx, rdx
mov dword [rsp + 0x24], 0x45747361
mov word [rsp + 0x2a], 0x726f
mov word [rsp + 0x2d], 0x56
mov dword [rsp + 0x20], 0x4c746547
mov byte [rsp + 0x2c], Ordinal_79
mov word [rsp + 0x28], 0x7272
test rcx, rcx
je 0x1400aa70a
lea rdx, [rsp + 0x20]
call fcn.14007e410
test rax, rax
je 0x1400aa70a
mov edx, 0x100
mov rcx, rbx
call rax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400518f0
add rsp, 0x40
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400518f0
add rsp, 0x40
pop rbx
ret
Function at 0x1400b8190
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x270
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400ee0e8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x40], 0
call fcn.14000c5a0
mov rcx, rax
test rax, rax
jne 0x1400b81dc
mov ecx, 0x80004005
call fcn.14000c2c0
int3
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
lea r8, [0x1400de840]
cmp rax, r8
jne 0x1400b81f9
lock inc dword [rcx + 0x20]
lea rax, [rcx + 0x10]
jmp 0x1400b81fb
call rdx
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x40], 1
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x60]
call fcn.1400572a0
mov dword [rsp + 0x30], 0x200
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x1400ddb10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b8315
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, [0x1400ddb50]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400b82e2
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftCryptography
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b8315
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.MachineGuid
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b8315
lea rax, [rsp + 0x60]
or rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1400b82f0
mov r8d, ecx
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000d6f0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400518f0
add rsp, 0x270
pop rbx
ret
Function at 0x1400ba000
Capabilities:
Get common file path
Get disk information

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x6a0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov qword [rbp + 0x698], rbx
mov qword [rbp + 0x6a0], rsi
mov rax, qword [0x1400ee0e8]
xor rax, rbp
mov qword [rbp + 0x650], rax
mov r14, rcx
xor esi, esi
mov dword [rbp + 0x14], esi
call fcn.14000c5a0
mov rcx, rax
test rax, rax
jne 0x1400ba05c
mov ecx, 0x80004005
call fcn.14000c2c0
int3
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
lea r12, [0x1400de840]
cmp rax, r12
jne 0x1400ba079
lock inc dword [rcx + 0x20]
lea rax, [rcx + 0x10]
jmp 0x1400ba07b
call rdx
lea rbx, [rax + 0x18]
mov qword [rbp], rbx
lea rdx, [0x1400daee2]
or rdi, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x1400ba0b9
movzx r15d, dx
mov ecx, r15d
call fcn.14000c170
test rax, rax
je 0x1400ba0d9
mov r8d, r15d
mov rdx, rax
lea rcx, [rbp]
call fcn.14000bc70
jmp 0x1400ba0d5
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x1400ba0c0
mov r8d, eax
lea rcx, [rbp]
call fcn.14000bdc0
mov rbx, qword [rbp]
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x440]
call fcn.1400572a0
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x230]
call fcn.1400572a0
mov dword [rbp + 8], esi
mov dword [rbp + 0x10], esi
mov dword [rbp + 0xc], esi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x20]
call fcn.1400572a0
xor r9d, r9d
lea r8d, [r9 + 0x25]
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov word [rbp + 0x26], si
mov dword [rsp + 0x38], 0x105
lea rax, [rbp + 0x230]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xc]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 8]
mov r8d, 0x105
lea rdx, [rbp + 0x440]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400ba18f
mov r8d, dword [rbp + 8]
lea rdx, [0x1400dc38c]
lea rcx, [rbp]
call fcn.14000d190
mov rbx, qword [rbp]
test rbx, rbx
je 0x1400ba1eb
mov rdx, rdi
inc rdx
cmp byte [rbx + rdx], 0
jne 0x1400ba197
inc edx
cmp edx, 0x3fffffff
jg 0x1400ba1eb
movsxd rax, edx
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400ba1c3
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400524e0
sub rsp, rcx
lea rcx, [rsp + 0x40]
mov r9d, 3
mov r8d, edx
mov rdx, rbx
call fcn.14000de80
mov rsi, rax
mov rdx, rsi
mov rcx, r14
call fcn.14000d520
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400ba22c
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
cmp rax, r12
jne 0x1400ba229
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400ba22c
call r8
mov rax, r14
mov rcx, qword [rbp + 0x650]
xor rcx, rbp
call fcn.1400518f0
mov rbx, qword [rbp + 0x698]
mov rsi, qword [rbp + 0x6a0]
lea rsp, [rbp + 0x660]
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14000f8a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmpsb byte [rsi], byte [rdi]
in al, dx
sub byte [rcx - 0x2d], cl
int 0x85
ror byte [rdi], cl
xchg ebp, eax
jge 0x14000f8fd
and bl, al
mov ecx, dword [rcx + 0x1d0]
ror dword [r15], 1
test byte [rdi + 3], bh
add byte [rax], al
ficom dword [rcx]
add byte [rax], al
mov dword [rbx + 0x23741845], ecx
test rax, rax
je 0x14000f8fa
out 0xc9, eax
je 0x14000f8fa
mov ebp, dword [r13 + 0x20]
test ebp, ebp
jns 0x14000f937
add ebp, dword [r13 + 0x19d]
mov ecx, ebp
sar ecx, 0xea
and ecx, ebp
invalid
mov dword [r11 + 0x1d0], edx
rol byte [rcx], 1
add byte [rax], al
mov r15, qword [r13 + 0x10]
mov qword [r13 + 0x22], r15
mov qword [r13 + 0x42], rax
test qword [r8 + rcx*4 + 0x4427165c], r12
mov byte [rax + rbx*2 + 0x4f], cl
je 0x14000f929
invalid
add dh, al
add bl, ch
sti
nop
jrcxz 0x14000f963
in al, 0x45
cmp esp, esi
jne 0x14000f983
mov r14, rbp
mov esi, ebp
invalid
vpminub xmm3, xmm14, xmm6
invalid
sal dword [r13 + 0x1d4], cl
jp 0x14000f9f4
test esp, ecx
add byte [rax], al
add byte [rdx - 0x75d8dba4], cl
and al, 0x26
or cl, bl
add byte [rbp + 0x41097501], 0x75
invalid
invalid
mov esi, 0x1b069

Function at 0x14003e040
Capabilities:
Encode data using xor

Disassembly:
inc dword [rbx]
test eax, eax
je 0x14003e069
mov ecx, 2
mov edx, 1
xor r8d, r8d
call 0x13c0434f0
mov edx, 0x20242189
mov byte [rax], 0xa0
xchg edx, eax
mov eax, ecx
and al, 0x34
add dword [rcx + 0x24744048], esp
je 0x14003e091
and byte [rax - 0x75], cl
and al, 0x49
xor rcx, rsp
jne 0x14003e046
invalid
int3
push rdi
sub rsp, 0x28
xor ecx, ecx
call fcn.14003da70
call fcn.14002aa19
test byte [rsp + 0x1a], al
add byte [rax], al
add byte [rax], al
lea r9, [0x14037ea9e]
xor ecx, ecx
mov dl, 1
mov r8, 0xffffffff80000066
call fcn.140046460
add byte [rax], al
insd dword [rdi], dx
shr byte [rbp - 0x3976b7ed], 0x48
jbe 0x14003e08e
mov dword [rbx], ecx
add byte [rax], al
add byte [rax - 0x77], cl
int1
call fcn.14003f2a0
invalid

Function at 0x14003e660
Capabilities:
Encode data using xor

Disassembly:
or eax, 0xc0ffe600
je 0x14003e675
add byte [rax - 0x75], cl
or eax, 0xeff81
mov qword [0x14012e6a8], rax
test rcx, rcx
add byte [rax - 0x7b], cl
leave
je 0x1400412fc
lea rdx, [0x166108733]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
invalid
invalid
invalid
pop rbp

Function at 0x140046680
Capabilities:
Query or enumerate registry value

Disassembly:
pushfq
sub rsp, 0xe
mov rax, qword [0x14012b050]
xor rax, rsp
mov qword [rsp + 0x38], rax
push rcx
and al, 0x4c
add al, 0xae
mov al, byte [rax]
invalid
invalid
invalid
invalid
Function at 0x1400852c0
Capabilities:
Create pipe

Disassembly:
push rsi
push rdi
push rbx
adc qword [rcx + 0x10d], 0x24b4290f
adc dword [rcx + 0x10d], 0x24b4290f
and ah, al
add byte [rsi], bh
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14012b050]
xor eax, esp
mov qword [rsp - 0x6953a5e8], rax
mov dword [rsp - 0x21ff0330], 0xeb18
test byte [r8 + r11*8], spl
jne 0x1400852fc
add byte [rax], al
add byte [rax], al
add byte [rax + 0x692484], bl
add byte [rax], al
add dword [rax], eax
add byte [rax], al
lea rcx, [rsp + 0x2f55]
lea rdx, [rsp + 0x240000f8]
lodsb al, byte [rsi]
lea eax, [rsp + 0xd0]
push r10
leave
call qword [sym.imp.KERNEL32.dll_CreatePipe]
lahf
ror byte [rdi], 0x84
jns 0x140085335
add byte [rax], al
jle 0x1400852c4
and al, 8
add dword [rax], eax
add byte [rax - 0x73], cl
jmp qword [rdi + rdi*2]

Function at 0x14008b358
Capabilities:
Encode data using xor

Disassembly:
and al, 0xbb
call fcn.140043603
mov rsi, qword [rdx + 0x56]
add dword [rbx + 0x50], ecx
xor byte [rax - 0x29], cl
rcl byte [rbx + rdi - 0x173e76b8], 0x29
invalid
Function at 0x140846058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1408461df
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 0x140846089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084606f
add dl, dl
jne 0x140846096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408460f6
xor eax, eax
add dl, dl
jne 0x1408460a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408461ad
add dl, dl
jne 0x1408460b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408460c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408460d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408460dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408460ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14084607e
mov eax, 1
add dl, dl
jne 0x140846106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140846113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408460fb
sub eax, ebx
mov ebx, 1
jne 0x14084614c
mov ecx, 1
add dl, dl
jne 0x14084612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14084613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140846123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140846168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140846175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14084615d
cmp eax, 0x7d00
jae 0x14084619b
cmp eax, 0x500
jb 0x140846196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084607e
cmp eax, 0x7f
ja 0x14084619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408461d2
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 0x14084607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002790
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x38
lea rax, [fcn.140002790]
mov qword [rsp + 0x30], 0x76bdcd70
mov dword [rsp + 0x1c], 0x32014930
mov ecx, dword [rsp + 0x1c]
mov dword [rsp + 4], 0x28bc2df9
mov qword [rsp + 8], rax
mov dword [rsp], ecx
jmp 0x140002812
mov rax, qword [rsp + 0x10]
add rax, 0xfffffffffffff000
and rax, 0xfffffffffffff000
mov qword [rsp + 8], rax
jmp 0x140002812
mov rax, qword [rsp + 0x10]
movsxd rcx, dword [rsp + 0x18]
cmp dword [rax + rcx], 0x4550
je 0x140002808
jmp 0x1400027f6
xor eax, eax
add rsp, 0x38
ret
mov eax, dword [rsp + 4]
and eax, 0x453c27a7
cmp eax, 0x5c05f2d0
jb 0x1400027c2
jmp 0x1400027ef
mov rax, qword [rsp + 0x10]
add rsp, 0x38
ret
mov eax, dword [rsp]
xor eax, 0xffffffff
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 8]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x10]
mov dx, word [rcx]
mov dword [rsp + 0x2c], 0x6c27cc8b
mov rcx, qword [rsp + 0x20]
imul rcx, qword [rsp + 0x20]
mov qword [rsp + 0x20], rcx
cmp dx, 0x5a4d
jne 0x1400027f6
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 4]
add ecx, 0x60ba234e
mov rdx, qword [rsp + 0x10]
xor rax, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov r8d, dword [rdx + 0x3c]
mov dword [rsp + 0x18], r8d
cmp ecx, 0x7d125079
je 0x1400027da
jmp 0x1400027da