joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004eb30
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 0x18004eb60
xor eax, eax
jmp 0x18004ec23
mov rbp, rbx
cmp word [rax], si
je 0x18004eb85
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18004eb6c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18004eb68
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.18004b120
movsxd r14, eax
test eax, eax
jne 0x18004ebc3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18004eb59
mov rcx, r14
call fcn.180049a4c
mov rdi, rax
test rax, rax
jne 0x18004ebdc
xor ecx, ecx
call fcn.1800497c4
jmp 0x18004ebb8
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.18004b120
test eax, eax
jne 0x18004ec0d
mov rcx, rdi
call fcn.1800497c4
jmp 0x18004ec17
xor ecx, ecx
call fcn.1800497c4
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 0x140002550
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x10], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x1400025f8
xor edi, edi
test rsi, rsi
je 0x1400025a3
nop
mov eax, dword [rbx + 0x10]
cmp dword [rbx + 0x14], eax
je 0x1400025bf
movsxd rdx, dword [rbx + 0x14]
mov rcx, qword [rbx + 8]
inc rdi
movzx edx, byte [rdx + rcx]
mov byte [rdi + rbp - 1], dl
inc dword [rbx + 0x14]
cmp rdi, rsi
jb 0x140002580
add qword [rbx + 0x18], rdi
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
lea r9, [rsp + 0x40]
mov r8d, 0x10000
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400025a3
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1400025a3
mov dword [rbx + 0x10], eax
mov dword [rbx + 0x14], 0
jmp 0x140002588
mov qword [rcx + 0x10], 0
call fcn.1400117c0
mov qword [rbx + 0x18], rax
jmp 0x140002577
Function at 0x140002a10
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov rax, qword [rdx + 0x18]
mov rsi, rdx
mov rdi, rcx
cmp dword [rax], 1
jg 0x14002cf80
mov rax, qword [rsi]
xor r13d, r13d
mov qword [rsp + 0x70], rbp
mov qword [rsi + 8], r13
xor r12b, r12b
mov byte [rax], r13b
cmp dword [rdi + 0x10], r13d
je 0x14002cfa4
mov rbx, r13
mov eax, dword [rdi + 0x10]
cmp dword [rdi + 0x14], eax
je 0x140002b0e
movsxd rdx, dword [rdi + 0x14]
mov rax, qword [rdi + 8]
inc rbx
movzx ecx, byte [rdx + rax]
lea eax, [rdx + 1]
mov byte [rsp + rbx + 0x5f], cl
mov dword [rdi + 0x14], eax
cmp rbx, 1
jb 0x140002a51
add qword [rdi + 0x18], rbx
test rbx, rbx
je 0x140002b44
movzx ebp, byte [rsp + 0x60]
cmp bpl, 0xd
je 0x140002ad8
cmp bpl, 0xa
je 0x140002afb
mov rax, qword [rsi + 0x18]
mov r12b, 1
mov rcx, rsi
cmp dword [rax], 1
jg 0x14002cfc2
mov rdx, qword [rsi + 8]
inc rdx
call fcn.140002980
mov rcx, qword [rsi + 8]
mov rax, qword [rsi]
mov byte [rcx + rax], bpl
inc qword [rsi + 8]
mov rcx, qword [rsi + 8]
mov rax, qword [rsi]
mov byte [rcx + rax], r13b
jmp 0x140002a44
lea rdx, [rsp + 0x60]
mov r8d, 1
mov rcx, rdi
call fcn.140002550
test rax, rax
je 0x140002afb
cmp byte [rsp + 0x60], 0xa
jne 0x14002cfff
mov al, 1
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi]
lea r9, [rsp + 0x68]
mov r8d, 0x10000
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140002a7c
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x140002a7c
jmp 0x14002cfb6
test r12b, r12b
jne 0x140002afb
xor al, al
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
dec dword [rax]
mov rcx, rdx
call fcn.14003c610
mov ecx, reloc.WSOCK32.dll_recv
mov qword [rsi + reloc.WSOCK32.dll_recv], 0x10
call fcn.140014e9c
mov qword [rsi], rax
jmp 0x140002a2f
mov rcx, rdi
mov qword [rdi + 0x10], r13
call fcn.14004db20
nop
jmp 0x140002a4e
mov dword [rdi + 0x10], eax
mov dword [rdi + 0x14], r13d
jmp 0x140002a5d
dec dword [rax]
call fcn.14003c610
mov rcx, qword [rsi + 8]
add rcx, 2
call fcn.14004edf0
mov rcx, rax
mov qword [rsi + 0x10], rax
call fcn.140014e9c
mov r8, qword [rsi + 8]
mov rdx, qword [rsi]
inc r8
mov rcx, rax
mov rbx, rax
call fcn.140014990
mov qword [rsi], rbx
jmp 0x140002ab9
mov r8d, 1
or rdx, 0xffffffffffffffff
mov rcx, rdi
call fcn.140011710
nop
jmp 0x140002afb
Function at 0x140010270
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x50
mov rdi, rcx
call fcn.140003480
lea rax, [rsp + 0x70]
lea rdx, str.SoftwareAutoIt_v3AutoIt
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002dbf0
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], rbp
lea rdx, str.Include
xor ebp, ebp
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor bl, bl
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140010377
mov ecx, dword [rsp + 0x68]
mov eax, 2
mov qword [rsp + 0x40], rsi
inc ecx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140014e9c
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.140012240
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
lea r11, [rsp + 0x68]
lea rdx, str.Include
xor r9d, r9d
mov qword [rsp + 0x28], r11
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140010368
mov eax, dword [rsp + 0x68]
mov rdx, rsi
mov rcx, rdi
shr eax, 1
mov dword [rsp + 0x68], eax
mov word [rsi + rax*2], bp
call fcn.14000e920
mov bl, 1
lea rcx, [rsp + 0x30]
call fcn.1400122d0
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x48]
movzx eax, bl
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
xor al, al
jmp 0x14001038f
Function at 0x1400127b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x10040
call fcn.140024730
sub rsp, rax
mov rdi, rcx
xor edx, edx
lea rcx, [0x140000000]
nop
movzx eax, byte [rdx + rcx + 0xae2b0]
inc rdx
mov byte [rsp + rdx + 0x1f], al
movzx eax, byte [rdx + rcx + 0xae037]
mov byte [rsp + rdx + 0x27], al
cmp rdx, 8
jl 0x1400127d0
lea rdx, str.AU3_
lea rcx, [rsp + 0x10058]
call fcn.140015f30
lea rdx, [rsp + 0x10058]
lea rcx, [rsp + 0x30]
mov r8d, 4
call fcn.140014990
xor esi, esi
mov qword [rsp + 0x10050], rbx
nop word [rax + rax]
mov r9, qword [rdi]
lea rcx, [rsp + 0x40]
mov edx, 1
mov r8d, 0x10000
call fcn.1400179f0
cmp eax, 0x18
jl 0x1400128bd
lea r11d, [rax - 0x14]
xor edx, edx
mov rbx, rax
test r11d, r11d
jle 0x140012898
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x20]
sub r8, rax
nop dword [rax + rax]
xor r9d, r9d
xor r10d, r10d
lea rcx, [rsp + r10 + 0x20]
movzx eax, byte [r8 + rcx]
cmp byte [rcx], al
je 0x1400128af
cmp r9d, 0x14
je 0x14002c120
inc edx
inc r8
cmp edx, r11d
jl 0x140012870
mov rcx, qword [rdi]
mov edx, 0xffffffec
lea esi, [rsi + rbx - 0x14]
lea r8d, [rdx + 0x15]
call fcn.140017e40
jmp 0x140012830
inc r10
inc r9d
cmp r10, 0x14
jl 0x140012876
jmp 0x140012884
mov eax, 3
mov rbx, qword [rsp + 0x10050]
mov rsi, qword [rsp + 0x10060]
add rsp, 0x10040
pop rdi
ret
mov rcx, qword [rdi]
lea edx, [rsi + rdx + 0x14]
xor r8d, r8d
call fcn.140017e40
mov r9, qword [rdi]
mov edx, 1
lea r8d, [rdx + 3]
lea rcx, [rsp + 0x10058]
call fcn.1400179f0
lea rdx, str.EA06
lea rcx, [rsp + 0x10058]
mov byte [rsp + 0x1005c], 0
call fcn.140017a20
neg eax
sbb eax, eax
and eax, 4
jmp 0x1400128c2
Function at 0x1400129b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x1d0
mov rdi, rcx
mov rsi, rdx
lea rcx, [0x140098da0]
or edx, 0xffffffff
call fcn.1400128e0
lea rcx, [rsp + 0xc0]
mov rdx, rax
mov rbx, rax
call fcn.140015f30
mov rcx, rbx
call fcn.14001488c
lea rcx, [rsp + 0x30]
call fcn.140012aa0
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x30]
call fcn.140012b30
xor ebp, ebp
mov dword [rdi + 0xc], ebp
mov edx, ebp
mov ecx, ebp
movzx eax, byte [rsp + rdx + 0x30]
add rdx, 4
add ecx, eax
movzx eax, byte [rsp + rdx + 0x2d]
add ecx, eax
movzx eax, byte [rsp + rdx + 0x2e]
add ecx, eax
movzx eax, byte [rsp + rdx + 0x2f]
add ecx, eax
cmp rdx, 0x10
jl 0x140012a1c
mov dword [rdi + 0xc], ecx
lea rdx, [0x14009c870]
mov rcx, rsi
call fcn.140017620
mov qword [rdi], rax
test rax, rax
je 0x14002e5f0
mov rcx, rdi
call fcn.1400127b0
test eax, eax
je 0x14002e5fa
mov rcx, qword [rdi]
mov ebx, eax
call fcn.1400176a8
mov eax, ebx
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov eax, 1
jmp 0x140012a7c
mov r9, qword [rdi]
mov edx, 1
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0xf]
call fcn.1400179f0
lea rcx, [rsp + 0x20]
mov edx, reloc.WSOCK32.dll_recv
mov r8d, 0x99f2
call fcn.140056100
mov dword [rdi + 0xc], ebp
mov ecx, ebp
movzx eax, byte [rsp + rbp + 0x20]
inc rbp
imul ecx, eax
cmp rbp, 0x10
jl 0x14002e62a
mov dword [rdi + 0xc], ecx
mov rcx, qword [rdi]
call fcn.140017d34
mov dword [rdi + 8], eax
xor eax, eax
jmp 0x140012a7c

Function at 0x140012aa0
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
add rcx, 0x44
lea r8d, [rdx + 8]
call fcn.140014d40
mov dword [rbx + 0x34], 0x67452301
mov dword [rbx + 0x38], 0xefcdab89
mov dword [rbx + 0x3c], 0x98badcfe
mov dword [rbx + 0x40], 0x10325476
add rsp, 0x20
pop rbx
ret

Function at 0x140013e10
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov dword [rcx], 5
mov dword [rcx + 4], 5
mov word [rcx + 8], 1
mov qword [rcx + 0x10], 0
mov dword [rcx + 0x18], 0
mov word [rcx + 0x1c], 0
mov dword [rcx + 0x1e], 0
mov word [rcx + 0x22], 0
xor edx, edx
mov dword [rcx + 0xc], 4
mov rbx, rcx
lea ecx, [rdx + 0x5b]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x10]
mov byte [rbx + 0x35], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov ecx, LHashValOfNameSys
mov byte [rbx + 0x32], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov ecx, LHashValOfNameSys
mov byte [rbx + 0x33], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x11]
mov byte [rbx + 0x34], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x12]
mov byte [rbx + 0x30], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 0x31], al
add rsp, 0x20
pop rbx
ret
Function at 0x140014370
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x40
mov rsi, qword [rsp + 0x70]
xor r12d, r12d
mov edi, r9d
lea rax, [rsp + 0x30]
mov rbp, r8
lea r9d, [r12 + 1]
xor r8d, r8d
mov word [rsi], r12w
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002c280
mov rcx, qword [rsp + 0x30]
lea eax, [rdi + rdi]
xor r9d, r9d
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001442c
mov eax, dword [rsp + 0x70]
shr eax, 1
mov dword [rsp + 0x70], eax
cmp eax, edi
jae 0x14002c287
mov word [rsi + rax*2], r12w
mov bl, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret
xor bl, bl
jmp 0x140014403
xor al, al
jmp 0x140014416
lea eax, [rdi - 1]
jmp 0x1400143fc

Function at 0x140015638
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400154a8
Function at 0x140025bf8
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 [0x1400ac1f0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14001bc0c
xor ebx, ebx
cmp qword [0x1400b3338], rbx
mov rdi, rax
jne 0x140025d0b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140025de2
lea rdx, [0x140098390]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140025de2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x140098380]
mov rcx, rsi
mov qword [0x1400b3338], 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 [0x1400b3340], 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 [0x1400b3348], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400b3358], rax
test rax, rax
je 0x140025d02
lea rdx, [0x140098330]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400b3350], rax
jmp 0x140025d12
mov rax, qword [0x1400b3350]
jmp 0x140025d19
mov rax, qword [0x1400b3350]
mov r11, qword [0x1400b3358]
cmp rax, rdi
je 0x140025d80
cmp r11, rdi
je 0x140025d80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400b3358]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140025d80
test rax, rax
je 0x140025d80
call rsi
test rax, rax
je 0x140025d7a
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140025d7a
test byte [rsp + 0x40], 1
jne 0x140025d80
bts ebp, 0x15
jmp 0x140025dc0
mov rcx, qword [0x1400b3340]
cmp rcx, rdi
je 0x140025dc0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140025dc0
call rax
mov rbx, rax
test rax, rax
je 0x140025dc0
mov rcx, qword [0x1400b3348]
cmp rcx, rdi
je 0x140025dc0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140025dc0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400b3338]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140025de2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140025de4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001e500
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140027f67
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400ac1f0]
jne 0x14001e51a
rol rcx, 0x10
test cx, 0xffff
jne 0x14001e516
repz ret
ror rcx, 0x10
jmp 0x140027ec0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400b3410]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400b3508]
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 0x140027f45
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, [0x1400b3410]
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 0x140027f67
mov rax, qword [rsp + 0x88]
mov qword [0x1400b3508], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400b34a8], rax
mov rax, qword [0x1400b3508]
mov qword [0x1400b3380], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400b3490], rax
mov dword [0x1400b3370], 0xc0000409
mov dword [0x1400b3374], 1
mov rax, qword [0x1400ac1f0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400ac1f8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400b3408], eax
mov ecx, 1
call fcn.140025aac
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, str.p3_v_
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400b3408], 0
jne 0x140027fee
mov ecx, 1
call fcn.140025aac
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 0x140037590
Capabilities:
Get file size
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor r15d, r15d
mov rbx, r9
mov rsi, r8
mov rax, rdx
mov rdi, rcx
cmp word [rdx], r15w
je 0x140037709
mov qword [r11 - 0x78], r15
mov dword [r11 - 0x80], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, rax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x1400375ff
xor eax, eax
jmp 0x140037744
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, 2
mov edx, eax
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r13, rax
test rax, rax
je 0x1400375f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r9, [rbp + 0x38]
mov r8d, r14d
mov rcx, r12
mov rdx, rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [rbp - 0x30]
mov edx, 1
mov rcx, r13
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x38]
lea r9, [0x140096240]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x38], r15
call qword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400375f8
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rbp - 0x40]
lea r8, [rbp - 0x28]
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
call qword [sym.imp.GDI32.dll_GetObjectW]
cmp dword [rsi], r15d
jne 0x1400376db
cmp dword [rbx], r15d
jne 0x1400376db
mov eax, dword [rbp - 0x24]
mov dword [rsi], eax
mov eax, dword [rbp - 0x20]
mov dword [rbx], eax
mov r9d, dword [rbx]
mov r8d, dword [rsi]
mov rcx, qword [rbp - 0x40]
xor edx, edx
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.USER32.dll_CopyImage]
mov rcx, qword [rbp - 0x38]
mov qword [rbp - 0x40], rax
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r9, qword [rbp - 0x40]
jmp 0x140037710
mov r9, r15
mov qword [rbp - 0x40], r15
mov rcx, qword [rdi + 0xb8]
test rcx, rcx
je 0x140037726
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r9, qword [rbp - 0x40]
mov rbx, qword [rdi]
xor r8d, r8d
mov edx, 0x172
mov rcx, rbx
mov qword [rdi + 0xb8], r9
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140038120
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x50
xor edx, edx
mov rbx, rcx
lea rbp, [0x1400c6cc0]
lea r8d, [rdx + 0x68]
mov rcx, rbp
call fcn.140014d40
xor edx, edx
lea rdi, [0x1400c6ca0]
lea r8d, [rdx + 0x18]
mov rcx, rdi
call fcn.140014d40
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rbp
xor edi, edi
mov eax, 1
xor r9d, r9d
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_RegisterActiveObject
mov dword [0x1400c6cc0], 0x68
mov dword [0x1400c6cfc], eax
mov word [0x1400c6d00], ax
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400381bc
mov rcx, qword [0x1400c6ca0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400387c0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov eax, dword [r8 + 8]
mov rbx, r8
mov r8d, dword [r8]
mov r10d, dword [rbx + 0xc]
mov r11d, dword [rbx + 4]
cmp eax, r8d
setl dil
cmp r10d, r11d
mov r14, r9
setl sil
test dil, dil
je 0x14003880a
mov dword [rbx], eax
mov dword [rbx + 8], r8d
test sil, sil
je 0x140038817
mov dword [rbx + 4], r10d
mov dword [rbx + 0xc], r11d
mov ecx, dword [rcx + 0x1d0]
mov r8, rdx
lea rdx, [rbp + 0x67]
call fcn.140038770
mov eax, dword [rbp + 0x6b]
mov r11, qword [rbp + 0x67]
add dword [rbx + 0xc], eax
add dword [rbx + 4], eax
add dword [rbx + 8], r11d
mov r13d, dword [rbx + 8]
mov r12d, dword [rbx + 0xc]
add dword [rbx], r11d
sub r13d, dword [rbx]
sub r12d, dword [rbx + 4]
mov eax, 1
xor ecx, ecx
add r13d, eax
add r12d, eax
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, r12d
mov edx, r13d
mov rcx, rax
mov r15, rax
mov qword [rbp + 0x7f], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, r15
mov qword [rbp + 0x77], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, qword [rbp + 0x77]
mov rcx, rax
mov r15, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, r12d
mov qword [rbp - 0x19], rax
test sil, sil
je 0x1400388a0
neg ecx
mov eax, r13d
test dil, dil
je 0x1400388aa
neg eax
test sil, sil
je 0x1400388b5
mov r8d, dword [rbx + 0xc]
jmp 0x1400388b9
mov r8d, dword [rbx + 4]
test dil, dil
je 0x1400388c3
mov edx, dword [rbx + 8]
jmp 0x1400388c5
mov edx, dword [rbx]
mov rsi, qword [rbp + 0x7f]
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], edx
xor edx, edx
mov r9d, r13d
xor r8d, r8d
mov rcx, r15
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.GDI32.dll_StretchBlt]
xor ebx, ebx
mov eax, r12d
neg eax
mov dword [rbp - 0xd], r13d
mov r13, qword [rbp + 0x77]
mov dword [rbp - 9], eax
mov eax, 1
mov dword [rsp + 0x30], ebx
mov word [rbp - 5], ax
mov eax, reloc.OLEAUT32.dll_RegisterActiveObject
xor r9d, r9d
mov word [rbp - 3], ax
lea rax, [rbp - 0x11]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r13
mov rcx, r15
mov dword [rbp - 0x11], SafeArrayCreateEx
mov dword [rbp - 1], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.GDI32.dll_GetDIBits]
mov r11d, dword [rbp + 3]
mov ecx, r11d
mov dword [r14], r11d
call fcn.140014e9c
mov dword [rsp + 0x30], ebx
mov r9d, r12d
mov rdi, rax
lea rax, [rbp - 0x11]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r13
mov rcx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.GDI32.dll_GetDIBits]
mov rdx, qword [rbp - 0x19]
mov rcx, r15
mov ebx, eax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
test ebx, ebx
je 0x1400389ba
mov rax, rdi
jmp 0x1400389c4
mov rcx, rdi
call fcn.14001488c
xor eax, eax
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret