joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011910
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x450
mov rax, qword [0x140043650]
xor rax, rsp
mov qword [rsp + 0x440], rax
lea rax, [rsp + 0x38]
mov r14d, ecx
xor ebx, ebx
lea rdx, str.SOFTWAREParalint.comNotifuDebug
mov esi, 0x80004005
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
lea edi, [rbx + 3]
mov ebp, esi
mov dword [rsp + 0x30], 0x200
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011a52
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.Level
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400119cc
cmp dword [rsp + 0x34], 1
jne 0x1400119cc
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 0x1fe
cmovbe ebp, ebx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
jne 0x140011a52
lea rdx, [rsp + 0x40]
lea rcx, str.None
call fcn.140018928
test eax, eax
jne 0x1400119f4
mov edi, ebx
jmp 0x140011a52
lea rdx, [rsp + 0x40]
lea rcx, str.Error
call fcn.140018928
test eax, eax
jne 0x140011a0e
lea edi, [rax + 4]
jmp 0x140011a52
lea rdx, [rsp + 0x40]
lea rcx, str.Warning
call fcn.140018928
test eax, eax
je 0x140011a52
lea rdx, [rsp + 0x40]
lea rcx, str.Info
call fcn.140018928
test eax, eax
je 0x140011a4d
lea rdx, [rsp + 0x40]
lea rcx, str.Information
call fcn.140018928
test eax, eax
jne 0x140011a52
mov edi, 2
cmp r14d, edi
jl 0x140011aed
lea rax, [rsp + 0x38]
lea rdx, str.SOFTWAREParalint.comNotifuDebug
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x30], 0x200
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011aed
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.Output
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011ad5
cmp dword [rsp + 0x34], 1
jne 0x140011ad5
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 0x1fe
cmovbe esi, ebx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [0x1400118f0]
test esi, esi
cmove rbx, rax
mov rax, rbx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140017c60
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140011cf0
Capabilities:
Get file version info

Disassembly:
push rsi
sub rsp, 0x250
mov rax, qword [0x140043650]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x30]
mov rcx, rax
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140011d44
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x140011ddc
movzx eax, ax
or eax, 0x80070000
jmp 0x140011ddc
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x270], rbx
mov qword [rsp + 0x278], rdi
call fcn.1400186a8
xor ebx, ebx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov qword [rsi + 0x20], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
jne 0x140011d84
mov ebx, 0x80004005
jmp 0x140011dca
mov rcx, rdi
call fcn.14001270c
mov qword [rsi + 0x20], rax
test rax, rax
jne 0x140011d9c
mov ebx, 0x8007000e
jmp 0x140011dca
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rax
mov r8d, edi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x140011dca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140011dca
movzx ebx, ax
or ebx, 0x80070000
mov rdi, qword [rsp + 0x278]
mov eax, ebx
mov rbx, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140017c60
add rsp, 0x250
pop rsi
ret
Function at 0x1800024f0
Capabilities:
Allocate or change rwx memory
Enumerate processes via ntquerysysteminformation
Execute shellcode via indirect call
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180064008]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
lea r9, [rsp + 0x30]
mov rsi, rdx
mov dword [rsp + 0x30], ebx
mov rdi, rcx
xor r8d, r8d
xor edx, edx
lea ecx, [rbx + 5]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x18000259a
mov eax, dword [rsp + 0x30]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x28], 4
lea rdx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rcx, [rbx - 1]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x20], 0x3000
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
cmovns rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x18000259a
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbx
mov ecx, 5
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x1800025c0
mov rcx, rbx
call fcn.1800024a0
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180002e00
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov rdx, rsi
mov rcx, rbx
call rdi
test al, al
je 0x1800025d6
mov eax, dword [rbx]
add rbx, rax
cmp dword [rbx], 0
jne 0x1800025c0
mov rcx, rbx
call fcn.1800024a0
mov al, 1
jmp 0x18000259c

