joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400201f0
Capabilities:
Prepare http request
Receive http response

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, r9
mov rbx, r8
mov rbp, rdx
xor r15d, r15d
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rcx
lea rdx, str.POST
mov rcx, qword [0x140135898]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
test rax, rax
jne 0x140020257
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400203ba
mov rcx, rsi
call fcn.14001dcd0
mov edi, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14002026c
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140022aa0
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9, qword [rax]
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1400202af
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1400202af
xor bl, bl
jmp 0x1400202b1
mov bl, 1
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400202d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
test bl, bl
je 0x1400202e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x1400203af
call fcn.140008180
mov rcx, rax
test rax, rax
je 0x1400203df
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14001dd50
mov ebp, eax
call fcn.140008180
mov rcx, rax
test rax, rax
je 0x1400203d4
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400062d0
test al, al
jne 0x14002035a
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140022cf0
nop
mov rbx, qword [rsp + 0x40]
mov r8, rdi
inc r8
cmp word [rbx + r8*2], 0
jne 0x140020362
mov rdx, rbx
mov rcx, r14
call fcn.140003510
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140020393
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400203af
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, ebp
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009c570
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140007f00
nop
mov ecx, 0x80004005
call fcn.140007f00
int3
Function at 0x1400261d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebp, ebp
mov dword [rsp + 0x48], 0x100
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rbp
lea r9, [rsp + 0x48]
mov rdi, rdx
mov qword [rsp + 0x28], rax
mov rsi, rcx
mov qword [rsp + 0x20], rbp
mov rcx, qword [rcx]
lea r8, [rsp + 0x60]
xor edx, edx
mov ebx, ebp
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x1400262b7
test eax, eax
jne 0x1400262af
mov rcx, qword [rdi + 0x38]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x50], eax
test rcx, rcx
je 0x1400262dc
mov rax, qword [rcx]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + 0x10]
mov rcx, qword [rsi]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rbp
lea r9, [rsp + 0x48]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rax
inc ebx
mov edx, ebx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x48], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x140026238
jmp 0x1400262b7
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14009c570
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret
call fcn.14009a56c
int3

