joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x240
mov rbp, rsp
mov rbx, rcx
xor rsi, rsi
mov dword [rbp + 0x34], 0xff
mov rcx, 0xffffffff80000002
lea rdx, [0x00472bd8]
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x238]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x472bb0
mov rcx, qword [rbp + 0x238]
lea rdx, [0x00472c18]
xor r8, r8
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x34]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x472b50
mov sil, 1
jmp 0x472bb0
mov rcx, 0xffffffff80000002
lea rdx, [0x00472bd8]
xor r8, r8
mov r9d, 0x20119
lea rax, [rbp + 0x238]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x472bb0
mov rcx, qword [rbp + 0x238]
lea rdx, [0x00472c18]
xor r8, r8
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x34]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x472bb0
mov sil, 1
test sil, sil
je 0x472bc8
mov rcx, rbx
lea rdx, [rbp + 0x38]
mov r8d, pe_nt_image_headers64
call fcn.0040bea0
mov rax, rbx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rbp
ret
Function at 0x472eb0
Capabilities:
Get common file path

Disassembly:
push rbp
mov byte [rsp - 0x60], 0
mov byte [rsp - 0x1060], 0
mov byte [rsp - 0x2060], 0
sub rsp, 0x2060
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x3c], edx
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
nop
mov eax, 1
movsxd rcx, eax
mov word [rbp + rcx*2 + 0x5e], 0x20
add eax, 1
cmp eax, 0x1001
jne 0x472efe
nop
mov eax, dword [rbp + 0x3c]
sub eax, 1
cmp eax, 0xffffffff
je 0x472f30
test eax, eax
je 0x472f62
sub eax, 1
test eax, eax
jne 0x472fbb
jmp 0x472fa2
mov ecx, 0x1000
lea rdx, [rbp + 0x60]
call sub.kernel32.dll_GetTempPathW
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x60]
mov r8d, 0x1000
call fcn.0040ad30
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x58]
call fcn.0041cfc0
jmp 0x472fbb
xor rcx, rcx
mov edx, 0x1c
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call sub.SHFolder.dll_SHGetFolderPathW
lea rcx, [rbp + 0x50]
lea rdx, [rbp + 0x60]
mov r8d, 0x1000
call fcn.0040ad30
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x50]
call fcn.0041cfc0
jmp 0x472fbb
lea rcx, [rbp + 0x48]
xor rdx, rdx
call fcn.004058f0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x48]
call fcn.0041e2b0
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
call fcn.004280d0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x40]
call fcn.0040b0a0
nop
lea rcx, [rbp + 0x40]
mov edx, 4
call fcn.0040abc0
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x2060]
pop rbp
ret
Function at 0x140011203
Capabilities:
Terminate process

Disassembly:
jmp 0x1400130c0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014400
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014420
xor al, al
jmp 0x1400144a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014433
xor al, al
jmp 0x1400144a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001445d
xor al, al
jmp 0x1400144a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014471
xor al, al
jmp 0x1400144a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014483
xor al, al
jmp 0x1400144a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001449f
xor al, al
jmp 0x1400144a1
mov al, 1
add rsp, 0x38
ret
Function at 0x140016cc4
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x140021118], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x140021128]
jne 0x140016d11
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x140021150], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x140021118], 1
mov ecx, dword [0x140021150]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x140016de6
mov rcx, qword [0x140020444]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x140016e11
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140021120]
test rax, rax
je 0x140016d61
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x140021120], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x140016e2c]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x140021150]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x140020444]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140016e11
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x1800010b0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800010e1
xor eax, eax
lea r8, section..text
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cwde
invalid
invalid
invalid
jmp r12
jmp 0x14003f66d
pop rdx
push rsp
stosd dword [rdi], eax
pop rcx
push rbx
stosb byte [rdi], al
pop rax
push rdx
test eax, 0xaaf3ff57
pop rdx
push rbx
stosb byte [rdi], al
pop rdx
push rbx
stosb byte [rdi], al
pop rdx
push rbx
stosb byte [rdi], al
pop rdx
push rbx
stosb byte [rdi], al
pop rdx
push rdx
test eax, 0xa8f1ff59
pop rax
invalid
invalid
call 0x129034dbe
movsd dword [rdi], dword [rsi]
push rsi
invalid
Function at 0x140002490
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov rax, qword gs:[0x30]
mov rbx, rcx
mov rdx, qword [rax + 0x60]
mov rdi, qword [rdx + 0x18]
add rdi, 0x20
mov r10, qword [rdi]
cmp r10, rdi
je 0x140002521
nop word [rax + rax]
test rbx, rbx
je 0x14000252e
mov r9, qword [r10 + 0x50]
mov r11, rbx
test r9, r9
je 0x140002519
nop dword [rax]
nop word [rax + rax]
movsx edx, byte [r11]
lea r11, [r11 + 1]
movzx r8d, word [r9]
lea r9, [r9 + 2]
lea ecx, [rdx - 0x41]
cmp cx, 0x19
lea eax, [rdx + 0x20]
lea ecx, [r8 - 0x41]
cmova ax, dx
cmp cx, 0x19
lea edx, [r8 + 0x20]
cmova dx, r8w
test ax, ax
je 0x14000252e
cmp ax, dx
je 0x1400024e0
mov r10, qword [r10]
cmp r10, rdi
jne 0x1400024c0
xor eax, eax
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
mov rax, qword [r10 + 0x20]
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

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

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
movsxd rax, dword [rcx + 0x3c]
xor r11d, r11d
mov rdi, rdx
mov rbx, rcx
mov esi, dword [rax + rcx + 0x88]
add rsi, rcx
mov ebp, dword [rsi + 0x18]
test ebp, ebp
je 0x1400025f4
mov r15d, dword [rsi + 0x24]
mov r12d, dword [rsi + 0x20]
lea rax, [r15 + r11*2]
movzx r14d, word [rax + rbx]
lea rax, [r12 + r11*4]
mov r9d, dword [rax + rbx]
add r9, rbx
test rdi, rdi
je 0x1400025ec
test r9, r9
je 0x1400025ec
mov r10, rdi
sub r10, r9
nop dword [rax]
nop dword [rax + rax]
movsx ecx, byte [r10 + r9]
movsx edx, byte [r9]
lea r9, [r9 + 1]
lea eax, [rcx - 0x41]
cmp ax, 0x19
lea r8d, [rcx + 0x20]
lea eax, [rdx + 0x20]
cmova r8w, cx
lea ecx, [rdx - 0x41]
cmp cx, 0x19
cmova ax, dx
test r8w, r8w
jne 0x1400025e6
test ax, ax
je 0x140002611
cmp r8w, ax
je 0x1400025b0
inc r11d
cmp r11d, ebp
jb 0x140002580
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + r14*4]
add rax, rbx
jmp 0x1400025f6
Function at 0x140006000
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x190
mov rax, qword [0x140017010]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x20], r8
mov r12, rdx
mov rsi, rcx
test rdx, rdx
je 0x14000617d
vpxor xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x30], ymm0
vmovups ymmword [rsp + 0x50], ymm0
mov r9d, 0x40
mov r8, rdx
lea rdx, [rsp + 0x30]
mov rcx, qword [rcx]
vzeroupper
call fcn.1400034e0
mov eax, 0x5a4d
cmp word [rsp + 0x30], ax
jne 0x14000617d
movsxd rbx, dword [rsp + 0x6c]
add rbx, r12
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x108
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi]
call fcn.1400034e0
cmp dword [rsp + 0x70], 0x4550
jne 0x14000617d
cmp dword [rsp + 0xf8], 0
je 0x14000617d
mov eax, dword [rsp + 0xfc]
test eax, eax
je 0x14000617d
mov ebx, eax
mov ecx, eax
call fcn.140010b40
mov rdi, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], rdi
mov r9d, dword [rsp + 0xfc]
mov r8d, dword [rsp + 0xf8]
add r8, r12
mov rdx, rdi
mov rcx, qword [rsi]
call fcn.1400034e0
test al, al
je 0x140006175
mov eax, dword [rsp + 0xf8]
mov rbp, rdi
sub rbp, rax
mov r15d, dword [rdi + 0x1c]
add r15, rbp
mov r13d, dword [rdi + 0x20]
add r13, rbp
mov r14d, dword [rdi + 0x24]
add r14, rbp
xor ebx, ebx
cmp dword [rdi + 0x14], ebx
jbe 0x140006175
nop word [rax + rax]
movzx eax, word [r14 + rbx*2]
test ax, ax
je 0x14000616e
mov esi, dword [r15 + rax*4]
test esi, esi
je 0x14000616e
cmp ebx, dword [rdi + 0x18]
jae 0x14000616e
mov ecx, dword [r13 + rbx*4]
add rcx, rbp
mov rdx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400061aa
inc ebx
cmp ebx, dword [rdi + 0x14]
jb 0x140006140
mov rcx, rdi
call fcn.140010864
xor eax, eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140010840
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rbx, [r12 + rsi]
mov rcx, rdi
call fcn.140010864
mov rax, rbx
jmp 0x14000617f
Function at 0x1400077e0
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
movzx edi, r8w
mov rbx, rcx
and esi, 1
and rbx, 0xfffffffffffffffe
mov r14, r9
test rsi, rsi
cmove rbx, rcx
xor sil, 1
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rdx, rax
test rax, rax
je 0x140007978
movzx eax, word [rax + 0x18]
mov ecx, 0x10b
cmp ax, cx
jne 0x1400078e4
cmp edi, dword [rdx + 0x74]
jae 0x140007978
mov r9d, dword [rdx + rdi*8 + 0x78]
test r9d, r9d
je 0x140007978
movabs r8, 0x7ffffffeffff
cmp rbx, r8
jae 0x14000786e
lea rcx, [rbx + r9]
cmp rcx, r8
jae 0x140007978
mov eax, dword [rdx + rdi*8 + 0x7c]
mov dword [r14], eax
test sil, sil
jne 0x1400078db
cmp r9d, dword [rdx + 0x54]
jb 0x1400078db
movzx r8d, word [rdx + 0x14]
xor eax, eax
movzx edi, word [rdx + 6]
add r8, 0x18
add r8, rdx
mov r10d, eax
test edi, edi
je 0x14000797a
nop dword [rax]
mov r11d, dword [r8 + 0xc]
cmp r9d, r11d
jb 0x1400078b5
mov edx, dword [r8 + 0x10]
add edx, r11d
cmp r9d, edx
jb 0x1400078c6
add r8, 0x28
inc r10d
cmp r10d, edi
jb 0x1400078a0
jmp 0x14000797a
mov eax, dword [r8 + 0x14]
sub r9d, r11d
mov ecx, r9d
add rcx, rbx
add rax, rcx
jmp 0x14000797a
lea rax, [rbx + r9]
jmp 0x14000797a
mov ecx, 0x20b
cmp ax, cx
jne 0x140007978
cmp edi, dword [rdx + 0x84]
jae 0x140007978
mov r9d, dword [rdx + rdi*8 + 0x88]
test r9d, r9d
je 0x140007978
movabs r8, 0x7ffffffeffff
cmp rbx, r8
jae 0x140007923
lea rcx, [rbx + r9]
cmp rcx, r8
jae 0x140007978
mov eax, dword [rdx + rdi*8 + 0x8c]
mov dword [r14], eax
test sil, sil
jne 0x1400078db
cmp r9d, dword [rdx + 0x54]
jb 0x1400078db
movzx r8d, word [rdx + 0x14]
xor eax, eax
movzx edi, word [rdx + 6]
add r8, 0x18
add r8, rdx
mov r10d, eax
test edi, edi
je 0x14000797a
mov r11d, dword [r8 + 0xc]
cmp r9d, r11d
jb 0x14000796a
mov edx, dword [r8 + 0x10]
add edx, r11d
cmp r9d, edx
jb 0x1400078c6
add r8, 0x28
inc r10d
cmp r10d, edi
jb 0x140007951
jmp 0x14000797a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x140008820
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140017010]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400088a5
nop dword [rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x1400088cd
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140008880
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140010840
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
mov eax, dword [rsp + 0x28]
jmp 0x1400088ac
Function at 0x140010b74
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14009c6e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x14009c70d
xor al, al
jmp 0x14009c86f
mov rax, qword [0x1400bd6c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1400bd6c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1400bd6d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1400bd6d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1400bd6e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1400bd6e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1400bd6f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1400bd6f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x1400bd700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x14009c861
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x14009c7b9
mov r11d, 2
jmp 0x14009c7dd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x14009c7d3
mov r11d, 1
jmp 0x14009c7dd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x14009c885
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x14009c822
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x14009c83a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x14009c84a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x14009c858
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x14009c7a0
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x14009c86a
Function at 0x14062598a
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r8
movsx r8, si
xchg r8b, r8b
push rdx
push rbp
movzx rdx, r9w
movzx dx, bl
push r9
not dl
movzx dx, dh
push rsi
mov r8b, bpl
mov r9b, 0xec
bswap r9w
push r14
mov r8, r13
cdq
push rdi
movsx edi, r10w
movsxd rdx, r12d
push rbx
push rax
push rcx
not r8w
rdtsc
push r11
movsxd r11, ebx
lahf
push r13
cwd
rdtsc
pushfq
push r10
movsxd rbx, r15d
cwd
setno bl
movabs rdx, 0
jmp 0x1405d7ea7
inc eax
clc
ror eax, 2
cmp r14w, 0x41c8
test dil, bl
push r11
shl r11, 0x6e
xor dword [rsp], eax
sbb r11b, dil
add r11w, r10w
movsxd r11, ebx
pop r11
cmp rbx, 0x550a29f1
jmp 0x1405f7b35
push rdx
cmovp di, r15w
mov r9, qword [rsp + 0x90]
dec r9d
bt r11w, r15w
rol r9d, 1
movsx bx, dil
inc r11
xchg ah, al
dec r9d
mov r11, rdi
ror r9d, 2
rol dil, 0xce
mov r8b, bpl
mov ah, 0x5e
add r9d, 0x2be40450
rol rdi, cl
lea r9, [r9 + rdx]
shr r11w, 0x3a
cmc
movabs rdx, 0x100000000
cmovne r11d, r8d
bts rax, r8
stc
lea r9, [r9 + rdx]
adc r11, 0x31f666f4
test dh, bh
ror bx, cl
mov rbx, rsp
sar rdi, 0xf0
sub rsp, 0x180
and rsp, 0xfffffffffffffff0
add r8d, 0x26007755
btc di, 0xb0
mov r11, r9
bts ax, r13w
movzx r8w, dl
neg eax
movabs r8, 0
test r15b, 0xe3
shr eax, cl
sub r11, r8
lahf
xor ah, ch
cmovp edi, r9d
lea rdi, [0x1405d7f5f]
rcl al, 0x9a
mov eax, dword [r9]
test r10w, 0x49f4
add r9, 4
stc
cmp dh, bh
xor eax, r11d
jmp 0x1406703a9
movsxd rax, eax
cmp r11b, 0xda
cmc
add rdi, rax
jmp 0x140671c69
not eax
jmp 0x140676ec5
push r12
push r15
jmp 0x14058aca9
inc eax
stc
rol eax, 3
jmp 0x14061efc4
push rdi
ret
inc eax
xor eax, 0x39a1560b
jmp 0x14059ad78
Function at 0x140eb1386
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rdx
cmovp di, r15w
mov r9, qword [rsp + 0x90]
dec r9d
bt r11w, r15w
rol r9d, 1
movsx bx, dil
inc r11
xchg ah, al
dec r9d
mov r11, rdi
ror r9d, 2
rol dil, 0xce
mov r8b, bpl
mov ah, 0x5e
add r9d, 0x2be40450
rol rdi, cl
lea r9, [r9 + rdx]
shr r11w, 0x3a
cmc
movabs rdx, 0x100000000
cmovne r11d, r8d
bts rax, r8
stc
lea r9, [r9 + rdx]
adc r11, 0x31f666f4
test dh, bh
ror bx, cl
mov rbx, rsp
sar rdi, 0xf0
sub rsp, 0x180
and rsp, 0xfffffffffffffff0
add r8d, 0x26007755
btc di, 0xb0
mov r11, r9
bts ax, r13w
movzx r8w, dl
neg eax
movabs r8, 0
test r15b, 0xe3
shr eax, cl
sub r11, r8
lahf
xor ah, ch
cmovp edi, r9d
lea rdi, [0x140d924df]
rcl al, 0x9a
mov eax, dword [r9]
test r10w, 0x49f4
add r9, 4
stc
cmp dh, bh
xor eax, r11d
jmp 0x140eb771d
inc eax
xor eax, 0x39a1560b
jmp 0x140ea2590
movsxd rax, eax
cmp r11b, 0xda
cmc
add rdi, rax
jmp 0x140dfce93
not eax
jmp 0x140da07f5
push rdi
ret
inc eax
clc
ror eax, 2
cmp r14w, 0x41c8
test dil, bl
push r11
shl r11, 0x6e
xor dword [rsp], eax
sbb r11b, dil
add r11w, r10w
movsxd r11, ebx
pop r11
cmp rbx, 0x550a29f1
jmp 0x140dcff24
push r8
movsx r8, si
xchg r8b, r8b
push rdx
push rbp
movzx rdx, r9w
movzx dx, bl
push r9
not dl
movzx dx, dh
push rsi
mov r8b, bpl
mov r9b, 0xec
bswap r9w
push r14
mov r8, r13
cdq
push rdi
movsx edi, r10w
movsxd rdx, r12d
push rbx
push rax
push rcx
not r8w
rdtsc
push r11
movsxd r11, ebx
lahf
push r13
cwd
rdtsc
pushfq
push r10
movsxd rbx, r15d
cwd
setno bl
movabs rdx, 0
jmp 0x140d92427
push r12
push r15
jmp 0x140ea9690
inc eax
stc
rol eax, 3
jmp 0x140df067a