joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140101330
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 0x140101360
xor eax, eax
jmp 0x140101423
mov rbp, rbx
cmp word [rax], si
je 0x140101385
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14010136c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140101368
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.140101250
movsxd r14, eax
test eax, eax
jne 0x1401013c3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140101359
mov rcx, r14
call fcn.14002f4c0
mov rdi, rax
test rax, rax
jne 0x1401013dc
xor ecx, ecx
call fcn.14007fb50
jmp 0x1401013b8
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.140101250
test eax, eax
jne 0x14010140d
mov rcx, rdi
call fcn.14007fb50
jmp 0x140101417
xor ecx, ecx
call fcn.14007fb50
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 0x140101440
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 0x1401014c7
mov rsi, rbx
cmp word [rax], bp
je 0x140101486
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140101470
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14010146c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14002f4c0
mov rdi, rax
test rax, rax
je 0x1401014b4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400d4120
mov rbp, rdi
xor ecx, ecx
call fcn.14007fb50
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 0x140103a74
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.1400df6b4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140103afe
cmp byte [rbp - 0x21], r15b
je 0x140103af9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140103b34
call fcn.1400fa634
test eax, eax
jne 0x140103b20
cmp byte [rbp - 0x21], r15b
je 0x140103b18
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140103b34
cmp byte [rbp - 0x21], r15b
je 0x140103b31
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.1400e4ccc
test eax, eax
jne 0x140103bd4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400df6b4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140103b73
cmp byte [rbp - 0x21], r15b
je 0x140103ba8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140103ba8
call fcn.1400fa634
test eax, eax
jne 0x140103b94
cmp byte [rbp - 0x21], r15b
je 0x140103b8d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140103ba8
cmp byte [rbp - 0x21], r15b
je 0x140103ba5
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.1400e4ccc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140103bd4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140103bd7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140103be5
mov rcx, rdi
call fcn.14007fb50
cmp byte [rbp + 0x3f], r15b
je 0x140103bf4
mov rcx, qword [rbp + 0x27]
call fcn.14007fb50
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 0x140104530
Capabilities:
Get file size

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

Function at 0x14010a4c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x458
mov rbx, r9
mov r14, r8
mov r15, rdx
mov rax, qword [0x140190038]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov qword [rsp + 0x40], rcx
xor edi, edi
mov qword [rsp + 0x38], rdi
lea rsi, [rsp + 0x50]
mov r8d, 0x400
mov rcx, rsi
mov dl, 0xaa
call fcn.1400d47c0
mov qword [rsi - 8], rdi
mov rcx, r15
xor edx, edx
mov r8d, 0x60
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x14010a546
mov rcx, r15
xor edx, edx
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14010a636
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14010a5bd
mov rbx, rax
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14010a5bd
mov r14, rax
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, 0x8007000e
cmp eax, 0xffffffff
jne 0x14010a5d2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x48]
cmp rdi, rsi
jne 0x14010a5c6
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400d2660
mov eax, ebx
add rsp, 0x458
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.14010a230
mov ebx, eax
jmp 0x14010a587
lea rcx, [rsp + 0x48]
call fcn.14010ad50
jmp 0x14010a59a
mov r15d, eax
lea edx, [r15 + 1]
lea r12, [rsp + 0x48]
mov rcx, r12
call fcn.14010a650
mov rax, qword [r12]
test rax, rax
je 0x14010a587
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov ecx, 3
xor edx, edx
mov r8, r14
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14010a5bd
mov r8d, dword [rsp + 0x4b0]
mov rcx, qword [rsp + 0x48]
mov eax, eax
mov word [rcx + rax*2], 0
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14010a690
jmp 0x14010a5c2
xor edi, edi
call fcn.14010a230
mov ebx, eax
jmp 0x14010a595
Function at 0x14010d990
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 [0x140190038]
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 0x14010d9de
mov rdx, rcx
add rdi, rdx
cmp al, 1
je 0x14010da1c
cmp rdi, rsi
jae 0x14010da1c
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 0x14010d9d7
jmp 0x14010d9d4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d2660
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14012fea0
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 [0x140190038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x14012ff11
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14012ff1b
mov dil, 1
test bl, bl
je 0x14012fefa
cmp byte [rsi + 8], 0
je 0x14012ff16
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.1400d2660
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x14012fecd
mov rcx, qword [rsi]
jmp 0x14012feef
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x14012ff43
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14012ff48
xor edi, edi
jmp 0x14012fefa
mov rcx, qword [rsi]
jmp 0x14012ff30
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x14012ff6f
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 0x14012fefa
mov rcx, qword [rsi]
jmp 0x14012ff5f
Function at 0x140130e50
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov qword [rsp + 0x48], r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140190038]
xor rax, rsp
mov qword [rsp + 0x270], rax
movzx ebp, word [rcx + 0x28]
movzx esi, word [rcx + 0x2a]
mov r15, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r15
mov r14d, eax
movzx r13d, word [rdi + 0x2a]
movzx r12d, word [rdi + 0x28]
call r15
mov word [rsp + 0x46], ax
lea r15, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.1400d47c0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.140043540
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140130f55
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140130f55
mov r8d, dword [rsp + 0x54]
test r8d, r8d
je 0x140130f55
dec r8d
mov rcx, qword [rsp + 0x48]
call fcn.14008b5a0
mov sil, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400d2660
mov eax, esi
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.1400d47c0
movzx eax, r14w
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.140043540
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140130fd6
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140130fd6
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x140130f1f
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1400d47c0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.140043540
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140131057
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140131057
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x140130f1f
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1400d47c0
movzx eax, word [rsp + 0x46]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.140043540
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401310dc
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1401310dc
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x140130f1f
xor esi, esi
jmp 0x140130f2f
Function at 0x140131ae0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140190038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1401aa5b8], 0
je 0x140131b26
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400d2660
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x1401aa590]
test rdi, rdi
je 0x140131bc7
test byte [0x14019e0d8], 1
je 0x140131b09
cmp byte [rdi + 0x17], 0
jns 0x140131b48
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 [0x1401aa5b8], rax
inc rax
cmp rax, 1
ja 0x140131b09
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400d47c0
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x140131c90
xor esi, esi
jmp 0x140131b09
mov ecx, 0x18
call fcn.1400d0b94
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400d47c0
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x14016ceb0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.14010b190
movzx eax, byte [rdi + 0x17]
test al, al
js 0x140131c2d
and eax, 0x7f
mov rcx, rdi
jmp 0x140131c34
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
je 0x140131c6f
lea r8, [rax + rax]
test r8, r8
je 0x140131c6f
lea rdx, [r8 - 2]
cmp word [rcx + r8 - 2], 0x5c
mov r8, rdx
jne 0x140131c3d
cmp rdx, 0xfffffffffffffffe
je 0x140131c6f
sar rdx, 1
cmp rax, rdx
jbe 0x140131d57
inc rdx
mov rcx, rdi
call fcn.1401179b0
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.14003d810
mov qword [0x1401aa590], rdi
jmp 0x140131b36
mov rdi, qword [0x1401aa590]
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400f5ad8
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.14003d690
mov rcx, qword [0x1401aa590]
call fcn.14012d560
cmp word [rax], 0x5c
je 0x140131cdd
mov rcx, qword [0x1401aa590]
lea rdx, [0x140171c8c]
mov r8d, 1
call fcn.14003d810
mov rcx, qword [0x1401aa590]
lea rdx, str.debug.log
mov r8d, 9
call fcn.14003d810
mov rcx, qword [0x1401aa590]
cmp byte [rcx + 0x17], 0
jns 0x140131d06
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 [0x1401aa5b8], rax
inc rax
cmp rax, 1
ja 0x140131b09
mov qword [0x1401aa5b8], 0
jmp 0x140131bc0
mov rcx, rdi
call fcn.14010be00
int3
Function at 0x140134dd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
lea rax, [0x1401aa640]
xor ecx, ecx
mov edx, 0xedb88320
mov r9d, ecx
shr r9d, 1
mov r8d, ecx
and r8d, 1
neg r8d
and r8d, edx
xor r8d, r9d
mov r10d, r8d
shr r10d, 1
mov r9d, ecx
shl r9d, 0x1e
sar r9d, 0x1f
and r9d, edx
xor r9d, r10d
mov r10d, r9d
shr r10d, 6
mov r11d, ecx
shl r11d, 0x1d
sar r11d, 0x1f
and r11d, 0x76dc419
mov esi, ecx
shl esi, 0x1c
sar esi, 0x1f
and esi, 0xedb8832
xor esi, r11d
mov r11d, ecx
shl r11d, 0x1b
sar r11d, 0x1f
and r11d, 0x1db71064
xor r11d, esi
mov esi, ecx
shl esi, 0x1a
sar esi, 0x1f
and esi, 0x3b6e20c8
xor esi, r11d
xor esi, r10d
shl r8d, 0x1a
sar r8d, 0x1f
and r8d, 0x76dc4190
xor r8d, esi
shl r9d, 0x1a
sar r9d, 0x1f
and r9d, edx
xor r9d, r8d
mov dword [rax], r9d
inc rcx
add rax, 4
cmp rcx, 0x100
jne 0x140134de3
mov eax, 0x100
lea rcx, [0x1401aa640]
mov edx, dword [rcx + rax*4 - 0x400]
movzx r8d, dl
shr edx, 8
xor edx, dword [rcx + r8*4]
mov dword [rcx + rax*4], edx
inc rax
cmp rax, 0x800
jne 0x140134ea6
lea rax, [0x1400d17e0]
mov qword [0x1401ac640], rax
mov qword [0x1401aa638], rax
lea rsi, [0x1400d16f0]
mov qword [0x1401ac648], rsi
call fcn.140144610
test eax, eax
jne 0x140134ef9
mov qword [0x1401aa638], rsi
add rsp, 0x20
pop rsi
ret
Function at 0x140140ad0
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 [0x140190038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, qword [rcx + 0x10]
cmp r14, qword [rcx + 0x18]
je 0x140140b2c
test r14, r14
je 0x140140c2b
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d2660
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x140140b76
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r15, [rax + rcx]
inc r15
shr r15, 1
shl r15, 3
mov rcx, rbx
sub rcx, r15
mov r8, r14
sub r8, rbx
mov rdx, rbx
call fcn.1400d4120
sub r14, r15
mov qword [rsi + 0x10], r14
sub qword [rsi + 8], r15
jmp 0x140140afc
mov rax, r14
sub rax, r15
sar rax, 2
cmp r14, r15
mov r12d, 1
cmovne r12, rax
lea rax, [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x3d
jne 0x140140c57
lea rcx, [r12*8]
call fcn.1400d0b94
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rdx, [rax + rcx*2]
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x140140bf6
mov rcx, r9
sar rcx, 3
and r9, 0xfffffffffffffff8
mov r8, r9
add r8, rdx
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x140140c2b
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x140140bde
lea r9, [rax + r12*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x28]
mov qword [rcx], r15
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], r14
call fcn.140140fa0
mov r14, qword [rsi + 0x10]
jmp 0x140140afc
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, 0x25
call fcn.14010d520
call fcn.14010b410
int3
Function at 0x140140c60
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 [0x140190038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x140140cbc
add rbx, 0xfffffffffffffff8
je 0x140140dc8
mov rax, qword [rdi]
mov qword [rbx], rax
add qword [rsi + 8], 0xfffffffffffffff8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d2660
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 0x140140d0f
sub r15, r14
sar r15, 3
lea rax, [r15 + 1]
shr rax, 0x3f
lea r12, [r15 + rax]
inc r12
shl r12, 2
and r12, 0xfffffffffffffff8
lea r15, [r14 + r12]
sub r14, rbx
sub r15, r14
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.1400d4120
mov qword [rsi + 8], r15
add qword [rsi + 0x10], r12
mov rbx, r15
jmp 0x140140c8b
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 0x140140df4
lea rcx, [r12*8]
call fcn.1400d0b94
lea rdx, [r12*2 + 6]
and rdx, 0xfffffffffffffff8
add rdx, rax
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x140140d93
mov rcx, r9
sar rcx, 3
and r9, 0xfffffffffffffff8
mov r8, r9
add r8, rdx
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x140140dc8
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x140140d7b
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.140140fa0
mov rbx, qword [rsi + 8]
jmp 0x140140c8b
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, 0x25
call fcn.14010d520
call fcn.14010b410
int3
Function at 0x140140e00
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 [0x140190038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x140140e5c
add rbx, 0xfffffffffffffff8
je 0x140140f68
mov rax, qword [rdi]
mov qword [rbx], rax
add qword [rsi + 8], 0xfffffffffffffff8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d2660
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 0x140140eaf
sub r15, r14
sar r15, 3
lea rax, [r15 + 1]
shr rax, 0x3f
lea r12, [r15 + rax]
inc r12
shl r12, 2
and r12, 0xfffffffffffffff8
lea r15, [r14 + r12]
sub r14, rbx
sub r15, r14
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.1400d4120
mov qword [rsi + 8], r15
add qword [rsi + 0x10], r12
mov rbx, r15
jmp 0x140140e2b
mov rax, r15
sub rax, rbx
sar rax, 2
cmp r15, rbx
mov r12d, 1
cmovne r12, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x3d
jne 0x140140f94
lea rcx, [r12*8]
call fcn.1400d0b94
lea rdx, [r12*2 + 6]
and rdx, 0xfffffffffffffff8
add rdx, rax
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x140140f33
mov rcx, r9
sar rcx, 3
and r9, 0xfffffffffffffff8
mov r8, r9
add r8, rdx
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x140140f68
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x140140f1b
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.140140fa0
mov rbx, qword [rsi + 8]
jmp 0x140140e2b
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, 0x25
call fcn.14010d520
call fcn.14010b410
int3