joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065ff0
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 0x140066038
lea ebx, [rsi + 0xd]
jmp 0x1400660a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x1400660a3
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 0x140066095
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1400660a3
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.140003cac
mov ebx, esi
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400660e6
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400660e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400660e1
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400667e4
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x140066b50
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.140066fd4
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.0x140066ba6
mov ecx, 1
call fcn.140066fd4
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]
and byte [rax + 0x661749e0], ah
std
xlatb
xchg esi, eax
test dword [r10], 0xcc45c8fd
invalid
Function at 0x7ff7bd451150
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x48
xor ebx, ebx
xor ecx, ecx
mov dword [rsp + 0x60], ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x7ff7bd45118f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x7ff7bd4512ce
movzx ebx, ax
or ebx, 0x80070000
mov eax, ebx
add rsp, 0x48
pop rdi
pop rbx
ret
lea r8, [0x7ff7bd45fdf8]
mov edx, 0x65
mov rcx, rax
mov qword [rsp + 0x70], rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x7ff7bd4511ce
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x7ff7bd4511f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x7ff7bd4512c9
mov rsi, qword [rsp + 0x70]
movzx ebx, ax
or ebx, 0x80070000
mov eax, ebx
add rsp, 0x48
pop rdi
pop rbx
ret
mov rcx, rax
mov qword [rsp + 0x40], r12
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test rax, rax
jne 0x7ff7bd451229
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x7ff7bd4512c4
movzx ebx, ax
or ebx, 0x80070000
jmp 0x7ff7bd4512c4
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rcx, str.brbconfig.tmp
lea r8d, [r9 + 1]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x7ff7bd451278
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x7ff7bd4512bf
movzx ebx, ax
or ebx, 0x80070000
jmp 0x7ff7bd4512bf
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea r9, [rsp + 0x60]
mov rdx, r12
mov rcx, rbp
mov r8d, eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x7ff7bd4512b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x7ff7bd4512b6
movzx ebx, ax
or ebx, 0x80070000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x68]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x70]
mov eax, ebx
add rsp, 0x48
pop rdi
pop rbx
ret
Function at 0x7ff7bd451770
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x7ff7bd462008]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rsi, rcx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0xfe
mov byte [rsp + 0x20], 0
call fcn.7ff7bd4544b0
lea rcx, [rsp + 0x20]
mov edx, 0xff
call qword [sym.imp.WS2_32.dll_gethostname]
lea rcx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
mov ebx, dword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x7ff7bd451815
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_ntoa]
lea rdx, [0x7ff7bd45fe5c]
mov rcx, rdi
mov r8, rax
call fcn.7ff7bd453884
mov qword [rsi], rdi
xor eax, eax
jmp 0x7ff7bd45181a
mov eax, 0x8000ffff
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.7ff7bd453590
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x7ff7bd451fb0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
xor r15d, r15d
mov rdi, rcx
lea rcx, [rsp + 0x70]
lea r8d, [r15 + 0x68]
xor edx, edx
mov esi, r15d
mov r12d, r15d
call fcn.7ff7bd4544b0
mov ecx, dword [rdi]
xor eax, eax
dec ecx
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
je 0x7ff7bd4521cd
dec ecx
je 0x7ff7bd4521bb
dec ecx
je 0x7ff7bd452105
dec ecx
je 0x7ff7bd452024
mov eax, 0x80070057
jmp 0x7ff7bd4520ea
mov rbx, qword [rdi + 8]
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x120], r15d
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea r13, [rcx - 1]
shr r13, 1
mov ebp, r13d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, r13d
mov rcx, rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x7ff7bd45206c
mov edi, 0x8007000e
jmp 0x7ff7bd4520b7
test r13d, r13d
je 0x7ff7bd4520ae
mov rdi, rax
nop word [rax + rax]
lea r8, [rsp + 0x120]
lea rdx, [0x7ff7bd45fe50]
mov rcx, rbx
call fcn.7ff7bd453658
movzx edx, byte [rsp + 0x120]
inc rdi
mov byte [rdi - 1], dl
add rbx, 2
dec rbp
jne 0x7ff7bd452080
mov r12d, r13d
mov rsi, r14
mov edi, r15d
test edi, edi
js 0x7ff7bd4520cf
mov edx, r12d
mov rcx, rsi
call fcn.7ff7bd453100
mov edi, eax
test eax, eax
js 0x7ff7bd4520cf
mov edi, r15d
test rsi, rsi
je 0x7ff7bd4520e8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rdi + 8]
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x128], r15d
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea r13, [rcx - 1]
shr r13, 1
mov ebp, r13d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, r13d
mov rcx, rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x7ff7bd45214d
mov edi, 0x8007000e
jmp 0x7ff7bd452197
test r13d, r13d
je 0x7ff7bd45218e
mov rdi, rax
nop word [rax + rax]
lea r8, [rsp + 0x128]
lea rdx, [0x7ff7bd45fe50]
mov rcx, rbx
call fcn.7ff7bd453658
movzx edx, byte [rsp + 0x128]
inc rdi
mov byte [rdi - 1], dl
add rbx, 2
dec rbp
jne 0x7ff7bd452160
mov r12d, r13d
mov rsi, r14
mov edi, r15d
test edi, edi
js 0x7ff7bd4520cf
mov edx, r12d
mov rcx, rsi
call fcn.7ff7bd452940
lea rcx, [0x7ff7bd464560]
call fcn.7ff7bd4512e0
jmp 0x7ff7bd4520c6
mov rcx, qword [0x7ff7bd464558]
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x7ff7bd4520cc
mov rdx, qword [rdi + 8]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
xor ecx, ecx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x7ff7bd4520cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x7ff7bd4520ea
movzx eax, ax
or eax, 0x80070000
jmp 0x7ff7bd4520ea
Function at 0x7ff7bd4527c0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x7ff7bd462008]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
xor edi, edi
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_GetDC]
lea rdx, [rsp + 0x30]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.7ff7bd452230
call fcn.7ff7bd451150
mov ebx, eax
test eax, eax
js 0x7ff7bd452907
lea rcx, [0x7ff7bd464560]
call fcn.7ff7bd4512e0
mov ebx, eax
test eax, eax
js 0x7ff7bd452907
lea edx, [rdi + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x7ff7bd464558], rax
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
lea rcx, [0x7ff7bd464560]
call fcn.7ff7bd451c10
mov rbx, qword [rsp + 0x28]
test eax, eax
js 0x7ff7bd45288a
lea r8, [0x7ff7bd464560]
lea rdx, [0x7ff7bd464540]
mov rcx, rbx
call fcn.7ff7bd451840
test eax, eax
js 0x7ff7bd45288a
lea rcx, [0x7ff7bd464540]
call fcn.7ff7bd451fb0
test rbx, rbx
je 0x7ff7bd45289d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x28], rdi
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x7ff7bd4528b2
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x20], rdi
cmp qword [0x7ff7bd464548], rdi
je 0x7ff7bd4528d3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [0x7ff7bd464548]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [0x7ff7bd464a78]
mov rcx, qword [0x7ff7bd464558]
xor eax, eax
mov qword [0x7ff7bd464540], rax
mov qword [0x7ff7bd464548], rax
mov qword [0x7ff7bd464550], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x7ff7bd452845
mov ebx, edi
call fcn.7ff7bd452550
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, ebx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.7ff7bd453590
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
Function at 0x7ff7bd452f50
Capabilities:
Connect to http server
Create http request

Disassembly:
push rbx
push r12
push r13
sub rsp, 0x40
xor r13d, r13d
mov r12, rcx
lea rcx, str.Mozilla_4.0__compatible__MSIE_8.0__Windows_NT_6.1__Trident_4.0_
lea edx, [r13 + 1]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
test rax, rax
je 0x7ff7bd453018
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
lea rdi, [0x7ff7bd4633d0]
lea rsi, [0x7ff7bd4633d4]
lea ebp, [r13 + 3]
nop dword [rax]
mov edx, dword [rdi]
mov r9d, 4
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionA]
add rsi, 8
add rdi, 8
dec rbp
jne 0x7ff7bd452fb0
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
lea r8d, [rbp + 0x50]
xor r9d, r9d
mov rdx, r12
mov rcx, rbx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r13
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
test rax, rax
jne 0x7ff7bd45301a
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
add rsp, 0x40
pop r13
pop r12
pop rbx
ret

Function at 0x7ff7bd453030
Capabilities:
Check http status code
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor edi, edi
lea rax, [0x7ff7bd4633c0]
mov r8, rdx
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0x8404f700
mov qword [rsp + 0x28], rax
lea r9, str.HTTP_1.1
lea rdx, [0x7ff7bd45ff7c]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
test rax, rax
je 0x7ff7bd4530e6
lea r8d, [rdi + 0x13]
lea rdx, str.Connection:_close_r_n
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x20], edi
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x7ff7bd4530dd
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x60]
mov edx, 0x20000013
mov rcx, rbx
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x7ff7bd4530dd
cmp dword [rsp + 0x60], 0xc8
jne 0x7ff7bd4530dd
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x7ff7bd453100
Capabilities:
Create process on windows
Get common file path
Move file
Write and execute a file
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x310
mov rax, qword [0x7ff7bd462008]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rsi, rcx
mov ebp, edx
lea rcx, [rsp + 0x1f1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x1f0], 0
call fcn.7ff7bd4544b0
lea rcx, [rsp + 0xe1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0xe0], 0
call fcn.7ff7bd4544b0
xor ebx, ebx
lea rcx, [rsp + 0x70]
lea r8d, [rbx + 0x68]
xor edx, edx
mov dword [rsp + 0x50], ebx
call fcn.7ff7bd4544b0
xor eax, eax
lea rdx, [rsp + 0x1f0]
mov ecx, 0x104
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x7ff7bd4531bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x7ff7bd4532df
movzx eax, ax
or eax, 0x80070000
jmp 0x7ff7bd4532df
lea r9, [rsp + 0xe0]
lea rdx, [0x7ff7bd45ff94]
lea rcx, [rsp + 0x1f0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x7ff7bd4531a2
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0xe0]
lea r8d, [r9 + 1]
mov edx, 0xc0000000
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x340], rdi
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x7ff7bd453238
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x7ff7bd4532d7
movzx eax, ax
or eax, 0x80070000
jmp 0x7ff7bd4532d7
lea r9, [rsp + 0x50]
mov r8d, ebp
mov rdx, rsi
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x7ff7bd45326c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x7ff7bd4532cc
movzx ebx, ax
or ebx, 0x80070000
jmp 0x7ff7bd4532cc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x58]
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov rdi, rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x7ff7bd453255
xor edx, edx
lea rcx, [rsp + 0xe0]
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rdi, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.7ff7bd453590
add rsp, 0x310
pop rsi
pop rbp
pop rbx
ret

Function at 0x7ff7bd457a58
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.7ff7bd4578c8
Function at 0x7ff7bd45b784
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 [0x7ff7bd462008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.7ff7bd457268
xor ebx, ebx
cmp qword [0x7ff7bd464500], rbx
mov rdi, rax
jne 0x7ff7bd45b897
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x7ff7bd45b96e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x7ff7bd45b96e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x7ff7bd464500], 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 [0x7ff7bd464508], 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 [0x7ff7bd464510], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x7ff7bd464520], rax
test rax, rax
je 0x7ff7bd45b88e
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 [0x7ff7bd464518], rax
jmp 0x7ff7bd45b89e
mov rax, qword [0x7ff7bd464518]
jmp 0x7ff7bd45b8a5
mov rax, qword [0x7ff7bd464518]
mov r11, qword [0x7ff7bd464520]
cmp rax, rdi
je 0x7ff7bd45b90c
cmp r11, rdi
je 0x7ff7bd45b90c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x7ff7bd464520]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x7ff7bd45b90c
test rax, rax
je 0x7ff7bd45b90c
call rsi
test rax, rax
je 0x7ff7bd45b906
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 0x7ff7bd45b906
test byte [rsp + 0x40], 1
jne 0x7ff7bd45b90c
bts ebp, 0x15
jmp 0x7ff7bd45b94c
mov rcx, qword [0x7ff7bd464508]
cmp rcx, rdi
je 0x7ff7bd45b94c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x7ff7bd45b94c
call rax
mov rbx, rax
test rax, rax
je 0x7ff7bd45b94c
mov rcx, qword [0x7ff7bd464510]
cmp rcx, rdi
je 0x7ff7bd45b94c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x7ff7bd45b94c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x7ff7bd464500]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x7ff7bd45b96e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x7ff7bd45b970
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.7ff7bd453590
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005fd08
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 0x14005fd50
lea ebx, [rsi + 0xd]
jmp 0x14005fdbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x14005fdbb
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.14003cffc
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14005fdad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14005fdbb
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.1400033fc
mov ebx, esi
lea rcx, [rbp - 0x20]
call fcn.1400174fc
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400608e8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400bd0c0], eax
call fcn.140060b98
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400bd0c0], 0
jne case.default.0x14006093e
mov ecx, 1
call fcn.140060b98
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]
cwde
invalid
Function at 0x140f69a40
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f69a4a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f69a73
pop rbp
sub rbp, 0x33
sub rbp, 0xf69a40
sub rsp, 0x20
jmp 0x140f69a92
mov rax, 0xf69a40
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff807a7a6b
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f69ab1
jmp 0x140f69ac8
and esp, edx
invalid
Function at 0x14000c65c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014cb8], rbx
je 0x14000c6c3
cmp rax, rbx
jne 0x14000c6b6
mov ebx, 1
mov esi, ebx
jmp 0x14000c6c8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c69b
mov ebx, 1
mov eax, dword [0x140014cc0]
cmp eax, ebx
jne 0x14000c6e0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000c74c
mov eax, dword [0x140014cc0]
test eax, eax
jne 0x14000c741
mov dword [0x140014cc0], ebx
lea r15, [0x14000eb70]
lea rdi, [0x14000eb58]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c733
test eax, eax
jne 0x14000c737
cmp qword [rdi], r14
je 0x14000c728
mov rax, qword [rdi]
mov rcx, qword [0x14000eb00]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c70a
test eax, eax
je 0x14000c747
mov eax, 0xff
jmp 0x14000c8a0
mov dword [0x140014400], ebx
mov edi, 0x1f
mov eax, dword [0x140014cc0]
cmp eax, ebx
jne 0x14000c773
lea rdx, [0x14000eb50]
lea rcx, [0x14000eb18]
call sub.msvcrt.dll__initterm
mov dword [0x140014cc0], 2
test esi, esi
jne 0x14000c781
mov rax, r14
xchg qword [0x140014cb8], rax
cmp qword [0x140014cd8], r14
je 0x14000c7b4
lea rcx, [0x140014cd8]
call fcn.14000cc80
test eax, eax
je 0x14000c7b4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014cd8]
mov r9, qword [0x14000eb00]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c7cd
mov eax, 0xff
jmp 0x14000c8a0
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000c851
cmp word [rcx], r14w
je 0x14000c7e6
test edx, edx
jne 0x14000c851
movzx eax, word [rcx]
sub ax, bx
cmp ax, di
ja 0x14000c7fc
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c7e6
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400018e8
mov dword [0x1400143fc], eax
cmp dword [0x140014420], r14d
jne 0x14000c83a
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140014400], r14d
jne 0x14000c84f
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143fc]
jmp 0x14000c8a0
cmp word [rcx], 0x22
jne 0x14000c865
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c7d6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140193000
add rsp, 0x28
jmp 0x14000c65c