joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002b5f0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14011ce88]
test rdi, rdi
jne 0x14002b6a3
mov ecx, 0x50
call fcn.1400751a4
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400751a4
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14002b6c5
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x14011ce88], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002b6f1
mov rcx, rax
call fcn.14008fc48
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14002b720
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140076580
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
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.1400b0d70
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.1400b0d70
int3
Function at 0x14002b720
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.140032910
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14002b8b4
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1400efc38]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14002b8eb
lea rdx, [0x1400efc88]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002b8d9
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x140127008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x14002b8e1
test r12d, r12d
js 0x14002b956
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.1400751a4
mov rbx, rax
mov qword [rsp + 0x30], rax
add r15, rax
mov qword [rsp + 0x40], r15
xor r13d, r13d
xor r15d, r15d
mov rcx, rbx
add rcx, r13
je 0x14002b8fe
mov rdx, qword [r14 + r15]
call fcn.1400b1600
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x14002b822
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14002b320
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14002b876
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14002b8b4
cmp r15, rbx
je 0x14002b8ac
add r15, 0xffffffffffffffe8
jmp 0x14002b89a
mov rcx, qword [r15]
call fcn.1400751e0
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14002b8ac
test r15, r15
je 0x14002b92a
cmp byte [r15 + 0x17], 0
jns 0x14002b88e
jmp 0x14002b886
mov rcx, rbx
call fcn.1400751e0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140076580
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14002b7d4
xor r15d, r15d
xor ebx, ebx
jmp 0x14002b84f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14002b7d1
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.1400b0d70
lea rax, str.null_pointer_given_to_destroy_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.__loc___nullptr
mov r8d, 0x44
call fcn.1400b0d70
lea rcx, [rsp + 0x30]
call fcn.1400aa730
int3
Function at 0x14002db70
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14011cee0]
mov ecx, dword [0x140114770]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002dbd0
lea rsi, [0x14011ced8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140076580
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14011cee0]
call fcn.140075300
cmp dword [0x14011cee0], 0xffffffff
jne 0x14002dbac
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400786c0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1400751a4
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14011cf28]
mov ecx, dword [0x140114770]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002dc90
lea r8, [0x14011cef8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002dd90
mov qword [0x14011ced8], rsi
lea rcx, [0x14011cee0]
call fcn.140075398
jmp 0x14002dbac
lea rcx, [0x14011cf28]
call fcn.140075300
cmp dword [0x14011cf28], 0xffffffff
jne 0x14002dc61
xorps xmm0, xmm0
movups xmmword [0x14011cf18], xmm0
movups xmmword [0x14011cf08], xmm0
movups xmmword [0x14011cef8], xmm0
lea rcx, [0x14011cef8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14011cf28]
call fcn.140075398
jmp 0x14002dc61

Function at 0x14002dce0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14011cf28]
mov ecx, dword [0x140114770]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002dd1b
movzx eax, word [0x14011cef8]
cmp eax, 9
jne 0x14002dd63
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x14011cf28]
call fcn.140075300
cmp dword [0x14011cf28], 0xffffffff
jne 0x14002dd05
xorps xmm0, xmm0
movups xmmword [0x14011cf18], xmm0
movups xmmword [0x14011cf08], xmm0
movups xmmword [0x14011cef8], xmm0
lea rcx, [0x14011cef8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14011cf28]
call fcn.140075398
jmp 0x14002dd05
test eax, eax
je 0x14002dd16
cmp eax, 6
jne 0x14002dd73
mov eax, 2
jmp 0x14002dd16
cmp eax, 0xc
jne 0x14002dd7f
mov eax, 3
jmp 0x14002dd16
mov eax, 4
jmp 0x14002dd16
Function at 0x14002e720
Capabilities:
Create thread

