joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003640
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 8], rax
test rax, rax
je 0x140003747
lea rdx, str.OpenA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.CloseA
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.TraceWriteA
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.DumpWriteA
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.OpenW
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.CloseW
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.TraceWriteW
mov qword [rbx + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.DumpWriteW
mov qword [rbx + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rbx + 0x10], 0
mov qword [rbx + 0x48], rax
je 0x140003747
cmp qword [rbx + 0x18], 0
je 0x140003747
cmp qword [rbx + 0x20], 0
je 0x140003747
cmp qword [rbx + 0x28], 0
je 0x140003747
cmp qword [rbx + 0x30], 0
je 0x140003747
cmp qword [rbx + 0x38], 0
je 0x140003747
cmp qword [rbx + 0x40], 0
je 0x140003747
test rax, rax
je 0x140003747
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140003860
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x270
mov rax, qword [0x140017078]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdx, qword [rcx + 8]
xor esi, esi
mov rbx, rcx
mov eax, esi
test rdx, rdx
je 0x1400039f7
cmp qword [rdx + 8], rax
setne al
test eax, eax
jne 0x1400039f7
mov qword [rsp + 0x288], rdi
lea rdi, [rsp + 0x50]
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareBrotherBrUtilities
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x40], 0x208
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14000392f
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.BrLogAPI
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x50]
mov edx, 0x104
call qword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
test edi, edi
jne 0x140003957
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400039d4
xor eax, eax
lea rdi, [rsp + 0x50]
mov ecx, 0x208
rep stosb byte [rdi], al
mov edx, 0x82
lea rax, [rsp + 0x50]
mov ecx, edx
cmp word [rax], si
je 0x140003981
add rax, 2
dec rcx
jne 0x140003971
jmp 0x1400039d4
test rcx, rcx
je 0x1400039d4
mov rdi, rdx
sub rdi, rcx
sub rdx, rdi
lea rax, [rsp + rdi*2 + 0x50]
je 0x1400039cd
lea r8, str.BrLogAPI64.dll
lea rcx, [rdx + rdi + 0x7fffff7d]
sub r8, rax
test rcx, rcx
je 0x1400039c8
movzx edi, word [r8 + rax]
test di, di
je 0x1400039c8
mov word [rax], di
add rax, 2
dec rcx
dec rdx
jne 0x1400039a8
jmp 0x1400039cd
test rdx, rdx
jne 0x1400039d1
sub rax, 2
mov word [rax], si
mov rcx, qword [rbx + 8]
mov rdi, qword [rsp + 0x288]
cmp qword [rcx + 8], rsi
jne 0x1400039f2
lea rdx, [rsp + 0x50]
call fcn.140003640
jmp 0x1400039f7
mov eax, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400045e0
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rsi
ret
Function at 0x14000516f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140017078]
jne 0x1400045fa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400045f6
repz ret
ror rcx, 0x10
jmp 0x1400050c8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140018740]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140018838]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000514d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140018740]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000516f
mov rax, qword [rsp + 0x88]
mov qword [0x140018838], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400187d8], rax
mov rax, qword [0x140018838]
mov qword [0x1400186b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400187c0], rax
mov dword [0x1400186a0], 0xc0000409
mov dword [0x1400186a4], 1
mov rax, qword [0x140017078]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140017080]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140018738], eax
mov ecx, 1
call fcn.140009f3c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400103d8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140018738], 0
jne 0x1400051f6
mov ecx, 1
call fcn.140009f3c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14000cd6c
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140017078]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140006bf8
xor ebx, ebx
cmp qword [0x140019788], rbx
mov rdi, rax
jne 0x14000ce7f
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000cf56
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000cf56
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140019788], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140019790], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140019798], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400197a8], rax
test rax, rax
je 0x14000ce76
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400197a0], rax
jmp 0x14000ce86
mov rax, qword [0x1400197a0]
jmp 0x14000ce8d
mov rax, qword [0x1400197a0]
mov r11, qword [0x1400197a8]
cmp rax, rdi
je 0x14000cef4
cmp r11, rdi
je 0x14000cef4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400197a8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14000cef4
test rax, rax
je 0x14000cef4
call rsi
test rax, rax
je 0x14000ceee
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000ceee
test byte [rsp + 0x40], 1
jne 0x14000cef4
bts ebp, 0x15
jmp 0x14000cf34
mov rcx, qword [0x140019790]
cmp rcx, rdi
je 0x14000cf34
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000cf34
call rax
mov rbx, rax
test rax, rax
je 0x14000cf34
mov rcx, qword [0x140019798]
cmp rcx, rdi
je 0x14000cf34
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000cf34
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140019788]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000cf56
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14000cf58
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400045e0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000215b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x140002163
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x14000219a
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x140002170
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021c5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x1400021eb
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x1400021d0
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a420
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a465
xor al, al
jmp 0x14000a4b2
cmp word [rbx], 0
je 0x14000a47d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a470
cmp word [rsp + 0x30], 0
je 0x14000a4ab
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a4d3
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a490
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b510
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000fb44
int3
Function at 0x14000a9c0
Capabilities:
Read file on windows

Disassembly:
test rdx, rdx
je 0x14000ab4c
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x60], r14
xor sil, sil
xor r14d, r14d
mov qword [rsp + 0x50], rbx
mov rdi, rdx
mov rbp, rcx
nop word [rax + rax]
mov rax, qword [0x140037618]
mov rcx, qword [0x140037620]
sub rax, rcx
je 0x14000aa34
mov rdx, qword [0x140037610]
cmp rdi, rax
mov rbx, rdi
cmovae rbx, rax
add rdx, rcx
mov r8, rbx
mov rcx, rbp
call fcn.140020a70
add rbp, rbx
sub rdi, rbx
add qword [0x140037620], rbx
jmp 0x14000ab32
mov rax, qword [0x140035600]
mov rcx, qword [0x1400355f8]
cmp rax, rcx
jb 0x14000aae0
test sil, sil
jne 0x14000aae0
cmp rcx, rax
jne 0x14000ab4d
mov rcx, qword [0x140037628]
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [0x140037630]
mov eax, eax
sub rcx, rax
je 0x14000ab32
mov rdx, qword [0x1400355f0]
lea r9, [rsp + 0x58]
mov ebx, 0x20003
mov qword [rsp + 0x20], r14
cmp rcx, rbx
cmovb rbx, rcx
mov rcx, qword [0x140037628]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000ab53
mov eax, dword [rsp + 0x58]
cmp rax, rbx
jne 0x14000ab53
add qword [0x1400355d0], rbx
mov qword [0x140035600], r14
mov qword [0x1400355f8], rbx
jmp 0x14000ab32
mov rcx, qword [0x1400355e8]
lea r8, [0x1400355f0]
lea rdx, [0x140037610]
mov qword [0x140037620], r14
mov qword [0x140037618], 0x20000
call fcn.140007080
mov rcx, qword [0x140037620]
cmp rcx, qword [0x140037618]
sete sil
cmp rax, 0xffffffffffffff88
ja 0x14000ab4d
mov qword [0x140037618], rcx
mov qword [0x140037620], r14
test rdi, rdi
jne 0x14000a9f0
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
call fcn.14000a8c0
int3
call fcn.14000a900
int3

Function at 0x14000ab60
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x80
mov rcx, qword [0x1400355e0]
xor ebx, ebx
test rcx, rcx
je 0x14000abf5
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
test eax, eax
jne 0x14000abd6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x90]
mov r9d, 0x400
mov ecx, 0x1300
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
lea rcx, str.Failed_to_send_CTRL_C_to_child_process.
call fcn.1400101e4
mov rcx, qword [rsp + 0x90]
call fcn.1400101e4
mov rcx, qword [0x1400355e0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1400355e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140035608], bl
je 0x14000ac45
lea rax, [0x140035610]
mov qword [rsp + 0x40], rbx
lea rcx, [0x14002a8c0]
mov qword [rsp + 0x50], rax
mov eax, 0x414
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x40]
mov word [rsp + 0x60], ax
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x64], ebx
mov qword [rsp + 0x68], rbx
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
add rsp, 0x80
pop rbx
ret
Function at 0x1400196f4
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 0x14001977b
mov rsi, rbx
cmp word [rax], bp
je 0x14001973a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140019724
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140019720
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016dd0
mov rdi, rax
test rax, rax
je 0x140019768
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140020a70
mov rbp, rdi
xor ecx, ecx
call fcn.140015df4
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 0x14001bd44
Capabilities:
Get file size

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

Function at 0x140020270
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140020298
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140020298
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140b5a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b5a1df
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 0x140b5a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b5a06f
add dl, dl
jne 0x140b5a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b5a0f6
xor eax, eax
add dl, dl
jne 0x140b5a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b5a1ad
add dl, dl
jne 0x140b5a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b5a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b5a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b5a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b5a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b5a07e
mov eax, 1
add dl, dl
jne 0x140b5a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b5a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b5a0fb
sub eax, ebx
mov ebx, 1
jne 0x140b5a14c
mov ecx, 1
add dl, dl
jne 0x140b5a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b5a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b5a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b5a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b5a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b5a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b5a15d
cmp eax, 0x7d00
jae 0x140b5a19b
cmp eax, 0x500
jb 0x140b5a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b5a07e
cmp eax, 0x7f
ja 0x140b5a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b5a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b5a1d2
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 0x140b5a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140c59058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140c591df
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 0x140c59089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c5906f
add dl, dl
jne 0x140c59096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c590f6
xor eax, eax
add dl, dl
jne 0x140c590a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c591ad
add dl, dl
jne 0x140c590b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c590c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c590d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c590dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c590ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c5907e
mov eax, 1
add dl, dl
jne 0x140c59106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c59113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c590fb
sub eax, ebx
mov ebx, 1
jne 0x140c5914c
mov ecx, 1
add dl, dl
jne 0x140c5912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c5913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c59123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c5907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c59168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c59175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c5915d
cmp eax, 0x7d00
jae 0x140c5919b
cmp eax, 0x500
jb 0x140c59196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c5907e
cmp eax, 0x7f
ja 0x140c5919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c5907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c591d2
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 0x140c5907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002f2b
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x88]
jmp 0x1400050d1
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x24], eax
jge 0x140002635
jmp 0x140005bd2
jmp 0x14000323b
mov rax, qword [rax]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x24], 0
jmp 0x1400047ae

Function at 0x1400030d1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
jmp 0x1400047c4
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x24], 0
jmp 0x14000582e
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x1a0]
jmp 0x140006a2f
jmp 0x140007f63
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x1a0]
jmp 0x14000313e
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x24], eax
jb 0x140002834
jmp 0x140003e86