joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400092e8
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
and qword [rax - 0x38], 0
mov r15d, r9d
mov esi, r8d
mov dword [rax - 0x40], 0x2000000
mov r14b, dl
mov dword [rax - 0x48], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xe0000
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400093e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test r14b, r14b
je 0x1400093c8
lea ecx, [rax - 2]
cmp ecx, 1
ja 0x1400093c8
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
nop dword [rax + rax]
test eax, eax
je 0x140009383
cmp eax, 0x50
je 0x140009383
cmp eax, 0xb7
jne 0x1400093c8
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x2000000
xor r8d, r8d
mov edx, 0xe0000
mov dword [rsp + 0x20], 3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400093e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400094f2
jmp 0x1400093e2
xor ebx, ebx
mov byte [rbp - 0x10], 0
mov byte [rbp - 0xf], 0
cmp esi, 3
jne 0x140009414
and qword [rbp - 8], 0
lea rdx, [rbp - 8]
lea rcx, [0x1400107ec]
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
nop dword [rax + rax]
test eax, eax
je 0x140009477
xor r9d, r9d
jmp 0x140009447
test esi, esi
jne 0x140009477
and qword [rbp - 8], 0
lea rdx, [rbp - 8]
mov rcx, rdi
call fcn.1400098d4
mov ebx, eax
test eax, eax
js 0x140009477
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
nop dword [rax + rax]
test eax, eax
je 0x140009462
lea r9d, [rsi + 2]
mov rdx, qword [rbp - 8]
lea r8, [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.iertutil.dll_Ordinal_99]
nop dword [rax + rax]
mov ebx, eax
jmp 0x140009467
mov ebx, 0x80004005
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
call fcn.140004fd4
test al, al
je 0x1400094c7
test ebx, ebx
js 0x1400094e3
cmp r15d, 1
jne 0x140009492
mov r8d, 0x1200a9
jmp 0x14000949e
cmp r15d, 3
jne 0x1400094cb
mov r8d, 0x1201ff
mov r9d, 3
lea rax, [rbp - 0xf]
mov qword [rsp + 0x28], rax
mov rcx, rdi
and dword [rsp + 0x20], 0
lea edx, [r9 - 2]
call qword [sym.imp.iertutil.dll_Ordinal_37]
nop dword [rax + rax]
mov ebx, eax
test ebx, ebx
js 0x1400094e3
mov rax, qword [rbp + 0x40]
test rax, rax
je 0x1400094e3
cmp byte [rbp - 0x10], 0
jne 0x1400094e0
cmp byte [rbp - 0xf], 0
je 0x1400094e3
mov byte [rax], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140009b18
Capabilities:
Check if file exists
Create directory

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x140014198]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov eax, dword [0x1400149f0]
xor ebx, ebx
test eax, eax
jne 0x140009bc3
mov rcx, qword [0x14000e190]
lea r8, [rsp + 0x20]
mov r9d, 0x104
xor edx, edx
call qword [sym.imp.iertutil.dll_Ordinal_820]
nop dword [rax + rax]
test eax, eax
js 0x140009bbd
lea rcx, [rsp + 0x20]
call sub.SHLWAPI.dll_PathFileExistsW
test eax, eax
jne 0x140009b9d
xor r8d, r8d
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x140009bbd
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
nop dword [rax + rax]
neg eax
sbb eax, eax
add eax, 2
mov dword [0x1400149f0], eax
jmp 0x140009bc3
mov eax, dword [0x1400149f0]
cmp eax, 1
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000d000
add rsp, 0x240
pop rbx
ret
Function at 0x140009d00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x140014198]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rsi, rcx
mov ebx, 0x80004005
mov ecx, 0x20000003
call qword [sym.imp.iertutil.dll_Ordinal_791]
nop dword [rax + rax]
xor ebp, ebp
test al, al
je 0x140009dc3
mov rcx, qword [0x14000e188]
lea edi, [rbp + 2]
mov edx, edi
call qword [sym.imp.iertutil.dll_Ordinal_660]
nop dword [rax + rax]
test eax, eax
je 0x140009ed3
mov rcx, qword [0x14000e188]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rbp
lea r9d, [rbp + 1]
mov qword [rsp + 0x30], rbp
mov r8d, edi
mov dword [rsp + 0x28], 0x208
mov edx, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.iertutil.dll_Ordinal_652]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140009ed3
lea r8, [rsp + 0x40]
mov edx, 0x104
mov rcx, rsi
call int.140001260
mov ebx, eax
jmp 0x140009ed3
xor r9d, r9d
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140009ed3
lea r8, [0x140010818]
lea rcx, [rsp + 0x40]
call fcn.140007d88
mov ebx, eax
test eax, eax
js 0x140009ed3
lea r8, [rsp + 0x40]
mov edx, 0x104
mov rcx, rsi
call int.140001260
mov ebx, eax
test eax, eax
js 0x140009ed3
mov rcx, qword [0x14000e188]
mov edi, 2
mov edx, edi
call qword [sym.imp.iertutil.dll_Ordinal_660]
nop dword [rax + rax]
test eax, eax
je 0x140009e99
mov rcx, qword [0x14000e188]
lea rax, [rsp + 0x250]
mov qword [rsp + 0x38], rbp
lea r9d, [rdi - 1]
mov qword [rsp + 0x30], rbp
mov r8d, edi
mov dword [rsp + 0x28], 0x208
mov edx, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.iertutil.dll_Ordinal_652]
nop dword [rax + rax]
test eax, eax
js 0x140009e99
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call sub.SHLWAPI.dll_StrCmpIW
test eax, eax
je 0x140009ed3
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bp
jne 0x140009ea2
mov rcx, qword [0x14000e188]
lea eax, [rax*2 + 2]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov r8d, edi
mov edx, edi
call qword [sym.imp.iertutil.dll_Ordinal_654]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14000d000
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000b94c
Capabilities:
Encrypt or decrypt via wincrypt
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140014198]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
lea r8, [rsp + 0x48]
mov rcx, qword [rcx + 0x38]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
nop dword [rax + rax]
test eax, eax
je 0x14000ba77
lea r9, [rdi + 0x50]
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14000bc6c
mov ebx, eax
test eax, eax
js 0x14000bac2
mov esi, 1
lea r9, [rdi + 0x58]
mov r8b, sil
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14000bc6c
mov ebx, eax
test eax, eax
js 0x14000bac2
mov ecx, dword [rdi + 0x48]
call fcn.14000cbc4
mov qword [rdi + 0x60], rax
test rax, rax
je 0x14000ba70
mov edx, dword [rdi + 0x48]
lea r9d, [rsi + 0xf]
lea r8, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.msvcrt.dll_memcpy_s]
nop dword [rax + rax]
mov eax, dword [rdi + 0x48]
xor r9d, r9d
mov rcx, qword [rdi + 0x40]
mov r8d, esi
mov dword [rsp + 0x30], eax
xor edx, edx
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x10
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
nop dword [rax + rax]
test eax, eax
jne 0x14000bac2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
je 0x14000ba62
jg 0x14000ba62
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x14000ba9a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x14000bab4
mov ebx, 0x8007000e
jmp 0x14000bac2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
je 0x14000baa3
jg 0x14000baa3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, 1
test eax, eax
mov ebx, eax
cmove ebx, esi
jmp 0x14000bac2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, 1
test eax, eax
cmove eax, esi
movzx ebx, ax
or ebx, 0x80070000
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000d000
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000bc6c
Capabilities:
Encrypt data using aes via winapi
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov al, r8b
xor ebx, ebx
mov rbp, rcx
mov qword [r9], rbx
test al, al
lea rcx, [0x140010a90]
mov rdi, rdx
lea r8, [0x140010aa0]
cmovne r8, rcx
mov rsi, r9
lea rcx, [rdx + 0x10]
lea edx, [rbx + 0x10]
mov r9d, edx
call qword [sym.imp.msvcrt.dll_memcpy_s]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop dword [rax + rax]
test eax, eax
je 0x14000bd8e
mov rcx, qword [rsp + 0x40]
lea r8d, [rbx + 0x20]
xor r9d, r9d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
nop dword [rax + rax]
test eax, eax
je 0x14000bd30
mov r8, qword [rsp + 0x40]
mov r9d, 0x800000
mov rcx, qword [rbp + 0x38]
mov edx, 0x660e
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
nop dword [rax + rax]
test eax, eax
jne 0x14000bd7b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
je 0x14000bd5c
jg 0x14000bd5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
mov ecx, 1
cmove eax, ecx
mov ebx, eax
jmp 0x14000bd7b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
mov ecx, 1
cmove eax, ecx
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop dword [rax + rax]
jmp 0x14000bdd9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
je 0x14000bdba
jg 0x14000bdba
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
mov ecx, 1
cmove eax, ecx
mov ebx, eax
jmp 0x14000bdd9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
mov ecx, 1
cmove eax, ecx
movzx ebx, ax
or ebx, 0x80070000
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14000c588
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xe0
mov rax, qword [0x140014198]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, r8
mov r14, rcx
mov rdx, rcx
lea r8, [rbp - 0x71]
mov ecx, 2
mov ebx, 0x80004005
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
nop dword [rax + rax]
xor r12d, r12d
mov esi, eax
test eax, eax
je 0x14000c79f
mov edx, esi
lea ecx, [r12 + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14000c79f
mov r8d, dword [rbp - 0x71]
lea ecx, [r12 + 2]
mov r9d, esi
mov qword [rsp + 0x20], rax
mov rdx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
nop dword [rax + rax]
test eax, eax
je 0x14000c790
lea r9, [rsp + 0x30]
mov qword [rbp - 0x79], r12
lea r8, [rbp - 0x69]
mov rcx, rdi
lea rdx, str.VarFileInfoTranslation
call qword [sym.imp.VERSION.dll_VerQueryValueW]
nop dword [rax + rax]
test eax, eax
je 0x14000c75b
mov rax, qword [rbp - 0x69]
lea rsi, [0x140010800]
mov qword [rsp + 0x28], rsi
lea r14d, [r12 + 0x3c]
lea r8, str.StringFileInfo_04X_04X_s
mov edx, r14d
movzx ecx, word [rax + 2]
movzx r9d, word [rax]
mov dword [rsp + 0x20], ecx
lea rcx, [rbp - 0x61]
call fcn.140001380
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rbp - 0x79]
lea rdx, [rbp - 0x61]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c75b
mov r9, rsi
lea r8, str.StringFileInfo040904B0_s
mov edx, r14d
lea rcx, [rbp - 0x61]
call fcn.140001380
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rbp - 0x79]
lea rdx, [rbp - 0x61]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c75b
mov r9, rsi
lea r8, str.StringFileInfo040904E4_s
mov edx, r14d
lea rcx, [rbp - 0x61]
call fcn.140001380
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rbp - 0x79]
lea rdx, [rbp - 0x61]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c75b
mov r9, rsi
lea r8, str.StringFileInfo04090000_s
mov edx, r14d
lea rcx, [rbp - 0x61]
call fcn.140001380
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rbp - 0x79]
lea rdx, [rbp - 0x61]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
nop dword [rax + rax]
neg eax
sbb rcx, rcx
and rcx, qword [rbp - 0x79]
mov qword [rbp - 0x79], rcx
jmp 0x14000c75f
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14000c790
lea rdx, [0x140010be0]
call qword [sym.imp.SHLWAPI.dll_StrTrimW]
nop dword [rax + rax]
mov r8, qword [rbp - 0x79]
cmp word [r8], r12w
je 0x14000c790
mov edx, 0x100
mov rcx, r15
call int.140001260
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14000d000
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14000cd50
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 [0x140014a28], rbx
je 0x14000cdb7
cmp rax, rbx
jne 0x14000cdaa
mov ebx, 1
mov esi, ebx
jmp 0x14000cdbc
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000cd8f
mov ebx, 1
mov eax, dword [0x140014a30]
cmp eax, ebx
jne 0x14000cdd4
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000ce4a
mov eax, dword [0x140014a30]
test eax, eax
jne 0x14000ce3f
mov dword [0x140014a30], ebx
lea r15, [0x14000ea50]
lea rdi, [0x14000ea38]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000ce31
test eax, eax
jne 0x14000ce35
cmp qword [rdi], r14
je 0x14000ce26
movabs r10, 0xd30527475e523070
mov rax, qword [rdi]
mov rcx, qword [0x14000e9d0]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000cdfe
test eax, eax
je 0x14000ce45
mov eax, 0xff
jmp 0x14000cfaa
mov dword [0x140014244], ebx
mov edi, 0x1f
mov eax, dword [0x140014a30]
cmp eax, ebx
jne 0x14000ce71
lea rdx, [0x14000ea30]
lea rcx, [0x14000e9e0]
call sub.msvcrt.dll__initterm
mov dword [0x140014a30], 2
test esi, esi
jne 0x14000ce7f
mov rax, r14
xchg qword [0x140014a28], rax
cmp qword [0x140014a48], r14
je 0x14000cebc
lea rcx, [0x140014a48]
call fcn.14000d550
test eax, eax
je 0x14000cebc
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014a48]
mov r9, qword [0x14000e9d0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000ced5
mov eax, 0xff
jmp 0x14000cfaa
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000cf5b
test ax, ax
je 0x14000cef0
test edx, edx
jne 0x14000cf5b
sub ax, bx
cmp ax, di
ja 0x14000cf06
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000cef0
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.1400049b4
mov dword [0x140014240], eax
cmp dword [0x140014260], r14d
jne 0x14000cf44
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140014244], r14d
jne 0x14000cf59
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140014240]
jmp 0x14000cfaa
cmp ax, 0x22
jne 0x14000cf6f
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 0x14000cede
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 0x14000d5e4
add rsp, 0x28
jmp 0x14000cd50
Function at 0x14000d43c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000d488
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000d480
cmp dword [rcx + 0x3c], edx
jl 0x14000d480
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000d480
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 0x14000d488
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14001124e
Capabilities:
Terminate process

Disassembly:
jmp 0x1400140b0
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]
nop
add rsp, 0x28
ret
Function at 0x1400112df
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400153f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015410
xor al, al
jmp 0x140015491
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015423
xor al, al
jmp 0x140015491
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 0x14001544d
xor al, al
jmp 0x140015491
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015461
xor al, al
jmp 0x140015491
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015473
xor al, al
jmp 0x140015491
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001548f
xor al, al
jmp 0x140015491
mov al, 1
add rsp, 0x38
ret
Function at 0x1400133a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011415
movzx eax, al
test eax, eax
jne 0x1400133c0
mov ecx, 7
call fcn.14001138e
nop
mov byte [rsp + 0x20], 0
call fcn.1400113a2
mov byte [rsp + 0x21], al
cmp dword [0x14001f8a8], 1
jne 0x1400133e4
mov ecx, 7
call fcn.14001138e
nop
jmp 0x14001343c
cmp dword [0x14001f8a8], 0
jne 0x140013437
mov dword [0x14001f8a8], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111e5
test eax, eax
je 0x140013418
mov eax, 0xff
jmp 0x140013541
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.140011398
mov dword [0x14001f8a8], 2
jmp 0x14001343c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001137a
call fcn.140011307
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013499
mov rcx, qword [rsp + 0x30]
call fcn.140011177
movzx eax, al
test eax, eax
je 0x140013499
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140026020]
nop
call fcn.14001133e
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400134cd
mov rcx, qword [rsp + 0x38]
call fcn.140011177
movzx eax, al
test eax, eax
je 0x1400134cd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113d4
nop
call fcn.1400135f0
mov dword [rsp + 0x28], eax
call fcn.1400112df
movzx eax, al
test eax, eax
jne 0x1400134ec
mov ecx, dword [rsp + 0x28]
call fcn.14001105a
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400134fb
call fcn.1400113de
nop
xor edx, edx
mov cl, 1
call fcn.140011163
mov eax, dword [rsp + 0x28]
jmp 0x140013541
add rsp, 0x68
ret
Function at 0x2348058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x23481df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x2348089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x234806f
add dl, dl
jne 0x2348096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x23480f6
xor eax, eax
add dl, dl
jne 0x23480a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x23481ad
add dl, dl
jne 0x23480b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23480c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23480d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23480dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x23480ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x234807e
mov eax, 1
add dl, dl
jne 0x2348106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2348113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x23480fb
sub eax, ebx
mov ebx, 1
jne 0x234814c
mov ecx, 1
add dl, dl
jne 0x234812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x234813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x2348123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x234807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x2348168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2348175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x234815d
cmp eax, 0x7d00
jae 0x234819b
cmp eax, 0x500
jb 0x2348196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x234807e
cmp eax, 0x7f
ja 0x234819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x234807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x23481d2
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 0x234807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20