joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008300
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edi, edx
mov rbx, rcx
and edi, 0xffffb1af
cmp qword [rcx + 0x18], 8
jb 0x14000833d
mov rcx, qword [rcx]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x140008350
mov al, 1
jmp 0x1400083f7
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140008a30
test al, al
je 0x1400083a1
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400083a1
mov bl, 1
jmp 0x1400083a3
xor bl, bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400083e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400083dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008414
call fcn.14001845c
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140018190
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.14001c324
int3

Function at 0x140008420
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x140008455
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1400084ff
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x140035b60]
movdqu xmmword [rsp + 0x38], xmm1
xor esi, esi
mov word [rsp + 0x28], si
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140008a30
test al, al
je 0x1400084ae
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400084ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400084e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000851e
call fcn.14001845c
movdqa xmm0, xmmword [0x140035b60]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140018190
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call fcn.14001c324
int3
Function at 0x14000a260
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x98]
sub rsp, 0x190
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, rdx
mov qword [rsp + 0x38], rdx
xor edi, edi
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
lea rdx, [rsp + 0x40]
call fcn.14000d940
test al, al
jne 0x14000a32f
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000a4bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a325
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a4f5
call fcn.14001845c
jmp 0x14000a4bb
lea rdx, [rsp + 0x40]
call fcn.14000a0a0
test al, al
je 0x14000a48f
mov ecx, 1
call fcn.140018420
mov qword [rsp + 0x28], rax
mov byte [rax], 0
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x64]
call fcn.140019d60
mov dword [rsp + 0x60], 0x11c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14000a38b
cmp dword [rsp + 0x64], 6
setae cl
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
lea rcx, [rsp + 0x28]
call fcn.140004ad0
lea rdx, [rsp + 0x40]
call fcn.14000d940
test al, al
jne 0x14000a40f
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x28]
call fcn.140004230
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000a4bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a325
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a4fb
jmp 0x14000a325
lea rdx, [rsp + 0x40]
call fcn.14000a0a0
test al, al
je 0x14000a485
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x28]
call fcn.140004230
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000a4bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a325
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a501
jmp 0x14000a325
lea rcx, [rsp + 0x28]
call fcn.140004230
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov dword [rsp + 0x20], 1
mov rax, rbx
mov word [rsp + 0x40], di
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rdi
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140018190
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14001c324
int3
call fcn.14001c324
int3
call fcn.14001c324
int3
Function at 0x14000d830
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rcx]
xor ebp, ebp
test rcx, rcx
je 0x14000d86e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], rbp
mov word [rdi + 8], bp
mov qword [rsp + 0x28], rbp
lea rcx, [rsp + 0x28]
call fcn.140013770
nop
mov rbx, qword [rsp + 0x28]
cmp qword [rbx], 0
lea rcx, [rbx + 0x10]
jne 0x14000d894
mov rcx, rbp
cmp qword [rsi + 0x10], 0
je 0x14000d8a7
cmp qword [rsi + 0x18], 8
jb 0x14000d8aa
mov rsi, qword [rsi]
jmp 0x14000d8aa
mov rsi, rbp
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
test rax, rax
je 0x14000d8ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000d8ce
mov byte [rdi + 9], 1
cmp qword [rdi], 0
setne sil
mov rdi, qword [rbx]
test rdi, rdi
je 0x14000d8f5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], rbp
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d908
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx + 8], rbp
mov edx, 0x58
mov rcx, rbx
call fcn.14001845c
mov qword [rsp + 0x28], rbp
movzx eax, sil
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140018190
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000d940
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rdx
mov qword [rsp + 0x28], rdx
xor esi, esi
mov qword [rdx + 0x10], rsi
mov rax, rdx
cmp qword [rdx + 0x18], 8
jb 0x14000d97f
mov rax, qword [rdx]
mov word [rax], si
call fcn.14000da50
movzx edi, al
mov byte [rsp + 0x20], al
jmp 0x14000d99f
test dil, dil
jne 0x14000da19
mov qword [rbx + 0x10], rsi
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000d9b5
mov rax, qword [rbx]
mov word [rax], si
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x30]
call fcn.140019d60
mov r8d, 0x207
lea rdx, [rsp + 0x30]
lea rcx, str.APPDATA
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14000d9f0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140002b40
movzx edi, dil
mov eax, 1
cmp qword [rbx + 0x10], 0
cmovne edi, eax
movzx eax, dil
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140018190
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140010490
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov rbx, rdx
mov r8, rdx
lea rdx, [rbp - 0x30]
call fcn.140011040
nop
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
xor r14d, r14d
mov qword [rbp - 0x50], r14
mov word [rbp - 0x48], ax
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.14000d830
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov byte [rbp - 0x38], r14b
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jne 0x140010518
xor dil, dil
jmp 0x140010536
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x14001052f
xor dil, dil
jmp 0x140010536
mov byte [rbp - 0x48], 1
mov dil, 1
mov byte [rbp - 0x38], dil
mov byte [rbp - 0x60], 0
lea r9, [rbp - 0x60]
mov r8, rsi
mov rdx, rbx
call fcn.140010620
test al, al
jne 0x14001056a
cmp byte [rbp - 0x60], al
je 0x14001056a
cmp qword [rbx + 0x18], 8
jb 0x140010560
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
test dil, dil
je 0x140010582
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14001057e
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbp - 0x48], 0
mov qword [rbp - 0x40], r14
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140010599
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x50], r14
mov word [rbp - 0x48], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400105db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400105d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010611
call fcn.14001845c
movdqa xmm0, xmmword [0x140035b60]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r14w
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140018190
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14001c324
int3
Function at 0x140012b70
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor eax, eax
mov dword [rsp + 0x20], 0x114
mov qword [rcx + 8], rax
mov rbx, rcx
mov qword [rcx + 0x10], rax
xor edx, edx
mov qword [rcx + 0x18], rax
mov r8d, 0x110
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov byte [rcx], al
lea rcx, [rsp + 0x24]
call fcn.140019d60
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x140012bf0
cmp dword [rsp + 0x24], 6
jb 0x140012bf0
mov byte [rbx], 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140018190
add rsp, 0x150
pop rbx
ret
Function at 0x140012c10
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rsi, rcx
xorps xmm0, xmm0
movdqu xmmword [rax - 0x48], xmm0
movdqa xmm1, xmmword [0x140035b60]
movdqu xmmword [rax - 0x48], xmm1
xor ebp, ebp
mov word [rax - 0x58], bp
lea r8d, [rbp + 0xc]
lea rdx, str.wintrust.dll
lea rcx, [rax - 0x58]
call fcn.140002b40
nop
call fcn.140003340
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400033e0
mov rbx, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140012cb6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012cb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012e5d
call fcn.14001845c
movdqa xmm0, xmmword [0x140035b60]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], bp
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x140035b60]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], bp
mov r8d, 0xb
lea rdx, str.crypt32.dll
lea rcx, [rsp + 0x40]
call fcn.140002b40
nop
call fcn.140003340
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1400033e0
mov rdi, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140012d54
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012d4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012e57
call fcn.14001845c
movdqa xmm0, xmmword [0x140035b60]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], bp
test rbx, rbx
je 0x140012e41
test rdi, rdi
je 0x140012e41
lea rdx, str.CryptCATAdminCalcHashFromFileHandle
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 8], rax
lea rdx, str.CryptCATAdminAcquireContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x10], rax
lea rdx, str.CryptCATAdminEnumCatalogFromHash
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x18], rax
lea rdx, str.CryptCATCatalogInfoFromContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x20], rax
lea rdx, str.CryptCATAdminReleaseCatalogContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x28], rax
lea rdx, str.CryptCATAdminReleaseContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x30], rax
lea rdx, str.WTHelperProvDataFromStateData
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x38], rax
lea rdx, str.WTHelperGetProvSignerFromChain
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x40], rax
lea rdx, str.WinVerifyTrust
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x48], rax
lea rdx, str.CertNameToStrW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x50], rax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14001c324
int3
call fcn.14001c324
int3
Function at 0x14001f278
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001efdc

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 0x1400025a0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov r9, qword [rcx]
mov rax, rdx
mov rbx, rcx
mov rcx, rax
mov edx, 1
call fcn.140073380
sub qword [rbx + 0x20], rax
add rsp, 0x20
pop rbx
ret
Function at 0x1400043b0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov rbx, rcx
test rdx, rdx
je 0x1400043d9
mov r9, qword [rcx]
mov edx, 1
mov rcx, rax
lea r8d, [rdx + 3]
call fcn.140073380
sub qword [rbx + 0x20], rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140004d10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x80], 0x10
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0x78], 0
jb 0x140004d3d
mov rax, qword [rcx + 0x68]
jmp 0x140004d41
lea rax, [rcx + 0x68]
mov byte [rax], 0
mov rax, qword [rcx + 0x78]
test rdx, rdx
jne 0x140004da5
mov rdx, qword [rcx + 0x10]
cmp rdx, rax
ja 0x140004d78
cmp qword [rcx + 0x80], 0x10
mov qword [rcx + 0x78], rdx
jb 0x140004d6e
mov rax, qword [rcx + 0x68]
mov byte [rax + rdx], 0
jmp 0x140004d87
lea rax, [rcx + 0x68]
mov byte [rax + rdx], 0
jmp 0x140004d87
sub rdx, rax
xor r8d, r8d
add rcx, 0x68
call fcn.140003c30
cmp qword [rsi + 0x80], 0x10
jb 0x140004d9b
mov rcx, qword [rsi + 0x68]
mov r8, qword [rsi + 0x10]
jmp 0x140004df2
mov r8, qword [rsi + 0x10]
lea rcx, [rsi + 0x68]
jmp 0x140004df2
cmp rdx, rax
ja 0x140004dcc
cmp qword [rcx + 0x80], 0x10
mov qword [rcx + 0x78], rdx
jb 0x140004dc2
mov rax, qword [rcx + 0x68]
mov byte [rax + rdx], 0
jmp 0x140004ddb
lea rax, [rcx + 0x68]
mov byte [rax + rdx], 0
jmp 0x140004ddb
sub rdx, rax
xor r8d, r8d
add rcx, 0x68
call fcn.140003c30
cmp qword [rsi + 0x80], 0x10
jb 0x140004deb
mov rcx, qword [rsi + 0x68]
jmp 0x140004def
lea rcx, [rsi + 0x68]
mov r8, rdi
mov r9, qword [rsi]
mov edx, 1
call fcn.140073380
mov rbx, qword [rsp + 0x30]
sub qword [rsi + 0x20], rax
lea rax, [rsi + 0x68]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400132c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp - 0x79], 0xfffffffffffffffe
mov qword [rsp + 0x120], rbx
mov rax, qword [0x1400a4a90]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rdx
mov r13, rcx
lea rcx, [0x140093020]
jmp 0x14031c325

Function at 0x140013b50
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp - 0x79], 0xfffffffffffffffe
mov qword [rsp + 0x120], rbx
mov rax, qword [0x1400a4a90]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rdx
mov r13, rcx
lea rcx, [0x140093038]
jmp 0x14031d3bb

Function at 0x1400143e0
Capabilities:
Encode data using base64
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp - 0x79], 0xfffffffffffffffe
mov qword [rsp + 0x120], rbx
mov rax, qword [0x1400a4a90]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rdx
mov r13, rcx
lea rcx, [0x140093050]
jmp 0x14031e4a5
Function at 0x140014de4
Capabilities:
Read file on windows

Disassembly:
pushfq
shl edi, 0xed
push rdi
mov qword [rsp + 0x30], 0xffffffffa00517b7
mov rdi, qword [rsp + rdi*8 - 0x8f8ffe8]
add qword [rsp + 0x20], 0xffffffffbff41bce
or dword [rsp], 0x410e3bbd
cmp dword [rsp], 0x109d200e
jns 0x1400b3ca4
cdq
or ah, byte [rcx]
or al, byte [rax + rax]
or dh, byte [rax + rcx]
add eax, 0x10000764
mov al, byte [rcx]
add byte [0x134014f1b], bh
add qword [r8], rax
jns 0x140014de4
and al, 0x8d
lodsd eax, dword [rsi]
or dl, byte [rcx + rcx*4 + 0x3454f39b]
fldenv [rdi]
out 0x75, al
popfq
mov dh, 0xcf
push 0x64
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140014dbc
call fcn.140073774
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140072910
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rsp + 0xf0], rbx
mov rax, qword [0x1400a4a90]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rdx
mov r15, rcx
lea rcx, [0x1400930a0]
jmp 0x14031f6fe
jbe 0x140014d4a
push qword [rsp + 8]
popfq
lea rsp, [rsp + 0x30]
call fcn.1401fd475

Function at 0x1400153c0
Capabilities:
Check for software breakpoints
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rsp + 0xf0], rbx
mov rax, qword [0x1400a4a90]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rdx
mov r15, rcx
lea rcx, [0x1400930b0]
jmp 0x140320228

Function at 0x1400159a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rsp + 0xf0], rbx
mov rax, qword [0x1400a4a90]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rdx
mov r15, rcx
lea rcx, [0x1400930c0]
jmp 0x140320d66

Function at 0x1400160e0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400a4a90]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
lea rcx, [0x140093100]
jmp 0x1403218dc