Function at 0x1800031a4
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140001de2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0xa8
mov word [rsp + 0x20], 0x65
mov word [rsp + 0x22], 0x5b
mov word [rsp + 0x24], 0x6e
mov word [rsp + 0x26], 0x70
mov word [rsp + 0x28], 0x72
mov word [rsp + 0x2a], 0x7c
mov word [rsp + 0x2c], 0x7d
mov word [rsp + 0x2e], 0x7b
mov word [rsp + 0x30], 0x82
mov word [rsp + 0x32], 0x65
mov word [rsp + 0x34], 0x56
mov word [rsp + 0x36], 0x6a
mov word [rsp + 0x38], 0x6c
mov word [rsp + 0x3a], 0x71
mov word [rsp + 0x3c], 0x72
mov word [rsp + 0x3e], 0x77
mov word [rsp + 0x40], 0x6e
mov word [rsp + 0x42], 0x65
mov word [rsp + 0x44], 0x5c
mov word [rsp + 0x46], 0x62
mov word [rsp + 0x48], 0x5c
mov word [rsp + 0x4a], 0x5d
mov word [rsp + 0x4c], 0x4e
mov word [rsp + 0x4e], 0x56
mov word [rsp + 0x50], 0x65
mov word [rsp + 0x52], 0x4c
mov word [rsp + 0x54], 0x7e
mov word [rsp + 0x56], 0x7b
mov word [rsp + 0x58], 0x7b
mov word [rsp + 0x5a], 0x6e
mov word [rsp + 0x5c], 0x77
mov word [rsp + 0x5e], 0x7d
mov word [rsp + 0x60], 0x4c
mov word [rsp + 0x62], 0x78
mov word [rsp + 0x64], 0x77
mov word [rsp + 0x66], 0x7d
mov word [rsp + 0x68], 0x7b
mov word [rsp + 0x6a], 0x78
mov word [rsp + 0x6c], 0x75
mov word [rsp + 0x6e], 0x5c
mov word [rsp + 0x70], 0x6e
mov word [rsp + 0x72], 0x7d
mov word [rsp + 0x74], 0x65
mov word [rsp + 0x76], 0x5c
mov word [rsp + 0x78], 0x6e
mov word [rsp + 0x7a], 0x7b
mov word [rsp + 0x7c], 0x7f
mov word [rsp + 0x7e], 0x72
mov word [rsp + 0x80], 0x6c
mov word [rsp + 0x82], 0x6e
mov word [rsp + 0x84], 0x7c
mov word [rsp + 0x86], 0x65
mov word [rsp + 0x88], pe_nt_image_headers64
mov word [rsp + 0x8a], 0x7e
mov word [rsp + 0x8c], 0x6a
mov word [rsp + 0x8e], 0x7e
mov word [rsp + 0x90], 0x7c
mov word [rsp + 0x92], 0x6e
mov word [rsp + 0x94], 0x7b
mov word [rsp + 0x96], 0x7f
mov word [rsp + 0x98], 9
cmp byte [0x140881660], 0
jne 0x140001ffd
mov byte [0x1408816fa], 1
mov eax, 0
lea rcx, [0x140881680]
movzx edx, word [rsp + rax*2 + 0x20]
mov word [rcx + rax*2], dx
add rax, 1
cmp rax, 0x3d
jne 0x140001fd7
mov byte [0x140881660], 1
lea rcx, [0x14000168a]
call fcn.1400014f0
lea rax, [0x140881680]
add rsp, 0xa8
ret