Disassembly:
jmp 0x14002e720
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.1400751a4
mov rsi, rax
movabs r12, 0xfffffffc00000000
mov rax, r15
and rax, r12
cmp rax, qword [0x140105dc8]
jne 0x14002e78d
mov rcx, r15
call fcn.140042d50
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x14002eb90]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14002e801
test r14, r14
je 0x14002e7f6
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140076580
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002e7d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14002e81a
mov ebp, eax
cmp eax, 0x5af
je 0x14002e81a
cmp ebp, 0xe
jne 0x14002e845
mov rcx, rbx
call fcn.1400a7660
test rsi, rsi
je 0x14002e7d0
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x140105dc8]
jne 0x14002e83b
call fcn.140042ea0
mov rcx, rsi
call fcn.1400751e0
jmp 0x14002e7d0
mov eax, dword [0x14011cf80]
mov ecx, dword [0x140114770]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002e8c8
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.140034d90
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x14002e885
and r8d, 0x7f
jmp 0x14002e88f
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, rbx
call fcn.14004ae30
mov rcx, qword [0x14011cf78]
mov rdx, r14
call fcn.1400328b0
cmp byte [rsp + 0x4f], 0
jns 0x14002e822
mov rcx, qword [rsp + 0x38]
call fcn.1400751e0
jmp 0x14002e822
lea rcx, [0x14011cf80]
call fcn.140075300
cmp dword [0x14011cf80], 0xffffffff
jne 0x14002e866
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140032880
mov qword [0x14011cf78], rax
lea rcx, [0x14011cf80]
call fcn.140075398
jmp 0x14002e866
Function at 0x14002f0a0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x1400eae20]
mov qword [rcx], rax
add rcx, 8
call fcn.1400588b0
lea rcx, [rsi + 0x10]
call fcn.1400588b0
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.1400588b0
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x1400f234c]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.140035660
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], ebp
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], bl
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], bl
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], rbx
call fcn.140018990
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov edx, dword [rsi + 0x1a0]
mov rax, qword [rsi + 0x1b0]
mov rcx, rax
shr rcx, 6
test dword [0x1400f2350], edx
je 0x14002f29b
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.14005ec90
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14002f2bf
call fcn.1400351c0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.140035270
mov qword [0x14011d2f0], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [0x1400f2354], edx
jne 0x14002f2dd
test dword [0x1400f2358], edx
jne 0x14002f2d2
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.140035400
jmp 0x14002f25c
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x140127008]
jmp 0x14002f269
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x14002f2b4
cmp rax, 0x40
mov eax, 0x100
jmp 0x14002f253
Function at 0x1400317c0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x1400318b5
cmp qword [rsi], 0
jne 0x1400318b5
cmp dword [rsi + 0x14], 0
jne 0x1400318b5
cmp qword [rsi + 8], 0
jne 0x1400318b5
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x140031834
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003189c
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14003182c
mov qword [rsi], r14
call fcn.1400577c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x14003186e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140031884
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140031866
mov qword [rsi + 8], r14
call fcn.1400577c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400577c0
mov rcx, qword [rsi + 8]
call fcn.1400577d0
mov qword [rsi + 8], 0
jmp 0x140031853
call fcn.1400577c0
mov rcx, qword [rsi]
call fcn.1400577d0
mov qword [rsi], 0
jmp 0x14003181a
mov rcx, rsi
call fcn.1400cd650
mov rax, qword [rsi]
jmp 0x1400317fa

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400eb8f0]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20b
call fcn.1400577a0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400581b0
cmp byte [rdi + 0x17], 0
jns 0x140031b22
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1400583f0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140076580
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140031b60
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400786c0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x140031bff
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14008fc48
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140051e50
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14002ac70
mov rcx, rsi
mov rdx, r14
call fcn.140052020
mov rcx, r14
call fcn.140051fa0
mov rcx, rbx
call fcn.140051fa0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140076580
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140031c30
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400786c0
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140031cde
cmp word [rsp + 0x70], 0
je 0x140031cde
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14008fc48
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140051e50
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140076580
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140051e30
lea rcx, [rsp + 0x40]
call fcn.140051fa0
jmp 0x140031ca7
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1400eb8f0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140051e10
mov rcx, rdi
call fcn.140031b60
test al, al
jne 0x140031cc5
lea rax, [0x1400f1754]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140051e50
jmp 0x140031cd2
Function at 0x140033040
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400330c8
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1400330b2
cmp dword [rsp + 0x38], 4
jne 0x1400330b2
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140076580
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x1400330b2
Function at 0x1400330d0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1058
call fcn.140076520
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x1050], rax
lea r14, [rsp + 0x850]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400786c0
lea r9, [rsp + 0x4c]
mov dword [r9], 1
lea rax, [rsp + 0x48]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400331ab
mov eax, dword [rsp + 0x4c]
cmp eax, 1
jne 0x14003322e
lea rbx, [rsp + 0x850]
mov rcx, rbx
call fcn.14008fc48
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x140033211
cmp rdi, 0xa
jbe 0x1400331af
movzx r9d, al
mov edx, 0xa
mov r8, rdi
sub r8, rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.1400276a0
jmp 0x1400331e1
mov edi, eax
jmp 0x1400331e3
mov rbx, rsi
test rdi, rdi
je 0x1400331d0
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x850]
mov rcx, rbx
call fcn.140078010
mov al, byte [rsi + 0x17]
test al, al
js 0x140033202
mov eax, edi
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [rbx + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140076580
mov eax, edi
add rsp, 0x1058
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsi + 8], rdi
jmp 0x1400331db
mov r9, qword [rsi + 8]
jmp 0x140033183
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x140033208
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x1400331b2
cmp eax, 2
jne 0x1400332d1
lea rdi, [rsp + 0x50]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400786c0
lea rcx, [rsp + 0x850]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x48], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x1400332db
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.14008fc48
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x1400332b0
cmp rdi, 0xa
ja 0x14003317a
mov rbx, rsi
test rdi, rdi
je 0x1400331d0
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x50]
jmp 0x1400331c5
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x140033208
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x140033297
mov edi, 0x3f4
jmp 0x1400331e3
mov edi, 0xea
jmp 0x1400331e3
Function at 0x140038720
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x140038871
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1400eb8f0]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r12, [rsp + 0x30]
lea rbx, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, rsi
call qword [0x140127008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call qword [0x140127008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [0x140127008]
test r14, r14
je 0x140038803
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x1400387f3
lea r14, [rsi + 0xf8]
mov ecx, 1
call fcn.140063470
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x140038875
call fcn.140003260
lea rax, [0x140001d60]
test r14, r14
je 0x140038842
lea rcx, section..text
mov qword [r14], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140076580
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x140038854
bt eax, 9
jae 0x140038895
call fcn.140004350
lea rax, [0x140004820]
test r14, r14
je 0x140038842
lea rcx, [0x140004520]
jmp 0x14003883f
call fcn.1400d35d0
lea rax, [0x1400d3dd0]
test r14, r14
je 0x140038842
lea rcx, [0x1400d34b0]
jmp 0x14003883f