Function at 0x140026340
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x850
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 0x800
mov rbx, r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400263e7
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x1400263a8
cmp dword [rsp + 0x30], 0
jne 0x1400263a8
xor eax, eax
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400263b4
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140003510
mov al, 1
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14009c570
add rsp, 0x850
pop rbx
ret
cmp eax, 0xd
je 0x1400263a8
xor al, al
jmp 0x1400263ce
Function at 0x140027c30
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x40], rdx
xor ebp, ebp
mov ebx, ebp
mov dword [rsp + 0x50], 0x100
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
mov edx, ebx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140027cc5
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140027d03
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
call qword [rax + 0x10]
test al, al
je 0x140027cc5
inc ebx
jmp 0x140027c60
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140027cde
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], rbp
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14009c570
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret
call fcn.14009a56c
nop
int3
Function at 0x140029c80
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x28
lea rdx, str.autoruns.software
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
lea rdx, str.autoruns.system
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
lea rdx, str.autoruns.use
mov rcx, 0xffffffff80000002
add rsp, 0x28
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
Function at 0x14002af40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rdi, r8
mov r14, rdx
mov r8, qword [r8 + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14002af69
mov rdx, qword [rdi]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
add r8, r8
je 0x14002afa3
movabs r9, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x14002af90
mov r9, rbx
mov r8, rdi
lea rdx, [rsp + 0x20]
call fcn.14002bcf0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14002afca
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x14002b17e
movabs rax, 0x222222222222222
cmp qword [0x14011a6a0], rax
je 0x14002b194
lea rax, [0x14011a698]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ecx, 0x78
call fcn.14009bfa8
mov rsi, rax
mov qword [rsp + 0x38], rax
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.14002c030
nop
mov r9, qword [0x14011a6a0]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14002b02f
cvtsi2ss xmm0, rcx
jmp 0x14002b044
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [0x14011a6c8]
xorps xmm2, xmm2
test rdi, rdi
js 0x14002b05a
cvtsi2ss xmm2, rdi
jmp 0x14002b072
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
movss xmm3, dword [0x14011a690]
comiss xmm1, xmm3
seta al
test al, al
je 0x14002b117
divss xmm0, xmm3
call fcn.1400b1524
xor ecx, ecx
movss xmm1, dword [0x1400f80c8]
comiss xmm0, xmm1
jb 0x14002b0bd
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14002b0bd
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdi, rcx
jae 0x14002b0ef
cmp rdi, 0x200
jae 0x14002b0ec
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x14002b0ef
mov rdi, rcx
mov rdx, rdi
call fcn.14002b870
mov r9, rbx
lea r8, [rsi + 0x10]
lea rdx, [rsp + 0x30]
call fcn.14002bcf0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [0x14011a6a0]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc r9
mov qword [0x14011a6a0], r9
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [r8], rsi
mov qword [rdx + 8], rsi
mov rcx, qword [0x14011a6a8]
mov rax, qword [0x14011a6c0]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [0x14011a698]
jne 0x14002b15f
mov qword [rcx + rax*8], rsi
jmp 0x14002b171
cmp r9, rdx
jne 0x14002b16a
mov qword [rcx + rax*8], rsi
jmp 0x14002b176
cmp qword [rcx + rax*8 + 8], r8
jne 0x14002b176
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
lea rcx, str.unordered_map_set_too_long
call fcn.14009a58c
int3
Function at 0x14002d0a0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, rdx
mov rbp, rcx
mov qword [rsp + 0x58], rcx
mov edx, 0x14
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140135dc0], eax
jg 0x14002d236
xor r9d, r9d
lea r8, [rsp + 0x58]
xor edx, edx
lea rbx, [0x140135b18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x14002d26c
cmp dword [rsp + 0x58], 0
je 0x14002d13e
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], 4
call fcn.14002d280
nop
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x14002d272
mov rbx, qword [0x140135b20]
mov rsi, qword [0x140135b28]
cmp rbx, rsi
je 0x14002d177
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14002d15e
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, r14
call fcn.1400b36fc
test eax, eax
je 0x14002d1c5
add rbx, 0x40
cmp rbx, rsi
jne 0x14002d151
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0
xor r8d, r8d
lea rdx, [0x1400f1b38]
mov rcx, rbp
call fcn.140003860
mov rax, rbp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009c570
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rax, qword [rbx + 0x10]
lea rdx, [r14 + rax*2]
mov r8, qword [rbx + 0x30]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x14002d1e0
movabs rax, 0x7ffffffffffffffe
sub rax, r8
cmp rax, rcx
jb 0x14002d230
lea r9, [rbx + 0x20]
cmp qword [rbx + 0x38], 8
jb 0x14002d20b
mov r9, qword [rbx + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
lea r8, [rbx + 0x20]
movzx edx, byte [rsp + 0x40]
mov rcx, rbp
call fcn.140008a60
jmp 0x14002d1a0
call fcn.140003690
int3
lea rcx, [0x140135dc0]
call fcn.14009c3c4
cmp dword [0x140135dc0], 0xffffffff
jne 0x14002d0ec
lea rcx, [0x1400d3ba0]
call fcn.14009c224
lea rcx, [0x140135dc0]
call fcn.14009c364
jmp 0x14002d0ec
call fcn.1400b49dc
int3
call fcn.14009bcd0
int3
Function at 0x14002d280
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rbp + 0x180], rax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
xor r14d, r14d
mov esi, r14d
test eax, eax
je 0x14002d46a
test dil, 1
je 0x14002d461
mov eax, dword [0x1400f5830]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1400f5834]
mov word [rsp + 0x64], ax
lea eax, [rsi + 0x41]
mov word [rsp + 0x60], ax
mov r8d, 0x104
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x14002d461
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14002d330
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140003860
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002d370
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140003860
nop
mov rdx, qword [0x140135b28]
cmp rdx, qword [0x140135b30]
je 0x14002d3db
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov ebx, 7
mov word [rsp + 0x20], r14w
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x30], xmm1
mov edx, ebx
mov word [rsp + 0x40], r14w
add qword [0x140135b28], 0x40
jmp 0x14002d3ef
lea r8, [rsp + 0x20]
call fcn.1400302d0
mov rdx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14002d428
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d423
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d496
call fcn.14009bfe4
cmp rbx, 8
jb 0x14002d461
lea rdx, [rbx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d45c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d496
call fcn.14009bfe4
inc esi
shr edi, 1
jmp 0x14002d2c5
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14009c570
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400a3080
int3
Function at 0x14002d8d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
call fcn.1400088a0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
mov r15, 0xffffffffffffffff
mov r8, r15
inc r8
cmp word [rbx + r8*2], di
jne 0x14002d924
mov rdx, rbx
mov rcx, rsi
call fcn.140003860
mov dword [rsp + 0x20], 1
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x14002d94e
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rbx
call fcn.1400b36fc
test eax, eax
jne 0x14002dad1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002dad1
mov rcx, qword [r14 + 0x10]
lea r13, [rcx + rcx]
lea rbp, [rbx + r13]
mov rbx, r15
inc rbx
cmp word [rbp + rbx*2], 0
jne 0x14002d983
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, rcx
cmp rax, rbx
jb 0x14002daff
cmp qword [r14 + 0x18], 8
jb 0x14002d9b1
mov r14, qword [r14]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
lea r12, [rbx + rcx]
mov edi, 7
lea r15, [rsp + 0x30]
cmp r12, rdi
jbe 0x14002da17
mov rdi, r12
or rdi, 7
cmp rdi, rdx
jbe 0x14002d9e7
mov rdi, rdx
jmp 0x14002d9f3
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
mov rdx, rdi
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400037f0
mov r15, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rdi
mov r8, r13
mov rdx, r14
mov rcx, r15
call fcn.14009d3c0
lea rcx, [r15 + r13]
lea r8, [rbx + rbx]
mov rdx, rbp
call fcn.14009d3c0
xor eax, eax
mov word [r15 + r12*2], ax
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002da93
lea rax, [rsp + 0x30]
cmp rsi, rax
je 0x14002da93
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rsi
call fcn.140003510
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14002dad1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002dacc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002daf9
call fcn.14009bfe4
mov rax, rsi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14009c570
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a3080
int3
call fcn.140003690
int3
Function at 0x14002db50
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx eax, word [0x14011a5c8]
mov ecx, 0xffff
cmp ax, cx
jne 0x14002db8b
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x20]
mov word [0x14011a5c8], ax
mov ecx, 9
cmp cx, ax
sete al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14009c570
add rsp, 0x68
ret

Function at 0x14002dbb0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx eax, word [0x14011a5c8]
mov ecx, 0xffff
cmp ax, cx
jne 0x14002dbeb
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x20]
mov word [0x14011a5c8], ax
mov ecx, 0xc
cmp cx, ax
sete al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14009c570
add rsp, 0x68
ret

Function at 0x14002dc10
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [0x140135b0a], 0
jne 0x14002dc87
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x20], 9
je 0x14002dc67
cmp dword [rsp + 0x44], 0xc
je 0x14002dc67
xor al, al
mov byte [0x140135b0a], 1
mov byte [0x140135dc4], al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14009c570
add rsp, 0x68
ret
mov al, 1
mov byte [0x140135dc4], al
mov byte [0x140135b0a], al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14009c570
add rsp, 0x68
ret
movzx eax, byte [0x140135dc4]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14009c570
add rsp, 0x68
ret

Function at 0x14002e1f0
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x440
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov r9, qword [rcx + 0x18]
mov rbx, rcx
mov rax, qword [rcx + 0x10]
mov r8, rcx
cmp r9, 8
jb 0x14002e222
mov r8, qword [rcx]
test rax, rax
je 0x14002e2a8
xor edx, edx
mov rcx, r8
cmp word [r8], 0x25
je 0x14002e24a
cmp rax, 1
je 0x14002e24d
add rcx, 2
dec rax
cmp word [rcx], 0x25
jne 0x14002e237
mov rdx, rcx
test rdx, rdx
je 0x14002e2a8
sub rdx, r8
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x14002e2a8
mov rcx, rbx
cmp r9, 8
jb 0x14002e26a
mov rcx, qword [rbx]
mov r8d, 0x208
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14002e2a8
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002e290
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140003510
mov rax, rbx
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14009c570
add rsp, 0x440
pop rbx
ret
Function at 0x14002e620
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, rdx
mov qword [rsp + 0x48], rcx
xor ebp, ebp
mov rsi, r8
mov rbx, rcx
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x50]
mov rcx, qword [rdi]
mov r9d, 0x400
mov rdx, rsi
mov word [rsp + 0x50], bp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegLoadMUIStringW]
test eax, eax
je 0x14002e6cd
mov rcx, qword [rdi]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x44], 0x400
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002e6cd
mov eax, dword [rsp + 0x48]
dec eax
cmp eax, 1
ja 0x14002e6cd
cmp dword [rsp + 0x44], ebp
jne 0x14002e6cd
mov word [rsp + 0x50], bp
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rbp
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], bp
jne 0x14002e6f0
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003860
mov rax, rbx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14009c570
mov rbx, qword [rsp + 0x498]
add rsp, 0x460
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003b9e0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov r14, rcx
xor r15d, r15d
mov qword [rsp + 0x58], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1400f6c90]
xor edx, edx
lea r8d, [r15 + 0x17]
lea rcx, [0x1400e27e0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test eax, eax
js 0x14003baac
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
mov rbp, qword [rax + 0x18]
test rsi, rsi
jne 0x14003bae0
mov ebx, r15d
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call rbp
mov edi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
js 0x14003baac
mov r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], 0
jne 0x14003ba94
lea rcx, [r14 + 8]
mov rdx, rsi
call fcn.140003510
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14003babd
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009c570
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14003ba54
mov ecx, 0x8007000e
call fcn.140007f00
int3