Function at 0x140002218
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x20], 3
mov byte [rsp + 0x21], 0x59
mov byte [rsp + 0x22], 0x4c
mov byte [rsp + 0x23], 0x55
mov byte [rsp + 0x24], 0x58
mov byte [rsp + 0x25], 0x56
mov byte [rsp + 0x26], 0x46
mov byte [rsp + 0x27], 0x4b
mov byte [rsp + 0x28], 0x48
mov byte [rsp + 0x29], 0x46
mov byte [rsp + 0x2a], 0x4e
mov byte [rsp + 0x2b], 0x50
mov byte [rsp + 0x2c], 0x44
mov byte [rsp + 0x2d], 0x57
mov byte [rsp + 0x2e], 0x48
mov byte [rsp + 0x2f], 0x11
mov byte [rsp + 0x30], 0x46
mov byte [rsp + 0x31], 0x52
mov byte [rsp + 0x32], 0x50
mov byte [rsp + 0x33], 0xe3
cmp byte [0x1408812e8], 0
jne 0x1400022c1
mov byte [0x140881304], 1
mov eax, 0
lea rcx, [0x1408812f0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x14
jne 0x14000229c
mov byte [0x1408812e8], 1
lea rcx, [0x1400017bd]
call fcn.1400014f0
lea rax, [0x1408812f0]
add rsp, 0x48
ret
Function at 0x1400022ce
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x20], 3
mov byte [rsp + 0x21], 0x59
mov byte [rsp + 0x22], 0x4c
mov byte [rsp + 0x23], 0x55
mov byte [rsp + 0x24], 0x58
mov byte [rsp + 0x25], 0x56
mov byte [rsp + 0x26], 0x56
mov byte [rsp + 0x27], 0x46
mov byte [rsp + 0x28], 0x44
mov byte [rsp + 0x29], 0x51
mov byte [rsp + 0x2a], 0x11
mov byte [rsp + 0x2b], 0x4d
mov byte [rsp + 0x2c], 0x52
mov byte [rsp + 0x2d], 0x57
mov byte [rsp + 0x2e], 0x57
mov byte [rsp + 0x2f], 0x4c
mov byte [rsp + 0x30], 0x11
mov byte [rsp + 0x31], 0x52
mov byte [rsp + 0x32], 0x55
mov byte [rsp + 0x33], 0x4a
mov byte [rsp + 0x34], 0xe3
cmp byte [0x140881288], 0
jne 0x14000237c
mov byte [0x1408812a5], 1
mov eax, 0
lea rcx, [0x140881290]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x15
jne 0x140002357
mov byte [0x140881288], 1
lea rcx, [0x140001805]
call fcn.1400014f0
lea rax, [0x140881290]
add rsp, 0x48
ret

Function at 0x140002388
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x20], 3
mov byte [rsp + 0x21], 0x53
mov byte [rsp + 0x22], 0x44
mov byte [rsp + 0x23], 0x51
mov byte [rsp + 0x24], 0x47
mov byte [rsp + 0x25], 0x44
mov byte [rsp + 0x26], 0x56
mov byte [rsp + 0x27], 0x48
mov byte [rsp + 0x28], 0x46
mov byte [rsp + 0x29], 0x58
mov byte [rsp + 0x2a], 0x55
mov byte [rsp + 0x2b], 0x4c
mov byte [rsp + 0x2c], 0x57
mov byte [rsp + 0x2d], 0x5c
mov byte [rsp + 0x2e], 0x11
mov byte [rsp + 0x2f], 0x46
mov byte [rsp + 0x30], 0x52
mov byte [rsp + 0x31], 0x50
mov byte [rsp + 0x32], 0xe3
cmp byte [0x1408811d8], 0
jne 0x14000242c
mov byte [0x1408811f3], 1
mov eax, 0
lea rcx, [0x1408811e0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x13
jne 0x140002407
mov byte [0x1408811d8], 1
lea rcx, [0x1400018ad]
call fcn.1400014f0
lea rax, [0x1408811e0]
add rsp, 0x48
ret

Function at 0x140002438
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x20], 3
mov byte [rsp + 0x21], 0x16
mov byte [rsp + 0x22], 0x19
mov byte [rsp + 0x23], 0x13
mov byte [rsp + 0x24], 0x57
mov byte [rsp + 0x25], 0x52
mov byte [rsp + 0x26], 0x57
mov byte [rsp + 0x27], 0x44
mov byte [rsp + 0x28], 0x4f
mov byte [rsp + 0x29], 0x56
mov byte [rsp + 0x2a], 0x48
mov byte [rsp + 0x2b], 0x46
mov byte [rsp + 0x2c], 0x58
mov byte [rsp + 0x2d], 0x55
mov byte [rsp + 0x2e], 0x4c
mov byte [rsp + 0x2f], 0x57
mov byte [rsp + 0x30], 0x5c
mov byte [rsp + 0x31], 0x11
mov byte [rsp + 0x32], 0x46
mov byte [rsp + 0x33], 0x52
mov byte [rsp + 0x34], 0x50
mov byte [rsp + 0x35], 0xe3
cmp byte [0x140881180], 0
jne 0x1400024eb
mov byte [0x1408811a6], 1
mov eax, 0
lea rcx, [0x140881190]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x16
jne 0x1400024c6
mov byte [0x140881180], 1
lea rcx, [0x1400018f5]
call fcn.1400014f0
lea rax, [0x140881190]
add rsp, 0x48
ret
Function at 0x1400024f8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x20], 3
mov byte [rsp + 0x21], 0x44
mov byte [rsp + 0x22], 0x51
mov byte [rsp + 0x23], 0x57
mov byte [rsp + 0x24], 0x4c
mov byte [rsp + 0x25], 0x59
mov byte [rsp + 0x26], 0x4c
mov byte [rsp + 0x27], 0x55
mov byte [rsp + 0x28], 0x58
mov byte [rsp + 0x29], 0x56
mov byte [rsp + 0x2a], 0x11
mov byte [rsp + 0x2b], 0x46
mov byte [rsp + 0x2c], 0x52
mov byte [rsp + 0x2d], 0x50
mov byte [rsp + 0x2e], 0x52
mov byte [rsp + 0x2f], 0x47
mov byte [rsp + 0x30], 0x52
mov byte [rsp + 0x31], 0x11
mov byte [rsp + 0x32], 0x46
mov byte [rsp + 0x33], 0x52
mov byte [rsp + 0x34], 0x50
mov byte [rsp + 0x35], 0xe3
cmp byte [0x140881148], 0
jne 0x1400025ab
mov byte [0x140881166], 1
mov eax, 0
lea rcx, [0x140881150]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x16
jne 0x140002586
mov byte [0x140881148], 1
lea rcx, [0x140001925]
call fcn.1400014f0
lea rax, [0x140881150]
add rsp, 0x48
ret

Function at 0x1400027a6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x88
mov word [rsp + 0x20], 0xe4
mov word [rsp + 0x22], 0x12
mov word [rsp + 0x24], 0xdf
mov word [rsp + 0x26], 0xee
mov word [rsp + 0x28], 0x22
mov word [rsp + 0x2a], 0xdf
mov word [rsp + 0x2c], 0x22
mov word [rsp + 0x2e], 0x27
mov word [rsp + 0x30], 0x2e
mov word [rsp + 0x32], 0x28
mov word [rsp + 0x34], 0x22
mov word [rsp + 0x36], 0x24
mov word [rsp + 0x38], 0xdf
mov word [rsp + 0x3a], 0xee
mov word [rsp + 0x3c], 2
mov word [rsp + 0x3e], 0xdf
mov word [rsp + 0x40], 0x18
mov word [rsp + 0x42], 0xdf
mov word [rsp + 0x44], 0xee
mov word [rsp + 0x46], 0xd
mov word [rsp + 0x48], 0xdf
mov word [rsp + 0x4a], 0xee
mov word [rsp + 0x4c], 3
mov word [rsp + 0x4e], 0xdf
mov word [rsp + 0x50], 0x18
mov word [rsp + 0x52], 0xdf
mov word [rsp + 0x54], 0xee
mov word [rsp + 0x56], 0x13
mov word [rsp + 0x58], 0xdf
mov word [rsp + 0x5a], 0xf2
mov word [rsp + 0x5c], 0xdf
mov word [rsp + 0x5e], 0xe5
mov word [rsp + 0x60], 0xdf
mov word [rsp + 0x62], 3
mov word [rsp + 0x64], 0x24
mov word [rsp + 0x66], 0x2b
mov word [rsp + 0x68], 0xdf
mov word [rsp + 0x6a], 0xe1
mov word [rsp + 0x6c], 0xe4
mov word [rsp + 0x6e], 0x12
mov word [rsp + 0x70], 0xe1
mov word [rsp + 0x72], 0xbf
cmp byte [0x1408809a0], 0
jne 0x140002915
mov byte [0x140880a14], 1
mov eax, 0
lea rcx, [0x1408809c0]
movzx edx, word [rsp + rax*2 + 0x20]
mov word [rcx + rax*2], dx
add rax, 1
cmp rax, 0x2a
jne 0x1400028ef
mov byte [0x1408809a0], 1
lea rcx, [0x140001a8a]
call fcn.1400014f0
lea rax, [0x1408809c0]
add rsp, 0x88
ret
Function at 0x140002988
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r12, rcx
test edx, edx
je 0x140002afc
mov r13d, edx
mov edi, 0
lea r14, [0x140001530]
lea rbx, [0x140881bc1]
jmp 0x1400029ee
mov byte [0x140881bc1], 0
mov edx, esi
sar edx, 0x1f
shr edx, 0x1b
lea eax, [rsi + rdx]
and eax, 0x1f
sub eax, edx
cdqe
lea rdx, [0x140881ba0]
xor bpl, byte [rdx + rax]
mov byte [r12 + rdi], bpl
add rdi, 1
cmp r13, rdi
je 0x140002afc
mov esi, edi
movzx ebp, byte [r12 + rdi]
mov byte [rsp + 0x20], 0x7e
mov byte [rsp + 0x21], 0x8c
mov byte [rsp + 0x22], 0x88
mov byte [rsp + 0x23], 0x87
mov byte [rsp + 0x24], 0x8d
mov byte [rsp + 0x25], 0x88
mov byte [rsp + 0x26], 0x8c
mov byte [rsp + 0x27], pe_nt_image_headers64
mov byte [rsp + 0x28], 0x75
mov byte [rsp + 0x29], 0x83
mov byte [rsp + 0x2a], 0x77
mov byte [rsp + 0x2b], 0x7f
mov byte [rsp + 0x2c], 0x7d
mov byte [rsp + 0x2d], 0x77
mov byte [rsp + 0x2e], 0x7c
mov byte [rsp + 0x2f], 0x7f
mov byte [rsp + 0x30], 0x82
mov byte [rsp + 0x31], 0x7e
mov byte [rsp + 0x32], 0x75
mov byte [rsp + 0x33], 0x7b
mov byte [rsp + 0x34], pe_nt_image_headers64
mov byte [rsp + 0x35], 0x85
mov byte [rsp + 0x36], 0x7c
mov byte [rsp + 0x37], 0x86
mov byte [rsp + 0x38], 0x89
mov byte [rsp + 0x39], 0x8a
mov byte [rsp + 0x3a], 0x74
mov byte [rsp + 0x3b], 0x7a
mov byte [rsp + 0x3c], 0x7a
mov byte [rsp + 0x3d], 0x76
mov byte [rsp + 0x3e], 0x7a
mov byte [rsp + 0x3f], 0x78
mov byte [rsp + 0x40], 0x13
cmp byte [0x140881b80], 0
jne 0x140002ad7
mov byte [0x140881bc1], 1
mov eax, 0
lea rcx, [0x140881ba0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x21
jne 0x140002ab6
mov byte [0x140881b80], 1
mov rcx, r14
call fcn.1400014f0
cmp byte [0x140881bc1], 0
je 0x1400029c0
lea rax, [0x140881ba0]
sub byte [rax], 0x13
add rax, 1
cmp rbx, rax
jne 0x140002aeb
jmp 0x1400029b9
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1400085f0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x140008620
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x14000861f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140008625
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x14000861f
mov eax, 0
jmp 0x14000861f

Function at 0x140008ca0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140008c50
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400122b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14001adf0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14001adf0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.14001b440
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140012320
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140881f74]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x1400124b0
mov rax, qword [0x140881f78]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14001236c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x1400123f5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x140012350
mov rcx, rdi
call fcn.140012e80
test rax, rax
mov r12, rax
je 0x140012502
mov rax, qword [0x140881f78]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140012fc0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140881f78]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400124e5
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400123ee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140012460
add dword [0x140881f74], 1
cmp ebx, 8
jae 0x140012421
test bl, 4
jne 0x1400124c0
test ebx, ebx
je 0x140012416
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x1400124d4
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x140012416
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14001243a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x140881f78]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400123ee
call qword [0x1408832c4]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400122b0
xor esi, esi
jmp 0x140012377
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x140012416
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x140012416
mov rax, qword [0x140881f78]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.1400122b0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.1400122b0
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140012e80
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140874750]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x140012eef
mov rcx, r9
call fcn.140012d50
test eax, eax
je 0x140012eef
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x140012eed
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140012ee4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140012eef
add rdx, 0x28
cmp rdx, r9
jne 0x140012ed0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001d390
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x14086a760]
jmp 0x140013cb0

Function at 0x14001d3a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x14086a760]
jmp 0x140013cb0

Function at 0x14088f180
Capabilities:
Allocate thread local storage

Disassembly:
mov rdx, qword [rsp + 0x18]
mov rdx, qword [rdx]
mov qword [rsp + 0x18], 0x732f3b3b
test byte [rsp + 0x28], 1
sete byte [rsp + 0x18]
not word [rsp + 0x28]
ja fcn.14089624b
lea rdx, [rdx + 0x4d32fbb3]
shl dword [rsp + 0x18], 0xa9

Function at 0x14088f280
Capabilities:
Terminate process

Disassembly:
mov rbp, qword [rsp + 0x68]
jo fcn.140944492
not rdi
sub esi, dword [rsp + 0x4a]
shl r11d, 0xb1
je 0x14091561e
sets dil
mov rsi, qword [rsp + r11 - 0x22ffffb0]
add dil, byte [rsp + r11 - 0x22ffffb1]
jae 0x14096460e
shl sil, 0x81
movabs rsi, 0x9bf331d4b164610
mov esi, 0x6e82a986
not si
sub si, 0x419c
jg 0x14088f705
call section.klamdkla_1
jno 0x14088f280

Function at 0x140890a0f
Capabilities:
Allocate thread local storage

Disassembly:
mov r10, qword [rsp + 0x20]
mov qword [rsp + 0x20], rsi
lea rdx, [r13 + riz + 0x92deb33]
push r15
call fcn.1409940fe
add bx, 0x241f
bswap ecx
jo 0x14088f547
jbe 0x1408a3ed5
mov rax, qword [rsp + rcx - 0x2aa99792]
mov rax, qword [rax + rbx*8 - 0x3b86f0]
or word [rsp + rbx*4 - 0x1dc360], 0x5539
sub byte [rsp + rcx - 0x2aa997d2], 0x98
mov qword [rsp + rbx - 0x77086], rbx
cmp qword [rsp + rcx*2 - 0x55532f7c], rbx
lea rax, [rax - 0x726de24a]
call fcn.1409b2d5d
ret
bswap r15d
call fcn.1409abde5
sub dword [rsp + 0x18], 0x4035e40f
movsx cx, byte [rsp + 0x19]
mov rdi, qword [rsp + 0x58]
mov rdi, qword [rdi]
mov qword [rsp + 0x58], rcx
add qword [rsp], 0xffffffffbf76fd40
mov rdx, qword [rsp + 0x58]
mov r14, r13
not dx
and edx, dword [rsp + 0x58]
lea rdi, [rdi - 0x184b577d]
lea r13, [rcx*8 - 0x7af68ce1]
add qword [rsp + 0x20], 0x97e0
mov r12, rcx
sub dword [rsp + 0x18], 0xf238ba28
cmp r14b, cl
ja 0x1409676e3
push r8
jg 0x14089ab0f
xchg qword [rsp + 0x68], rdi
mov rdx, qword [rsp + 0x10]
neg r14b
mov r8, r12
call fcn.14088e901

Function at 0x1408931c8
Capabilities:
Packed with generic packer

Disassembly:
mov r15, qword [rsp + r15 - 0x7d1e8fda]
call 0x14097655b

Function at 0x140896200
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1408985e3
push rsi
pushfq
movabs rsi, 0xc53687b4f7955801
push rdi
xor si, 0x2d39
mov rdi, rsi
mov rsi, qword [rsp + 0x10]
mov qword [rsp + 0x10], 0xffffffffc6e9cb06
mov rdi, qword [rsp]
js 0x1408985e4
push qword [rsp + 8]
popfq
lea rsp, [rsp + 0x10]
call fcn.1409c4ba4