joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140054b80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140054c39
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x140054c80]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call dbg.runtime.systemstack
xorps xmm15, xmm15
mov r14, qword [0x1401a6c00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp dbg.runtime.callers
Function at 0x14005e7a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140002f4f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call dbg.runtime.memhashFallback
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x140002f20
cmp byte [0x1401a6a2e], 0
je 0x14005e7b5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x14005b800
jmp 0x140002f20

Function at 0x14005e7c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x1401a6ce0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x1401a6a2e], 0
je 0x14005e7f5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x1401a7020]
aesenc xmm0, xmmword [0x1401a7030]
aesenc xmm0, xmmword [0x1401a7040]
movq rax, xmm0
ret
jmp 0x140009840

Function at 0x14005e800
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x1401a6ce0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x1401a6a2e], 0
je 0x14005e836
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1401a7020]
aesenc xmm0, xmmword [0x1401a7030]
aesenc xmm0, xmmword [0x1401a7040]
movq rax, xmm0
ret
jmp 0x1400098a0
Function at 0x14008ed50
Capabilities:
Create thread

Disassembly:
mov rdx, rcx
lea rcx, [dbg.threadentry]
jmp sym._cgo_beginthread

Function at 0x140094a90
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140095762
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1401ab5c8]
test eax, eax
je 0x1400957fa
lea rax, [0x1401ab5a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1401ab5d0]
mov qword [rbp - 8], rax
jmp 0x1400957de
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400957d2
cmp qword [rbp - 0x10], 0
je 0x1400957d2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140095798
lea rax, [0x1401ab5a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400957fb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140095900
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140095928
mov eax, 0
jmp 0x140095976
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140095951
mov eax, 0
jmp 0x140095976
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140095971
mov eax, 0
jmp 0x140095976
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14009597c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
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
mov dword [rbp - 0xc], 0
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 - 8], rax
jmp 0x1400959fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400959f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400959f1
mov rax, qword [rbp - 8]
jmp 0x140095a0f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400959c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001679
Capabilities:
Create thread

Disassembly:
cmp edx, 0x20
jne 0x140001893
sub rsp, 0x148
mov rax, qword [0x140083018]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor edx, edx
mov qword [rsp + 0x158], rbp
xor ecx, ecx
mov r8d, 0x2000000
call qword [sym.imp.USER32.dll_OpenInputDesktop]
mov rbp, rax
test rax, rax
je 0x140001874
mov qword [rsp + 0x150], rbx
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x140], rdi
mov r8d, 0x100
call fcn.140007030
mov r9d, 0x100
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
mov edx, 2
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetUserObjectInformationA]
mov rcx, rbp
call qword [sym.imp.USER32.dll_CloseDesktop]
mov ecx, 5
call fcn.1400045d0
test al, al
je 0x14000172b
mov edx, dword [0x140083c00]
lea r9, [rsp + 0x30]
mov r8, rbp
lea rcx, str.__d__Desktopswitch_into__d___s_.
call fcn.140003f90
mov rbx, qword [0x140085890]
mov rdi, 0xffffffffffffffff
test rbx, rbx
je 0x140001772
nop
mov rax, rdi
cmp byte [rbx + rax + 0x11], 0
lea rax, [rax + 1]
jne 0x140001743
lea ecx, [rax + 1]
movsxd r8, ecx
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0x10]
call fcn.1400167e0
test eax, eax
je 0x1400017f4
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140001740
mov ecx, 5
call fcn.1400045d0
test al, al
je 0x140001798
lea r8, [rsp + 0x30]
lea rdx, str.FindDesktopInfo
lea rcx, str._s:__s_not_found.
call fcn.140003f90
mov qword [rsp + 0x160], rsi
lea rax, [rsp + 0x30]
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400017b0
movsxd rsi, ebx
mov rcx, rsi
add rcx, 0x11
cmovb rcx, rdi
call fcn.140016afc
mov rdi, rax
test rax, rax
jne 0x1400017fd
xor ecx, ecx
call fcn.1400045d0
test al, al
je 0x14000184b
lea rdx, str.AddDesktopInfo
lea rcx, str._s:_DesktopInfo_malloc_failed._n
call fcn.140003f90
jmp 0x14000184b
cmp qword [rbx + 8], 0
jne 0x140001864
jmp 0x140001798
lea eax, [rbx + 1]
mov r9, rsi
movsxd rdx, eax
lea rcx, [rdi + 0x10]
lea r8, [rsp + 0x30]
call fcn.1400166f8
mov qword [rdi + 8], rbp
xor ecx, ecx
mov rax, qword [0x140085890]
mov qword [rdi], rax
mov qword [0x140085890], rdi
call fcn.1400045d0
test al, al
je 0x14000184b
mov edx, dword [0x140083c00]
lea r8, [rsp + 0x30]
lea rcx, str.__d__Desktop__s_added__spawning_new_thread._n
call fcn.140003f90
xor r8d, r8d
lea rcx, [0x140003920]
xor edx, edx
call fcn.140016dec
mov rsi, qword [rsp + 0x160]
mov rbx, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x140]
mov rbp, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140005bf0
add rsp, 0x148
ret
Function at 0x1400018a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140083018]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r9d, 1
lea rax, [rsp + 0x40]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x24]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
jns 0x140001904
mov r9d, eax
lea r8, str.LoadDevApi
lea rdx, str._s:_SHGetFolderPath_failed:_0x_08x_n
xor ecx, ecx
call fcn.140004600
jmp 0x140001a6c
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140001910
add rax, 0x12
cmp rax, 0x104
ja 0x140001a8d
lea r8, str._fenggamehdmi.dll
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.1400164dc
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
test rax, rax
jne 0x140001976
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.LoadDevApi
xor ecx, ecx
mov r9d, eax
lea rdx, str._s:_LoadLibrary_failed_to_load_AT3DDevApi:__u_n
call fcn.140004600
jmp 0x140001a6c
lea rdx, str.AT3DDevApiInit
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.AT3DDevApiCleanup
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, qword [rbx + 8]
mov qword [rbx + 0x10], rax
test r8, r8
je 0x140001a57
test rax, rax
je 0x140001a57
lea rdx, [rbx + 0x18]
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x30]
mov rax, r8
call qword [0x14006b570]
lea r8, str.LoadDevApi
test eax, eax
js 0x140001a44
lea rdx, str._s:_devapi_module_loaded_successfully._n
mov ecx, 2
call fcn.140004600
mov r9d, dword [rsp + 0x30]
cmp r9d, 3
jl 0x140001a2d
mov rax, qword [rbx + 0xd8]
test rax, rax
je 0x140001a2d
lea rcx, [rsp + 0x34]
call qword [0x14006b570]
mov r8d, dword [rsp + 0x34]
cmp r8d, 0x118718b
je 0x140001a6c
mov edx, 0x118718b
lea rcx, str.WDDM_buildNum_mismatch__vm3dservice_u_and_miniport_u_n
call fcn.140003f90
jmp 0x140001a6c
lea r8d, [r9 + 1]
mov edx, 0x118718b
lea rcx, str.WDDM_buildNum_mismatch__vm3dservice_u__returned_AT3DDevApi_Version_u__0x_x__n
call fcn.140003f90
jmp 0x140001a6c
mov r9d, edi
lea rdx, str._s:_devapi_init_failed:_0x_08x._n
xor ecx, ecx
call fcn.140004600
jmp 0x140001a6c
lea r8, str.LoadDevApi
xor ecx, ecx
lea rdx, str._s:_Unable_to_find_init_cleanup_routines._n
call fcn.140004600
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140005bf0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
mov r8d, 0x151
lea rdx, str.d:_buildob_bora_18379147_bora_vmsoft_build_release_x64_svgawddm_src_service_service.c
lea rcx, str.VERIFY__s:_d_n
call fcn.140005330
int3
Function at 0x1400042b0
Capabilities:
Enumerate files on windows

