joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006018
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 [0x14001f1c0]
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 0x1400071f8
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007188
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x1400211f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020628]
jmp 0x140007234
cmp qword [rbx + 0x18], rdi
je 0x14000723b
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000722b
jmp 0x140007255
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020628]
call fcn.140011fd8
lea rcx, [0x1400211f0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
adc al, byte [rcx]
sar edx, 6
cmc
movsd dword [rdi], dword [rsi]
invalid
add byte [rbx - 4], bl
mov word [rdx + rdx*8 + 0x2c357faa], gs
xor eax, 0x6c353b2c
jl 0x14003f6d7
je 0x14003f6eb
clc
pop rbp
mov edx, 0xb4a2c0ce
mov ah, 0xca
jae 0x14003f6ee
mov ah, 0xca
jae 0x14003f6ee
or al, 0x37
mov byte [rbx - 0x57c0bd17], dh
in eax, 0xb5
jbe 0x14003f63e
sub eax, 0x367f6a8b
xchg edx, edx
fistp word [rsi - 0x30]
enter 0xffffffffffff9440, 0xffffffffffffffd3
xchg esp, eax
ror dword [rbx], cl
cld
xchg esp, eax
ror dword [rbx], cl
cld
invalid
or al, 0xa0
add ebp, eax
invalid
invalid
mov bl, 0xaa
stosb byte [rdi], al
invalid
hlt
mov ah, 0x9f
sahf
adc eax, 0x43820d02
fst qword [rbp - 0x28417fd0]
xlatb
mov ecx, dword [rdx + riz*2 + 0x5153a4b4]
and eax, 0x7418e3c1
xlatb
movabs dword [0x7b566449a8233292], eax
test al, 0x49
push rsi
push rsi
jnp 0x14003f6cd
invalid
mov ch, 0x6d
invalid
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140012fe0
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]
nop
add rsp, 0x28
ret

Function at 0x14001127b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014330
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014350
xor al, al
jmp 0x1400143d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014363
xor al, al
jmp 0x1400143d1
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 0x14001438d
xor al, al
jmp 0x1400143d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400143a1
xor al, al
jmp 0x1400143d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400143b3
xor al, al
jmp 0x1400143d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400143cf
xor al, al
jmp 0x1400143d1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012220
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001139d
movzx eax, al
test eax, eax
jne 0x140012240
mov ecx, 7
call fcn.14001131b
nop
mov byte [rsp + 0x20], 0
call fcn.14001132f
mov byte [rsp + 0x21], al
cmp dword [0x14001d878], 1
jne 0x140012264
mov ecx, 7
call fcn.14001131b
nop
jmp 0x1400122bc
cmp dword [0x14001d878], 0
jne 0x1400122b7
mov dword [0x14001d878], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.14001119f
test eax, eax
je 0x140012298
mov eax, 0xff
jmp 0x1400123c1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011325
mov dword [0x14001d878], 2
jmp 0x1400122bc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011307
call fcn.14001129e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012319
mov rcx, qword [rsp + 0x30]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x140012319
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140023020]
nop
call fcn.1400112d0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001234d
mov rcx, qword [rsp + 0x38]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x14001234d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001135c
nop
call fcn.140012470
mov dword [rsp + 0x28], eax
call fcn.14001127b
movzx eax, al
test eax, eax
jne 0x14001236c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001237b
call fcn.140011366
nop
xor edx, edx
mov cl, 1
call fcn.140011145
mov eax, dword [rsp + 0x28]
jmp 0x1400123c1
add rsp, 0x68
ret
Function at 0x140130000
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
and eax, 0x196b6c2a
fstpnce st(7), st(0)
cmp ecx, dword [rsi + rdx*2 + 0x22c669a6]
invalid
loop 0x14012f0f1
or eax, 0x4092bc7e
shr byte [rdi], cl
invalid
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
je 0x14013002f
jne 0x14013002f
jno 0x14012f110
test rdi, rbp
pushfq
jmp rcx
jmp 0x1401300b0
xchg r11, rax
mov r10, qword [rax]
mov r11, qword [r10 + 0x30]
movsxd rax, dword [r11 + 0x3c]
mov ebx, dword [rax + r11 + 0x88]
mov r10d, dword [rbx + r11 + 0x20]
nop word [rax + rax]
sub rsp, 8
lea rbp, [rsp - 0x360]
sub rsp, 0x460
jmp 0x1401300c1
push 0x6cedd9d
mov qword [rsp], rbp
push rbx
nop
mov qword [rsp - 8], r15
jmp 0x14013006c
xchg r13, rcx
mov qword [rsp + 8], r13
xchg rcx, r13
nop
jmp 0x14013009b
mov rax, qword gs:[0x60]
xor r15d, r15d
mov r8d, r15d
mov r10, qword [rax + 0x18]
xchg r11, rax
mov r11, qword [r10 + 0x10]
jmp 0x140130043

Function at 0x140131757
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov dword [rbp - 4], edi
loope 0x140131722
ret
Function at 0x40eef0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x40eefd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x40ef0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x40eef5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x40ef25
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x40ef12
sub eax, 3
jb 0x40ef3f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x40ef76
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x40ef66
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x40ef64
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x40ef53
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.0040eeb2
jmp 0x40eefd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x3e00
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x40efc2
cmp rsi, rcx
jae 0x40efca
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x40efa9
cmp al, 0x8f
ja 0x40efa9
cmp byte [rsi - 2], 0xf
je 0x40efaf
sub al, 0xe8
cmp al, 1
ja 0x40ef93
cmp rsi, rcx
jae 0x40efca
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x40ef99
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x40efca
lodsb al, byte [rsi]
jmp 0x40efa9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xc000]
mov eax, dword [rdi]
or eax, eax
je 0x40f027
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x40efd7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x40f021
mov qword [rbx], rax
add rbx, 8
jmp 0x40eff7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x40f061
cmp al, 0xef
ja 0x40f053
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x40f033
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x40f042
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1a7]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.0040f0e0], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.0040f0e0
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x40f0d0
sub rsp, 0xffffffffffffff80
jmp 0x40112f
Function at 0x14010a740
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140131070]
test rax, rax
je 0x14010a78a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14010a78a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14010a78a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14010a78a
cmp dword [rcx + 0x84], 0xe
jbe 0x14010a78a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14010a78c
xor al, al
add rsp, 0x28
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.14021f000
add rsp, 0x28
jmp 0x14000c43c
Function at 0x14001c140
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140054bb0
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]
nop
add rsp, 0x28
ret

Function at 0x14001eece
Capabilities:
Get geographical location

Disassembly:
jmp 0x14004fa90
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14004facd
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14001f6f8
add rsp, 0x58
ret

Function at 0x14001efaf
Capabilities:
Parse pe header

Disassembly:
jmp 0x140055f00
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140055f20
xor al, al
jmp 0x140055fa1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140055f33
xor al, al
jmp 0x140055fa1
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 0x140055f5d
xor al, al
jmp 0x140055fa1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140055f71
xor al, al
jmp 0x140055fa1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140055f83
xor al, al
jmp 0x140055fa1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140055f9f
xor al, al
jmp 0x140055fa1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001f3d8
Capabilities:
Create directory

Disassembly:
jmp 0x140051060
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14005109d
mov byte [rsp + 0x24], 1
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x140051112
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
jne 0x140051100
mov edx, 1
mov ecx, 2
call fcn.14001e0c8
mov r9d, 0xffffffff
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.14001e6a4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140051100
mov edx, 0x10
mov ecx, dword [rsp + 0x48]
call fcn.14001e2e4
movzx eax, al
test eax, eax
jne 0x140051100
mov dword [rsp + 0x20], 0xb7
mov byte [rsp + 0x2c], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001eb09
add rsp, 0x68
ret

Function at 0x140053820
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001f7d9
movzx eax, al
test eax, eax
jne 0x140053840
mov ecx, 7
call fcn.14001f342
nop
mov byte [rsp + 0x20], 0
call fcn.14001f3c4
mov byte [rsp + 0x21], al
cmp dword [0x140073e28], 1
jne 0x140053864
mov ecx, 7
call fcn.14001f342
nop
jmp 0x1400538bc
cmp dword [0x140073e28], 0
jne 0x1400538b7
mov dword [0x140073e28], 1
lea rdx, [0x14005f660]
lea rcx, [0x14005f330]
call fcn.14001eac8
test eax, eax
je 0x140053898
mov eax, 0xff
jmp 0x1400539c1
lea rdx, [0x14005f220]
lea rcx, [section..rdata]
call fcn.14001f397
mov dword [0x140073e28], 2
jmp 0x1400538bc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001f2f7
call fcn.14001f040
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140053919
mov rcx, qword [rsp + 0x30]
call fcn.14001e8f2
movzx eax, al
test eax, eax
je 0x140053919
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14007e020]
nop
call fcn.14001f158
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14005394d
mov rcx, qword [rsp + 0x38]
call fcn.14001e8f2
movzx eax, al
test eax, eax
je 0x14005394d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001f644
nop
call fcn.140053a70
mov dword [rsp + 0x28], eax
call fcn.14001efaf
movzx eax, al
test eax, eax
jne 0x14005396c
mov ecx, dword [rsp + 0x28]
call fcn.14001e1bd
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14005397b
call fcn.14001f6a8
nop
xor edx, edx
mov cl, 1
call fcn.14001e861
mov eax, dword [rsp + 0x28]
jmp 0x1400539c1
add rsp, 0x68
ret
Function at 0x140001a9c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ae6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ae6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ae6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ae6
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ae6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ae8
xor al, al
add rsp, 0x28
ret
Function at 0x140001710
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x140002260
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xa0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rbp - 8]
call fcn.140002000
mov rdi, qword [rbp + 8]
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x1000
mov r9d, 0x40
call sub.KERNEL32.dll_VirtualAlloc
mov rsi, rax
call sub.KERNEL32.dll_GetLastError
test eax, eax
je 0x14000231f
call sub.KERNEL32.dll_GetLastError
mov dword [rbp + 0x14], eax
lea rax, [rbp + 0x14]
mov qword [rbp - 0x18], rax
lea rax, [0x14001b310]
mov qword [rbp - 0x10], rax
lea rax, str._n
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x28], 0
lea rax, [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rcx, [rbp - 0x48]
call fcn.140009160
mov rdx, qword [rbp - 8]
test rdx, rdx
je 0x140002313
mov rcx, qword [rbp]
mov r8d, 1
call fcn.140001180
nop
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [rbp]
mov rcx, rsi
mov r8, rdi
call sub.VCRUNTIME140.dll_memmove
mov dword [rbp - 0x48], 0
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
mov r8, rsi
xor r9d, r9d
call sub.KERNEL32.dll_CreateThread
mov rcx, rax
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov rdx, qword [rbp - 8]
test rdx, rdx
jne 0x140002304
jmp 0x140002313
Function at 0x140002f60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
movdqa xmm0, xmmword [rcx]
movdqa xmm10, xmmword [rcx + 0x10]
movdqa xmm9, xmmword [rcx + 0x20]
movdqa xmm8, xmmword [rcx + 0x30]
movdqa xmm2, xmmword [rdx]
pxor xmm2, xmm0
movdqa xmm5, xmmword [rdx + 0x10]
pxor xmm5, xmm0
movdqa xmm6, xmmword [rdx + 0x20]
pxor xmm6, xmm0
movdqa xmm7, xmmword [rdx + 0x30]
pxor xmm7, xmm0
movdqa xmm1, xmmword [rdx + 0x40]
pxor xmm1, xmm0
movdqa xmm3, xmmword [rdx + 0x50]
pxor xmm3, xmm0
movdqa xmm4, xmmword [rdx + 0x60]
pxor xmm4, xmm0
pxor xmm0, xmmword [rdx + 0x70]
aesenc xmm2, xmm10
aesenc xmm5, xmm10
aesenc xmm6, xmm10
aesenc xmm7, xmm10
aesenc xmm1, xmm10
aesenc xmm3, xmm10
aesenc xmm4, xmm10
aesenc xmm0, xmm10
aesenc xmm2, xmm9
aesenc xmm5, xmm9
aesenc xmm6, xmm9
aesenc xmm7, xmm9
aesenc xmm1, xmm9
aesenc xmm3, xmm9
aesenc xmm4, xmm9
aesenc xmm0, xmm9
aesenc xmm2, xmm8
aesenc xmm5, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x40]
aesenc xmm2, xmm8
aesenc xmm5, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x50]
aesenc xmm2, xmm8
aesenc xmm5, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x60]
aesenc xmm2, xmm8
aesenc xmm5, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x70]
aesenc xmm2, xmm8
aesenc xmm5, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x80]
aesenc xmm2, xmm8
aesenc xmm5, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0x90]
aesenc xmm2, xmm8
aesenc xmm5, xmm8
aesenc xmm6, xmm8
aesenc xmm7, xmm8
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm0, xmm8
movdqa xmm8, xmmword [rcx + 0xa0]
aesenclast xmm2, xmm8
aesenclast xmm5, xmm8
movdqa xmmword [rdx], xmm2
movdqa xmmword [rdx + 0x10], xmm5
aesenclast xmm6, xmm8
movdqa xmmword [rdx + 0x20], xmm6
aesenclast xmm7, xmm8
movdqa xmmword [rdx + 0x30], xmm7
aesenclast xmm1, xmm8
aesenclast xmm3, xmm8
movdqa xmmword [rdx + 0x40], xmm1
movdqa xmmword [rdx + 0x50], xmm3
aesenclast xmm4, xmm8
movdqa xmmword [rdx + 0x60], xmm4
aesenclast xmm0, xmm8
movdqa xmmword [rdx + 0x70], xmm0
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret