joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b37c0
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdx, str.PinShortcutToTaskbar
lea r8, str..._.._base_win_shortcut.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x1f1
call fcn.140060640
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rsi + 0x17], 0
jns 0x1400b3816
mov rsi, qword [rsi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.taskbarpin
xor ecx, ecx
mov r8, rsi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
setg bl
mov rcx, rdi
call fcn.14006fe00
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, ebx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400b4122
Capabilities:
Modify service

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x68]
mov byte [rdx], 0
movabs rax, 0x400000001
mov qword [rdx + 4], rax
mov dword [rdx + 0xc], 3
xorps xmm0, xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
call fcn.1400b490a
test al, al
je 0x1400b41a6
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.1400b483c
test al, al
je 0x1400b41ad
lea rcx, str.Setup.Install.ServiceInstallResult
mov edx, 7
mov r8d, 8
call fcn.140065ec0
mov dil, 1
jmp 0x1400b4262
xor edi, edi
jmp 0x1400b4262
lea rcx, [rsi + 0x78]
lea rdx, [rsp + 0x68]
call fcn.1400b4ad2
lea rdx, [rsi + 0x48]
lea rcx, [rsp + 0x38]
mov byte [rcx - 0x10], 1
movabs rax, 0x300000010
mov qword [rcx - 0xc], rax
mov dword [rcx - 4], 1
call fcn.14003b7ee
lea rcx, [rsp + 0x50]
lea rdx, str.RPCSS
call fcn.1400b3ad0
lea rbx, [rsp + 0x28]
mov rcx, rsi
mov rdx, rbx
call fcn.1400b4dd8
mov edi, eax
mov rcx, rbx
call fcn.1400b3b4e
test dil, dil
je 0x1400b422f
mov byte [rsi + 0x70], 1
lea rcx, str.Setup.Install.ServiceInstallResult
mov edx, 3
mov r8d, 8
call fcn.140065ec0
jmp 0x1400b423b
lea rcx, str.ChangeServiceConfig
call fcn.1400b3f72
mov rcx, qword [rsi + 0x68]
cmp byte [rsi + 0x47], 0
jns 0x1400b424b
mov rsi, qword [rsi + 0x30]
jmp 0x1400b424f
add rsi, 0x30
lea r8, [rsp + 0x28]
mov qword [r8], rsi
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
lea rcx, [rsp + 0x68]
call fcn.1400b3b4e
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, edi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400b4422
Capabilities:
Delete service

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rcx, qword [rdx]
test rcx, rcx
je 0x1400b4451
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov dil, 1
test eax, eax
jne 0x1400b4453
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x430
sete dil
jmp 0x1400b4453
xor edi, edi
mov rcx, rsi
call fcn.1400b4e92
mov eax, edi
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400b4c44
Capabilities:
Create service
Modify service

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rcx, qword [rdx + 0x28]
xor eax, eax
cmp rcx, qword [rdx + 0x30]
mov edi, 0
cmovne rdi, rcx
cmp byte [rdx + 0x27], al
jns 0x1400b4c8a
mov r12, qword [rdx + 0x10]
jmp 0x1400b4c8e
lea r12, [rdx + 0x10]
mov ebp, dword [rdx + 0xc]
mov r13d, dword [rdx + 4]
mov r15d, dword [rdx + 8]
lea r14, [rsi + 0x18]
cmp byte [rsi + 0x2f], al
jns 0x1400b4ca5
mov r14, qword [r14]
lea rbx, [rsp + 0x70]
mov rcx, rsi
mov rdx, rbx
call fcn.1400b428a
xor eax, eax
cmp byte [rbx + 0x17], al
jns 0x1400b4cc1
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsi + 0x60]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x50], rdi
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
mov rdx, rbx
mov r8, r14
mov r9d, 0x10003
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
lea rcx, [rsp + 0x88]
xor edi, edi
mov qword [rcx], rdi
mov rdx, rax
call fcn.1400b3f2a
cmp byte [rsp + 0x87], dil
jns 0x1400b4d25
mov rcx, qword [rsp + 0x70]
call fcn.1401c9f6c
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400b4d3e
cmp byte [rsi + 0x47], 0
jns 0x1400b4d42
mov rax, qword [rsi + 0x30]
jmp 0x1400b4d46
xor esi, esi
jmp 0x1400b4db1
lea rax, [rsi + 0x30]
lea r8, [rsp + 0x70]
mov qword [r8], rax
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
add rsi, 0x68
mov rdi, qword [rsp + 0x88]
xor eax, eax
mov qword [rsp + 0x88], rax
test rdi, rdi
je 0x1400b4d79
call fcn.140060660
mov rcx, rsi
mov rdx, rdi
call fcn.1400b3f2a
mov sil, 1
cmp qword [rsp + 0x88], 0
je 0x1400b4db1
call fcn.140060660
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rsp + 0x88], 0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, esi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400b4dd8
Capabilities:
Modify service

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [rdx + 0x28]
xor r11d, r11d
cmp rax, qword [rdx + 0x30]
cmove rax, r11
cmp byte [rdx + 0x27], 0
jns 0x1400b4df8
mov rsi, qword [rdx + 0x10]
jmp 0x1400b4dfc
lea rsi, [rdx + 0x10]
mov r9d, dword [rdx + 0xc]
mov r10d, dword [rdx + 4]
mov r8d, dword [rdx + 8]
mov rcx, qword [rcx + 0x68]
mov qword [rsp + 0x50], r11
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rsi
mov edx, r10d
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
setne al
add rsp, 0x60
pop rsi
ret
Function at 0x1400b7416
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
jne 0x1400b754e
mov r15, qword [r14]
mov rdi, qword [r14 + 8]
mov rcx, rdi
sub rcx, r15
jbe 0x1400b74a7
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, rdi
sub r15, rax
sub rbx, rdi
mov r13, rbx
sar r13, 3
test rbx, rbx
je 0x1400b7492
mov rcx, r15
mov rdx, rdi
mov r8, rbx
call fcn.1401cccd0
mov rdi, qword [r14 + 8]
lea rbx, [r15 + r13*8]
mov qword [r14 + 0x10], rbx
lea rax, [rdi + r12*8]
mov qword [r14 + 8], rax
jmp 0x1400b754e
sub rax, r15
mov rcx, rax
sar rcx, 2
test rax, rax
mov r13d, 1
cmovne r13, rcx
mov rax, r13
shr rax, 0x3d
jne 0x1400b756a
mov r12, r13
shr r12, 2
lea rcx, [r13*8]
call fcn.1401c9f10
lea r9, [rax + r12*8]
lea r8, [rax + r13*8]
sub rbx, rdi
je 0x1400b7526
mov r11, rsi
mov r10, r9
add r10, rbx
sar rbx, 3
shl rbx, 3
lea rcx, [rax + r12*8]
add rcx, 8
xor edx, edx
mov rsi, r9
mov rbp, qword [rdi + rdx]
mov qword [rsi], rbp
lea rsi, [rcx + rdx]
add rdx, 8
cmp rbx, rdx
jne 0x1400b750a
mov r15, qword [r14]
mov rsi, r11
jmp 0x1400b7529
mov r10, r9
mov qword [r14], rax
mov qword [r14 + 8], r9
mov qword [r14 + 0x10], r10
mov qword [r14 + 0x18], r8
test r15, r15
je 0x1400b754b
mov rcx, r15
call fcn.1401c9f6c
mov rbx, qword [r14 + 0x10]
jmp 0x1400b754e
mov rbx, r10
mov rax, qword [rsi]
mov qword [rbx], rax
add qword [r14 + 0x10], 8
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1401dedf4
int3
Function at 0x1400b7570
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov r14, rcx
mov rcx, qword [rcx]
mov rbx, qword [r14 + 8]
cmp rbx, rcx
je 0x1400b759a
mov r15, rbx
jmp 0x1400b7692
mov rdi, qword [r14 + 0x10]
mov rax, qword [r14 + 0x18]
cmp rdi, rax
jae 0x1400b75ef
sub rax, rdi
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r12, [rax + rcx]
inc r12
sar r12, 1
lea r15, [rdi + r12*8]
mov r8, rdi
sub r8, rbx
je 0x1400b75de
sub r15, r8
mov rcx, r15
mov rdx, rbx
call fcn.1401cccd0
mov rdi, qword [r14 + 0x10]
mov qword [r14 + 8], r15
lea rax, [rdi + r12*8]
mov qword [r14 + 0x10], rax
jmp 0x1400b7692
sub rax, rcx
mov rcx, rax
sar rcx, 2
test rax, rax
mov r13d, 1
cmovne r13, rcx
mov rax, r13
shr rax, 0x3d
jne 0x1400b76b5
lea r12, [r13 + 3]
shr r12, 2
lea rcx, [r13*8]
call fcn.1401c9f10
lea r15, [rax + r12*8]
lea r8, [rax + r13*8]
sub rdi, rbx
je 0x1400b766f
mov r10, rsi
mov r9, r15
add r9, rdi
sar rdi, 3
shl rdi, 3
lea rcx, [rax + r12*8]
add rcx, 8
xor edx, edx
mov rsi, r15
mov rbp, qword [rbx + rdx]
mov qword [rsi], rbp
lea rsi, [rcx + rdx]
add rdx, 8
cmp rdi, rdx
jne 0x1400b7653
mov rbx, qword [r14]
mov rsi, r10
jmp 0x1400b7672
mov r9, r15
mov qword [r14], rax
mov qword [r14 + 8], r15
mov qword [r14 + 0x10], r9
mov qword [r14 + 0x18], r8
test rbx, rbx
je 0x1400b7692
mov rcx, rbx
call fcn.1401c9f6c
mov r15, qword [r14 + 8]
mov rax, qword [rsi]
mov qword [r15 - 8], rax
mov rax, 0xfffffffffffffff8
add qword [r14 + 8], rax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1401dedf4
int3
Function at 0x1400ba058
Capabilities:
Acquire debug privileges
Query environment variable
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x468
mov ebp, r8d
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x460], rax
lea rdx, str.SeDebugPrivilege
mov r8b, 1
call fcn.1400ba1fa
lea rdi, [rsp + 0x250]
mov r8d, 0x208
mov rcx, rdi
xor edx, edx
call fcn.1401cd0e0
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x102
jbe 0x1400ba128
mov ecx, 1
call fcn.140060b40
test al, al
je 0x1400ba1d4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_setup_process_terminator_work_item.cc
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov r8d, 0x3f
mov r9d, 1
call fcn.1400618b0
lea rcx, [rsp + 0x50]
lea rdx, str.Couldnt_expand_with_environment_strings.
mov r8d, 0x29
call fcn.140007184
mov rcx, rsi
call fcn.140061980
jmp 0x1400ba1d4
test ebp, ebp
jle 0x1400ba1c5
mov ebp, ebp
xor ebx, ebx
mov r13, qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rdi, [rsp + 0x38]
lea r12, [rsp + 0x40]
lea r14, [rsp + 0x34]
mov r15, qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
mov r8d, dword [rsi + rbx*4]
mov ecx, 0x1001
xor edx, edx
call r13
mov qword [rsp + 0x38], 0
mov rcx, rdi
mov rdx, rax
call fcn.14000c806
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400ba1b5
mov dword [rsp + 0x34], 0x104
xor edx, edx
mov r8, r12
mov r9, r14
call r15
test eax, eax
je 0x1400ba1b5
mov rcx, r12
lea rdx, [rsp + 0x250]
call fcn.1401e1a60
test eax, eax
jne 0x1400ba1b5
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call fcn.14000c866
inc rbx
cmp rbp, rbx
jne 0x1400ba151
lea rdx, str.SeDebugPrivilege
xor r8d, r8d
call fcn.1400ba1fa
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1401ca2e0
nop
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400bfb20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
mov eax, ecx
test r8, r8
je 0x1400bfb9b
mov r9d, r8d
and r9d, 1
cmp r8, 1
jne 0x1400bfb3e
xor ecx, ecx
test r9, r9
jne 0x1400bfb83
jmp 0x1400bfb9b
sub r8, r9
xor ecx, ecx
lea r10, [0x140217c20]
nop word [rax + rax]
movzx r11d, al
movzx esi, byte [rdx + rcx]
xor esi, r11d
shr eax, 8
xor eax, dword [r10 + rsi*4]
movzx r11d, al
movzx esi, byte [rdx + rcx + 1]
xor esi, r11d
shr eax, 8
xor eax, dword [r10 + rsi*4]
add rcx, 2
cmp r8, rcx
jne 0x1400bfb50
test r9, r9
je 0x1400bfb9b
movzx r8d, al
movzx ecx, byte [rdx + rcx]
xor ecx, r8d
lea rdx, [0x140217c20]
shr eax, 8
xor eax, dword [rdx + rcx*4]
pop rsi
ret

Function at 0x1400c0050
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140267e70]
cmp ecx, 0xffffffff
je 0x1400c0073
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
add eax, 0xffffffff
cmp eax, 2
setb al
jmp 0x1400c0075
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400c0080
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov r15, rcx
mov ecx, dword [0x140267e70]
cmp ecx, 0xffffffff
je 0x1400c00a6
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400c00ab
call fcn.1400c01c0
mov eax, dword [0x14026f278]
mov ecx, dword [0x14026d938]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c0173
mov rbx, qword [0x14026f270]
mov rcx, rbx
call fcn.14007eee0
mov rcx, qword [0x14026da68]
add rcx, 1
mov edx, 0x100
lea rax, [0x14026da70]
nop word cs:[rax + rax]
movzx edi, cl
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x1400c012a
lea edi, [rcx + 1]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x1400c012a
add rcx, 2
add rdx, 0xfffffffffffffffe
jne 0x1400c0100
jmp 0x1400c014f
lea rcx, [rax + rsi*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r14
mov qword [0x14026da68], rdi
mov dword [r15], edi
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [r15 + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [r15]
cmp eax, 0xffffffff
je 0x1400c01b9
cmp eax, 0x100
jge 0x1400c01bc
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x14026f278]
call fcn.1401ca090
cmp dword [0x14026f278], 0xffffffff
jne 0x1400c00d0
mov ecx, 8
call fcn.1401c9f10
mov rbx, rax
mov rcx, rax
call fcn.14007eed0
mov qword [0x14026f270], rbx
lea rcx, [0x14026f278]
call fcn.1401ca128
jmp 0x1400c00d0
int3
int3

Function at 0x1400c01c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.1401ca270
sub rsp, rax
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov ecx, dword [0x140267e70]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
jne 0x1400c0258
lea rcx, [rsp + 0x2c]
call fcn.1400fbc50
test al, al
je 0x1400c02d3
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
jne 0x1400c0236
lea rcx, [rsp + 0x2c]
call fcn.1400fbc50
test al, al
je 0x1400c02d6
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400c02d6
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
mov eax, 0xffffffff
lock cmpxchg dword [0x140267e70], ecx
mov ecx, dword [rsp + 0x2c]
je 0x1400c0258
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x140267e70]
mov dword [rsp + 0x2c], ecx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400c02d0
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1401cd0e0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1401c9fac
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1401cccd0
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1401ca2e0
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
int3
int3
int3
Function at 0x1400c03b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140267e70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400c03e0
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x1400c03e0
mov rax, qword [rax + rcx]
jmp 0x1400c03e2
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x1400c03f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140267e70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
jne 0x1400c0418
test rdi, rdi
je 0x1400c0431
call fcn.1400c01c0
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400c7bf0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1400c7c32
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
nop word [rax + rax]
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400c7c3c
add rdi, rbx
sub rsi, rbx
jne 0x1400c7c10
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3