Disassembly:
push rsi
sub rsp, 0x180
mov rax, qword [0x140083018]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov eax, dword [0x140083c20]
lea r9, [0x140085960]
mov dword [rsp + 0x28], eax
lea r8, [0x14006e140]
mov eax, dword [0x140085930]
lea rcx, [0x140085980]
mov edx, 0x80
mov dword [rsp + 0x20], eax
call fcn.1400047d0
mov r8d, 0x20
lea rdx, [0x14006e164]
lea rcx, [0x140085980]
call fcn.140017bcc
mov rsi, rax
test rax, rax
je 0x1400043bf
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x198], rdi
lea rcx, str.C:_vm3dum_log_vm3dum.log
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400043a3
mov qword [rsp + 0x190], rbx
lea rdx, [rsp + 0x30]
mov rcx, rax
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x140004381
inc ebx
cmp ebx, 0x200
ja 0x140004381
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140004365
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0x200
mov rbx, qword [rsp + 0x190]
ja 0x1400043a3
mov qword [0x140083c18], rsi
jmp 0x1400043b7
mov rcx, rsi
call fcn.140017210
lea rcx, [0x140085980]
call fcn.140018228
mov rdi, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140005bf0
add rsp, 0x180
pop rsi
ret

Function at 0x1400044f0
Capabilities:
Enumerate files on windows

Disassembly:
movups xmm0, xmmword [rcx]
movups xmmword [0x140085900], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [0x140085910], xmm1
movups xmm0, xmmword [rcx + 0x20]
mov ecx, dword [0x1400858f8]
movups xmmword [0x140085920], xmm0
test ecx, ecx
je 0x140004588
sub ecx, 1
je 0x140004574
sub ecx, 1
je 0x140004560
sub ecx, 1
je 0x14000454c
cmp ecx, 1
je 0x140004538
xor eax, eax
mov dword [0x1400858f4], eax
jmp 0x14000459a
mov eax, dword [0x140085910]
mov dword [0x1400858f4], eax
mov eax, dword [0x140085928]
jmp 0x14000459a
mov eax, dword [0x14008590c]
mov dword [0x1400858f4], eax
mov eax, dword [0x140085924]
jmp 0x14000459a
mov eax, dword [0x140085908]
mov dword [0x1400858f4], eax
mov eax, dword [0x140085920]
jmp 0x14000459a
mov eax, dword [0x140085904]
mov dword [0x1400858f4], eax
mov eax, dword [0x14008591c]
jmp 0x14000459a
mov eax, dword [0x140085900]
mov dword [0x1400858f4], eax
mov eax, dword [0x140085918]
cmp byte [0x14008592c], 0
mov dword [0x1400858f0], eax
je 0x1400045b7
cmp qword [0x140083c18], 0
je fcn.1400042b0
ret

Function at 0x140005680
Capabilities:
Create process memory minidump

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x5f0
mov rax, qword [0x140083018]
xor rax, rsp
mov qword [rsp + 0x5e0], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x58], rax
lea rdx, str.CoreDump_CoreDump
lea rcx, str._s:_faking_exception_to_get_context_n
call fcn.140003f90
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xcafebabe
call qword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x140043b50
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400438d8

Function at 0x14004e104
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004e124
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140048974
or eax, 0xffffffff
jmp 0x14004e126
xor eax, eax
add rsp, 0x28
ret
Function at 0x140090388
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov byte [rsp + 0x38], 0x77
mov byte [rsp + 0x39], 0x77
mov byte [rsp + 0x3a], 0x77
mov byte [rsp + 0x3b], 0x2e
mov byte [rsp + 0x3c], 0x62
mov byte [rsp + 0x3d], 0x61
mov byte [rsp + 0x3e], 0x69
mov byte [rsp + 0x3f], 0x64
mov byte [rsp + 0x40], 0x75
mov byte [rsp + 0x41], 0x2e
mov byte [rsp + 0x42], 0x63
mov byte [rsp + 0x43], 0x6f
mov byte [rsp + 0x44], 0x6d
mov byte [rsp + 0x45], 0
mov byte [rsp + 0x46], 0
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x50], 4
xor r8d, r8d
mov edx, 1
mov ecx, 2
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0x90]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x14009041e
xor al, al
jmp 0x140090623
lea rcx, [rsp + 0x38]
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0xe0]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140090458
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0xb0]
xor al, al
jmp 0x140090623
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov eax, 2
mov word [rsp + 0x78], ax
mov cx, 0x50
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0xc0]
mov word [rsp + 0x7a], ax
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax]
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0xe8]
mov rcx, rax
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0xb8]
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x4c], 1
lea r8, [rsp + 0x4c]
mov edx, 0x8004667e
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0xc8]
mov r8d, 0x10
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0x98]
cdqe
cmp rax, 0xffffffffffffffff
jne 0x14009060e
mov dword [rsp + 0x60], 3
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x90], 0
cmp dword [rsp + 0x90], 0x40
jae 0x140090556
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + rax*8 + 0x98], rcx
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
xor eax, eax
test eax, eax
jne 0x140090528
mov rax, qword [rsp + 0x30]
inc rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, [rsp + 0x90]
xor edx, edx
mov ecx, eax
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0xd0]
test eax, eax
jle 0x1400905f5
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8d, 0x1007
mov edx, 0xffff
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0xd8]
cmp dword [rsp + 0x48], 0
jne 0x1400905dc
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0xb0]
mov al, 1
jmp 0x140090623
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0xb0]
xor al, al
jmp 0x140090623
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0xb0]
xor al, al
jmp 0x140090623
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0xb0]
mov al, 1
add rsp, 0x2a8
ret
Function at 0x140091120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov dword [rsp + 4], 0
jmp 0x140091189
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 4], eax
jae 0x140091258
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 4]
movzx eax, word [rax + rcx*2]
mov word [rsp], ax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 4]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x18], rax
mov dword [rsp + 8], 0
jmp 0x1400911f8
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
movsxd rax, dword [rsp + 8]
mov rcx, qword [rsp + 0x18]
movsx eax, byte [rcx + rax]
movsxd rcx, dword [rsp + 8]
mov rdx, qword [rsp + 0x48]
movsx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x140091253
movsxd rax, dword [rsp + 8]
mov rcx, qword [rsp + 0x18]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x140091251
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
movzx ecx, word [rsp]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
jmp 0x14009125a
jmp 0x1400911ee
jmp 0x14009117f
xor eax, eax
add rsp, 0x38
ret

Function at 0x140091268
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x28
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x20]
mov qword [rsp], rax
jmp 0x14009129c
mov rax, qword [rsp]
mov rax, qword [rax]
mov qword [rsp], rax
mov rax, qword [rsp + 0x10]
add rax, 0x20
cmp qword [rsp], rax
je 0x140091303
mov rax, qword [rsp]
sub rax, 0x10
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
movzx eax, word [rax + 0x58]
cmp eax, 0x18
jne 0x140091301
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x60]
movabs rcx, 0x4e00520045004b
cmp qword [rax], rcx
je 0x1400912f6
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x60]
movabs rcx, 0x6e00720065006b
cmp qword [rax], rcx
jne 0x140091301
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x30]
jmp 0x140091305
jmp 0x140091291
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000564c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov r8d, ecx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000567c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
pop rbx
ret

Function at 0x14000d478
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140451040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
test r8, r8
jne 0x14000d49b
lea eax, [r8 + 1]
jmp 0x14000d4dc
test rcx, rcx
je 0x14000d4da
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x14000d4da
test rdx, rdx
je 0x14000d4da
and dword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 1
cmp eax, ecx
jne 0x14000d4d4
cmp dword [rsp + 0x30], ebx
je 0x14000d4d6
xor cl, cl
mov al, cl
jmp 0x14000d4dc
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140380350
add rsp, 0x40
pop rbx
ret

Function at 0x14000d4f0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140451040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x14000d58d
test rcx, rcx
je 0x14000d58d
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x14000d58d
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
and dword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x14000d57b
mov eax, dword [rsp + 0x30]
cmp rax, rdi
jb 0x14000d58d
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x34]
and dword [rsp + 0x34], 0
mov r8d, edi
and qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x14000d57b
jmp 0x14000d58f
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or qword [rbx + 8], 0xffffffffffffffff
mov byte [rbx], 0
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140380350
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000d690
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140451040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, qword [rsp + 0xa0]
xor ebp, ebp
mov qword [r11 - 0x28], rbp
mov rdi, r8
mov rbx, rcx
test rdx, rdx
je 0x14000d6fc
cmp word [rdx], bp
je 0x14000d6fc
mov qword [r11 - 0x38], rbp
lea rax, [r11 - 0x28]
mov qword [r11 - 0x40], rax
xor r9d, r9d
mov qword [r11 - 0x48], rbp
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000d737
mov rcx, qword [rsp + 0x50]
mov eax, dword [rsp + 0xa8]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
test rcx, rcx
je 0x14000d735
cmp rcx, rbx
je 0x14000d735
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140380350
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret