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

Disassembly:
mov r8, qword [0x1400f2920]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400c54f0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400c54f8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400c54f0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400c5540
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400c5537
test rcx, rcx
je 0x1400c54f0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400c5528
xor eax, eax
ret

Function at 0x1400c5550
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400f2920]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400c556f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400c5578
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400c5590
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400f2920]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400c55b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400c55b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400c55b0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400c55b0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400c5604
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400c5610
add rdx, 0x28
cmp r9, rdx
jne 0x1400c55f0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400c5620
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400f2920]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400c5642
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400c5650
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400c5642
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400c5642
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400c5642
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400c56a5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400c56b8
add rdx, 0x28
cmp rdx, r10
jne 0x1400c5690
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400c56c7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400c56d7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400c56ae
test ecx, ecx
jg 0x1400c56c0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400010a0
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x240
lea rdi, [rsp + 0x50]
mov ecx, 0x7c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002a5c0]
xor rax, rsp
mov qword [rsp + 0x238], rax
call section..text
test eax, eax
je 0x1400010db
call fcn.1400012a0
nop
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400295a0
mov dword [rsp + 0x60], 0x68
mov dword [rsp + 0x9c], 1
mov eax, 5
mov word [rsp + 0xa0], ax
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0xe8]
call fcn.1400295a0
mov r8d, pe_nt_image_headers64
xor edx, edx
lea rcx, [rsp + 0x120]
call fcn.1400295a0
lea rcx, [0x14002a0d8]
call fcn.14000a5d0
mov qword [rsp + 0x230], rax
lea rcx, [0x14002a0c0]
call fcn.14000a5d0
xor r9d, r9d
mov rcx, qword [rsp + 0x230]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.140008b20
lea rcx, [rsp + 0x120]
call fcn.140019e10
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.140028f00
mov eax, dword [rsp + 0x224]
add eax, 0x13
mov dword [rsp + 0x224], eax
mov eax, dword [rsp + 0x224]
lea rax, [rsp + rax + 0x120]
mov edx, dword [0x14003d170]
mov rcx, rax
call fcn.14000a1b0
lea rcx, [0x14002a0c0]
call fcn.14000a5d0
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 0x140001257
jmp 0x140001274
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0xe8]
mov qword [0x14003d1a0], rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.140015c60
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140015d60
add rsp, 0x240
pop rdi
ret

Function at 0x1400012a0
Capabilities:
Terminate process

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

Disassembly:
push rdi
sub rsp, 0x10
mov dword [rsp], 0
jmp 0x1400012f7
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jae 0x140001356
mov eax, dword [rsp]
mov dword [rsp + 4], eax
mov dword [rsp + 8], 0
jmp 0x14000131b
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 8
jae 0x140001343
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 0x140001311
mov eax, dword [rsp]
lea rcx, [0x14003d680]
mov edx, dword [rsp + 4]
mov dword [rcx + rax*4], edx
jmp 0x1400012ef
mov dword [rsp], pe_nt_image_headers64
jmp 0x140001367
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x800
jae 0x1400013b2
mov eax, dword [rsp]
lea rcx, [0x14003d680]
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, [0x14003d680]
mov edx, dword [rsp + 0xc]
shr edx, 8
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp]
lea rdx, [0x14003d680]
mov dword [rdx + rcx*4], eax
jmp 0x14000135f
lea rax, [0x140001430]
mov qword [0x14003d678], rax
lea rax, [0x140001430]
mov qword [0x14003d670], rax
add rsp, 0x10
pop rdi
ret
Function at 0x1400075f0
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 0x140009f10
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 [0x14002a5c0]
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 0x140009f8a
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x34], eax
jne 0x140009f8a
mov dword [rsp + 0x50], 1
jmp 0x140009f92
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.140015c60
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140015d60
add rsp, 0x60
pop rdi
ret

Function at 0x140009fc0
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 0x14000a010
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 [0x14002a5c0]
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.140015c60
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140015d60
add rsp, 0x50
pop rdi
ret

Function at 0x14000a080
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 [0x14002a5c0]
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 0x14000a0fa
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x34], eax
jne 0x14000a0fa
mov dword [rsp + 0x50], 1
jmp 0x14000a102
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.140015c60
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140015d60
add rsp, 0x60
pop rdi
ret

Function at 0x14000a930
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, [0x14000a980]
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 0x14000b950
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
mov dword [0x14003d2d4], 1
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [0x14003d2d4]
lea r8, [0x14000c2b0]
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 0x14000b9a0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
cmp dword [0x14003d178], 5
jne 0x14000b9b1
jmp 0x14000b9ea
mov dword [0x14003d178], 6
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14000c390]
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 0x14000b9f0
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 [0x14002a5c0]
xor rax, rsp
mov qword [rsp + 0x320], rax
lea rdx, [0x14003d060]
mov ecx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov qword [0x14003d160], 0
mov qword [0x14003d168], 0
mov qword [0x14003d170], 0
mov dword [0x14003d178], 7
mov qword [0x14003d180], 0
mov qword [0x14003d188], 0
mov dword [0x14003d190], 0
mov dword [0x14003d194], 0
mov dword [0x14003d198], 0
lea rcx, [0x14002a110]
call fcn.14000a5d0
xor r9d, r9d
mov r8, rax
lea rdx, [0x14003d060]
lea rcx, [rsp + 0x30]
call fcn.140008b20
lea rcx, [rsp + 0x30]
call fcn.140009e30
mov qword [rsp + 0x148], rax
cmp qword [rsp + 0x148], 0
je 0x14000bb48
mov rcx, qword [rsp + 0x148]
call fcn.14000a010
mov eax, eax
mov qword [rsp + 0x150], rax
xor edx, edx
mov rcx, qword [rsp + 0x150]
call fcn.14000a130
mov qword [rsp + 0x158], rax
mov r8d, dword [rsp + 0x150]
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x148]
call fcn.140009f10
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x158]
call fcn.14000be70
mov rcx, qword [rsp + 0x158]
call fcn.14000a180
mov rcx, qword [rsp + 0x148]
call fcn.140009e10
nop
mov qword [0x14003d1a0], 0
mov dword [0x14003d1a8], 0
mov r8d, recv
xor edx, edx
lea rcx, [0x14003d1ac]
call fcn.1400295a0
mov r8d, pe_nt_image_headers64
xor edx, edx
lea rcx, [0x14003d1bb]
call fcn.1400295a0
xor edx, edx
mov ecx, 0x1000
call fcn.14000a130
mov qword [0x14003d2c0], rax
mov r8d, 8
xor edx, edx
mov rcx, qword [0x14003d2c0]
call fcn.1400295a0
mov dword [0x14003d2c8], 0
mov dword [0x14003d2d4], 0
mov dword [0x14003d2d8], 1
mov dword [0x14003d2dc], 1
mov dword [0x14003d2e0], 1
mov dword [0x14003d2e4], 0
mov dword [0x14003d2e8], 0
mov dword [0x14003d2ec], 0
mov dword [0x14003d2f0], 0
mov dword [0x14003d2f4], 0
mov qword [0x14003d2f8], 0
mov r8d, reloc.WS2_32.dll_recv
xor edx, edx
lea rcx, [0x14003d300]
call fcn.1400295a0
lea rax, [0x14000b7a0]
mov qword [0x14003d428], rax
mov dword [0x14003d430], 0
mov dword [0x14003d434], 0
mov dword [0x14003d438], 0
xorps xmm0, xmm0
movss dword [0x14003d43c], xmm0
mov r8d, 0x104
xor edx, edx
lea rcx, [0x14003d440]
call fcn.1400295a0
mov dword [0x14003d544], 0
lea rcx, [0x14003d160]
call fcn.14000c210
lea rdx, [rsp + 0x170]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000bcaa
xor eax, eax
jmp 0x14000bcaf
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14002e060]
call fcn.140015c60
mov rax, rdi
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.140015d60
add rsp, 0x330
pop rdi
ret
Function at 0x14000bdb0
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 0x14000be04
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x28], rax
ja 0x14000be25
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
xor eax, 0x3db6cc5c
mov rcx, qword [rsp + 0x28]
mov dword [rcx], eax
jmp 0x14000bdf6
xor r9d, r9d
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x14003d170]
call qword [sym.imp.WS2_32.dll_send]
cdqe
cmp rax, qword [rsp + 0x58]
jne 0x14000be52
mov dword [rsp + 0x30], 1
jmp 0x14000be5a
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret

Function at 0x14000c210
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, [0x14000ce00]
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 0x14000c260
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
cmp qword [0x14003d168], 0
je 0x14000c282
mov rcx, qword [0x14003d168]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x30], 0
je 0x14000c2a3
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 0x1400102d0
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 0x1400102ea
xor eax, eax
jmp 0x140010320
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 0x140010312
call qword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
jmp 0x140010320
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
add rsp, 0x20
pop rdi
ret

Function at 0x1400103e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x14003d560]
call qword [sym.imp.USER32.dll_GetKeyboardState]
lea rcx, [0x14003d660]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [0x14003d660]
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 0x14001042d
mov dword [rsp + 0x20], 1
jmp 0x140010435
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [0x14003d668], eax
add rsp, 0x30
pop rdi
ret
Function at 0x140015790
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 [0x14002a5c0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x60], 0xca0000
mov dword [rsp + 0x64], 0
mov r8d, reloc.WS2_32.dll_recv
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1400295a0
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.140015c60
mov rax, rdi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140015d60
add rsp, 0xb0
pop rdi
ret

Function at 0x140016b34
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140016b7e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140016b7e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140016b7e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140016b7e
cmp dword [rcx + 0x84], 0xe
jbe 0x140016b7e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140016b80
xor al, al
add rsp, 0x28
ret
Function at 0x14001cb38
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 0x14001cba7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001cba7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001cba7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001cba7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001cba7
cmp dword [rcx + 0x84], 0xe
jbe 0x14001cba7
cmp dword [rcx + 0xf8], 0
je 0x14001cba7
mov ecx, ebx
call fcn.14001cc58
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.14001ca34
nop
cmp dword [rbp + 0x20], 0
je 0x14001cbf5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001cc00
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001cb38

Function at 0x14001cd3c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001cb38
Function at 0x1400219d4
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 0x140021a04
xor eax, eax
jmp 0x140021ac7
mov rbp, rbx
cmp word [rax], si
je 0x140021a29
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140021a10
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140021a0c
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.1400218f4
movsxd r14, eax
test eax, eax
jne 0x140021a67
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400219fd
mov rcx, r14
call fcn.14001dc28
mov rdi, rax
test rax, rax
jne 0x140021a80
xor ecx, ecx
call fcn.14001dbec
jmp 0x140021a5c
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.1400218f4
test eax, eax
jne 0x140021ab1
mov rcx, rdi
call fcn.14001dbec
jmp 0x140021abb
xor ecx, ecx
call fcn.14001dbec
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 0x140028bf0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140028c18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140028c18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14041d7a0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10090
call fcn.140422010
sub rsp, rax
mov rax, qword [0x14046b440]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x80], bp
mov edi, 0x28
mov word [rsp + 0x30], bp
test al, al
je 0x14041d862
nop dword [rax]
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.140430d50
cmp rax, 1
jne 0x14041d8be
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14041d83f
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x14041d833
cmp rcx, 1
jb 0x14041d8be
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14041d800
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14041d893
lea rcx, [rsp + 0x80]
call fcn.140431f50
jmp 0x14041d895
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.140421d40
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1404254d0
int3