joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014d270
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140239e70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0x270
jmp 0x14014d2a0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0x4e0
jae 0x14014d4b8
mov rax, qword [rsp + 0xa0]
add rax, 4
mov rcx, qword [rsp + 0x28]
lea rcx, [rcx*4 - 0x9c0]
add rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
shr rax, 3
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x20], al
cmp byte [rsp + 0x20], 0
je 0x14014d311
movzx eax, byte [rsp + 0x50]
and al, 7
add al, 3
cmp al, byte [rsp + 0x20]
jl 0x14014d311
mov rcx, qword [rsp + 0x50]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load4
nop
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
and eax, 0x80000000
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xa0]
add rax, 4
mov rcx, qword [rsp + 0x28]
lea rcx, [rcx*4 - 0x9bc]
add rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
shr rax, 3
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x21], al
cmp byte [rsp + 0x21], 0
je 0x14014d383
movzx eax, byte [rsp + 0x58]
and al, 7
add al, 3
cmp al, byte [rsp + 0x21]
jl 0x14014d383
mov rcx, qword [rsp + 0x58]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load4
nop
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
btr eax, 0x1f
mov ecx, dword [rsp + 0x40]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x14014d3af
mov dword [rsp + 0x34], 0x9908b0df
jmp 0x14014d3b7
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x30]
shr eax, 1
xor eax, dword [rsp + 0x34]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xa0]
add rax, 4
mov rcx, qword [rsp + 0x28]
lea rcx, [rcx*4 - 0x38c]
add rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
shr rax, 3
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x22], al
cmp byte [rsp + 0x22], 0
je 0x14014d42d
movzx eax, byte [rsp + 0x60]
and al, 7
add al, 3
cmp al, byte [rsp + 0x22]
jl 0x14014d42d
mov rcx, qword [rsp + 0x60]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load4
nop
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x44]
xor ecx, eax
mov dword [rsp + 0x48], ecx
mov rax, qword [rsp + 0xa0]
add rax, 4
mov rcx, qword [rsp + 0x28]
shl rcx, 2
add rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
shr rax, 3
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x23], al
cmp byte [rsp + 0x23], 0
je 0x14014d4a5
movzx eax, byte [rsp + 0x68]
and al, 7
add al, 3
cmp al, byte [rsp + 0x23]
jl 0x14014d4a5
mov rcx, qword [rsp + 0x68]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store4
nop
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x48]
mov dword [rax], ecx
jmp 0x14014d293
add rsp, 0x98
ret
Function at 0x140163310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140239e70]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
add rax, 4
mov ecx, 4
imul rcx, rcx, 0
add rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
shr rax, 3
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x20], al
cmp byte [rsp + 0x20], 0
je 0x14016338c
movzx eax, byte [rsp + 0x30]
and al, 7
add al, 3
cmp al, byte [rsp + 0x20]
jl 0x14016338c
mov rcx, qword [rsp + 0x30]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store4
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x88]
mov dword [rax], ecx
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x28], 1
jmp 0x1401633bd
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0x270
jae 0x140163477
mov eax, dword [rsp + 0x24]
shr eax, 0x1e
mov ecx, dword [rsp + 0x24]
xor ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x90]
imul ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 0xffffffff
and rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
add rax, 4
mov rcx, qword [rsp + 0x28]
shl rcx, 2
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shr rax, 3
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x21], al
cmp byte [rsp + 0x21], 0
je 0x14016345f
movzx eax, byte [rsp + 0x38]
and al, 7
add al, 3
cmp al, byte [rsp + 0x21]
jl 0x14016345f
mov rcx, qword [rsp + 0x38]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store4
nop
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x60]
mov dword [rax], ecx
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x24], eax
jmp 0x1401633b0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
shr rax, 3
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x22], al
cmp byte [rsp + 0x22], 0
je 0x1401634c5
movzx eax, byte [rsp + 0x48]
and al, 7
add al, 3
cmp al, byte [rsp + 0x22]
jl 0x1401634c5
mov rcx, qword [rsp + 0x48]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store4
nop
mov rax, qword [rsp + 0x80]
mov dword [rax], 0x270
add rsp, 0x78
ret
Function at 0x1401977c0
Capabilities:
Get geographical location

Disassembly:
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 0x1401977fd
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.140197760
add rsp, 0x58
ret

Function at 0x14019bb80
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14019b340
movzx eax, al
test eax, eax
jne 0x14019bba0
mov ecx, 7
call fcn.14019cc70
nop
mov byte [rsp + 0x20], 0
call fcn.14019b170
mov byte [rsp + 0x21], al
cmp dword [0x140239e98], 1
jne 0x14019bbc4
mov ecx, 7
call fcn.14019cc70
nop
jmp 0x14019bc1c
cmp dword [0x140239e98], 0
jne 0x14019bc17
mov dword [0x140239e98], 1
lea rdx, [0x1401ad010]
lea rcx, [0x1401acfd8]
call sub.ucrtbased.dll__initterm_e
test eax, eax
je 0x14019bbf8
mov eax, 0xff
jmp 0x14019bd21
lea rdx, [0x1401acfd0]
lea rcx, [0x1401acf70]
call sub.ucrtbased.dll__initterm
mov dword [0x140239e98], 2
jmp 0x14019bc1c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14019b530
call fcn.14019d2a0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14019bc79
mov rcx, qword [rsp + 0x30]
call fcn.14019b4a0
movzx eax, al
test eax, eax
je 0x14019bc79
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 [0x1401acf48]
nop
call fcn.14019d2b0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14019bcad
mov rcx, qword [rsp + 0x38]
call fcn.14019b4a0
movzx eax, al
test eax, eax
je 0x14019bcad
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call sub.ucrtbased.dll__register_thread_local_exe_atexit_callback
nop
call fcn.14019bd30
mov dword [rsp + 0x28], eax
call fcn.14019ce90
movzx eax, al
test eax, eax
jne 0x14019bccc
mov ecx, dword [rsp + 0x28]
call sub.ucrtbased.dll_exit
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14019bcdb
call sub.ucrtbased.dll__cexit
nop
xor edx, edx
mov cl, 1
call fcn.14019b560
mov eax, dword [rsp + 0x28]
jmp 0x14019bd21
add rsp, 0x68
ret
Function at 0x14019f860
Capabilities:
Capture process snapshot data
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov r9d, 8
lea r8, [rsp + 0x28]
mov edx, 1
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_PssQuerySnapshot
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x14019f8c7
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call sub.KERNEL32.dll_PssFreeSnapshot
nop
mov rcx, rsp
lea rdx, [0x1401fbc70]
call fcn.1401a0d00
add rsp, 0x40
pop rdi
ret

Function at 0x1401a0040
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x20]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x48], 0
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.14019e440
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1401a0124
mov eax, dword [rsp + 0x34]
shl rax, 1
mov r9d, 0x2cb
lea r8, str.D:_a_work1_s_src_vctools_asan_vcasan_vcasan.cpp
mov edx, 2
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__malloc_dbg]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14019e440
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.14019e950
lea rcx, [rsp + 0x40]
call fcn.14019e880
nop
lea rcx, [rsp + 0x28]
call fcn.1401a0560
mov r8d, dword [rsp + 0x34]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, eax
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x34]
dec eax
mov eax, eax
cmp qword [rsp + 0x38], rax
je 0x1401a0124
lea rcx, [rsp + 0x28]
call fcn.1401a05a0
nop
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.14019e410
mov eax, dword [rsp + 0x48]
or eax, 1
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x28]
call fcn.14019e880
mov rax, qword [rsp + 0x70]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401fbc00]
call fcn.1401a0d00
mov rax, rdi
add rsp, 0x60
pop rdi
ret
Function at 0x1406f2058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406f21df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406f2089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406f206f
add dl, dl
jne 0x1406f2096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406f20f6
xor eax, eax
add dl, dl
jne 0x1406f20a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406f21ad
add dl, dl
jne 0x1406f20b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f20c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f20d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f20dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406f20ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406f207e
mov eax, 1
add dl, dl
jne 0x1406f2106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f2113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406f20fb
sub eax, ebx
mov ebx, 1
jne 0x1406f214c
mov ecx, 1
add dl, dl
jne 0x1406f212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406f213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406f2123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406f207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406f2168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406f2175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406f215d
cmp eax, 0x7d00
jae 0x1406f219b
cmp eax, 0x500
jb 0x1406f2196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406f207e
cmp eax, 0x7f
ja 0x1406f219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406f207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406f21d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406f207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800017a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rsi
push rdi
sub rsp, 0x40
lea rsi, str.xcmnwo
mov rdi, r8
mov ecx, 7
repe cmpsw word [rsi], word [rdi]
jne 0x18000181f
call fcn.1800024e0
xor edi, edi
lea r8, [0x180002450]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x180001c50]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8d, [rdi + 1]
lea rdx, [rsp + 0x30]
lea ecx, [rdi + 2]
or r9d, 0xffffffff
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rsi, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180001830
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x18000185b
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x18000185b
xor eax, eax
add rsp, 0x28
ret
mov eax, 1
add rsp, 0x28
ret

Function at 0x180001870
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x18000189b
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x18000189b
xor eax, eax
add rsp, 0x28
ret
mov eax, 1
add rsp, 0x28
ret

Function at 0x1800018b0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push rsi
sub rsp, 0x20
xor esi, esi
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 1
lea edx, [rsi + 1]
call qword [sym.imp.USER32.dll_GetPriorityClipboardFormat]
cmp eax, 1
jne 0x180001975
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x180001975
lea ecx, [rsi + 1]
mov qword [rsp + 0x40], rbp
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x18000196a
mov rcx, rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
or rcx, 0xffffffffffffffff
mov rbx, rax
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
and ecx, ecx
movsxd rdi, ecx
lea ecx, [rsi + 0x40]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r8, rdi
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.180007a70
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.180004e30
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbp, qword [rsp + 0x40]
mov rax, rsi
add rsp, 0x20
pop rsi
ret
Function at 0x1800024e0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x380
mov rax, qword [0x1800203e0]
xor rax, rsp
mov qword [rsp + 0x370], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea r8, [rsp + 0x60]
lea rdx, str._n_n__s_
lea rcx, [rsp + 0x170]
call fcn.180004b88
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx edx, word [rsp + 0x54]
movzx ecx, word [rsp + 0x50]
movzx eax, word [rsp + 0x52]
movzx edi, word [rsp + 0x4e]
movzx r9d, word [rsp + 0x4a]
movzx r8d, word [rsp + 0x48]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
lea rbx, [0x180022f40]
lea rdx, str.__d._02d._02d__02d:_02d:_02d_
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.180004b88
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x170]
repne scasb al, byte [rdi]
xor edx, edx
nop word [rax + rax]
movzx eax, byte [rbx + rdx]
inc rdx
mov byte [rdi + rdx - 2], al
test al, al
jne 0x1800025a0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x170]
repne scasb al, byte [rdi]
mov rax, qword [str._n_n]
lea rcx, [rsp + 0x170]
mov qword [rdi - 1], rax
mov rax, qword [0x18001bf10]
mov qword [rdi + 7], rax
mov rax, qword [0x18001bf18]
mov qword [rdi + 0xf], rax
movzx eax, byte [0x18001bf20]
mov byte [rdi + 0x17], al
call fcn.180001980
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.180004a50
mov rbx, qword [rsp + 0x390]
add rsp, 0x380
pop rdi
ret
Function at 0x1800064cb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800203e0]
jne 0x180004a6a
rol rcx, 0x10
test cx, 0xffff
jne 0x180004a66
repz ret
ror rcx, 0x10
jmp 0x180006424
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180021c30]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180021d28]
mov qword [rsp + 0x58], rax
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 0x1800064a9
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, [0x180021c30]
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 0x1800064cb
mov rax, qword [rsp + 0x88]
mov qword [0x180021d28], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180021cc8], rax
mov rax, qword [0x180021d28]
mov qword [0x180021ba0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180021cb0], rax
mov dword [0x180021b90], 0xc0000409
mov dword [0x180021b94], 1
mov rax, qword [0x1800203e0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800203e8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180021c28], eax
mov ecx, 1
call fcn.18000b1a4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1800184a8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180021c28], 0
jne 0x180006552
mov ecx, 1
call fcn.18000b1a4
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 0x180010088
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1800203e0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.18000a618
xor ebx, ebx
cmp qword [0x180022be8], rbx
mov rdi, rax
jne 0x18001019b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180010272
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180010272
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180022be8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180022bf0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x180022bf8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180022c08], rax
test rax, rax
je 0x180010192
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180022c00], rax
jmp 0x1800101a2
mov rax, qword [0x180022c00]
jmp 0x1800101a9
mov rax, qword [0x180022c00]
mov r11, qword [0x180022c08]
cmp rax, rdi
je 0x180010210
cmp r11, rdi
je 0x180010210
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180022c08]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180010210
test rax, rax
je 0x180010210
call rsi
test rax, rax
je 0x18001020a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18001020a
test byte [rsp + 0x40], 1
jne 0x180010210
bts ebp, 0x15
jmp 0x180010250
mov rcx, qword [0x180022bf0]
cmp rcx, rdi
je 0x180010250
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180010250
call rax
mov rbx, rax
test rax, rax
je 0x180010250
mov rcx, qword [0x180022bf8]
cmp rcx, rdi
je 0x180010250
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180010250
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180022be8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180010272
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180010274
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180004a50
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x4140a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41422b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x00583488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414105
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414114
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x414133
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414143
cmp rbx, 0x1000
jae 0x41410b
jmp 0x4141ad
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414155
xor edx, edx
jmp 0x4141a4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x00583488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x414139
jmp 0x414128
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00583488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004a225b]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004a2562]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004a40ff]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS