joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c7c4
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
lea rbp, str.cw
mov ecx, edi
lea rsi, [0x140000000]
mov rdx, rbp
movzx eax, byte [rdx]
inc rdx
mov byte [rax + rsi + 0x5b740], cl
inc ecx
cmp ecx, 0x100
jl 0x14001c7ed
mov r9b, byte [rdi + rbp]
mov dl, 2
mov cl, r9b
mov byte [rsi + rdi*4 + 0x5c441], r9b
mov byte [rsi + rdi*4 + 0x5c440], r9b
mov byte [rsi + rdi*4 + 0x5c043], r9b
mov byte [rsi + rdi*4 + 0x5c040], r9b
mov byte [rsi + rdi*4 + 0x5bc43], r9b
mov byte [rsi + rdi*4 + 0x5bc42], r9b
mov byte [rsi + rdi*4 + 0x5b842], r9b
mov byte [rsi + rdi*4 + 0x5b841], r9b
call fcn.14001cfc8
mov dl, 3
mov byte [rsi + rdi*4 + 0x5c443], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x5c042], al
mov byte [rsi + rdi*4 + 0x5bc41], al
mov byte [rsi + rdi*4 + 0x5b840], al
call fcn.14001cfc8
movzx r9d, byte [rdi + rsi + 0x5b740]
mov dl, 0xb
mov cl, r9b
mov byte [rsi + rdi*4 + 0x5c442], al
mov byte [rsi + rdi*4 + 0x5c041], al
mov byte [rsi + rdi*4 + 0x5bc40], al
mov byte [rsi + rdi*4 + 0x5b843], al
call fcn.14001cfc8
mov dl, 9
mov byte [rsi + rdi*4 + 0x5d442], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x5d041], al
mov byte [rsi + rdi*4 + 0x5cc40], al
mov byte [rsi + rdi*4 + 0x5c843], al
mov byte [rsi + r9*4 + 0x5e442], al
mov byte [rsi + r9*4 + 0x5e041], al
mov byte [rsi + r9*4 + 0x5dc40], al
mov byte [rsi + r9*4 + 0x5d843], al
call fcn.14001cfc8
mov dl, 0xd
mov byte [rsi + rdi*4 + 0x5d440], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x5d043], al
mov byte [rsi + rdi*4 + 0x5cc42], al
mov byte [rsi + rdi*4 + 0x5c841], al
mov byte [rsi + r9*4 + 0x5e440], al
mov byte [rsi + r9*4 + 0x5e043], al
mov byte [rsi + r9*4 + 0x5dc42], al
mov byte [rsi + r9*4 + 0x5d841], al
call fcn.14001cfc8
mov dl, 0xe
mov byte [rsi + rdi*4 + 0x5d441], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x5d040], al
mov byte [rsi + rdi*4 + 0x5cc43], al
mov byte [rsi + rdi*4 + 0x5c842], al
mov byte [rsi + r9*4 + 0x5e441], al
mov byte [rsi + r9*4 + 0x5e040], al
mov byte [rsi + r9*4 + 0x5dc43], al
mov byte [rsi + r9*4 + 0x5d842], al
call fcn.14001cfc8
mov byte [rsi + rdi*4 + 0x5d443], al
mov byte [rsi + rdi*4 + 0x5d042], al
mov byte [rsi + rdi*4 + 0x5cc41], al
mov byte [rsi + rdi*4 + 0x5c840], al
inc rdi
mov byte [rsi + r9*4 + 0x5e443], al
mov byte [rsi + r9*4 + 0x5e042], al
mov byte [rsi + r9*4 + 0x5dc41], al
mov byte [rsi + r9*4 + 0x5d840], al
cmp rdi, 0x100
jl 0x14001c804
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001cf3c
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
lea r11, [rcx + 0x18]
mov r10, rcx
movdqu xmm2, xmmword [rcx + 8]
test r8, r8
je 0x14001cfbf
movsxd rcx, dword [r10 + 4]
mov rax, rdx
add rdx, 0x10
movdqu xmm3, xmmword [rax]
mov rax, rcx
add rax, rax
movdqu xmm1, xmmword [r11 + rax*8]
lea eax, [rcx - 1]
movsxd rcx, eax
pxor xmm1, xmm3
test eax, eax
jle 0x14001cf95
mov rax, rcx
shl rax, 4
add rax, r11
movdqu xmm0, xmmword [rax]
dec rcx
lea rax, [rax - 0x10]
aesdec xmm1, xmm0
test rcx, rcx
jg 0x14001cf80
cmp byte [r10 + 1], 0
movdqu xmm0, xmmword [r11]
aesdeclast xmm1, xmm0
je 0x14001cfaa
pxor xmm1, xmm2
mov rax, r9
movdqa xmm2, xmm3
add r9, 0x10
movdqu xmmword [rax], xmm1
sub r8, 1
jne 0x14001cf4d
movdqu xmmword [r10 + 8], xmm2
ret

Function at 0x14001cfc8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10b, r10b
mov r11b, dl
mov bl, cl
test dl, dl
je 0x14001d010
mov al, r10b
xor al, bl
movzx r8d, al
test r11b, 1
movzx eax, r10b
cmove r8d, eax
mov al, bl
add al, al
mov r10b, r8b
mov r8b, bl
movzx edx, al
mov cl, dl
mov ebx, edx
xor cl, 0x1b
test r8b, r8b
movzx ecx, cl
cmovs ebx, ecx
shr r11b, 1
jne 0x14001cfd9
mov rbx, qword [rsp + 8]
mov al, r10b
ret

Function at 0x14001d01c
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140052b88]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov esi, 1
mov rdi, rcx
cmp dword [rcx + 4], esi
jle 0x14001d103
lea rbx, [r11 - 0x38]
sub rbx, rcx
lea rbp, [rcx + 0x2a]
sub rbx, 0x2a
lea r15, [0x140000000]
xor r9d, r9d
mov r10, rbp
lea r14, [rbx + r9]
mov r11d, 4
movzx eax, byte [r10 + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [r10 - 1]
mov r8b, byte [rdx + r15 + 0x5e440]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10 - 2]
xor r8b, byte [rcx + r15 + 0x5dc40]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10]
xor r8b, byte [rcx + r15 + 0x5d840]
lea rcx, [r9 + rax*4]
xor r8b, byte [rcx + r15 + 0x5e040]
mov byte [r14 + r10], r8b
lea r10, [r10 + 4]
sub r11, 1
jne 0x14001d07a
inc r9
cmp r9, 4
jl 0x14001d06d
movsxd rcx, esi
lea r8d, [r11 + 0x10]
shl rcx, 4
lea rdx, [rsp + 0x20]
add rcx, 0x18
add rcx, rdi
call fcn.140029880
inc esi
add rbp, 0x10
sub rbx, 0x10
cmp esi, dword [rdi + 4]
jl 0x14001d06a
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140028760
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14001d5ac
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov r10, qword [0x14005e850]
xor ebx, ebx
movzx ebp, r9b
mov r14b, r8b
mov rdi, rdx
mov rsi, rcx
test r10, r10
jne 0x14001d64b
cmp byte [0x14005e848], bl
jne 0x14001d64b
lea rcx, str.Crypt32.dll
call fcn.14001f8b4
mov qword [0x14005e840], rax
test rax, rax
je 0x14001d634
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14005e840]
lea rdx, str.CryptUnprotectMemory
mov qword [0x14005e850], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005e858], rax
jmp 0x14001d63b
mov rax, qword [0x14005e858]
mov r10, qword [0x14005e850]
mov byte [0x14005e848], 1
jmp 0x14001d652
mov rax, qword [0x14005e858]
mov rcx, rdi
mov r8d, ebp
and rcx, 0xfffffffffffffff0
test r14b, r14b
je 0x14001d6a5
test r10, r10
je 0x14001d6c2
mov edx, ecx
mov rax, r10
mov rcx, rsi
call qword [0x14003f440]
test eax, eax
jne 0x14001d6dd
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x140057700]
mov rcx, rbx
call fcn.14000ba30
mov rcx, rbx
call fcn.14000be80
mov edx, 2
mov rcx, rbx
call fcn.14000ba04
jmp 0x14001d6dd
test rax, rax
je 0x14001d6c2
mov edx, ecx
mov rcx, rsi
call qword [0x14003f440]
test eax, eax
jne 0x14001d6dd
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x14001d67f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test rdi, rdi
je 0x14001d6dd
lea ecx, [rax + 0x4b]
add cl, bl
xor byte [rbx + rsi], cl
inc rbx
cmp rbx, rdi
jb 0x14001d6cd
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001df80
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140052b88]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov edi, dword [rcx + 0x18]
mov ebp, 0x38
mov r14, qword [rcx + 0x18]
and edi, 0x3f
shl r14, 3
mov rsi, rdx
mov rbx, rcx
mov byte [rdi + rcx + 0x20], 0x80
inc edi
cmp edi, ebp
je 0x14001e00e
jbe 0x14001dff9
lea edx, [rbp + 8]
cmp edi, edx
jae 0x14001dfe3
sub edx, edi
mov ecx, edi
add rcx, 0x20
mov r8d, edx
add rcx, rbx
xor edx, edx
call fcn.140029f30
xor edi, edi
lea r8, [rbx + 0x20]
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001d788
sub ebp, edi
mov ecx, edi
add rcx, 0x20
mov r8d, ebp
add rcx, rbx
xor edx, edx
call fcn.140029f30
mov rcx, r14
shr rcx, 0x20
call fcn.140030ae0
mov ecx, r14d
mov dword [rbx + 0x58], eax
call fcn.140030ae0
lea r8, [rbx + 0x20]
mov dword [rbx + 0x5c], eax
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001d788
mov rdx, rbx
mov ecx, 5
sub rdx, rsi
mov eax, dword [rdx + rsi]
mov dword [rsi], eax
lea rsi, [rsi + 4]
sub rcx, 1
jne 0x14001e047
and qword [rbx + 0x18], rcx
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140028760
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14001e0a0
Capabilities:
Hash data using sha1

Disassembly:
and qword [rcx + 0x18], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret
Function at 0x14001e2a4
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r8d, dword [rcx + 0x20]
mov edi, 0x38
mov rsi, qword [rcx + 0x20]
and r8d, 0x3f
shl rsi, 3
mov r14, rdx
mov rbx, rcx
mov byte [r8 + rcx + 0x28], 0x80
inc r8d
cmp r8d, edi
je 0x14001e325
jbe 0x14001e30e
lea edx, [rdi + 8]
cmp r8d, edx
jae 0x14001e303
mov ecx, r8d
sub edx, r8d
add rcx, 0x28
mov r8d, edx
add rcx, rbx
xor edx, edx
call fcn.140029f30
mov rcx, rbx
call fcn.14001e564
xor r8d, r8d
mov ecx, r8d
sub edi, r8d
add rcx, 0x28
mov r8d, edi
add rcx, rbx
xor edx, edx
call fcn.140029f30
mov rcx, rsi
shr rcx, 0x20
call fcn.140030ae0
mov ecx, esi
mov dword [rbx + 0x60], eax
call fcn.140030ae0
mov rcx, rbx
mov dword [rbx + 0x64], eax
call fcn.14001e564
mov ecx, dword [rbx]
call fcn.140030ae0
mov dword [r14], eax
mov ecx, dword [rbx + 4]
call fcn.140030ae0
mov dword [r14 + 4], eax
mov ecx, dword [rbx + 8]
call fcn.140030ae0
mov dword [r14 + 8], eax
mov ecx, dword [rbx + 0xc]
call fcn.140030ae0
mov dword [r14 + 0xc], eax
mov ecx, dword [rbx + 0x10]
call fcn.140030ae0
mov dword [r14 + 0x10], eax
mov ecx, dword [rbx + 0x14]
call fcn.140030ae0
mov dword [r14 + 0x14], eax
mov ecx, dword [rbx + 0x18]
call fcn.140030ae0
mov dword [r14 + 0x18], eax
mov ecx, dword [rbx + 0x1c]
call fcn.140030ae0
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov dword [r14 + 0x1c], eax
and qword [rbx + 0x20], 0
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret

Function at 0x14001e3f8
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x140052b88]
xor rax, rsp
mov qword [rsp + 0x90], rax
and qword [rsp + 0x40], 0
mov rbx, r8
mov r8, rdx
mov dword [rsp + 0x20], 0x6a09e667
mov rdx, rcx
mov dword [rsp + 0x24], 0xbb67ae85
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov dword [rsp + 0x3c], 0x5be0cd19
call fcn.14001e4d4
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14001e2a4
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140028760
add rsp, 0xa0
pop rbx
ret

Function at 0x14001e494
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret
Function at 0x14001f80c
Capabilities:
Get token membership

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140052b88]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x10], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
and dword [rsp + 0x48], 0
mov r9d, 0x220
and dword [rsp + 0x40], 0
mov r8d, 0x20
and dword [rsp + 0x38], 0
mov dl, 2
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov word [rbp - 0xc], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x14001f89c
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
test eax, eax
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140028760
add rsp, 0x80
pop rbp
ret
Function at 0x14001f8b4
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x140052b88]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
xor edi, edi
mov qword [rbp - 0x19], rdi
mov edx, 0x104
lea rcx, [rbp - 0x29]
call fcn.140008c80
nop
mov rdx, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x29]
sub rdx, rcx
sar rdx, 1
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, 0x1000
test eax, eax
jne 0x14001f921
mov ebx, edi
jmp 0x14001fa81
mov qword [rbp - 0x11], rdi
movdqa xmm0, xmmword [0x14003f9a0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
mov qword [rbp + 0x2f], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3f], xmm0
mov rcx, rbx
call fcn.14002da58
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x2f]
call fcn.140002ac0
nop
mov rbx, qword [rbp - 0x29]
mov qword [rbp + 0xf], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f], xmm0
mov rcx, rbx
call fcn.14002da58
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0xf]
call fcn.140002ac0
nop
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.140019318
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14001f9d0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, rsi
jb 0x14001f9cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fae7
call fcn.140028644
movdqa xmm0, xmmword [0x14003f9a0]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], di
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x14001fa1d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, rsi
jb 0x14001fa18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001faed
call fcn.140028644
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14001fa70
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rsi
jb 0x14001fa6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001faf3
call fcn.140028644
movdqa xmm0, xmmword [0x14003f9a0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14001fab9
mov rdx, qword [rbp - 0x19]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, rsi
jb 0x14001fab4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fae1
call fcn.140028644
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140028760
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14002d924
nop
call fcn.14002d924
nop
call fcn.14002d924
nop
call fcn.14002d924
int3
Function at 0x140020504
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx], edi
jbe 0x1400205a6
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x1400206b0]
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x14002057c
lea rdx, str.CreateThread_failed
lea rcx, [0x140057700]
call fcn.14000ba30
lea rcx, [0x140057700]
call fcn.14000be80
lea edx, [rsi + 2]
lea rcx, [0x140057700]
call fcn.14000ba04
mov qword [rbx + rdi*8 + 8], rsi
inc dword [rbx + 0x208]
mov edx, dword [0x14005e868]
test edx, edx
je 0x14002059c
mov rcx, qword [rbx + rdi*8 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc edi
cmp edi, dword [rbx]
jb 0x140020520
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140027bd4
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140027c4c
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140027c4c
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140027c4c
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140027c40
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140027c5e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140027c2e
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140027c4e

Function at 0x1400293ec
Capabilities:
Parse pe header

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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x1800020e2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800020e2
nop word cs:[rax + rax]
jmp 0x1800020e0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x1800021b8
mov rsi, r10
test r8b, r8b
je 0x1800021d0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002150
test r9b, r9b
je 0x1800021e0
sub rsi, rcx
je 0x1800021b4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x1800021b0
test ebp, ebp
jne 0x1800021b0
add rbx, 1
cmp rsi, rbx
jne 0x180002170
jmp 0x1800021b4
test ebp, ebp
jne 0x18000213c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x1800021d0
jmp 0x1800021e0
Function at 0x11ee058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x11ee1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x11ee089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x11ee06f
add dl, dl
jne 0x11ee096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x11ee0f6
xor eax, eax
add dl, dl
jne 0x11ee0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x11ee1ad
add dl, dl
jne 0x11ee0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ee0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ee0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ee0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x11ee0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x11ee07e
mov eax, 1
add dl, dl
jne 0x11ee106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ee113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x11ee0fb
sub eax, ebx
mov ebx, 1
jne 0x11ee14c
mov ecx, 1
add dl, dl
jne 0x11ee12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11ee13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x11ee123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x11ee07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x11ee168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11ee175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x11ee15d
cmp eax, 0x7d00
jae 0x11ee19b
cmp eax, 0x500
jb 0x11ee196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x11ee07e
cmp eax, 0x7f
ja 0x11ee19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x11ee07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x11ee1d2
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 0x11ee07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180002360
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov rax, qword gs:[0x60]
mov r10, qword [rax + 0x18]
add r10, 0x10
mov eax, dword [0x180020a8c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a90], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a74], 0xa
setl r9b
or r9b, al
mov eax, dword [0x180020a94]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a98], 0xa
setl r14b
or r14b, al
lea rax, [rcx - 1]
mov r15, r10
test r8b, r8b
je 0x180002490
mov r15, qword [r15]
cmp r15, r10
je 0x1800024b2
mov rdi, rax
test r9b, r9b
je 0x1800024a0
nop word cs:[rax + rax]
nop
cmp byte [rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x180002410
test r14b, r14b
je 0x1800024b0
sub rdi, rcx
je 0x180002478
mov r12, qword [r15 + 0x60]
xor edx, edx
nop
movzx esi, word [r12 + rdx*2]
lea ebx, [rsi - 0x41]
lea ebp, [rsi + 0x20]
cmp bx, 0x1a
cmovae ebp, esi
movsx ebx, byte [rcx + rdx]
lea r13d, [rbx - 0x41]
lea r11d, [rbx + 0x20]
cmp r13b, 0x1a
cmovae r11d, ebx
sub ebp, r11d
test esi, esi
je 0x180002470
test ebp, ebp
jne 0x180002470
add rdx, 1
cmp rdi, rdx
jne 0x180002430
jmp 0x180002478
test ebp, ebp
jne 0x1800023e4
mov rax, qword [r15 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002490
jmp 0x1800024a0
jmp 0x1800024b0
xor eax, eax
jmp 0x18000247c