joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006a1fc
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x250
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov ebp, r8d
mov rsi, rdx
mov edi, ecx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
xor ebx, ebx
call sub.msvcrt.dll_memset
mov rcx, qword [str.___t_]
lea r12, str.___t_
cmp rcx, r12
je 0x14006a26a
test byte [rcx + 0x1c], 2
je 0x14006a26a
cmp byte [rcx + 0x19], 5
jb 0x14006a26a
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xa]
lea r8, [0x140084590]
call fcn.140001010
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, edi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
jns 0x14006a2c5
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14006a2ba
test byte [rcx + 0x1c], 2
je 0x14006a2ba
cmp byte [rcx + 0x19], 2
jb 0x14006a2ba
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084590]
mov edx, 0xb
mov r9d, eax
call fcn.140001030
movzx ecx, di
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006a313
mov rdx, rbp
lea r8, [rsp + 0x30]
mov rcx, rsi
call fcn.140002938
mov edi, eax
test eax, eax
jns 0x14006a30e
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14006a2ba
test byte [rcx + 0x1c], 2
je 0x14006a2ba
cmp byte [rcx + 0x19], 2
jb 0x14006a2ba
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084590]
movzx r9d, di
mov edx, 0xc
call fcn.140001030
jmp 0x14006a2ba
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140077900
add rsp, 0x250
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14006a334
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x598]
sub rsp, 0x680
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov rbx, rcx
mov edi, 0x20a
mov r8d, edi
lea rcx, [rbp + 0x360]
xor edx, edx
call sub.msvcrt.dll_memset
mov r8d, edi
lea rcx, [rsp + 0x40]
xor edx, edx
call sub.msvcrt.dll_memset
xor edx, edx
lea r8d, [rdi - 2]
lea rcx, [rbp + 0x150]
call sub.msvcrt.dll_memset
xor r14d, r14d
mov dword [rsp + 0x30], edi
test rbx, rbx
je 0x14006a587
lea r9d, [r14 + 1]
mov word [rbx], r14w
mov r8d, r9d
lea rdx, str.SoftwareMicrosoftFaxSetup
mov rcx, 0xffffffff80000001
call fcn.140065ea8
mov rdi, rax
test rax, rax
je 0x14006a587
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov rcx, rdi
lea rdx, str.CoverPageDir
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12d, 0x105
test esi, esi
je 0x14006a42e
cmp esi, 2
jne 0x14006a587
lea rdi, str.FaxPersonal_Coverpages_
jmp 0x14006a4a6
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x14006a587
mov rdx, r12
lea rax, [rsp + 0x40]
cmp word [rax], r14w
je 0x14006a455
add rax, 2
sub rdx, 1
jne 0x14006a445
mov rax, rdx
neg rax
sbb ecx, ecx
not ecx
and ecx, 0x80070057
test rdx, rdx
je 0x14006a472
mov rax, r12
sub rax, rdx
jmp 0x14006a475
mov rax, r14
test ecx, ecx
lea rdi, [rsp + 0x40]
cmovs rax, r14
js 0x14006a4a6
cmp word [rsp + rax*2 + 0x3e], 0x5c
je 0x14006a4a6
lea r8, [0x140083ba8]
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.140009ef0
test eax, eax
js 0x14006a57e
mov r8d, r12d
lea rdx, [rbp + 0x360]
mov ecx, 5
call fcn.14006a1fc
test eax, eax
jne 0x14006a4d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetSpecialPath_failed_err_ld
call fcn.140068430
jmp 0x14006a587
mov esi, 0x104
lea r8, [rbp + 0x360]
mov edx, esi
mov rcx, rbx
call fcn.140002938
test eax, eax
js 0x14006a57e
cmp word [rdi], 0x5c
je 0x14006a510
lea r8, [0x140083ba8]
mov edx, esi
mov rcx, rbx
call fcn.140009ef0
test eax, eax
js 0x14006a57e
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.140009ef0
test eax, eax
js 0x14006a57e
lea rax, [rbp + 0x150]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, str.FaxPersonal_CoverPages
mov edx, 0x8005
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
test eax, eax
js 0x14006a57e
mov r8d, 0x93d
lea rdx, str._SystemRoot__system32_fxsresm.dll
lea rcx, [rbp + 0x150]
call qword [sym.imp.SHELL32.dll_SHSetLocalizedName]
test eax, eax
js 0x14006a57e
mov rcx, rbx
call fcn.1400635fc
mov eax, 1
jmp 0x14006a589
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140077900
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
Function at 0x140072a1c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x250
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rdx
mov ebx, ecx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x200
mov edi, 1
call sub.msvcrt.dll_memset
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x140072a92
test byte [rcx + 0x1c], 2
je 0x140072a92
cmp byte [rcx + 0x19], 5
jb 0x140072a92
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x23]
lea r8, [0x1400854a8]
call fcn.140001010
lea r9, str.SoftwareMicrosoftFaxSetupOriginal_Setup_Data
mov dword [rsp + 0x20], ebx
lea r8, str._s_010d
mov edx, 0x100
lea rcx, [rsp + 0x40]
call fcn.1400028c0
mov ebx, eax
test eax, eax
jns 0x140072b0c
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140072ae9
test byte [rcx + 0x1c], 2
je 0x140072ae9
cmp byte [rcx + 0x19], 2
jb 0x140072ae9
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400854a8]
mov edx, 0x25
mov r9d, eax
call fcn.140001030
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140072c87
mov r12, 0xffffffff80000002
lea rdx, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x20019
xor r8d, r8d
call fcn.140065ea8
mov rbx, rax
test rax, rax
jne 0x140072b93
mov r9d, 0x20019
lea rdx, str.SoftwareMicrosoftFaxSetupOriginal_Setup_Data
xor r8d, r8d
mov rcx, r12
xor edi, edi
call fcn.140065ea8
mov rbx, rax
test rax, rax
jne 0x140072b93
mov rax, qword [str.___t_]
cmp rax, r14
je 0x140072b05
test byte [rax + 0x1c], 2
je 0x140072b05
cmp byte [rax + 0x19], 2
jb 0x140072b05
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [rdi + 0x26]
mov r9d, eax
lea r8, [0x1400854a8]
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp 0x140072b05
lea rcx, [0x140080e08]
call fcn.1400633d4
lea r9, [0x140081628]
mov qword [rsi + 0x10], rax
lea r8, str.CSID
mov edx, 1
mov rcx, rbx
call fcn.140065f64
lea r9, [0x140081628]
mov qword [rsi], rax
lea r8, str.TSID
mov edx, 1
mov rcx, rbx
call fcn.140065f64
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsi + 8], rax
lea rdx, str.Rings
mov rcx, rbx
call fcn.1400661e8
neg eax
lea r8, [rsp + 0x30]
lea rdx, str.Flags
sbb ecx, ecx
xor r9d, r9d
and ecx, dword [rsp + 0x30]
and dword [rsp + 0x30], 0
mov dword [rsi + 0x18], ecx
mov rcx, rbx
call fcn.1400661e8
neg eax
mov rcx, rbx
sbb edx, edx
and edx, dword [rsp + 0x30]
mov dword [rsi + 0x1c], edx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 1
jne 0x140072c82
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
je 0x140072c82
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140072c82
test byte [rcx + 0x1c], 2
je 0x140072c82
cmp byte [rcx + 0x19], 2
jb 0x140072c82
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x26]
mov r9d, eax
lea r8, [0x1400854a8]
call fcn.140001030
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140077900
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x1400746a0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x250
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov edi, edx
mov ebx, ecx
mov rcx, qword [str.___t_]
lea rbp, str.___t_
cmp rcx, rbp
je 0x1400746fc
test byte [rcx + 0x1c], 2
je 0x1400746fc
cmp byte [rcx + 0x19], 5
jb 0x1400746fc
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400854a8]
mov edx, 0x65
call fcn.140001010
mov r9d, ebx
mov dword [rsp + 0x20], edi
lea r8, str._ld:_ld
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400028c0
mov ebx, eax
test eax, eax
jns 0x140074768
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14007474f
test byte [rcx + 0x1c], 2
je 0x14007474f
cmp byte [rcx + 0x19], 2
jb 0x14007474f
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400854a8]
mov edx, 0x66
mov r9d, eax
call fcn.140001030
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
jmp 0x140074817
mov r9d, 0x10000
lea rdx, [0x140083720]
xor r8d, r8d
mov rcx, 0xffffffff80000002
call fcn.140065ea8
mov rdi, rax
test rax, rax
jne 0x1400747c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140074817
test byte [rcx + 0x1c], 2
je 0x140074817
cmp byte [rcx + 0x19], 2
jb 0x140074817
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x67]
mov r9d, eax
lea r8, [0x1400854a8]
call fcn.140001030
jmp 0x140074817
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
test eax, eax
je 0x14007480e
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14007480e
test byte [rcx + 0x1c], 2
je 0x14007480e
cmp byte [rcx + 0x19], 2
jb 0x14007480e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400854a8]
mov edx, 0x68
mov r9d, eax
call fcn.140001030
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140077900
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140074c88
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x30
and qword [rsp + 0x48], 0
mov rdi, rcx
mov rcx, qword [str.___t_]
lea rbp, str.___t_
cmp rcx, rbp
je 0x140074cd4
test byte [rcx + 0x1c], 2
je 0x140074cd4
cmp byte [rcx + 0x19], 5
jb 0x140074cd4
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400854a8]
mov edx, 0x75
call fcn.140001010
lea rax, [rsp + 0x48]
mov r9d, 0x10000
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftFaxDevice_Providers
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x140074d2f
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140074dbc
test byte [rcx + 0x1c], 2
je 0x140074dbc
cmp byte [rcx + 0x19], 2
jb 0x140074dbc
mov edx, 0x76
mov r9d, eax
jmp 0x140074dac
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
test eax, eax
je 0x140074d7d
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140074d7d
test byte [rcx + 0x1c], 2
je 0x140074d7d
cmp byte [rcx + 0x19], 2
jb 0x140074d7d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400854a8]
mov edx, 0x77
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140001250
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x140074dbc
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140074dbc
test byte [rcx + 0x1c], 2
je 0x140074dbc
cmp byte [rcx + 0x19], 2
jb 0x140074dbc
mov edx, 0x78
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400854a8]
call fcn.140001030
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140076e14
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
lea rdx, [rbp + 0x27]
mov bl, dil
call qword [sym.imp.RPCRT4.dll_I_RpcBindingIsClientLocal]
test eax, eax
jne 0x140076eea
cmp dword [rbp + 0x27], edi
je 0x140076eea
lea ebx, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r9, [rbp + 0x37]
mov r8d, ebx
mov rcx, rax
lea edx, [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x140076eea
lea rax, [rbp + 0x2f]
mov dword [rbp + 0x3f], edi
mov qword [rsp + 0x50], rax
lea r8d, [rdi + 2]
mov dword [rsp + 0x48], edi
lea rcx, [rbp + 0x3f]
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov dword [rsp + 0x38], edi
mov dl, bl
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov word [rbp + 0x43], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140076ee0
mov rdx, qword [rbp + 0x2f]
lea r8, [rbp + 0x2b]
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x140076ed6
cmp dword [rbp + 0x2b], edi
cmovne ebx, edi
mov rcx, qword [rbp + 0x2f]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140077900
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14007766c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140098790], rbx
je 0x1400776d3
cmp rax, rbx
jne 0x1400776c6
mov ebx, 1
mov esi, ebx
jmp 0x1400776d8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400776ab
mov ebx, 1
mov eax, dword [0x140098798]
cmp eax, ebx
jne 0x1400776f0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14007775c
mov eax, dword [0x140098798]
test eax, eax
jne 0x140077751
mov dword [0x140098798], ebx
lea r15, [0x1400808a0]
lea rdi, [0x140080888]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140077743
test eax, eax
jne 0x140077747
cmp qword [rdi], r14
je 0x140077738
mov rax, qword [rdi]
mov rcx, qword [0x140080850]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14007771a
test eax, eax
je 0x140077757
mov eax, 0xff
jmp 0x1400778b0
mov dword [0x140097a34], ebx
mov edi, 0x1f
mov eax, dword [0x140098798]
cmp eax, ebx
jne 0x140077783
lea rdx, [0x140080880]
lea rcx, [0x140080868]
call sub.msvcrt.dll__initterm
mov dword [0x140098798], 2
test esi, esi
jne 0x140077791
mov rax, r14
xchg qword [0x140098790], rax
cmp qword [0x1400987b0], r14
je 0x1400777c4
lea rcx, [0x1400987b0]
call fcn.140078170
test eax, eax
je 0x1400777c4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400987b0]
mov r9, qword [0x140080850]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400777dd
mov eax, 0xff
jmp 0x1400778b0
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x140077861
cmp word [rcx], r14w
je 0x1400777f6
test edx, edx
jne 0x140077861
movzx eax, word [rcx]
sub ax, bx
cmp ax, di
ja 0x14007780c
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400777f6
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140021454
mov dword [0x140097a30], eax
cmp dword [0x140097a50], r14d
jne 0x14007784a
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140097a34], r14d
jne 0x14007785f
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140097a30]
jmp 0x1400778b0
cmp word [rcx], 0x22
jne 0x140077875
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400777e6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14012c000
add rsp, 0x28
jmp 0x14007766c
Function at 0x140077c3c
Capabilities:
Print debug messages

Disassembly:
jmp 0x140077c44
push rbx
sub rsp, 0x540
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140077cc1
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140077ce1
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140077900
add rsp, 0x540
pop rbx
ret

Function at 0x140078080
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400780cc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400780c4
cmp dword [rcx + 0x3c], edx
jl 0x1400780c4
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400780c4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400780cc
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140b7c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b7c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b7c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b7c06f
add dl, dl
jne 0x140b7c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b7c0f6
xor eax, eax
add dl, dl
jne 0x140b7c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b7c1ad
add dl, dl
jne 0x140b7c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b7c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b7c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b7c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b7c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b7c07e
mov eax, 1
add dl, dl
jne 0x140b7c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b7c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b7c0fb
sub eax, ebx
mov ebx, 1
jne 0x140b7c14c
mov ecx, 1
add dl, dl
jne 0x140b7c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b7c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b7c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b7c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b7c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b7c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b7c15d
cmp eax, 0x7d00
jae 0x140b7c19b
cmp eax, 0x500
jb 0x140b7c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b7c07e
cmp eax, 0x7f
ja 0x140b7c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b7c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b7c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140b7c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001827
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x1b0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x140], rcx
mov qword [rbp + 0x120], 0
mov dword [rbp - 0x10], 0x130
mov edx, 0
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x128], rax
lea rdx, [rbp - 0x10]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
cmp eax, 1
sete al
test al, al
je 0x1400019c4
jmp 0x1400019a3
mov rax, qword [rbp + 0x140]
lea rdx, [rbp - 0x10]
lea rcx, [rdx + 0x2c]
mov rdx, rax
call sub.msvcrt.dll__stricmp
test eax, eax
sete al
test al, al
je 0x1400019a3
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call rax
mov ecx, eax
lea rax, [rbp - 0x14]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
call rax
mov eax, dword [rbp - 8]
mov ecx, eax
call fcn.140001701
mov edx, eax
mov eax, dword [rbp - 0x14]
cmp edx, eax
sete al
test al, al
je 0x1400019a3
mov qword [rbp - 0x28], 0
mov eax, dword [rbp - 8]
mov ecx, eax
call fcn.1400014a4
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x60], 0x30
mov qword [rbp - 0x58], 0
mov dword [rbp - 0x48], 0
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov r10, qword [0x1402dc080]
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x120]
mov r9, rcx
mov r8, rdx
mov edx, 0x1fffff
mov rcx, rax
call r10
mov rax, qword [rbp + 0x120]
test rax, rax
je 0x140001987
mov rax, qword [rbp + 0x120]
cmp rax, 0xffffffffffffffff
je 0x140001987
mov rdx, qword [0x1402dc078]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call rdx
mov rax, qword [rbp + 0x120]
jmp 0x1400019de
mov rdx, qword [0x1402dc078]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call rdx
mov rax, 0xffffffffffffffff
jmp 0x1400019de
lea rdx, [rbp - 0x10]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
sete al
test al, al
jne 0x14000188c
mov rdx, qword [0x1402dc078]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call rdx
mov rax, 0xffffffffffffffff
add rsp, 0x1b0
pop rbp
ret