joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001abcc
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 + 0x64a20], cl
inc ecx
cmp ecx, 0x100
jl 0x14001abf5
mov r9b, byte [rdi + rbp]
mov dl, 2
mov cl, r9b
mov byte [rsi + rdi*4 + 0x65721], r9b
mov byte [rsi + rdi*4 + 0x65720], r9b
mov byte [rsi + rdi*4 + 0x65323], r9b
mov byte [rsi + rdi*4 + 0x65320], r9b
mov byte [rsi + rdi*4 + 0x64f23], r9b
mov byte [rsi + rdi*4 + 0x64f22], r9b
mov byte [rsi + rdi*4 + 0x64b22], r9b
mov byte [rsi + rdi*4 + 0x64b21], r9b
call fcn.14001b3d0
mov dl, 3
mov byte [rsi + rdi*4 + 0x65723], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x65322], al
mov byte [rsi + rdi*4 + 0x64f21], al
mov byte [rsi + rdi*4 + 0x64b20], al
call fcn.14001b3d0
movzx r9d, byte [rdi + rsi + 0x64a20]
mov dl, 0xb
mov cl, r9b
mov byte [rsi + rdi*4 + 0x65722], al
mov byte [rsi + rdi*4 + 0x65321], al
mov byte [rsi + rdi*4 + 0x64f20], al
mov byte [rsi + rdi*4 + 0x64b23], al
call fcn.14001b3d0
mov dl, 9
mov byte [rsi + rdi*4 + 0x66722], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x66321], al
mov byte [rsi + rdi*4 + 0x65f20], al
mov byte [rsi + rdi*4 + 0x65b23], al
mov byte [rsi + r9*4 + 0x67722], al
mov byte [rsi + r9*4 + 0x67321], al
mov byte [rsi + r9*4 + 0x66f20], al
mov byte [rsi + r9*4 + 0x66b23], al
call fcn.14001b3d0
mov dl, 0xd
mov byte [rsi + rdi*4 + 0x66720], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x66323], al
mov byte [rsi + rdi*4 + 0x65f22], al
mov byte [rsi + rdi*4 + 0x65b21], al
mov byte [rsi + r9*4 + 0x67720], al
mov byte [rsi + r9*4 + 0x67323], al
mov byte [rsi + r9*4 + 0x66f22], al
mov byte [rsi + r9*4 + 0x66b21], al
call fcn.14001b3d0
mov dl, 0xe
mov byte [rsi + rdi*4 + 0x66721], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x66320], al
mov byte [rsi + rdi*4 + 0x65f23], al
mov byte [rsi + rdi*4 + 0x65b22], al
mov byte [rsi + r9*4 + 0x67721], al
mov byte [rsi + r9*4 + 0x67320], al
mov byte [rsi + r9*4 + 0x66f23], al
mov byte [rsi + r9*4 + 0x66b22], al
call fcn.14001b3d0
mov byte [rsi + rdi*4 + 0x66723], al
mov byte [rsi + rdi*4 + 0x66322], al
mov byte [rsi + rdi*4 + 0x65f21], al
mov byte [rsi + rdi*4 + 0x65b20], al
inc rdi
mov byte [rsi + r9*4 + 0x67723], al
mov byte [rsi + r9*4 + 0x67322], al
mov byte [rsi + r9*4 + 0x66f21], al
mov byte [rsi + r9*4 + 0x66b20], al
cmp rdi, 0x100
jl 0x14001ac0c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b344
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 0x14001b3c7
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 0x14001b39d
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 0x14001b388
cmp byte [r10 + 1], 0
movdqu xmm0, xmmword [r11]
aesdeclast xmm1, xmm0
je 0x14001b3b2
pxor xmm1, xmm2
mov rax, r9
movdqa xmm2, xmm3
add r9, 0x10
movdqu xmmword [rax], xmm1
sub r8, 1
jne 0x14001b355
movdqu xmmword [r10 + 8], xmm2
ret

Function at 0x14001b3d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10b, r10b
mov r11b, dl
mov bl, cl
test dl, dl
je 0x14001b418
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 0x14001b3e1
mov rbx, qword [rsp + 8]
mov al, r10b
ret

Function at 0x14001b424
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 [0x14005be78]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov esi, 1
mov rdi, rcx
cmp dword [rcx + 4], esi
jle 0x14001b50b
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 + 0x67720]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10 - 2]
xor r8b, byte [rcx + r15 + 0x66f20]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10]
xor r8b, byte [rcx + r15 + 0x66b20]
lea rcx, [r9 + rax*4]
xor r8b, byte [rcx + r15 + 0x67320]
mov byte [r14 + r10], r8b
lea r10, [r10 + 4]
sub r11, 1
jne 0x14001b482
inc r9
cmp r9, 4
jl 0x14001b475
movsxd rcx, esi
lea r8d, [r11 + 0x10]
shl rcx, 4
lea rdx, [rsp + 0x20]
add rcx, 0x18
add rcx, rdi
call fcn.140033640
inc esi
add rbp, 0x10
sub rbx, 0x10
cmp esi, dword [rdi + 4]
jl 0x14001b472
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140032320
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 0x14001b9b4
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 [0x140067b30]
xor ebx, ebx
movzx ebp, r9b
mov r14b, r8b
mov rdi, rdx
mov rsi, rcx
test r10, r10
jne 0x14001ba53
cmp byte [0x140067b28], bl
jne 0x14001ba53
lea rcx, str.Crypt32.dll
call fcn.14001dd88
mov qword [0x140067b20], rax
test rax, rax
je 0x14001ba3c
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140067b20]
lea rdx, str.CryptUnprotectMemory
mov qword [0x140067b30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140067b38], rax
jmp 0x14001ba43
mov rax, qword [0x140067b38]
mov r10, qword [0x140067b30]
mov byte [0x140067b28], 1
jmp 0x14001ba5a
mov rax, qword [0x140067b38]
mov rcx, rdi
mov r8d, ebp
and rcx, 0xfffffffffffffff0
test r14b, r14b
je 0x14001baad
test r10, r10
je 0x14001baca
mov edx, ecx
mov rax, r10
mov rcx, rsi
call qword [0x140048518]
test eax, eax
jne 0x14001bae5
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x1400609e0]
mov rcx, rbx
call fcn.14000b66c
mov rcx, rbx
call fcn.14000ba50
mov edx, 2
mov rcx, rbx
call fcn.14000b664
jmp 0x14001bae5
test rax, rax
je 0x14001baca
mov edx, ecx
mov rcx, rsi
call qword [0x140048518]
test eax, eax
jne 0x14001bae5
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x14001ba87
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test rdi, rdi
je 0x14001bae5
lea ecx, [rax + 0x4b]
add cl, bl
xor byte [rbx + rsi], cl
inc rbx
cmp rbx, rdi
jb 0x14001bad5
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 0x14001c388
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 [0x14005be78]
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 0x14001c416
jbe 0x14001c401
lea edx, [rbp + 8]
cmp edi, edx
jae 0x14001c3eb
sub edx, edi
mov ecx, edi
add rcx, 0x20
mov r8d, edx
add rcx, rbx
xor edx, edx
call fcn.140033cf0
xor edi, edi
lea r8, [rbx + 0x20]
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001bb90
sub ebp, edi
mov ecx, edi
add rcx, 0x20
mov r8d, ebp
add rcx, rbx
xor edx, edx
call fcn.140033cf0
mov rcx, r14
shr rcx, 0x20
call fcn.14003a19c
mov ecx, r14d
mov dword [rbx + 0x58], eax
call fcn.14003a19c
lea r8, [rbx + 0x20]
mov dword [rbx + 0x5c], eax
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001bb90
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 0x14001c44f
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.140032320
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 0x14001c4a8
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 0x14001c6ac
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 0x14001c72d
jbe 0x14001c716
lea edx, [rdi + 8]
cmp r8d, edx
jae 0x14001c70b
mov ecx, r8d
sub edx, r8d
add rcx, 0x28
mov r8d, edx
add rcx, rbx
xor edx, edx
call fcn.140033cf0
mov rcx, rbx
call fcn.14001c96c
xor r8d, r8d
mov ecx, r8d
sub edi, r8d
add rcx, 0x28
mov r8d, edi
add rcx, rbx
xor edx, edx
call fcn.140033cf0
mov rcx, rsi
shr rcx, 0x20
call fcn.14003a19c
mov ecx, esi
mov dword [rbx + 0x60], eax
call fcn.14003a19c
mov rcx, rbx
mov dword [rbx + 0x64], eax
call fcn.14001c96c
mov ecx, dword [rbx]
call fcn.14003a19c
mov dword [r14], eax
mov ecx, dword [rbx + 4]
call fcn.14003a19c
mov dword [r14 + 4], eax
mov ecx, dword [rbx + 8]
call fcn.14003a19c
mov dword [r14 + 8], eax
mov ecx, dword [rbx + 0xc]
call fcn.14003a19c
mov dword [r14 + 0xc], eax
mov ecx, dword [rbx + 0x10]
call fcn.14003a19c
mov dword [r14 + 0x10], eax
mov ecx, dword [rbx + 0x14]
call fcn.14003a19c
mov dword [r14 + 0x14], eax
mov ecx, dword [rbx + 0x18]
call fcn.14003a19c
mov dword [r14 + 0x18], eax
mov ecx, dword [rbx + 0x1c]
call fcn.14003a19c
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 0x14001c800
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x14005be78]
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.14001c8dc
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14001c6ac
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140032320
add rsp, 0xa0
pop rbx
ret

Function at 0x14001c89c
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 0x14001cfa4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x14001cfbb
mov rcx, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14001d08d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.1400013a4
nop
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub rax, rdx
sar rax, 1
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001d007
mov rcx, qword [rdi]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rbx, qword [rsp + 0x20]
test eax, eax
je 0x14001d04b
mov rcx, qword [rsp + 0x28]
sub rcx, rbx
sar rcx, 1
mov eax, eax
cmp rax, rcx
ja 0x14001d04b
mov rcx, rbx
call fcn.14003797c
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.1400020b0
mov dil, 1
mov rbx, qword [rsp + 0x20]
jmp 0x14001d04e
xor dil, dil
test rbx, rbx
je 0x14001d08a
mov rdx, qword [rsp + 0x30]
sub rdx, rbx
sar rdx, 1
add rdx, rdx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001d082
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d098
mov rcx, rbx
call fcn.14003220c
mov al, dil
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call fcn.140037904
int3

Function at 0x14001dce0
Capabilities:
Get token membership

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14005be78]
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 0x14001dd70
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.140032320
add rsp, 0x80
pop rbp
ret
Function at 0x14001dd88
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 [0x14005be78]
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.1400013a4
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 0x14001ddf5
mov ebx, edi
jmp 0x14001df55
mov qword [rbp - 0x11], rdi
movdqa xmm0, xmmword [0x1400489c0]
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.14003797c
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x2f]
call fcn.14000129c
nop
mov rbx, qword [rbp - 0x29]
mov qword [rbp + 0xf], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f], xmm0
mov rcx, rbx
call fcn.14003797c
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0xf]
call fcn.14000129c
nop
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.140017368
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14001dea4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, rsi
jb 0x14001de9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dfbb
call fcn.14003220c
movdqa xmm0, xmmword [0x1400489c0]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], di
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x14001def1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, rsi
jb 0x14001deec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dfc1
call fcn.14003220c
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 0x14001df44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rsi
jb 0x14001df3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dfc7
call fcn.14003220c
movdqa xmm0, xmmword [0x1400489c0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14001df8d
mov rdx, qword [rbp - 0x19]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, rsi
jb 0x14001df88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dfb5
call fcn.14003220c
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140032320
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.140037904
nop
call fcn.140037904
nop
call fcn.140037904
nop
call fcn.140037904
int3
Function at 0x14001eaa4
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 0x14001eb46
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x14001ec50]
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 0x14001eb1c
lea rdx, str.CreateThread_failed
lea rcx, [0x1400609e0]
call fcn.14000b66c
lea rcx, [0x1400609e0]
call fcn.14000ba50
lea edx, [rsi + 2]
lea rcx, [0x1400609e0]
call fcn.14000b664
mov qword [rbx + rdi*8 + 8], rsi
inc dword [rbx + 0x208]
mov edx, dword [0x140067b48]
test edx, edx
je 0x14001eb3c
mov rcx, qword [rbx + rdi*8 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc edi
cmp edi, dword [rbx]
jb 0x14001eac0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140026d14
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14005be78]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov r8, rdx
mov rdi, rcx
and qword [rbp - 0x38], 0
and qword [rbp - 0x40], 0
mov rax, qword [rdx]
lea rdx, [rbp - 0x38]
mov rcx, r8
mov rax, qword [rax + 0x90]
call qword [0x140048518]
mov ebx, eax
test eax, eax
js 0x140026dd9
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140026de6
mov rax, qword [rcx]
lea r8, [rbp - 0x40]
lea rdx, [0x14004afa0]
mov rax, qword [rax]
call qword [0x140048518]
mov ebx, eax
test eax, eax
js 0x140026dc8
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x140048518]
mov ebx, eax
test eax, eax
js 0x140026db7
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rdx, rsi
mov rax, qword [rax + 0x28]
call qword [0x140048518]
mov ebx, eax
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140048518]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140048518]
test ebx, ebx
js 0x140026de6
mov rcx, qword [rbp - 0x38]
test rcx, rcx
jne 0x140026e56
cmp qword [rdi + 0x10], 0
je 0x140026e56
cmp qword [rdi + 0x48], 0
jne 0x140026e56
mov r8, qword [rdi + 0x40]
test r8, r8
je 0x140026e56
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.1400278a0
nop
mov dword [rsp + 0x30], 0x204
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 5
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [rbp - 0x30]
mov rcx, qword [rdi + 0x10]
call fcn.140002520
nop
lea rcx, [rbp - 0x30]
call fcn.140001fa0
shr ebx, 0x1f
xor bl, 1
mov al, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140032320
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002853c
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14005be78]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x40]
call fcn.140033cf0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x28]
shr rax, 0x1e
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140032320
add rsp, 0x78
ret

Function at 0x140028624
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rdx, rcx
lea r8, [0x14004a038]
mov rcx, qword [0x140060950]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1400287a2
mov rcx, qword [0x140060950]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400287a2
mov rcx, qword [0x140060950]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400287a2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400287a2
and qword [rsp + 0x58], 0
mov edx, edi
mov ecx, 2
mov esi, edi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x14002879b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140028792
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.140033640
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x140028789
mov rsi, qword [rsp + 0x48]
lea ecx, [rax + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
test rax, rax
je 0x140028736
and qword [rsp + 0x50], 0
lea rax, [0x14004a008]
lea rdx, [rsp + 0x50]
mov qword [rbx], rax
mov rcx, rsi
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 8], rax
jmp 0x140028738
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140048518]
test rbx, rbx
je 0x140028789
mov eax, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test eax, eax
jne 0x140028775
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x58]
mov r8d, 0xffffff
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x140028775
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140048518]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rsp + 0x58]
jmp 0x1400287a4
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret