joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001dd60
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14009b0a0]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor edi, edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
lea r8d, [rdi + 0x17]
lea rdx, str.Uninstalling_service...
lea rcx, [rsp + 0x28]
call fcn.140007cf0
lea rcx, [rsp + 0x28]
call fcn.140030880
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x14001ddd5
lea eax, [rdi - 5]
jmp 0x14001de6c
call fcn.140003370
sub rax, 0xffffffffffffff80
cmp qword [rax + 0x18], 8
jb 0x14001dde8
mov rax, qword [rax]
mov r8d, 0xf01ff
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x14001de10
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [rbx - 8]
jmp 0x14001de6c
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14001de29
cmp dword [rsp + 0x2c], 1
je 0x14001de45
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14001de45
lea edi, [rax - 9]
jmp 0x14001de58
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov ecx, 0xfffffff6
test eax, eax
cmove edi, ecx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140041060
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140030880
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x14009e9ba], 0
mov rbx, rcx
je 0x1400308a2
cmp qword [rcx + 0x18], 8
jb 0x14003089c
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x1400308dd
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400308d8
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400308f4
mov rcx, r8
call fcn.140041080
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
add rsp, 0x20
pop rbx
ret
call fcn.140053bb4
int3
Function at 0x1400322f0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14009b0a0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8d, [r9 + 0x26]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140032362
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140032350
lea rdx, [rsp + 0x30]
jmp 0x140032380
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
xor r8d, r8d
lea rdx, [0x140089fa8]
mov rcx, rbx
call fcn.140007cf0
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140041060
add rsp, 0x250
pop rbx
ret
Function at 0x140032ea0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14009b0a0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x40], 0x238
xor edx, edx
lea ecx, [rbp + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140032f78
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140032f78
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140032f33
mov rdx, qword [rdi]
lea rcx, [rsp + 0x6c]
call fcn.140054d78
test eax, eax
jne 0x140032f65
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140032f58
mov eax, dword [rsp + 0x48]
mov dword [rdx], eax
add qword [rbx + 8], 4
jmp 0x140032f65
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.140038c60
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140032f26
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140032fbd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140032fb8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140032ff2
mov rcx, r8
call fcn.140041080
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
mov rax, rbx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140041060
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
call fcn.140053bb4
int3
Function at 0x140033960
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14009b0a0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
xor sil, sil
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x1400339f9
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x1400339f9
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x1400339d3
mov rdx, qword [rbx]
lea rcx, [rsp + 0x4c]
call fcn.140054d78
test eax, eax
je 0x1400339f6
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x1400339c6
jmp 0x1400339f9
mov sil, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140033a3d
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140033a38
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140033a77
mov rcx, r8
call fcn.140041080
xor eax, eax
mov word [rbx], ax
mov qword [rbx + 0x10], rax
movzx eax, sil
mov qword [rbx + 0x18], 7
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140041060
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140053bb4
int3

Function at 0x140034010
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x14009b0a0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x50]
call fcn.140043bc0
mov r9d, 0x200
lea r8, [rsp + 0x50]
mov edx, 0x5c
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140034090
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
xor r8d, r8d
lea rdx, [0x14008512b]
mov rcx, rbx
call fcn.140007ec0
jmp 0x140034127
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], ax
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400340c0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140007cf0
nop
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1400323b0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140034127
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034122
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034143
call fcn.140041080
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140041060
add rsp, 0x260
pop rbx
ret
call fcn.140053bb4
int3
Function at 0x1400356a0
Capabilities:
Get session information
Get session user name

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov rbx, rcx
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
xor r8d, r8d
lea rdx, [0x140089fa8]
call fcn.140007cf0
mov dword [rsp + 0x30], 1
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x14003573f
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x60]
mov r8d, 5
mov edx, eax
xor ecx, ecx
call qword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x14003573f
mov rdx, qword [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140035720
mov rcx, rbx
call fcn.140007cf0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
nop
mov rax, rbx
add rsp, 0x40
pop rbx
ret

Function at 0x1400545e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140054617
call fcn.14004d640
mov dword [rax], 0x16
call fcn.140053b94
xor eax, eax
jmp 0x1400546a5
mov rdx, r9
mov rcx, r8
call fcn.14005457c
mov rbx, rax
test rax, rax
je 0x1400546a2
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400544a8]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14005468f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14004d5b4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140054676
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140054685
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14005fc40
jmp 0x1400546a2
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14005469f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14005e098
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14005e0ae
mov al, 1
jmp 0x14005e10e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14005e0bf
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14005e10c
mov ecx, dword [rcx + 0x18]
nop
call fcn.140068f88
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005e10c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14005e10c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14005e10c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14005e10e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400627ec
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140041a40
sub rsp, rax
mov rax, qword [0x14009b0a0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14005de7c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14006283b
mov rax, rbp
jmp 0x140062943
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x9e260]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140063738
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x9e260]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14006293f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006293f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140063738
test rax, rax
js 0x14006293f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14006293f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140062931
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140062931
cmp byte [rcx], 0xd
jne 0x140062917
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140062926
cmp byte [rcx + 1], 0xa
jne 0x140062926
inc rcx
jmp 0x140062926
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x9b4c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400628f9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140062943
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140041060
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140062ad8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14009e260]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140062b2f
cmp word [rdx], r13w
jne 0x140062b2f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140062b34
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140062c59
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140062c7a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140062b6d
mov rdx, r9
mov word [rbx], cx
jmp 0x140062b94
cmp r9, r8
jae 0x140062ba4
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140062b4e
jmp 0x140062c59
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140062c4e
cmp dword [rsp + 0x80], esi
je 0x140062c4e
lea r8, [0x14009e260]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140062c26
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140062bf6
mov word [rbx], r13w
jmp 0x140062c56
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140062c03
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140062c56
cmp word [rsp + 0x70], r13w
jne 0x140062c33
cmp rbx, r14
je 0x140062bf0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140063740
cmp word [rsp + 0x70], r13w
je 0x140062c59
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14009e260]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140062c53
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140062c59
Function at 0x140e719f4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140e719fe
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140e71a27
pop rbp
sub rbp, 0x33
sub rbp, 0xe719f4
sub rsp, 0x20
jmp 0x140e71a46
mov rax, 0xe719f4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffba33df91
add byte [rax - 0x39], cl
ret 0xdf91
xor byte [rax], dl
inc rax
dec rcx
jne 0x140e71a65
invalid
jmp 0x140e71a7c
xchg ecx, eax
pushfq
fstp dword [rax]
js 0x140e71a9a
sbb byte [rbp - 0x266e6e6f], ch
adc byte [rax - 0x67], dl
nop
xchg ecx, eax
xchg ecx, eax
fst dword [rax + 0x5156d978]
cdq
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
fst dword [rsi + 0x53]
mov ecx, 0xd9919191
jae 0x140e71a7a
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
fldenv [rsi + 0x73]
fst dword [rax - 0x62efe5b0]
nop
push rax
sbb dl, byte [rax]
popfq
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
fst dword [rax - 0x263e3e87]
sub dword [rbp + 0x66], ecx
mov eax, 0x91919191
xchg ecx, eax
fldcw word [rax]
xchg byte [rbx - 0x6e6e6ed4], dh
xchg ecx, eax
xchg ecx, eax
fst dword [rax - 0x2ad42688]
xchg r13, rax
mov bl, 0x91
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
jns 0x140e71a65
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
js 0x140e71a5d
xchg ecx, eax
xchg ecx, eax
xchg ecx, eax
push rax
jns 0x140e71a6f
movabs al, byte [0x919191955010d980]
fldcw word [rsi + 0x59]
sahf
adc al, 0x7f
outsb dx, byte [rsi]
outsb dx, byte [rsi]
outsb dx, byte [rsi]
push rdx
leave
retf
Function at 0x1400026f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, r8
mov r15, rcx
xor ebp, ebp
lea ecx, [rbp + 0x28]
call fcn.140002b50
mov rbx, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
mov rdi, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x140002743
mov r14, qword [r14]
movabs rsi, 0x7fffffffffffffff
cmp rdi, rsi
ja 0x14000286c
cmp rdi, 0xf
ja 0x140002774
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
movups xmm0, xmmword [r14]
movups xmmword [rax], xmm0
jmp 0x140002807
mov rax, rdi
or rax, 0xf
cmp rax, rsi
jbe 0x1400027ac
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140002b50
mov rcx, rax
test rax, rax
je 0x1400027d7
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400027ed
mov ecx, 0x16
cmp rax, rcx
cmovb rax, rcx
mov rsi, rax
lea rcx, [rax + 1]
cmp rcx, 0x1000
jb 0x1400027de
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002872
jmp 0x14000278e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400027ea
call fcn.140002b50
jmp 0x1400027ed
mov rax, rbp
mov qword [rbx], rax
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rsi
lea r8, [rdi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [0x1400012d0]
mov qword [rbx + 0x20], rax
mov qword [rsp + 0x30], rbx
lea rdi, [r15 + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x140002a90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r15], rax
test rax, rax
je 0x14000285e
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140002b30
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [rdi], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.1400011d0
int3
call fcn.140001130
int3

Function at 0x140003580
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x14047e82d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14047e83d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14047e825
lea eax, [rcx + 1]
jmp 0x14047e84b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14047e85e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14047e844
sub eax, 3
jb 0x14047e87e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14047e8cd
sar eax, 1
movsxd rbp, eax
jb 0x14047e8b4
jmp 0x14047e88c
add ebx, ebx
jne 0x14047e88a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14047e8b4
inc ecx
add ebx, ebx
jne 0x14047e89a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14047e8b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14047e8ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14047e89c
add ecx, 2
jmp 0x14047e8b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14047e7e2
jmp 0x14047e82d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x302600
mov dl, 0xa6
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14047e91d
cmp rsi, rcx
jae 0x14047e925
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14047e904
cmp al, 0x8f
ja 0x14047e904
cmp byte [rsi - 2], 0xf
je 0x14047e90a
sub al, 0xe8
cmp al, 1
ja 0x14047e8ee
cmp rsi, rcx
jae 0x14047e925
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14047e8f4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14047e925
lodsb al, byte [rsi]
jmp 0x14047e904
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x477000]
mov eax, dword [rdi]
or eax, eax
je 0x14047e98e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x47e72c]
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 0x14047e932
jns 0x14047e967
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14047e971
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 0x14047e988
mov qword [rbx], rax
add rbx, 8
jmp 0x14047e952
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14047e9d2
cmp al, 0xef
ja 0x14047e9ba
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14047e99a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14047e9a9
mov eax, dword [rdi]
add rdi, 4
jmp 0x14047e9a9
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 + 0x27f]
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14047ea26
sub rsp, 0xffffffffffffff80
jmp 0x140157bb0