joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400096c8
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400096f6
xor eax, eax
jmp 0x1400097dc
cmp qword [rcx + 0x68], 0
je 0x140009707
call fcn.1400097f8
jmp 0x1400097dc
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000971e
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140009720
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140009752
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140028fd0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400097d6
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140009789
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400097b2
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14001657c
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400097d6
cmp rsi, rbx
ja 0x140009790
test rsi, rsi
je 0x1400097d6
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14001657c
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14000b7f0
Capabilities:
Parse pe header

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

Function at 0x140018f4c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140018d48
Function at 0x14001e7ac
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14000b2a0
sub rsp, rax
mov rax, qword [0x14003c040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001d38c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001e7fb
mov rax, rbp
jmp 0x14001e903
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x3e710]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001f8cc
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x3e710]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14001e8ff
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001e8ff
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001f8cc
test rax, rax
js 0x14001e8ff
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14001e8ff
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14001e8f1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14001e8f1
cmp byte [rcx], 0xd
jne 0x14001e8d7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001e8e6
cmp byte [rcx + 1], 0xa
jne 0x14001e8e6
inc rcx
jmp 0x14001e8e6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3c460]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001e8b9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14001e903
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000aaa0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001eb24
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001eb3a
mov al, 1
jmp 0x14001eb9a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001eb4b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001eb98
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400234f4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001eb98
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001eb98
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001eb98
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001eb9a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001ec6c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14003e710]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001ecc3
cmp word [rdx], r13w
jne 0x14001ecc3
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001ecc8
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001eded
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001ee0e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001ed01
mov rdx, r9
mov word [rbx], cx
jmp 0x14001ed28
cmp r9, r8
jae 0x14001ed38
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001ece2
jmp 0x14001eded
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001ede2
cmp dword [rsp + 0x80], esi
je 0x14001ede2
lea r8, [0x14003e710]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001edba
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001ed8a
mov word [rbx], r13w
jmp 0x14001edea
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001ed97
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001edea
cmp word [rsp + 0x70], r13w
jne 0x14001edc7
cmp rbx, r14
je 0x14001ed84
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001f8d4
cmp word [rsp + 0x70], r13w
je 0x14001eded
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14003e710]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001ede7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001eded
Function at 0x140022c8c
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 0x140022cbc
xor eax, eax
jmp 0x140022d7f
mov rbp, rbx
cmp word [rax], si
je 0x140022ce1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140022cc8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140022cc4
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.140021304
movsxd r14, eax
test eax, eax
jne 0x140022d1f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140022cb5
mov rcx, r14
call fcn.14001fb38
mov rdi, rax
test rax, rax
jne 0x140022d38
xor ecx, ecx
call fcn.14001c1cc
jmp 0x140022d14
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.140021304
test eax, eax
jne 0x140022d69
mov rcx, rdi
call fcn.14001c1cc
jmp 0x140022d73
xor ecx, ecx
call fcn.14001c1cc
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 0x140025a48
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14001bd80
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140025ae9
cmp ebx, dword [rsp + 0x30]
je 0x140025ae2
test esi, esi
je 0x140025ae2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140025abd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140025aca
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140025aa7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140025ace
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140025aeb
mov eax, 1
jmp 0x140025aeb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140027334
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400121f0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400273be
cmp byte [rbp - 0x21], r15b
je 0x1400273b9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400273f4
call fcn.14001c89c
test eax, eax
jne 0x1400273e0
cmp byte [rbp - 0x21], r15b
je 0x1400273d8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400273f4
cmp byte [rbp - 0x21], r15b
je 0x1400273f1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140017d40
test eax, eax
jne 0x140027494
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400121f0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140027433
cmp byte [rbp - 0x21], r15b
je 0x140027468
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140027468
call fcn.14001c89c
test eax, eax
jne 0x140027454
cmp byte [rbp - 0x21], r15b
je 0x14002744d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140027468
cmp byte [rbp - 0x21], r15b
je 0x140027465
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140017d40
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140027494
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140027497
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400274a5
mov rcx, rdi
call fcn.14001c1cc
cmp byte [rbp + 0x3f], r15b
je 0x1400274b4
mov rcx, qword [rbp + 0x27]
call fcn.14001c1cc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140028c20
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140028c48
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140028c48
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140014203
Capabilities:
Write file on windows

Disassembly:
jmp 0x140033420
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14005b0f5]
call fcn.14001525c
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140033477
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140033583
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14003351c
cmp qword [rbp + 0x28], 0
jle 0x14003351c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1400334bc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14001511c
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x140033572
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140033572
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140014a32
Capabilities:
Terminate process

Disassembly:
jmp 0x140039b10
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140014bc2
Capabilities:
Get geographical location

Disassembly:
jmp 0x140033d30
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140033d6d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140015239
add rsp, 0x58
ret
Function at 0x140014c67
Capabilities:
Parse pe header

Disassembly:
jmp 0x14003a640
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003a660
xor al, al
jmp 0x14003a6e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14003a673
xor al, al
jmp 0x14003a6e1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14003a69d
xor al, al
jmp 0x14003a6e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14003a6b1
xor al, al
jmp 0x14003a6e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14003a6c3
xor al, al
jmp 0x14003a6e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14003a6df
xor al, al
jmp 0x14003a6e1
mov al, 1
add rsp, 0x38
ret
Function at 0x140014fb9
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140028af0
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x468]
mov rax, qword [0x140050048]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x14005b12d]
call fcn.14001525c
mov dword [rbp + 4], 0
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rbp + 0x30], 0x238
xor edx, edx
mov ecx, 2
call fcn.140014889
mov qword [rbp + 0x288], rax
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x288]
call fcn.140014b13
test eax, eax
je 0x140028ba3
mov eax, dword [rbp + 0x440]
cmp dword [rbp + 0x38], eax
jne 0x140028b8f
mov eax, dword [rbp + 0x50]
mov dword [rbp + 4], eax
jmp 0x140028ba3
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x288]
call fcn.140014f8c
test eax, eax
jne 0x140028b7c
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140043cb0]
call fcn.140014ee7
mov eax, edi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.1400148b1
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret
Function at 0x140015086
Capabilities:
Get common file path

Disassembly:
jmp 0x140035c70
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140035cb8
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x20], eax
ja 0x140035cb8
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x140035ccf
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
add rsp, 0x48
ret
Function at 0x14001520c
Capabilities:
Write file on windows

Disassembly:
jmp 0x140029d50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x140050048]
xor rax, rbp
mov qword [rbp + 0x1a8], rax
lea rcx, [0x14005b0f5]
call fcn.14001525c
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x140029db6
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140029dbd
mov al, 1
jmp 0x140029f2f
mov rax, qword [rbp + 0x1d0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x198], rax
call fcn.140014519
mov dword [rbp + 0x1a0], eax
mov edx, dword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x1d0]
call qword [rbp + 0x198]
mov dword [rbp + 0x164], eax
call fcn.140014519
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.140014f0f
movzx eax, al
test eax, eax
je 0x140029e22
xor al, al
jmp 0x140029f2f
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1d0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x198], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x1a0], eax
cmp dword [rbp + 0x1a0], 0
je 0x140029e95
cmp dword [rbp + 0x1a0], 1
je 0x140029ea0
cmp dword [rbp + 0x1a0], 3
je 0x140029f1e
jmp 0x140029f2d
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140029ef0
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140029ef0
xor al, al
jmp 0x140029f2f
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140029f0b
mov dword [rbp + 0x194], 1
jmp 0x140029f15
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x140029f2f
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140029f2f
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400445e0]
call fcn.140014ee7
mov rax, rdi
mov rcx, qword [rbp + 0x1a8]
xor rcx, rbp
call fcn.1400148b1
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x140015365
Capabilities:
Capture screenshot

Disassembly:
jmp 0x140028290
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
mov rax, qword [0x140050048]
xor rax, rbp
mov qword [rbp + 0x1f8], rax
lea rcx, [0x14005b12d]
call fcn.14001525c
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rbp + 0x28], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbp + 0x44], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbp + 0x64], eax
mov r8d, dword [rbp + 0x64]
mov edx, dword [rbp + 0x44]
mov rcx, qword [rbp + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rbp + 0x88], rax
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp + 0xa8], rax
mov eax, dword [rbp + 0x64]
add eax, 0xc8
mov ecx, dword [rbp + 0x44]
add ecx, 0xc8
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rdx, qword [rbp + 8]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
mov r9d, ecx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_BitBlt]
lea rcx, [rbp + 0xc8]
call fcn.14001450a
mov edx, 0x18
lea rcx, [rbp + 0xe8]
call fcn.14001539c
xor r8d, r8d
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0xe8]
call fcn.140014398
nop
lea rdx, [rbp + 0x118]
lea rcx, str.image_png
call fcn.140014a69
xor r9d, r9d
lea r8, [rbp + 0x118]
mov rdx, qword [rbp + 0x220]
lea rcx, [rbp + 0xe8]
call fcn.140015040
nop
lea rcx, [rbp + 0xe8]
call fcn.140014596
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rbp + 8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbp + 0xc8]
call fcn.140014974
lea rcx, [rbp - 0x50]
lea rdx, [0x140044fc0]
call fcn.140014ee7
mov rcx, qword [rbp + 0x1f8]
xor rcx, rbp
call fcn.1400148b1
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret