joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14012e4c4
Capabilities:
Parse pe header

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

Function at 0x140140758
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 0x14014078f
call fcn.14012c320
mov dword [rax], 0x16
call fcn.1401580d4
xor eax, eax
jmp 0x14014081d
mov rdx, r9
mov rcx, r8
call fcn.140140840
mov rbx, rax
test rax, rax
je 0x14014081a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1401408b0]
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 0x140140807
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401436f8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401407ee
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1401407fd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14012a5c0
jmp 0x14014081a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140140817
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 0x140143a1c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1401e1e38]
mov rbp, rcx
call fcn.14015ab0c
xor edi, edi
test rax, rax
je 0x140143b02
mov ebx, edi
call fcn.14012c320
mov r14d, dword [rax]
call fcn.14012c320
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.14012d5d8
mov rsi, rax
test rax, rax
je 0x140143a93
call fcn.14012c320
mov dword [rax], r14d
jmp 0x140143abd
call fcn.14012c320
cmp dword [rax], 0x22
jne 0x140143afa
call fcn.14012c320
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.14012d5d8
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x140143afa
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140143ac1
cmp rax, 3
je 0x140143adc
mov rcx, rsi
call fcn.140143978
test al, al
je 0x140143aed
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140143aed
mov dil, 1
mov rcx, rbx
call fcn.14012a5c0
mov al, dil
jmp 0x140143b04
mov rcx, rbx
call fcn.14012a5c0
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14012ec00
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140152190
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401521b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401521b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x14015c2c8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140155d34
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14015c369
cmp ebx, dword [rsp + 0x30]
je 0x14015c362
test esi, esi
je 0x14015c362
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14015c33d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14015c34a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14015c327
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14015c34e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14015c36b
mov eax, 1
jmp 0x14015c36b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14015d8d4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14015d904
xor eax, eax
jmp 0x14015d9c7
mov rbp, rbx
cmp word [rax], si
je 0x14015d929
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14015d910
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14015d90c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14015d7f4
movsxd r14, eax
test eax, eax
jne 0x14015d967
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14015d8fd
mov rcx, r14
call fcn.1400868d0
mov rdi, rax
test rax, rax
jne 0x14015d980
xor ecx, ecx
call fcn.14012a5c0
jmp 0x14015d95c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14015d7f4
test eax, eax
jne 0x14015d9b1
mov rcx, rdi
call fcn.14012a5c0
jmp 0x14015d9bb
xor ecx, ecx
call fcn.14012a5c0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14015d9e4
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 0x14015da6b
mov rsi, rbx
cmp word [rax], bp
je 0x14015da2a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14015da14
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14015da10
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400868d0
mov rdi, rax
test rax, rax
je 0x14015da58
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140130690
mov rbp, rdi
xor ecx, ecx
call fcn.14012a5c0
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 0x140160024
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14013b0f4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401600ae
cmp byte [rbp - 0x21], r15b
je 0x1401600a9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401600e4
call fcn.140156504
test eax, eax
jne 0x1401600d0
cmp byte [rbp - 0x21], r15b
je 0x1401600c8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401600e4
cmp byte [rbp - 0x21], r15b
je 0x1401600e1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1401405dc
test eax, eax
jne 0x140160184
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14013b0f4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140160123
cmp byte [rbp - 0x21], r15b
je 0x140160158
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140160158
call fcn.140156504
test eax, eax
jne 0x140160144
cmp byte [rbp - 0x21], r15b
je 0x14016013d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140160158
cmp byte [rbp - 0x21], r15b
je 0x140160155
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1401405dc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140160184
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140160187
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140160195
mov rcx, rdi
call fcn.14012a5c0
cmp byte [rbp + 0x3f], r15b
je 0x1401601a4
mov rcx, qword [rbp + 0x27]
call fcn.14012a5c0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1401602ac
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1401602f6
call fcn.1401436d8
mov dword [rax], 0xf
call fcn.14012c320
mov dword [rax], 0xd
call fcn.1401580d4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14012ec00
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140160301
lea eax, [rbx + 1]
jmp 0x1401602e3
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1401602e1
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1401602e3
Function at 0x140161aa0
Capabilities:
Get file size

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

Function at 0x14016aa60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test ecx, ecx
js 0x14016aa72
mov rsi, rdx
test rdx, rdx
jne 0x14016aa79
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdi, eax
mov rcx, rsi
mov rdx, rdi
call fcn.14016aac0
test edi, edi
je 0x14016aa72
cmp byte [rsi + rdi - 1], 0xa
je 0x14016aa72
lea rcx, [0x1401f3771]
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14016aac0

Function at 0x14016aac0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
xor r15d, r15d
lea r14, [rsp + 0x2c]
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14016ab0e
mov rdx, rcx
add rdi, rdx
cmp al, 1
je 0x14016ab4c
cmp rdi, rsi
jae 0x14016ab4c
mov dword [rsp + 0x2c], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r12
test eax, eax
sete dl
mov ecx, dword [rsp + 0x2c]
test rcx, rcx
sete al
or al, dl
mov edx, 0
jne 0x14016ab07
jmp 0x14016ab04
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14012ec00
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14018f9e0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x14018fa51
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14018fa5b
mov dil, 1
test bl, bl
je 0x14018fa3a
cmp byte [rsi + 8], 0
je 0x14018fa56
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14012ec00
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x14018fa0d
mov rcx, qword [rsi]
jmp 0x14018fa2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x14018fa83
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14018fa88
xor edi, edi
jmp 0x14018fa3a
mov rcx, qword [rsi]
jmp 0x14018fa70
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x14018faaf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x14018fa3a
mov rcx, qword [rsi]
jmp 0x14018fa9f
Function at 0x1401920e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rdi
mov rdx, qword [rcx]
mov r9, qword [rcx + 8]
mov r8, r9
sub r8, rdx
je 0x14012b3f7
mov rax, r8
shr rax, 2
neg r9
xor r9, rdx
cmp r9, 0xffffffffffffffff
je 0x14012b3f2
mov r10, r8
and r10, 0xfffffffffffffffe
xor r9d, r9d
lea r11, [0x1401fa930]
nop dword [rax]
movzx esi, al
movzx edi, byte [rdx + r9]
xor edi, esi
shr eax, 8
xor eax, dword [r11 + rdi*4]
movzx esi, al
movzx edi, byte [rdx + r9 + 1]
xor edi, esi
shr eax, 8
xor eax, dword [r11 + rdi*4]
add r9, 2
cmp r10, r9
jne 0x14012b3a0
test r8b, 1
je 0x14012b3ec
movzx r8d, al
movzx edx, byte [rdx + r9]
xor edx, r8d
lea r8, [0x1401fa930]
shr eax, 8
xor eax, dword [r8 + rdx*4]
mov dword [rcx + 0x18], eax
pop rdi
pop rsi
ret
xor r9d, r9d
jmp 0x14012b3cc
xor eax, eax
jmp 0x14012b3ec
sub rsp, 0x28
movapd xmmword [rsp + 0x10], xmm7
movapd xmmword [rsp], xmm6
mov r11, qword [r8]
mov r10, qword [r8 + 8]
mov rax, r10
sub rax, r11
sar rax, 2
lea r9, [rax - 1]
cmp r9, 2
jb 0x1401921b8
cvtsi2sd xmm0, ecx
cvtsi2sd xmm1, edx
add rax, 0xfffffffffffffffd
movq xmm2, rax
punpckldq xmm2, xmmword [0x1401f3950]
subpd xmm2, xmmword [0x1401f3960]
haddpd xmm2, xmm2
mov ecx, 1
movdqa xmm3, xmmword [0x1401f3950]
movapd xmm4, xmmword [0x1401f3960]
movsd xmm5, qword [0x1401e1fc0]
mov rdx, qword [r8]
mov r10, qword [r8 + 8]
sub r10, rdx
sar r10, 2
cmp r10, rcx
jbe 0x1401921da
movq xmm6, rax
punpckldq xmm6, xmm3
subpd xmm6, xmm4
haddpd xmm6, xmm6
lea r10, [rcx - 1]
movq xmm7, r10
punpckldq xmm7, xmm3
subpd xmm7, xmm4
haddpd xmm7, xmm7
mulsd xmm6, xmm0
mulsd xmm7, xmm1
addsd xmm7, xmm6
divsd xmm7, xmm2
addsd xmm7, xmm5
cvttsd2si r10d, xmm7
mov dword [rdx + rcx*4], r10d
dec rax
inc rcx
cmp rcx, r9
jne 0x140192150
mov r11, qword [r8]
mov r10, qword [r8 + 8]
cmp r10, r11
je 0x1401921dd
mov dword [r10 - 4], 0x7fffffff
mov rcx, r8
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
add rsp, 0x28
jmp 0x14012b360
int3
int3
Function at 0x1401923b0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x140231b68], 0
je 0x1401923f6
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14012ec00
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x140231b58]
test rdi, rdi
je 0x140192497
test byte [0x140228658], 1
je 0x1401923d9
cmp byte [rdi + 0x17], 0
jns 0x140192418
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140231b68], rax
inc rax
cmp rax, 1
ja 0x1401923d9
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140130d40
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x140192574
xor esi, esi
jmp 0x1401923d9
mov ecx, 0x18
call fcn.14012c264
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140130d40
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1401ee3a0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.140167e60
movzx ecx, byte [rdi + 0x17]
mov r9d, ecx
and r9d, 0x7f
test cl, cl
mov rax, qword [rdi]
mov rdx, qword [rdi + 8]
cmovs r9, rdx
mov r10, rdi
cmovs r10, rax
test r9, r9
je 0x140192553
add r9, r9
test r9, r9
je 0x140192553
lea r8, [r9 - 2]
cmp word [r10 + r9 - 2], 0x5c
mov r9, r8
jne 0x140192514
cmp r8, 0xfffffffffffffffe
je 0x140192553
sar r8, 1
lea r9, [r8 + 1]
test cl, cl
jns 0x14019264a
cmp rdx, r8
jbe 0x14019266f
mov qword [rdi + 8], r9
mov word [rax + r8*2 + 2], 0
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.140014ba0
mov qword [0x140231b58], rdi
jmp 0x140192406
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14012cc94
mov rcx, qword [0x140231b58]
mov rdx, rdi
mov r8, rax
call fcn.140058330
mov rcx, qword [0x140231b58]
movzx eax, byte [rcx + 0x17]
test al, al
jns 0x14019265f
mov rax, qword [rcx + 8]
test rax, rax
je 0x14019266c
mov rdx, qword [rcx]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1401925d7
lea rdx, [0x1401f5e08]
mov r8d, 1
call fcn.140014ba0
mov rcx, qword [0x140231b58]
lea rdx, str.debug.log
mov r8d, 9
call fcn.140014ba0
mov rcx, qword [0x140231b58]
cmp byte [rcx + 0x17], 0
jns 0x1401925f9
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140231b68], rax
inc rax
cmp rax, 1
ja 0x1401923d9
mov qword [0x140231b68], 0
jmp 0x140192490
cmp r8, rcx
jae 0x14019266f
and r9b, 0x7f
mov byte [rdi + 0x17], r9b
mov rax, rdi
jmp 0x14019254b
test rax, rax
je 0x14019266c
mov rdx, rcx
jmp 0x1401925b6
int3
int3
Function at 0x14019a290
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x14019a2f1
test r12, r12
je 0x14019a408
mov rax, qword [rdi]
mov qword [r12], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14012ec00
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x14019a356
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x14019a33f
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140130690
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
mov r12, r14
jmp 0x14019a2be
mov rax, r12
sub rax, r14
sar rax, 2
cmp r12, r14
mov r15d, 1
cmovne r15, rax
lea rax, [rsi + 0x20]
mov qword [rsp + 0x50], rax
mov rax, r15
shr rax, 0x3d
jne 0x14019a434
lea rcx, [r15*8]
call fcn.14012c264
mov rdx, r15
and rdx, 0xfffffffffffffffc
mov rcx, r12
sub rcx, rbx
mov r9, r12
lea rdx, [rax + rdx*2]
mov r8, rdx
sub r9, rbx
je 0x14019a3d3
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x14019a408
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x14019a3bb
lea r9, [rax + r15*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x30]
mov qword [rcx], r14
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r12
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r12
call fcn.14019a7a0
mov r12, qword [rsi + 0x10]
jmp 0x14019a2be
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.140167880
call fcn.140167880
int3
Function at 0x14019a440
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x14019a49f
mov r15, rbx
add r15, 0xfffffffffffffff8
je 0x14019a5b0
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 8], 0xfffffffffffffff8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14012ec00
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
cmp r14, r15
jae 0x14019a4fa
sub r15, r14
sar r15, 3
lea rax, [r15 + 1]
shr rax, 0x3f
lea r12, [r15 + rax]
inc r12
sar r12, 1
lea r15, [r14 + r12*8]
mov rax, r14
sub rax, rbx
sub r15, rax
sub r14, rbx
je 0x14019a4e9
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.140130690
mov rbx, qword [rsi + 0x10]
mov qword [rsi + 8], r15
lea rax, [rbx + r12*8]
mov qword [rsi + 0x10], rax
jmp 0x14019a46e
mov rax, r15
sub rax, rbx
sar rax, 2
cmp r15, rbx
mov r12d, 1
cmovne r12, rax
lea rax, [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x3d
jne 0x14019a5dc
lea rcx, [r12*8]
call fcn.14012c264
lea rdx, [r12*2 + 6]
and rdx, 0xfffffffffffffff8
add rdx, rax
mov rcx, r14
sub rcx, rbx
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x14019a57b
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x14019a5b0
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x14019a563
lea r9, [rax + r12*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x28]
mov qword [rcx], rbx
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r14
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r15
call fcn.14019a7a0
mov r15, qword [rsi + 8]
jmp 0x14019a46e
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.140167880
call fcn.140167880
int3