Function at 0x1400d0250
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov r13, rcx
mov rdi, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
cmp rdi, rax
jne 0x1400d0424
mov r15, qword [r13]
mov rbx, qword [r13 + 8]
mov rcx, rbx
sub rcx, r15
jbe 0x1400d02e2
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
add rax, rcx
add rax, 1
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, rbx
sub r15, rax
sub rdi, rbx
mov rsi, rdi
sar rsi, 3
test rdi, rdi
je 0x1400d02cd
mov rcx, r15
mov rdx, rbx
mov r8, rdi
call fcn.1401cccd0
mov rbx, qword [r13 + 8]
lea rdi, [r15 + rsi*8]
mov qword [r13 + 0x10], rdi
lea rax, [rbx + r12*8]
mov qword [r13 + 8], rax
jmp 0x1400d0424
sub rax, r15
mov rcx, rax
sar rcx, 2
test rax, rax
mov esi, 1
cmovne rsi, rcx
mov rax, rsi
shr rax, 0x3d
jne 0x1400d043f
mov r12, rsi
shr r12, 2
lea rcx, [rsi*8]
call fcn.1401c9f10
lea r11, [rax + r12*8]
mov r9, r11
lea r8, [rax + rsi*8]
sub rdi, rbx
je 0x1400d03fe
lea r10, [rdi - 8]
mov ecx, r10d
shr ecx, 3
add ecx, 1
and rcx, 7
je 0x1400d0368
neg rcx
mov rdx, r9
nop word cs:[rax + rax]
mov rsi, qword [rbx]
mov qword [rdx], rsi
add rdx, 8
add rbx, 8
inc rcx
jne 0x1400d0350
mov rcx, rdx
jmp 0x1400d036e
mov rdx, r9
mov rcx, r9
add r11, rdi
cmp r10, 0x38
jb 0x1400d03fa
sar rdi, 3
shl r12, 3
lea rsi, [r12 + rdi*8]
sub rsi, rdx
mov r15, rax
add r15, rsi
lea r10, [rdx + 0x40]
xor esi, esi
nop word cs:[rax + rax]
mov rdi, qword [rbx + rsi]
mov qword [rcx], rdi
mov rcx, qword [rbx + rsi + 8]
mov qword [rdx + rsi + 8], rcx
mov rcx, qword [rbx + rsi + 0x10]
mov qword [rdx + rsi + 0x10], rcx
mov rcx, qword [rbx + rsi + 0x18]
mov qword [rdx + rsi + 0x18], rcx
mov rcx, qword [rbx + rsi + 0x20]
mov qword [rdx + rsi + 0x20], rcx
mov rcx, qword [rbx + rsi + 0x28]
mov qword [rdx + rsi + 0x28], rcx
mov rcx, qword [rbx + rsi + 0x30]
mov qword [rdx + rsi + 0x30], rcx
mov rcx, qword [rbx + rsi + 0x38]
mov qword [rdx + rsi + 0x38], rcx
lea rcx, [r10 + rsi]
add rsi, 0x40
cmp r15, rsi
jne 0x1400d03a0
mov r15, qword [r13]
mov qword [r13], rax
mov qword [r13 + 8], r9
mov qword [r13 + 0x10], r11
mov qword [r13 + 0x18], r8
test r15, r15
je 0x1400d0421
mov rcx, r15
call fcn.1401c9f6c
mov rdi, qword [r13 + 0x10]
jmp 0x1400d0424
mov rdi, r11
mov rax, qword [r14]
mov qword [rdi], rax
add qword [r13 + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1401dedf4
int3
Function at 0x1400d33a0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x260
mov rsi, rdx
mov edx, ecx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea rbx, [rsp + 0x50]
mov word [rbx], 0
mov qword [rsp + 0x20], rbx
xor edi, edi
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400d342f
mov qword [rsp + 0x28], rbx
cmp word [rsp + 0x50], 0
je 0x1400d3401
xor eax, eax
cmp word [rsp + rax*2 + 0x52], 0
lea rax, [rax + 1]
jne 0x1400d33f3
jmp 0x1400d3403
xor eax, eax
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.14005ba50
mov rcx, rsi
mov rdx, rdi
call fcn.14005bad0
mov rcx, rdi
call fcn.14005baa0
mov dil, 1
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, edi
add rsp, 0x260
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400d3dd5
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r12, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x1400d3e09
mov rax, qword [r12 + 8]
test rax, rax
je 0x1400d3e38
bt ebx, 8
jae 0x1400d3e1d
mov eax, ebx
and eax, 0x200
jne 0x1400d3e38
cmp edi, 2
lea rax, [0x14026f660]
lea rcx, [0x14026f860]
cmove rcx, rax
cmp word [rcx], 0
je 0x1400d3e57
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401ca2e0
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xorps xmm0, xmm0
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsi], 0
je 0x1400d3e38
cmp byte [0x14026f650], 0
setne al
bt ebx, 8
jb 0x1400d3e38
shr ebx, 9
and ebx, 1
or bl, al
je 0x1400d3e38
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea rsi, str.SOFTWARE
cmove rsi, rax
movzx ebp, byte [r12 + 0x17]
test bpl, bpl
js 0x1400d3eb8
mov rdi, r12
jmp 0x1400d3ec1
mov rdi, qword [r12]
mov rbp, qword [r12 + 8]
mov r14d, 1
xor r15d, r15d
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov rbx, qword [rsi + 8]
mov r13, rbp
sub r13, rbx
jb 0x1400d3efe
mov rdx, qword [rsi]
mov rcx, rdi
mov r8, rbx
call fcn.1401e1c10
test eax, eax
je 0x1400d3f0c
add rsi, 0x28
inc r15
cmp r15, r14
jb 0x1400d3ee0
jmp 0x1400d3f7e
movzx edx, word [rdi + rbx*2]
cmp dx, 0x5c
je 0x1400d3f1b
test dx, dx
jne 0x1400d3efe
lea rax, [rdi + rbx*2]
mov ebp, dword [rsi + 0x10]
lea rcx, str.WOW6432Node_
cmp ebp, 1
je 0x1400d3f49
cmp ebp, 2
jne 0x1400d3f3f
mov rdi, rax
lea rcx, str.WOW6432Node
jmp 0x1400d3f49
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
cmp dx, 0x5c
mov dword [rsp + 0x2c], ebp
jne 0x1400d3f61
dec r13
cmp word [rax + 2], 0x5c
lea rax, [rax + 2]
je 0x1400d3f53
mov r14, qword [rsi + 0x20]
mov rsi, qword [rsi + 0x18]
mov rbp, r13
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov rdi, rax
jmp 0x1400d3f05
cmp dword [rsp + 0x2c], 0
je 0x1400d3e38
cmp byte [r12 + 0x17], 0
js 0x1400d3f96
mov rax, r12
jmp 0x1400d3f9a
mov rax, qword [r12]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, r12
mov r8, qword [rsp + 0x38]
call fcn.14003c300
jmp 0x1400d3e38
Function at 0x1400d49a8
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400d49cf
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1400d4aca
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400d4a10
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401ca2e0
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1400d4ae6
mov ecx, 2
call fcn.140060b40
test al, al
je 0x1400d4ac8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x249
mov r9d, 2
call fcn.1400618b0
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140007184
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.14006f5f0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400d4aa1
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.140007184
xor eax, eax
cmp byte [rsp + 0x4f], al
jns 0x1400d4abe
mov rcx, qword [rsp + 0x38]
call fcn.1401c9f6c
lea rcx, [rsp + 0x50]
call fcn.140061980
xor edi, edi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret