joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012680
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
add rcx, 8
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
lea rax, [rdi + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x20], ecx
lea r8, [0x140012760]
lea rcx, [rsp + 0x30]
mov r9, rdi
xor edx, edx
mov dword [rdi + 4], 1
mov dword [rsp + 0x30], 0x18
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rdi + 8]
mov qword [rdi + 0x38], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1400126f0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
add rcx, 8
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x38]
mov dword [rdi + 4], 0
test rcx, rcx
je 0x140012742
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140012730
mov rcx, qword [rdi + 0x38]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x38], 0
lea rcx, [rdi + 8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400134a0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
sub rsp, 0x30
cmp dword [rcx + 0xcc8], 0
mov rbx, rcx
je 0x1400134c1
mov eax, 0x80004005
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 0x40], rdi
xor edi, edi
mov dword [rcx + 0xcc8], 1
mov qword [rcx + 0x2808], rdi
mov qword [rcx + 0x2810], rdi
mov qword [rcx + 0xcc0], rdi
call fcn.1400118c0
test eax, eax
jns 0x140013501
mov dword [rbx + 0xcc8], edi
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rbx + 0x27f0]
test rcx, rcx
je 0x14001352a
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x27f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x27f0], rdi
lea rax, [rsp + 0x50]
lea r8, [0x140013580]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x27f0], rax
test rax, rax
je 0x140013567
mov edx, dword [rbx + 0x2e58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
Function at 0x140013e70
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x890
mov rax, qword [0x1400310f0]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov rbx, rdx
lea rcx, [rsp + 0x462]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x460], di
call fcn.140016790
lea rcx, [rsp + 0x262]
xor edx, edx
mov r8d, 0x1fe
mov word [rsp + 0x260], di
call fcn.140016790
lea rcx, [rsp + 0x672]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x670], di
call fcn.140016790
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], di
call fcn.140016790
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x260]
lea rdx, [rsp + 0x460]
mov r8d, 0x104
mov rcx, rbx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], pe_nt_image_headers64
call fcn.140015774
lea rcx, [rsp + 0x460]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], di
jne 0x140013f50
test rax, rax
je 0x140013f81
lea r9, [rsp + 0x460]
lea r8, [0x14002d0a0]
lea rcx, [rsp + 0x670]
mov edx, 0x104
call fcn.140015a24
jmp 0x140013fd1
lea rdx, [0x14002d088]
lea rcx, [rsp + 0x264]
call fcn.140015a48
lea rdx, [0x14002d088]
lea rcx, [rax + 2]
call fcn.140015a48
lea rcx, [rsp + 0x260]
lea r8, [rsp + 0x260]
sub rax, rcx
lea rcx, [rsp + 0x670]
mov edx, 0x104
sar rax, 1
lea r9, [rax + 1]
call fcn.1400156a8
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x670]
mov qword [rsp + 0x30], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
lea rdx, [rsp + 0x50]
lea r8, str.FAT32
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14001403a
cmp rcx, 6
jne 0x140014020
lea eax, [rcx - 5]
jmp 0x1400140a3
mov rcx, rdi
lea rdx, [rsp + 0x50]
lea r8, str.NTFS
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14001406a
cmp rcx, 5
jne 0x140014050
lea eax, [rcx - 3]
jmp 0x1400140a3
mov rax, rdi
lea rdx, [rsp + 0x50]
lea r8, [0x14002d0c8]
nop dword [rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x140014097
cmp rax, 4
jne 0x140014080
jmp 0x14001409c
sbb edi, edi
or edi, 1
neg edi
sbb eax, eax
and eax, 3
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.140014ab0
mov rbx, qword [rsp + 0x8a0]
add rsp, 0x890
pop rdi
ret
Function at 0x140015c44
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rcx, 0x1cdb6c2c
jmp 0x140003877
dec rcx
jmp 0x140004650
jne 0x140003877
jmp 0x140004d8f
jmp 0x140004ec3
jmp 0x140004f5e
jmp 0x140004fc2
jmp 0x140004fda
jmp 0x140005061
jmp 0x140005085
jmp 0x1400050d5
jmp 0x140005125
jmp 0x140005178
jmp 0x1400051dd
jmp 0x14000524e
jmp 0x14000526d
jmp 0x1400052ea
jmp 0x14000532f
jmp 0x14000538a
jmp 0x1400053c2
jmp 0x1400053f4
jmp 0x140005454
jmp 0x140005482
jmp 0x1400054d4
xor rcx, rcx
mov rdx, 0x6c7e
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call 0x1400054f4
pop rsi
add rsi, 0xe8e
mov rdi, rax
mov rcx, 0x6c7e
rep movsb byte [rdi], byte [rsi]
jmp rax
sub rsp, 0x28
call fcn.140015e10
add rsp, 0x28
xor rcx, rcx
jmp 0x140001a34

Function at 0x1400183b4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14001821c
Function at 0x180001070
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
lea rdi, [0x18002dab0]
mov r8d, 1
mov r9d, 2
lea rbx, [0x18002dc00]
mov r10d, 3
sub r8, rdi
sub r9, rdi
sub r10, rdi
xor edx, edx
mov r11d, 4
sub r11, rdi
nop
lea rcx, [rdx + rdi]
mov rax, rdx
and eax, 0xf
add rdx, 5
movzx eax, byte [rax + rbx]
xor byte [rcx], al
lea rax, [rcx + r8]
and eax, 0xf
movzx eax, byte [rax + rbx]
xor byte [rcx + 1], al
lea rax, [rcx + r9]
and eax, 0xf
movzx eax, byte [rax + rbx]
xor byte [rcx + 2], al
lea rax, [rcx + r10]
and eax, 0xf
movzx eax, byte [rax + rbx]
xor byte [rcx + 3], al
lea rax, [rcx + r11]
and eax, 0xf
movzx eax, byte [rax + rbx]
xor byte [rcx + 4], al
cmp rdx, 0x14f
jb 0x1800010b0
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1800017e0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18000180f
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x180001110]
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x18000e128
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000e158
xor eax, eax
jmp 0x18000e21b
mov rbp, rbx
cmp word [rax], si
je 0x18000e17d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000e164
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000e160
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000e048
movsxd r14, eax
test eax, eax
jne 0x18000e1bb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000e151
mov rcx, r14
call fcn.18000a408
mov rdi, rax
test rax, rax
jne 0x18000e1d4
xor ecx, ecx
call fcn.18000987c
jmp 0x18000e1b0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000e048
test eax, eax
jne 0x18000e205
mov rcx, rdi
call fcn.18000987c
jmp 0x18000e20f
xor ecx, ecx
call fcn.18000987c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180011bec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180011c02
mov al, 1
jmp 0x180011c62
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180011c13
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180011c60
mov ecx, dword [rcx + 0x18]
nop
call fcn.18000fa30
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180011c60
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180011c60
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180011c60
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180011c62
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1800121d8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x18002e1a0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18001222f
cmp word [rdx], r13w
jne 0x18001222f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180012234
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180012359
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18001237a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18001226d
mov rdx, r9
mov word [rbx], cx
jmp 0x180012294
cmp r9, r8
jae 0x1800122a4
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x18001224e
jmp 0x180012359
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18001234e
cmp dword [rsp + 0x80], esi
je 0x18001234e
lea r8, [0x18002e1a0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180012326
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800122f6
mov word [rbx], r13w
jmp 0x180012356
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x180012303
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180012356
cmp word [rsp + 0x70], r13w
jne 0x180012333
cmp rbx, r14
je 0x1800122f0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180013fbc
cmp word [rsp + 0x70], r13w
je 0x180012359
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x18002e1a0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x180012353
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180012359
Function at 0x180015a60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180015a88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180015a88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400083b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rbx, rdx
mov rsi, rcx
lea rdi, [rcx + 0x28]
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x20], 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
nop
lea rcx, [rsi + 0x30]
mov rdx, rbx
call fcn.140008e3c
cmp qword [rsi + 0x40], 0
jne 0x1400084d2
mov ebx, 0x12c
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
and qword [rbp - 0x30], 0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftDDDiagnosticsHub
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400084bc
lea rcx, [rbp - 0x18]
call fcn.14000776c
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x18], rcx
test eax, eax
jne 0x1400084bc
and dword [rbp + 0x20], eax
mov dword [rbp + 0x30], 4
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x38]
xor r8d, r8d
lea rdx, str.CollectorService.IdleShutdownInSeconds
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400084bc
cmp dword [rbp + 0x38], 4
jne 0x1400084bc
mov ebx, dword [rbp + 0x20]
test ebx, ebx
jne 0x1400084bc
lea r8, str.Service_idle_shutdown_has_been_disabled
lea rdx, str.onecorecomdiagnostics_standardcollector_basecollection_standardcollector.service_standardcollectorhost.cpp
mov rcx, qword [0x140017848]
call fcn.14000b534
jmp 0x1400084c8
lea rcx, [rsi + 0x18]
mov edx, ebx
call fcn.140005d70
nop
lea rcx, [rbp - 0x18]
call fcn.14000776c
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
test dword [rbx + 0x36], 0x67329978
adc byte [rcx + rbp*8 - 0x4b], bl
fidiv word [rdx + rdx*2 + 0x6d]
in al, dx
std
stosd dword [rdi], eax
or eax, esi
push rdx
or al, dl
xchg ecx, eax
idiv byte [rbx + 8]
sub dh, ah
fisubr word [rax - 0x1fec5c9]
movsb byte [rdi], byte [rsi]
fstp qword [rax]
int3

Function at 0x140008788
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r9d, r9d
movabs rcx, 0xcbf29ce484222325
test r8, r8
je 0x1400087b8
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x14000879a
mov rax, rcx
ret
Function at 0x2c63e1370
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
jne 0x2c63e14a9
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
jne 0x2c63e14ac
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
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
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
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
jmp 0x2c63e14ad
nop
jmp 0x2c63e14ad
nop
add rsp, 0x50
pop rbp
ret
Function at 0x2c63e14cd
Capabilities:
Create thread

Disassembly:
push rbp
mov eax, 0x19680
call fcn.2c63e2460
sub rsp, rax
lea rbp, [rsp + 0x80]
lea rax, str.Welcome_
mov qword [rbp + 0x195f8], rax
lea rax, str.Gemini_Security
mov qword [rbp + 0x195f0], rax
mov rdx, qword [rbp + 0x195f0]
mov rax, qword [rbp + 0x195f8]
mov r9d, 0
mov r8, rdx
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_MessageBoxA]
call rax
movabs rax, 0xd315472ae1a86784
movabs rdx, 0x1e2f5d54a0e35e4c
mov qword [rbp + 0x195c0], rax
mov qword [rbp + 0x195c8], rdx
lea rax, [rbp - 0x40]
lea rdx, [0x2c63e90a8]
mov ecx, 0x19600
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov dword [rbp + 0x195ec], 0x19600
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x19600
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x195e0], rax
cmp qword [rbp + 0x195e0], 0
jne 0x2c63e15c2
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_to_Allocate_memory___u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xffffffff
jmp 0x2c63e16f4
lea rcx, [rbp + 0x195c0]
mov edx, dword [rbp + 0x195ec]
lea rax, [rbp - 0x40]
mov r9d, 0x10
mov r8, rcx
mov rcx, rax
call sym.DeAES_char__unsigned_long__char__unsigned_long_
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x195e0]
mov r8d, 0x19600
mov rcx, rax
call sym.memmove
lea rdx, [rbp - 0x44]
mov rax, qword [rbp + 0x195e0]
mov r9, rdx
mov r8d, 0x20
mov edx, 0x19600
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
sete al
test al, al
je 0x2c63e164f
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_to_change_memory_protection___u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xfffffffe
jmp 0x2c63e16f4
mov rax, qword [rbp + 0x195e0]
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 + 0x195d8], rax
cmp qword [rbp + 0x195d8], 0
jne 0x2c63e16b5
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_to_Create_the_thread___u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xfffffffd
jmp 0x2c63e16f4
mov rax, qword [rbp + 0x195e0]
mov rdx, rax
lea rax, str._n_nalloc_mem_:__p_n
mov rcx, rax
call sym.printf_char_const__::_
mov rax, qword [rbp + 0x195d8]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0x195e0]
call rax
mov eax, 0
add rsp, 0x19680
pop rbp
ret

Function at 0x2c63e18a0
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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x2c63e1910
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x2c6406064]
mov rbx, rcx
test esi, esi
jle 0x2c63e1a40
mov rax, qword [0x2c6406068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x2c63e195b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x2c63e19e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x2c63e1940
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x2c63e1a62
mov rax, qword [0x2c6406068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x2c6406068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2c63e1a47
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x2c63e19de
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x2c63e19f0
add dword [0x2c6406064], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x2c6406068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2c63e19de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x2c63e1968
mov rax, qword [0x2c6406068]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x2c63e1de0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x2c64060a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2c6406080]
test rbx, rbx
je 0x2c63e1e3c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x2c63e1e33
test rsi, rsi
je 0x2c63e1e33
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2c63e1e18
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x2c63e2050
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x2c63e2068
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x2c63e2070
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret