joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400911c0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rcx
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [0x1401da0b0]
mov qword [rcx], rax
lea rcx, [rcx + 8]
call fcn.140012f60
lea rcx, [rsi + 0x10]
call fcn.140012f60
mov byte [rsi + 0x18], 0
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], 0
call fcn.140012f60
mov byte [rsi + 0x48], 0
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], 0
lea rax, [rsi + 0x70]
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 dword [rsi + 0xd0], 0x3f800000
mov dword [rsi + 0xd8], 0
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], 0x3f800000
movups xmmword [rsi + 0x118], xmm6
movups xmmword [rsi + 0x108], xmm6
mov dword [rsi + 0x128], 0x3f800000
movups xmmword [rsi + 0x130], xmm6
movups xmmword [rsi + 0x140], xmm6
mov qword [rsi + 0x150], 0
mov dword [rsi + 0x158], 0x3f800000
movups xmmword [rsi + 0x160], xmm6
movups xmmword [rsi + 0x170], xmm6
mov dword [rsi + 0x180], 0x3f800000
mov qword [rsi + 0x1a0], 0
movups xmmword [rsi + 0x188], xmm6
mov dword [rsi + 0x198], 0
mov eax, dword [reloc.WS2_32.dll_accept]
mov qword [rsi + 0x1a8], rax
lea rcx, [rsi + 0x1b0]
call fcn.1400ea1c0
movups xmmword [rsi + 0x2b8], xmm6
mov qword [rsi + 0x2c8], 0
lea rcx, [rsi + 0x2d0]
xor edx, edx
call fcn.14008d5d0
lea rcx, [rsi + 0x2d8]
xor edx, edx
call fcn.14008d5d0
lea rcx, [rsi + 0x2e0]
xor edx, edx
call fcn.14008d5d0
movups xmmword [rsi + 0x2e8], xmm6
movups xmmword [rsi + 0x2f8], xmm6
mov dword [rsi + 0x308], 0x3f800000
mov qword [rsi + 0x368], 0
movups xmmword [rsi + 0x310], xmm6
movups xmmword [rsi + 0x320], xmm6
movups xmmword [rsi + 0x330], xmm6
movups xmmword [rsi + 0x339], xmm6
call sym.nacl64.exe__ovly_debug_event
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x198], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x190], rax
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.140083920
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140083b00
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x130], rax
mov rcx, rdi
call fcn.140077e30
mov rcx, rsi
call fcn.140091450
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
je 0x140091407
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
call fcn.14008ef20
mov qword [rsp + 0x28], 0
lea r8, str.TraceLog
lea r9, [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call fcn.14008f090
mov qword [0x140349580], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140190ca0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x1400a02f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x34], 0
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x1400a036b
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1400a036b
cmp dword [rsp + 0x38], 4
jne 0x1400a036b
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140190ca0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x1400a0390
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rsi
push rdi
mov eax, 0x1048
call fcn.140190c30
sub rsp, rax
mov rsi, r8
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x800
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x840]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x1400a044a
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x1400a040f
mov edi, 0x3f4
cmp eax, 1
jne 0x1400a044a
lea rdx, [rsp + 0x840]
jmp 0x1400a0440
lea rcx, [rsp + 0x840]
lea rdx, [rsp + 0x40]
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xffffffff
mov edi, 0xea
cmp eax, 0x3ff
ja 0x1400a044a
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14006bd90
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140190ca0
mov eax, edi
add rsp, 0x1048
pop rdi
pop rsi
ret
Function at 0x1400a0960
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x188
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov eax, dword [0x1403495b8]
mov ecx, dword [0x14034d688]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x1400a09c0
lea rsi, [0x1403495b0]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140190ca0
mov rax, rsi
add rsp, 0x188
pop rdi
pop rsi
ret
lea rcx, [0x1403495b8]
call fcn.140190a20
cmp dword [0x1403495b8], 0xffffffff
jne 0x1400a099c
lea rcx, [rsp + 0x64]
xor esi, esi
mov r8d, 0x118
xor edx, edx
call fcn.140193a00
mov dword [rsp + 0x60], 0x11c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x64]
cmp eax, 0xa
je 0x1400a0a12
cmp eax, 6
jne 0x1400a0a4d
lea rcx, [0x1401da670]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetProductInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [rsp + 0x64]
mov edx, dword [rsp + 0x68]
lea rdi, [rsp + 0x2c]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call rax
mov esi, dword [rsp + 0x2c]
mov ecx, 0x80
call fcn.140190820
mov rdi, rax
mov eax, dword [0x1403495f0]
mov ecx, dword [0x14034d688]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x1400a0aaa
lea r8, [0x1403495c0]
lea rdx, [rsp + 0x60]
mov rcx, rdi
mov r9d, esi
call fcn.1400a0c60
mov qword [0x1403495b0], rdi
lea rcx, [0x1403495b8]
call fcn.140190ac0
jmp 0x1400a099c
lea rcx, [0x1403495f0]
call fcn.140190a20
cmp dword [0x1403495f0], 0xffffffff
jne 0x1400a0a7b
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movups xmmword [0x1403495e0], xmm2
movups xmmword [0x1403495d0], xmm1
movups xmmword [0x1403495c0], xmm0
lea rcx, [0x1403495f0]
call fcn.140190ac0
jmp 0x1400a0a7b
Function at 0x1400a0b40
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x1403495f0]
mov ecx, dword [0x14034d688]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x1400a0bc3
movzx eax, word [0x1403495c0]
cmp rax, 0xc
ja case.0x1400a0b92.1
xor esi, esi
lea rcx, [0x1400a0c2c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov esi, 2
jmp case.0x1400a0b92.0
mov esi, 4
jmp case.0x1400a0b92.0
mov esi, 1
jmp case.0x1400a0b92.0
mov esi, 3
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140190ca0
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x1403495f0]
call fcn.140190a20
cmp dword [0x1403495f0], 0xffffffff
jne 0x1400a0b75
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmm2, xmmword [rsp + 0x40]
movups xmmword [0x1403495e0], xmm2
movups xmmword [0x1403495d0], xmm1
movups xmmword [0x1403495c0], xmm0
lea rcx, [0x1403495f0]
call fcn.140190ac0
jmp 0x1400a0b75

Function at 0x1400a1bc0
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov r14, r9
mov r15, r8
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor eax, eax
cmp dword [rcx + 8], 0
setne al
mov ebp, edx
sar ebp, 0x1f
lea r12d, [rax + rax]
add r12d, 4
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r8
mov edx, r12d
mov r8d, ebp
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
mov qword [r14], rax
test rax, rax
jne 0x1400a1c54
call fcn.1400f30e0
mov rcx, qword [rsi]
mov qword [rsp + 0x20], r15
mov edx, r12d
mov r8d, ebp
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
mov qword [r14], rax
test rax, rax
jne 0x1400a1c54
call fcn.1400f30e0
mov rbx, qword [r14]
test rbx, rbx
je 0x1400a1caa
mov rsi, qword [rsp + 0xc0]
lea rdx, [rsp + 0x28]
mov r8d, gethostbyname
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400a1c84
mov rax, qword [rsp + 0x40]
sub rax, rbx
add rax, qword [rsp + 0x30]
jmp 0x1400a1c86
xor eax, eax
mov qword [rsi], rax
mov sil, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140190ca0
mov eax, esi
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400a1c8c
Function at 0x1400a2570
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbx, r8
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdi, [rcx + 0x20]
mov rcx, rdi
call fcn.1400a2440
xor ebp, ebp
cmp rbx, 0x7fffffff
ja 0x1400a25b8
test al, al
je 0x1400a25b8
cmp qword [rsi + 0x50], 0
je 0x1400a25d4
xor ebp, ebp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140190ca0
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp byte [rsi], 0
je 0x1400a265d
mov rcx, rdi
call fcn.140020eb0
mov r14, rax
mov rbp, qword [0x140349620]
test rbp, rbp
jne 0x1400a261b
lea rcx, [0x1401da8e6]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQuerySection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
mov qword [0x140349620], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
mov rcx, r14
xor edx, edx
mov r9d, 0x18
call rbp
test eax, eax
jne 0x1400a25b6
test dword [rsp + 0x38], 0x1000000
jne 0x1400a25b6
mov r14d, r15d
sar r14d, 0x1f
xor eax, eax
cmp byte [rsi + 0x58], 0
sete al
lea ebp, [rax + rax]
add ebp, 4
mov rcx, rdi
call fcn.140020eb0
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov edx, ebp
mov r8d, r14d
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
mov qword [rsi + 0x50], rax
test rax, rax
jne 0x1400a26ed
call fcn.1400f30e0
xor eax, eax
cmp byte [rsi + 0x58], 0
sete al
lea ebp, [rax + rax]
add ebp, 4
mov rcx, rdi
call fcn.140020eb0
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov edx, ebp
mov r8d, r14d
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
mov qword [rsi + 0x50], rax
test rax, rax
jne 0x1400a26ed
call fcn.1400f30e0
mov rbp, qword [rsi + 0x50]
test rbp, rbp
je 0x1400a25b6
lea rdx, [rsp + 0x30]
mov r8d, gethostbyname
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400a2715
mov rax, qword [rsp + 0x48]
sub rax, rbp
add rax, qword [rsp + 0x38]
jmp 0x1400a2717
xor eax, eax
mov qword [rsi + 0x48], rax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14004ced0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x68], xmm0
call fcn.1400d0360
mov rcx, rax
mov rdx, rsi
call fcn.1400d06e0
mov bpl, 1
jmp 0x1400a25b8
Function at 0x1400a2750
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x160
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x158], rax
test rdx, rdx
je 0x1400a27de
mov rsi, rdx
mov rdi, rcx
mov r13d, 0xffffffff
lea r14, str..._.._base_rand_util_win.cc
lea r15, str.success
lea r12, [rsp + 0x28]
nop dword [rax + rax]
cmp rsi, r13
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x1400a27d6
mov rcx, r12
mov rdx, r14
mov r8d, 0x20
mov r9, r15
call fcn.1400764f0
mov rcx, r12
call fcn.140076600
add rdi, rbx
sub rsi, rbx
jne 0x1400a27a0
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140190ca0
nop
add rsp, 0x160
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400a2830
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x28
call fcn.14006ef60
lea rdx, str.enable_low_end_device_mode
mov rcx, rax
call fcn.14006f250
test al, al
je 0x14008b3f2
lea rcx, [0x1401d8698]
call fcn.14007bfc0
shl eax, 0x14
cdqe
add rsp, 0x28
ret
add rsp, 0x28
jmp 0x1400a2830
push rsi
sub rsp, 0x70
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x28], 0x40
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1400a2873
mov rax, qword [rsp + 0x30]
movabs rsi, 0x7fffffffffffffff
cmp rax, rsi
cmovb rsi, rax
jmp 0x1400a2875
xor esi, esi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140190ca0
mov rax, rsi
add rsp, 0x70
pop rsi
ret
Function at 0x1400a30e0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x140349648]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x1400a324f
jp 0x1400a324f
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ebp, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x140349658]
mov ecx, dword [0x14034d688]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x1400a326e
mov eax, dword [0x140349668]
mov ecx, dword [0x14034d688]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x1400a32a8
rdtsc
mov rdi, rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rsi, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rsi, qword [0x140349660]
movq xmm1, rsi
punpckldq xmm1, xmmword [0x1401ca780]
subpd xmm1, xmmword [0x1401ca790]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x20]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1401da958]
ucomisd xmm1, xmm0
ja 0x1400a324f
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x140349650]
movq xmm1, rdi
punpckldq xmm1, xmmword [0x1401ca780]
subpd xmm1, xmmword [0x1401ca790]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addsd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x140349648], xmm6
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140190ca0
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140349658]
call fcn.140190a20
cmp dword [0x140349658], 0xffffffff
jne 0x1400a3161
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140349650], rdx
lea rcx, [0x140349658]
call fcn.140190ac0
jmp 0x1400a3161
lea rcx, [0x140349668]
call fcn.140190a20
cmp dword [0x140349668], 0xffffffff
jne 0x1400a3186
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
mov qword [0x140349660], rax
lea rcx, [0x140349668]
call fcn.140190ac0
jmp 0x1400a3186
Function at 0x1400a39e0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r15, rdx
mov r14, rcx
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400a3a42
mov ebx, eax
mov r12d, eax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
cmp eax, 0xb
jae 0x1400a3a56
lea rsi, [rsp + 0x20]
mov byte [rsi + 0x17], bl
mov r13, rsi
mov rbp, rsi
jmp 0x1400a3a83
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
jmp 0x1400a3b20
lea rdi, [r12 + 8]
and rdi, 0xfffffffffffffff8
lea rcx, [rdi + rdi]
call fcn.140190820
mov rbp, rax
lea rsi, [rsp + 0x20]
mov qword [rsi], rax
bts rdi, 0x3f
mov qword [rsi + 0x10], rdi
mov qword [rsi + 8], r12
mov r13, rsi
lea r8, [r12 + r12]
mov rcx, rbp
xor edx, edx
call fcn.140193a00
mov word [rbp + r12*2], 0
cmp byte [r13 + 0x17], 0
jns 0x1400a3aa5
mov rsi, qword [rsp + 0x20]
mov rcx, r15
mov rdx, rsi
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400a3aff
mov edx, eax
movzx eax, byte [r13 + 0x17]
mov rcx, rax
test al, al
jns 0x1400a3acb
mov rcx, qword [rsp + 0x28]
cmp rcx, rdx
jbe 0x1400a3b03
lea rsi, [rsp + 0x20]
mov rcx, rsi
xor r8d, r8d
call fcn.14006b6c0
mov rax, qword [rsi + 0x10]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [rsi]
movups xmmword [r14], xmm0
xorps xmm0, xmm0
movaps xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x1400a3b20
mov al, byte [r13 + 0x17]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
test al, al
jns 0x1400a3b20
mov rcx, qword [rsp + 0x20]
call fcn.140190860
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140190ca0
mov rax, r14
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400a3b50
Capabilities:
Set environment variable

Disassembly:
sub rsp, 0x28
xor eax, eax
cmp byte [rdx + 0x17], al
jns 0x1400a3b5e
mov rdx, qword [rdx]
cmp byte [rcx + 0x17], al
jns 0x1400a3b66
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400a3b80
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x17], 0
jns 0x1400a3b8d
mov rcx, qword [rcx]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400a3bb0
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rsi, r9
mov r15, r8
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdx, str.Chrome
mov rcx, r14
call fcn.14006bd90
lea rdx, str.0.0.0.0_devel
mov rcx, r15
call fcn.14006bd90
cmp byte [rsi + 0x17], 0
js 0x1400a3c08
mov word [rsi], 0
mov byte [rsi + 0x17], 0
jmp 0x1400a3c18
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
mov dword [rsp + 0x64], 0
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x1400a3c2c
mov rcx, qword [rdi]
mov r12, qword [rsp + 0xd0]
lea rdx, [rsp + 0x64]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1400a3db3
mov ebp, eax
mov ecx, eax
call fcn.1401908a0
mov rbx, rax
mov edx, dword [rsp + 0x64]
cmp byte [rdi + 0x17], 0
jns 0x1400a3c5f
mov rdi, qword [rdi]
mov rcx, rdi
mov r8d, ebp
mov r9, rbx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400a3dab
lea rdx, [0x1401daaee]
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140004f50
mov rcx, rbx
mov rdx, rdi
mov r8, r15
call fcn.1400a3e40
cmp byte [rdi + 0x17], 0
jns 0x1400a3ca7
mov rcx, qword [rsp + 0x40]
call fcn.140190860
xorps xmm0, xmm0
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
lea rdx, [0x1401dab0c]
lea rbp, [rsp + 0x28]
mov rcx, rbp
call fcn.140004f50
mov rcx, rbx
mov rdx, rbp
mov r8, rdi
call fcn.1400a3e40
cmp byte [rbp + 0x17], 0
jns 0x1400a3cec
mov rcx, qword [rsp + 0x28]
call fcn.140190860
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x1400a3cfa
mov rax, qword [rsp + 0x48]
cmp rax, 1
jne 0x1400a3d27
mov qword [rsp + 0x20], 1
lea r9, [0x1401c830e]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8, 0xffffffffffffffff
call fcn.14006c390
test eax, eax
je 0x1400a3d36
lea rdx, str._devel
mov rcx, r15
call fcn.14006bbb0
lea rdx, [0x1401dab38]
lea rdi, [rsp + 0x28]
mov rcx, rdi
call fcn.140004f50
mov rcx, rbx
mov rdx, rdi
mov r8, r14
call fcn.1400a3e40
cmp byte [rdi + 0x17], 0
jns 0x1400a3d68
mov rcx, qword [rsp + 0x28]
call fcn.140190860
lea rdx, str.SpecialBuild
lea rdi, [rsp + 0x28]
mov rcx, rdi
call fcn.140004f50
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call fcn.1400a3e40
cmp byte [rdi + 0x17], 0
jns 0x1400a3d9a
mov rcx, qword [rsp + 0x28]
call fcn.140190860
cmp byte [rsp + 0x57], 0
jns 0x1400a3dab
mov rcx, qword [rsp + 0x40]
call fcn.140190860
mov rcx, rbx
call fcn.1401908b0
lea rcx, [rsp + 0x40]
call fcn.1400a4000
cmp byte [r12 + 0x17], 0
js 0x1400a3dd4
mov word [r12], 0
mov byte [r12 + 0x17], 0
jmp 0x1400a3e00
mov rax, qword [r12]
mov word [rax], 0
mov qword [r12 + 8], 0
cmp byte [r12 + 0x17], 0
jns 0x1400a3e00
mov rcx, qword [r12]
call fcn.140190860
mov qword [r12 + 0x10], 0
mov rax, qword [rsp + 0x50]
mov qword [r12 + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r12], xmm0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140190ca0
nop
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400a3e40
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 rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x270], rax
cmp byte [r8 + 0x17], 0
js 0x1400a3e80
mov word [rsi], 0
mov byte [rsi + 0x17], 0
jmp 0x1400a3e90
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
test rbx, rbx
je 0x1400a3fdb
lea r8, [rsp + 0x50]
mov qword [r8], 0
lea r9, [rsp + 0x260]
mov dword [r9], 0
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400a3fdb
mov qword [rsp + 0x38], rsi
lea rsi, [rsp + 0x50]
mov rax, qword [rsi]
movzx r14d, word [rax]
movzx ebp, word [rax + 2]
mov word [rsp + 0x260], r14w
mov word [rsp + 0x262], bp
mov r15, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r15
mov word [rsp + 0x264], ax
mov word [rsp + 0x266], bp
mov word [rsp + 0x268], r14w
mov bp, 0x4e4
mov word [rsp + 0x26a], bp
call r15
mov word [rsp + 0x26c], ax
mov word [rsp + 0x26e], bp
mov ebp, 2
lea r15, str.StringFileInfo_04hx_04hx_ls
lea r12, [rsp + 0x48]
lea r13, [rsp + 0x44]
jmp 0x1400a3f62
cmp rbp, 7
ja 0x1400a3fdb
movzx r14d, word [rsp + rbp*2 + 0x260]
add rbp, 2
movzx eax, word [rsp + rbp*2 + 0x25e]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x1400a3f76
mov rcx, qword [rdi]
movzx edx, r14w
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
mov r9, r15
call fcn.1400a49c0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x44], 0
mov rcx, rbx
mov rdx, rsi
mov r8, r12
mov r9, r13
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400a3f4b
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400a3f4b
mov rcx, qword [rsp + 0x38]
call fcn.14006bd90
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140190ca0
nop
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret