joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002150
Capabilities:
Parse pe header

Disassembly:
mov r9d, r8d
cmp r8d, 0x40
jae 0x14000215c
xor eax, eax
ret
mov eax, 0x5a4d
mov qword [0x14006f398], rdx
cmp word [rdx], ax
jne 0x140002159
movsxd r8, dword [rdx + 0x3c]
lea rcx, [r8 + 0x108]
cmp r9, rcx
jb 0x140002159
lea rax, [r8 + rdx]
mov qword [0x14006f3a0], rax
cmp dword [rax], 0x4550
jne 0x140002159
test byte [rax + 0x16], 2
je 0x140002159
mov ecx, pe_nt_image_headers64
cmp word [rax + 0x14], cx
jne 0x140002159
lea rcx, [rax + 0x108]
xor edx, edx
mov qword [0x14006f3a8], rcx
movzx r8d, word [rax + 6]
test r8d, r8d
jle 0x1400021d5
add rcx, 0x10
nop
mov eax, dword [rcx + 4]
add eax, dword [rcx]
cmp eax, r9d
ja 0x140002159
inc edx
add rcx, 0x28
cmp edx, r8d
jl 0x1400021c0
mov eax, 1
ret

Function at 0x140002400
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x40
mov rax, r8
mov r10, rdx
mov rbx, rcx
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r10
mov rsi, r9
mov dword [rsp + 0x30], 0x100000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x140002440
xor al, al
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
mov ecx, dword [rsp + 0x30]
mov qword [rsp + 0x50], rdi
call fcn.140004400
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x38]
xor r8d, r8d
mov rdx, rsi
mov qword [rbx + 8], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp eax, 0xea
jne 0x1400024ca
nop
mov rcx, qword [rbx + 8]
add dword [rsp + 0x30], 0x1000
call fcn.1400043f8
mov ecx, dword [rsp + 0x30]
call fcn.140004400
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x38]
xor r8d, r8d
mov rdx, rsi
mov qword [rbx + 8], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp eax, 0xea
je 0x140002480
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1400024fd
mov rcx, qword [rbx + 8]
xor edi, edi
mov dword [rbx + 0x10], edi
call fcn.1400043f8
mov qword [rbx + 8], rdi
mov rdi, qword [rsp + 0x50]
xor al, al
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
mov eax, dword [rsp + 0x30]
mov rdi, qword [rsp + 0x50]
mov dword [rbx + 0x10], eax
mov rbx, qword [rsp + 0x58]
mov al, 1
add rsp, 0x40
pop rsi
ret
Function at 0x140003af0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov rax, qword [rdx + 0xa0]
lea rdi, [rcx + 0x20]
xor r12d, r12d
mov qword [rsp + 0x20], rax
mov rax, qword [rdx + 0xa8]
mov r13, rdx
mov rsi, rcx
mov r11, r12
mov r10, rdi
mov qword [rsp + 0x28], rax
nop word [rax + rax]
mov r9d, dword [rsp + r11*4 + 0x20]
mov eax, dword [r10 - 0x20]
inc r11
mov ecx, r9d
mov edx, r9d
mov r8d, r9d
shr ecx, 0x18
shl edx, 8
shl r8d, 0x10
xor eax, ecx
mov ecx, dword [r10]
shr edx, 0x18
mov dword [r10 - 0x20], eax
mov eax, dword [r10 - 0x10]
shl r9d, 0x18
xor eax, edx
shr r8d, 0x18
shr r9d, 0x18
mov dword [r10 - 0x10], eax
mov eax, dword [r10 + 0x10]
xor ecx, r8d
xor eax, r9d
mov dword [r10], ecx
add r10, 4
cmp r11, 4
mov dword [r10 + 0xc], eax
jl 0x140003b40
mov ebp, 9
lea rbx, [r13 + 0x90]
mov rcx, rsi
call fcn.140003570
mov rcx, rsi
call fcn.140003660
mov rax, qword [rbx]
mov r10, r12
mov qword [rsp + 0x20], rax
mov rax, qword [rbx + 8]
mov r9, rdi
mov qword [rsp + 0x28], rax
nop
mov r8d, dword [rsp + r10*4 + 0x20]
inc r10
add r9, 4
mov eax, r8d
mov ecx, r8d
mov edx, r8d
shr eax, 0x18
shl ecx, 8
shl edx, 0x10
xor eax, dword [r9 - 0x24]
shr ecx, 0x18
shr edx, 0x18
mov dword [r9 - 0x24], eax
shl r8d, 0x18
mov eax, ecx
xor eax, dword [r9 - 0x14]
shr r8d, 0x18
mov dword [r9 - 0x14], eax
mov eax, edx
xor eax, dword [r9 - 4]
mov dword [r9 - 4], eax
mov eax, r8d
xor eax, dword [r9 + 0xc]
cmp r10, 4
mov dword [r9 + 0xc], eax
jl 0x140003bd0
lea rdx, [0x14006a250]
mov rcx, rsi
call fcn.140003700
dec rbp
sub rbx, 0x10
test rbp, rbp
jg 0x140003ba8
mov rcx, rsi
call fcn.140003570
mov rcx, rsi
call fcn.140003660
mov rax, qword [r13]
mov qword [rsp + 0x20], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x28], rax
nop word [rax + rax]
mov r9d, dword [rsp + r12*4 + 0x20]
mov eax, dword [rdi - 0x20]
inc r12
mov ecx, r9d
mov edx, r9d
mov r8d, r9d
shr ecx, 0x18
shl edx, 8
shl r8d, 0x10
xor eax, ecx
mov ecx, dword [rdi]
shr edx, 0x18
mov dword [rdi - 0x20], eax
mov eax, dword [rdi - 0x10]
shl r9d, 0x18
xor eax, edx
shr r8d, 0x18
shr r9d, 0x18
mov dword [rdi - 0x10], eax
mov eax, dword [rdi + 0x10]
xor ecx, r8d
xor eax, r9d
mov dword [rdi], ecx
add rdi, 4
cmp r12, 4
mov dword [rdi + 0xc], eax
jl 0x140003c70
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x140005ea8
Capabilities:
Extract resource via kernel32 functions

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 r12
push r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x140005f1a
call fcn.140014b0c
mov r8d, pe_nt_image_headers64
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140005f1a
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140005f67
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x140005f47
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x140005f47
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x140005f65
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret

Function at 0x140007f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_640
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x140007f9f
cmp dword [rcx + 0xa8], 0
jne 0x140007f9f
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.140014b0c
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140007f04
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b924
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.140014de0
mov rsi, rax
test rax, rax
je 0x14000b9a0
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14000b99b
cmp dword [rbx], 0x40
jb 0x14000b99b
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14000b99b
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14000b9a4
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140011f80
Capabilities:
Extract resource via kernel32 functions

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 r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140011fe8
call fcn.140014b0c
mov r8d, pe_nt_image_headers64
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140011fe8
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14001200a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140011990
mov esi, eax
test rdi, rdi
je 0x140012008
test rbx, rbx
je 0x140012008
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x1400136cc
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x14001370a
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400137be
call fcn.14000a308
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140013729
mov ecx, 0x80004005
call fcn.140001b80
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14002dd10
test eax, eax
je 0x140013791
cmp eax, 0xc
je 0x14001378b
cmp eax, 0x16
je 0x140013785
cmp eax, 0x22
je 0x140013785
cmp eax, 0x50
je 0x140013791
call fcn.14000a760
int3
call fcn.14000a760
int3
call fcn.14000a718
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x1400137bc
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14002d084
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140032df8
nop
cmp dword [0x14006df08], 1
je 0x14002d030
mov dword [0x14006df04], 1
mov byte [0x14006df00], r12b
test ebx, ebx
jne 0x14002d01c
mov rcx, qword [0x140070610]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002d009
mov rcx, qword [0x140070608]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14002cfa8
call fcn.14002fb1c
cmp qword [rdi], rax
jne 0x14002cfa8
jmp 0x14002cf8e
cmp rdi, rsi
jb 0x14002d009
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14002fb1c
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140070610]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140070608]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14002cfe7
cmp r13, rax
je 0x14002d007
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14002cf8e
lea rdx, [0x14004ac80]
lea rcx, [0x14004ac68]
call fcn.14002cdd8
lea rdx, [0x14004ac90]
lea rcx, [0x14004ac88]
call fcn.14002cdd8
nop
test r12d, r12d
je 0x14002d03f
mov ecx, 8
call fcn.140032cf8
test r12d, r12d
jne 0x14002d06a
mov dword [0x14006df08], 1
lea ecx, [r12 + 8]
call fcn.140032cf8
mov ecx, r15d
call fcn.14002cd6c
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14002cef8

Function at 0x14002d090
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14002cef8
Function at 0x140030017
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140067e30]
jne 0x14002b7aa
rol rcx, 0x10
test cx, 0xffff
jne 0x14002b7a6
repz ret
ror rcx, 0x10
jmp 0x14002ff70
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14006e4f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14006e5e8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002fff5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14006e4f0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140030017
mov rax, qword [rsp + 0x88]
mov qword [0x14006e5e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14006e588], rax
mov rax, qword [0x14006e5e8]
mov qword [0x14006e460], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14006e570], rax
mov dword [0x14006e450], 0xc0000409
mov dword [0x14006e454], 1
mov rax, qword [0x140067e30]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140067e38]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14006e4e8], eax
mov ecx, 1
call fcn.1400303f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140051f80]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14006e4e8], 0
jne 0x14003009e
mov ecx, 1
call fcn.1400303f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400385ac
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14002fb1c
xor ebx, ebx
mov rdi, rax
cmp qword [0x14006ed80], rbx
jne 0x1400386b2
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140038787
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140038787
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140052218]
mov rcx, rsi
mov qword [0x14006ed80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140052200]
mov rcx, rsi
mov qword [0x14006ed88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14006ed90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14006eda0], rax
test rax, rax
je 0x1400386a9
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14006ed98], rax
jmp 0x1400386b9
mov rax, qword [0x14006ed98]
jmp 0x1400386c0
mov rax, qword [0x14006ed98]
mov r11, qword [0x14006eda0]
cmp rax, rdi
je 0x140038728
cmp r11, rdi
je 0x140038728
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14006eda0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140038728
test rax, rax
je 0x140038728
call rsi
test rax, rax
je 0x140038722
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140038722
test byte [rsp + 0x38], 1
jne 0x140038728
bts ebp, 0x15
jmp 0x140038766
mov rcx, qword [0x14006ed88]
cmp rcx, rdi
je 0x140038766
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140038766
call rax
mov rbx, rax
test rax, rax
je 0x140038766
mov rcx, qword [0x14006ed90]
cmp rcx, rdi
je 0x140038766
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140038766
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14006ed80]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140038787
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140038789
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x223a102
Capabilities:
Execute anti-debugging instructions

Disassembly:
rol edx, 1
cmp r11w, 0x20ae
test r11d, edx
bswap edx
push r11
movsxd r11, ecx
xor dword [rsp], edx
pop r11
cmp cl, bpl
movsxd rdx, edx
stc
add rbp, rdx
jmp 0x222c231
jmp rbp
push rdx
movsx rdx, sp
push r15
movsxd rdx, r9d
push rbp
cqo
mov rbp, r12
push rdi
movsx rdx, r11w
push r13
movzx rdx, r10w
cwd
push rbx
push r8
movsx bx, r14b
push r12
mov dx, r15w
movsx rbx, r13w
movzx rdx, di
push r11
push rsi
mov rbp, r15
movsx r11, ax
movzx r11w, dil
push rcx
movzx edx, cx
cqo
movzx rdx, dx
push r14
xchg rbx, rbp
cwd
movsx rsi, r12w
push r10
movsx r10w, sil
xchg bpl, r10b
movsx ebx, r9w
push rax
movsx edx, r14w
cmovs ebx, ebp
rdtsc
push r9
movzx bx, r10b
movzx rsi, ax
setae sil
pushfq
rdtsc
cwde
mov ebx, 0x4d052ceb
movabs rbx, 0
movsx esi, sp
push rbx
dec bpl
mov r10, qword [rsp + 0x90]
movsx rbp, r15w
movsxd rbp, r13d
bswap r10d
movzx rax, sp
inc r10d
ror sil, cl
rol r10d, 1
test r10, 0x490d15a6
cdq
add r10d, 0x3d1c32e6
shl si, 0x43
lea r10, [r10 + rbx]
cmp r13b, 0xb9
mov rsi, rsp
bsf ax, bp
or al, 0xa5
xchg bpl, bpl
sub rsp, 0x180
lahf
and rsp, 0xfffffffffffffff0
mov r11, r10
mov dx, bp
cdqe
shr al, cl
movabs rax, 0
movsx rdx, r13w
sub r11, rax
sar bpl, 0x7e
movsx bp, r15b
lea rbp, [0x0223a213]
mov edx, dword [r10]
clc
add r10, 4
clc
xor edx, r11d
clc
test r15, r14
bswap edx
cmc
clc
sub edx, 0x51c913f6
xor edx, 0x70e9080d
cmc
sub edx, 0x23d524f
jmp 0x21846c0
Function at 0x140065f30
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140065f78
lea ebx, [rsi + 0xd]
jmp 0x140065fe3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x140065fe3
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14003ffcc
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x140065fd5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140065fe3
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.140003cac
mov ebx, esi
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140066026
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066021
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066021
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066724
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x140066a90
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400be0c0], eax
call fcn.140066f14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400be0c0], 0
jne case.default.0x140066ae6
mov ecx, 1
call fcn.140066f14
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
invalid
loopne 0x14012a1ff
sbb eax, 0xbc03f7b6
and dword cs:[rdx], esi
mov ecx, 0xd17382e
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
add dword [rbx + 0x7bf00d50], esp
push rbp
jbe 0x14012a22c
bnd jp 0x14012a224
sub byte [rbp - 6], cl
stosd dword [edi], eax
mov dword [rbx], 0x2ce5f14f
scasb al, byte [rdi]
sbb eax, 0x4924bdfc
pop rsp
fcomp dword [rdi - 0x19942645]
push rdx
movabs dword [0xbbf810b849ee7b55], eax
or al, 0x52
jae 0x14012a1ec
xor dword [rax - 0x2c], esi
sbb ebp, dword [rbx + 0x5f]
xor dword [rcx], ebp
stosb byte [rdi], al
retf
Function at 0x140001dc0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x138
mov rax, qword [0x14001a0d8]
xor rax, rsp
mov qword [rsp + 0x120], rax
call fcn.1400024d0
test eax, eax
je 0x140001def
cmp dword [0x14001c868], 1
je 0x140001ed4
xor eax, eax
mov qword [rsp + 0x130], rbx
lea rcx, [rsp + 0x80]
xor ebx, ebx
xor edx, edx
mov r8d, 0x9c
mov qword [rsp + 0x42], rax
mov qword [rsp + 0x4a], rax
mov qword [rsp + 0x52], rax
mov word [rsp + 0x40], bx
mov qword [rsp + 0x5a], rax
mov qword [rsp + 0x62], rax
mov qword [rsp + 0x6a], rax
mov qword [rsp + 0x72], rax
mov dword [rsp + 0x7a], eax
mov word [rsp + 0x7e], ax
call fcn.140009480
lea r8, [rsp + 0x40]
or edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplaySettingsW]
cmp eax, 1
jne 0x140001e65
mov ebx, dword [rsp + 0x94]
mov r8d, ebx
call fcn.1400010b0
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareElantechOtherSetting
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001ecc
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.ScreenOrientationValueToKernel
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140004010
add rsp, 0x138
ret