joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000bb10
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push r14
xor r14d, r14d
push r13
push r12
push rbp
push rdi
push rsi
push rbx
mov rbx, rcx
mov rdx, rbx
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x140012740
mov rdx, rbx
mov esi, eax
add rsi, rbx
mov ecx, dword [rsi + 0x20]
call 0x140012740
mov ecx, dword [rsi + 0x24]
mov rdx, rbx
mov r12d, eax
call 0x140012740
mov r13d, dword [rsi + 0x18]
add r12, rbx
mov edi, eax
cmp r13, r14
je 0x14000bbcf
mov ecx, dword [r12 + r14*4]
mov rdx, rbx
call 0x140012740
mov ebp, eax
add rbp, rbx
mov rcx, rbp
call fcn.14000c090
cmp eax, 0xa6caa1c5
jne 0x14000bbb4
mov ecx, dword [rsi + 0x1c]
mov rdx, rbx
add rdi, rbx
call 0x140012740
movzx edx, word [rdi + r14*2]
mov eax, eax
add rax, rbx
mov ecx, dword [rax + rdx*4]
add rsp, 0x20
mov rdx, rbx
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp 0x140012740
mov rcx, rbp
call fcn.14000c090
mov edx, eax
lea rax, [r14 + 1]
cmp edx, 0xffe885ef
je 0x14000bb83
mov r14, rax
jmp 0x14000bb5e
add rsp, 0x20
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp eax, dword [rdx + 0x14]
jb 0x14001278a
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x140012788
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x140012780
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp eax, r10d
jae 0x140012780
add eax, dword [rdx + 0x14]
sub eax, r8d
ret
inc ecx
add rdx, 0x28
jmp 0x14001275e
xor eax, eax
ret

Function at 0x14000bc30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [0x14001a150]
push r12
xor edx, edx
push rbp
push rdi
push rsi
push rbx
mov rbx, qword [rax]
mov rax, qword [rbx + 0x84a]
test rax, rax
je 0x14000bce2
mov edx, dword [rbx + 0x800]
test edx, edx
jne 0x14000bce2
movsxd rcx, dword [rax + 0x3c]
xor r8d, r8d
mov ecx, dword [rax + rcx + 0x88]
add rcx, rax
mov edi, dword [rcx + 0x20]
mov r10d, dword [rcx + 0x1c]
mov esi, dword [rcx + 0x24]
mov ebp, dword [rcx + 0x18]
xor ecx, ecx
add r10, rax
add rdi, rax
add rsi, rax
cmp r8d, ebp
jae 0x14000bcdc
mov r9d, dword [rdi + r8*4]
cmp word [rax + r9], 0x775a
jne 0x14000bcd7
test rcx, rcx
movzx r9d, word [rsi + r8*2]
jne 0x14000bcae
mov ecx, dword [r10 + r9*4]
add rcx, rax
jmp 0x14000bcd7
mov r9d, dword [r10 + r9*4]
mov r11, rcx
add r9, rax
mov r12, r9
sub r11, r9
sub r12, rcx
cmp r9, rcx
mov r9d, r12d
cmovb r9d, r11d
test edx, edx
je 0x14000bcd4
cmp r9d, edx
jae 0x14000bcd7
mov edx, r9d
inc r8
jmp 0x14000bc89
mov dword [rbx + 0x800], edx
pop rbx
mov eax, edx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x14000c040
Capabilities:
Hash data using djb2

Disassembly:
xor eax, eax
test rcx, rcx
je 0x14000c08f
mov r10, rcx
mov eax, 0x1505
mov r9b, byte [r10]
test edx, edx
jne 0x14000c05c
test r9b, r9b
jne 0x14000c071
ret
mov r11, r10
sub r11, rcx
cmp r11d, edx
jae 0x14000c08f
test r9b, r9b
jne 0x14000c071
inc r10
jmp 0x14000c080
cmp r9b, 0x60
jbe 0x14000c080
test r8d, r8d
je 0x14000c080
sub r9d, 0x20
imul eax, eax, 0x21
movzx r9d, r9b
inc r10
add eax, r9d
jmp 0x14000c04f
ret

Function at 0x14000c090
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
movsx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14000c0a6
imul eax, eax, 0x21
add eax, edx
jmp 0x14000c095
ret

Function at 0x14000da70
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rsi
xor eax, eax
push rbx
mov r8b, byte [rdx + rax]
mov byte [rcx + rax], r8b
mov r8b, byte [rdx + rax + 1]
mov byte [rcx + rax + 1], r8b
mov r8b, byte [rdx + rax + 2]
mov byte [rcx + rax + 2], r8b
mov r8b, byte [rdx + rax + 3]
mov byte [rcx + rax + 3], r8b
add rax, 4
cmp rax, 0x20
jne 0x14000da74
mov r11d, 8
lea r10, str.cw
lea rbx, [0x14001a1a0]
mov esi, r11d
movzx r9d, byte [rcx + 0x1c]
movzx r8d, byte [rcx + 0x1d]
movzx edx, byte [rcx + 0x1e]
movzx eax, byte [rcx + 0x1f]
and esi, 7
jne 0x14000daf2
mov sil, byte [r10 + r8]
mov r8b, byte [r10 + rdx]
mov dl, byte [r10 + rax]
mov al, byte [r10 + r9]
mov r9d, r11d
shr r9d, 3
xor sil, byte [rbx + r9]
mov r9d, esi
jmp 0x14000db07
cmp esi, 4
jne 0x14000db07
mov r9b, byte [r10 + r9]
mov r8b, byte [r10 + r8]
mov dl, byte [r10 + rdx]
mov al, byte [r10 + rax]
xor r9b, byte [rcx]
xor r8b, byte [rcx + 1]
inc r11d
add rcx, 4
xor dl, byte [rcx - 2]
xor al, byte [rcx - 1]
mov byte [rcx + 0x1c], r9b
mov byte [rcx + 0x1d], r8b
mov byte [rcx + 0x1e], dl
mov byte [rcx + 0x1f], al
cmp r11d, 0x3c
jne 0x14000dab8
pop rbx
pop rsi
ret
Function at 0x140012740
Capabilities:
Enumerate pe sections

Disassembly:
push r14
xor r14d, r14d
push r13
push r12
push rbp
push rdi
push rsi
push rbx
mov rbx, rcx
mov rdx, rbx
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x140012740
mov rdx, rbx
mov esi, eax
add rsi, rbx
mov ecx, dword [rsi + 0x20]
call 0x140012740
mov ecx, dword [rsi + 0x24]
mov rdx, rbx
mov r12d, eax
call 0x140012740
mov r13d, dword [rsi + 0x18]
add r12, rbx
mov edi, eax
cmp r13, r14
je 0x14000bbcf
mov ecx, dword [r12 + r14*4]
mov rdx, rbx
call 0x140012740
mov ebp, eax
add rbp, rbx
mov rcx, rbp
call fcn.14000c090
cmp eax, 0xa6caa1c5
jne 0x14000bbb4
mov ecx, dword [rsi + 0x1c]
mov rdx, rbx
add rdi, rbx
call 0x140012740
movzx edx, word [rdi + r14*2]
mov eax, eax
add rax, rbx
mov ecx, dword [rax + rdx*4]
add rsp, 0x20
mov rdx, rbx
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp 0x140012740
mov rcx, rbp
call fcn.14000c090
mov edx, eax
lea rax, [r14 + 1]
cmp edx, 0xffe885ef
je 0x14000bb83
mov r14, rax
jmp 0x14000bb5e
add rsp, 0x20
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp eax, dword [rdx + 0x14]
jb 0x14001278a
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x140012788
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x140012780
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp eax, r10d
jae 0x140012780
add eax, dword [rdx + 0x14]
sub eax, r8d
ret
inc ecx
add rdx, 0x28
jmp 0x14001275e
xor eax, eax
ret
Function at 0x14000c43c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014c60], rbx
je 0x14000c4a3
cmp rax, rbx
jne 0x14000c496
mov ebx, 1
mov esi, ebx
jmp 0x14000c4a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c47b
mov ebx, 1
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c4c0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000c52c
mov eax, dword [0x140014c68]
test eax, eax
jne 0x14000c521
mov dword [0x140014c68], ebx
lea r15, [0x14000eba0]
lea rdi, [0x14000eb88]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c513
test eax, eax
jne 0x14000c517
cmp qword [rdi], r14
je 0x14000c508
mov rax, qword [rdi]
mov rcx, qword [0x14000eb40]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c4ea
test eax, eax
je 0x14000c527
mov eax, 0xff
jmp 0x14000c682
mov dword [0x1400143e4], ebx
mov edi, 0x1f
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c553
lea rdx, [0x14000eb80]
lea rcx, [0x14000eb48]
call sub.msvcrt.dll__initterm
mov dword [0x140014c68], 2
test esi, esi
jne 0x14000c561
mov rax, r14
xchg qword [0x140014c60], rax
cmp qword [0x140014c80], r14
je 0x14000c594
lea rcx, [0x140014c80]
call fcn.14000ca70
test eax, eax
je 0x14000c594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014c80]
mov r9, qword [0x14000eb40]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c5ad
mov eax, 0xff
jmp 0x14000c682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000c633
test ax, ax
je 0x14000c5c8
test edx, edx
jne 0x14000c633
sub ax, bx
cmp ax, di
ja 0x14000c5de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000c5c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001878
mov dword [0x1400143e0], eax
cmp dword [0x140014400], r14d
jne 0x14000c61c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400143e4], r14d
jne 0x14000c631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143e0]
jmp 0x14000c682
cmp ax, 0x22
jne 0x14000c647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c5b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14013a000
add rsp, 0x28
jmp 0x14000c43c
Function at 0x140452e8f
Capabilities:
Encode data using base64

Disassembly:
lea rsp, [rsp + 8]
jmp 0x140474aa3
neg r8w
not r8w
sub rcx, rcx
push rcx
sbb cl, 0xa6
inc r8w
not r8w
shr dword [rsp + rcx - 0x59], cl
neg word [rsp + rcx - 0x54]
cmova cx, word [rsp + rcx - 0x5a]
xor r10w, r8w
shr qword [rsp + rcx - 0x5a], cl
lea r8, [rsp + r8 + 8]
not cl
rol ecx, 0x3d
shl ecx, cl
or cx, word [rcx + r8 - 0x1400000]
ror qword [rsp], 0x8a
sbb r9, 2
mov byte [rsp + 7], 0x3f
mov word [r9], cx
jmp 0x140446026
rol cx, 1
xor cx, 0x2c3f
xor r10w, cx
ror dword [rsp + 0xc], 0x3c
lea rcx, [rsp + rcx + 0x10]
jae 0x1404490d4
mov word [rcx], r8w
jb 0x1404663b0
jae 0x14045c25a
lea rsp, [rsp + 0x10]
jb 0x140475cdc
mov ecx, 0xed877133
movsx eax, cl
mov al, byte [r11 + rax - 0x33]
neg ecx
add cl, cl
lea rcx, [rcx + rcx - 0x32d076ff]
mov cl, byte [r11 + rcx*8 + 0x6eface5a]
call fcn.140471cd8
mov r10d, dword [rsi]
mov ecx, dword [rsi + 4]
call fcn.140478a48
mov edx, 0x6c1add0a
sal dl, 0x82
xor ax, di
xor rdx, rdx
neg ax
call fcn.140448bc1

Function at 0x1404608a2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + r8*2 - 0x760f0f0], r8
lea rcx, [rsp + rcx + 8]
add r8b, byte [rsp + r8 - 0x3b07874]
movzx r8w, byte [rcx + r8*4 - 0xec1e1e0]
jb 0x14046591e
sbb rdi, 2
mov word [rdi], r8w
push 0x4187e7b0
lea rsp, [rsp + 0x10]
jmp 0x14047ddc4
add r11, 0xa
mov word ss:[rsi], r9w
lea rsp, [rsp + 8]
jmp 0x14045d848
Function at 0x140002060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000215b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x140002163
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x14000219a
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x140002170
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021c5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x1400021eb
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x1400021d0
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a320
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a365
xor al, al
jmp 0x14000a3b2
cmp word [rbx], 0
je 0x14000a37d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a370
cmp word [rsp + 0x30], 0
je 0x14000a3ab
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a3d3
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a390
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b680
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000fcf4
int3
Function at 0x14000acc0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001f670
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002fdd0]
lea rsi, [0x140032e10]
mov rdi, rcx
test r11d, r11d
jne 0x14000ad39
mov r8d, 0x1000
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
call fcn.14000a3e0
test al, al
je 0x14000ae19
lea rcx, [rsp + 0x20]
call fcn.1400142fc
movsxd r11, dword [0x14002fdd0]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002fdd0], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ad74
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ad64
add rax, 2
test ecx, ecx
jne 0x14000ad50
test edx, edx
je 0x14000ad97
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ad44
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000ad80
cmp rax, 2
jne 0x14000ad9b
cmp word [rdi + 2], 0x3a
jne 0x14000ad9b
mov al, 1
jmp 0x14000adf8
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000adc6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000aded
mov bl, 1
cmp dword [0x14002fdd0], 0x400
jge 0x14000aded
mov rcx, rdi
call fcn.1400142fc
movsxd rdx, dword [0x14002fdd0]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002fdd0], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b680
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str._HOME_
call fcn.14000ab60
int3
Function at 0x14000af40
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fdd8]
test rcx, rcx
je 0x14000af7b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000af6e
mov rcx, qword [0x14002fdd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fdd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fde8], 0
je 0x14000b06e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140029910]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140030610]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b04f
test al, 0x10
je 0x14000b04f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000aff5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000bf74
Capabilities:
Parse pe header

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

Function at 0x14000fce8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000fb53
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fb53
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fb53
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fb53
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fb53
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fb53
cmp dword [rcx + 0xf8], 0
je 0x14000fb53
mov ecx, ebx
call fcn.14000fc04
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f9e0
nop
cmp dword [rbp + 0x20], 0
je 0x14000fba1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fbac
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fae4
Function at 0x3bbf51370
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov dword [rbp + 0x28], r9d
lea rax, [rbp - 8]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call rax
test eax, eax
sete al
test al, al
je 0x3bbf513d8
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Error_in_CryptAcquireContextW___u__n
mov rcx, rax
call sym.unk_7
jmp 0x3bbf51553
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0x800c
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
call rax
test eax, eax
sete al
test al, al
je 0x3bbf5142a
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Error_in_CryptCreateHash___u__n
mov rcx, rax
call sym.unk_7
jmp 0x3bbf51553
mov rax, qword [rbp - 0x10]
mov ecx, dword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptHashData]
call rax
test eax, eax
sete al
test al, al
je 0x3bbf51472
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Error_in_CryptHashData___u__n
mov rcx, rax
call sym.unk_7
jmp 0x3bbf51553
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8, rcx
mov edx, 0x6610
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
call rax
test eax, eax
sete al
test al, al
je 0x3bbf514c5
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Error_in_CryptDeriveKey___u__n
mov rcx, rax
call sym.unk_7
jmp 0x3bbf51553
mov rax, qword [rbp - 0x18]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
call rax
test eax, eax
sete al
test al, al
je 0x3bbf5151d
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Error_in_CryptDecrypt___u__n
mov rcx, rax
call sym.unk_7
jmp 0x3bbf51553
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
call rax
nop
add rsp, 0x50
pop rbp
ret
Function at 0x3bbf51573
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov r9d, 0
lea r8, str.Gemini_Security
lea rax, str.Welcome_
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_MessageBoxA]
call rax
mov dword [rbp - 4], 0
mov r9d, 4
mov r8d, 0x3000
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x3bbf515f5
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Error:_Failed_to_allocate_memory___u__n
mov rcx, rax
call sym.unk_7
mov eax, 0xffffffff
jmp 0x3bbf516f3
lea rcx, [rbp - 0x18]
mov edx, dword [rbp - 4]
lea rax, [rbp - 0x18]
mov r9d, 0
mov r8, rcx
mov rcx, rax
call sym.unk_8
lea rdx, [rbp - 0x1c]
mov rax, qword [rbp - 0x10]
mov r9, rdx
mov r8d, 0x20
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
sete al
test al, al
je 0x3bbf51660
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Error:_Failed_to_change_memory_protection___u__n
mov rcx, rax
call sym.unk_7
mov eax, 0xfffffffe
jmp 0x3bbf516f3
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x3bbf516bd
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Error:_Failed_to_create_the_thread___u__n
mov rcx, rax
call sym.unk_7
mov eax, 0xfffffffd
jmp 0x3bbf516f3
mov rax, qword [rbp - 0x10]
mov rdx, rax
lea rax, str._n_nconcealedMemory_:__p_n
mov rcx, rax
call sym.unk_7
mov rax, qword [rbp - 0x18]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 0x10]
call rax
mov eax, 0
add rsp, 0x50
pop rbp
ret

Function at 0x3bbf518a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.unk_79
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.unk_79
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]