joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a310
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r14, r8
mov rsi, rdx
call fcn.1400368e4
mov rcx, rax
test rax, rax
je 0x14000a4a0
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
lea rdx, [rsp + 0x80]
mov rcx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
je 0x14000a4ab
mov rcx, rdi
call fcn.1400353fc
mov rbx, rax
test rax, rax
je 0x14000a4c4
mov r9, rbx
mov r8d, edi
xor edx, edx
mov rcx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000a4dd
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x48]
lea rdx, [0x140265034]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000a4f6
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 8]
mov edx, dword [rax + 0xc]
mov r8d, ecx
shr r8d, 0x10
movzx r9d, cx
mov eax, edx
shr eax, 0x10
movzx ecx, dx
test eax, eax
jne 0x14000a40e
test ecx, ecx
jne 0x14000a40e
test r8d, r8d
jne 0x14000a3fb
test r9d, r9d
je 0x14000a427
lea rdx, str._d._d
lea rcx, [rsp + 0x40]
call fcn.14000cb90
jmp 0x14000a427
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea rdx, str._d._d._d._d
lea rcx, [rsp + 0x40]
call fcn.14000cb90
mov rcx, rbx
call fcn.1400353f4
mov rbx, qword [rsp + 0x40]
lea rcx, [rbx - 0x18]
call fcn.14000cdd0
add rax, 0x18
mov qword [rsi], rax
mov eax, 0xffffffff
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x14000a461
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rsi
jmp 0x14000a48f
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140008d10
nop
mov dword [rsp + 0x30], 1
lea rdx, [0x1402a60c8]
lea rcx, [rsp + 0x30]
call fcn.1401bcea0
mov dword [rsp + 0x34], 1
lea rdx, [0x1402a60c8]
lea rcx, [rsp + 0x34]
call fcn.1401bcea0
mov dword [rsp + 0x38], 1
lea rdx, [0x1402a60c8]
lea rcx, [rsp + 0x38]
call fcn.1401bcea0
mov dword [rsp + 0x3c], 1
lea rdx, [0x1402a60c8]
lea rcx, [rsp + 0x3c]
call fcn.1401bcea0
int3
Function at 0x14000c2a0
Capabilities:
Check internet connectivity via wininet
Read data from internet
Receive data

Disassembly:
push rdi
mov eax, 0x18700
call fcn.1401b77d0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x18710], rbx
mov qword [rsp + 0x18718], rbp
mov qword [rsp + 0x18728], rsi
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rsp + 0x186f0], rax
mov rbx, r8
cmp qword [0x140399dd8], 0
je 0x14000c435
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x14000c435
call fcn.1400368e4
mov rcx, rax
test rax, rax
je 0x14000c463
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov rdi, 0xffffffffffffffff
xor esi, esi
test rbx, rbx
je 0x14000c35c
cmp rbx, 0x10000
jae 0x14000c34e
movzx edx, bx
lea rcx, [rsp + 0x28]
call fcn.140008900
jmp 0x14000c36f
mov rax, rdi
inc rax
cmp word [rbx + rax*2], si
jne 0x14000c351
jmp 0x14000c35e
mov eax, esi
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140008d30
nop
lea r8, [rsp + 0x28]
lea rdx, [0x1403a6c20]
lea rcx, [rsp + 0x30]
call fcn.14000c470
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000c3a4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x30]
lea rcx, vtable.CAutoUpdater.0
call fcn.14000a200
mov rbp, rax
test rax, rax
jne 0x14000c3c2
lea esi, [rax + 2]
jmp 0x14000c414
xor edx, edx
mov r8d, 0x186a0
lea rcx, [rsp + 0x50]
call fcn.1401bcd10
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x20]
mov r8d, 0x186a0
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000c400
cmp dword [rsp + 0x20], 0
jbe 0x14000c400
mov bl, 1
jmp 0x14000c402
xor bl, bl
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
jne 0x14000c414
mov esi, 3
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14000c431
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, esi
jmp 0x14000c43a
mov eax, 1
mov rcx, qword [rsp + 0x186f0]
xor rcx, rsp
call fcn.1401b6d50
lea r11, [rsp + 0x18700]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.140008d10
int3
Function at 0x140014f40
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x9280]
mov eax, 0x9380
call fcn.1401b77d0
sub rsp, rax
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rbp + 0x9270], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x8000
call fcn.1401bcd10
xor esi, esi
mov eax, esi
mov dword [rsp + 0x40], eax
lea ebx, [rsi + 0x14]
test rdi, rdi
je 0x1400151bb
nop
test ebx, ebx
jle 0x140014fdc
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 3
mov r8d, 0x8000
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.PSAPI.DLL_EnumProcessModulesEx]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0x40]
dec ebx
test eax, eax
je 0x140014fa0
jmp 0x140014ffd
test eax, eax
jne 0x140014ffd
lea r9, [rsp + 0x40]
mov r8d, 0x8000
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov eax, dword [rsp + 0x40]
mov ebx, esi
test eax, 0xfffffff8
jbe 0x1400151bb
nop word [rax + rax]
mov edx, ebx
lea r8, [rbp + 0x8060]
mov r9d, 0x104
mov rcx, rdi
mov rdx, qword [rsp + rdx*8 + 0x50]
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x1400151aa
lea rcx, [rbp + 0x8060]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x140015043
test rax, rax
je 0x1400151aa
lea rdx, [0x140266cb8]
lea rcx, [rbp + 0x8060]
call fcn.1401bc220
test rax, rax
jne 0x140015089
lea rdx, [0x140266cc0]
lea rcx, [rbp + 0x8060]
call fcn.1401bc220
test rax, rax
je 0x1400151aa
xor edx, edx
lea rcx, [rbp + 0x8670]
mov r8d, 0x400
call fcn.1401bcd10
xor edx, edx
lea rcx, [rbp + 0x8a70]
mov r8d, 0x800
call fcn.1401bcd10
xor edx, edx
lea rcx, [rbp + 0x7f50]
mov r8d, 0x104
call fcn.1401bcd10
xor edx, edx
lea rcx, [rbp + 0x8270]
mov r8d, 0x400
call fcn.1401bcd10
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0x7f50]
mov qword [rsp + 0x30], rsi
lea r8, [rbp + 0x8060]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [0x140266cc8]
lea rcx, [rbp + 0x7f50]
call fcn.1401bbf94
test rax, rax
jne 0x1400151aa
lea rdx, [rbp + 0x8670]
lea rcx, [rbp + 0x7f50]
call fcn.140021c20
lea r9, [rbp + 0x7f50]
lea r8, [rbp + 0x8670]
lea rdx, str.in_GAME_SHAS2:__s_process:__s_r_n
lea rcx, [rbp + 0x8270]
call fcn.140014d80
lea rax, [rbp + 0x8270]
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [rax + r9], sil
jne 0x140015170
lea rax, [rbp + 0x8a70]
mov dword [rsp + 0x28], 0x400
lea r8, [rbp + 0x8270]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rbp + 0x8a70]
call fcn.1400245e0
mov eax, dword [rsp + 0x40]
inc ebx
shr eax, 3
cmp ebx, eax
jb 0x140015010
mov eax, 1
mov rcx, qword [rbp + 0x9270]
xor rcx, rsp
call fcn.1401b6d50
lea r11, [rsp + 0x9380]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140016680
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x390
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x38], 0
xor edx, edx
mov r8d, 0xfa
lea rcx, [rsp + 0x180]
call fcn.1401bcd10
xor edx, edx
mov r8d, 0xfa
lea rcx, [rsp + 0x280]
call fcn.1401bcd10
mov r12d, 2
mov dword [rsp + 0x3c], r12d
lea rdx, [rsp + 0x38]
mov rcx, r15
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
mov dword [rsp + 0x24], eax
jmp 0x140016724
xor edi, edi
test esi, esi
je 0x1400168d2
movsxd rcx, esi
call fcn.1400353fc
mov r14, rax
xor edx, edx
test rax, rax
setne dl
test edx, edx
je 0x1400168d2
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, r15
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x1400168ca
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, str.VarFileInfoTranslation
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
mov esi, eax
test eax, eax
jne 0x1400167ee
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
lea rdx, [0x140266e5c]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
mov esi, eax
test eax, eax
je 0x1400167ee
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x4e40409
mov r15d, 0x4e4
lea r8, [0x140266e60]
mov edx, 0xfa
lea rcx, [rsp + 0x180]
call fcn.1401c954c
lea r8, [0x140266e70]
mov edx, 0xfa
lea rcx, [rsp + 0x280]
call fcn.1401c954c
jmp 0x1400167f4
mov r15d, 0x4e4
test esi, esi
je 0x1400168ca
dec r12d
mov rax, qword [rsp + 0x30]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
lea rdx, str.StringFileInfo_04x_04xCompanyName
lea rcx, [rsp + 0x80]
call fcn.1400173d0
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x80]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x140016881
mov rax, qword [rsp + 0x30]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
lea rdx, str.StringFileInfo_04x_04xLegalCopyright
lea rcx, [rsp + 0x80]
call fcn.1400173d0
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x80]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x1400168a9
test rbx, rbx
je 0x1400168b3
mov r9d, 0x32
cmp dword [rsp + 0x20], r9d
cmovb r9d, dword [rsp + 0x20]
mov r8, qword [rsp + 0x48]
mov edx, 0xfa
mov rcx, rbx
call fcn.1401c9614
test rbx, rbx
je 0x1400168b3
cmp byte [rbx], dil
jne 0x1400168c5
mov rax, qword [rsp + 0x30]
mov word [rax + 2], r15w
test r12d, r12d
jmp 0x1400167f6
mov edi, 1
mov rcx, r14
call fcn.1401beeb8
mov eax, edi
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.1401b6d50
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x390
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140018cc0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x24d0
call fcn.1401b77d0
sub rsp, rax
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rsp + 0x24c0], rax
mov r14, qword [rsp + 0x2518]
mov rbx, r8
mov rsi, rcx
mov r8d, 0x208
lea rcx, [rsp + 0x1e90]
xor edx, edx
call fcn.1401bcd10
xor edx, edx
lea rcx, [rsp + 0x22b0]
mov r8d, 0x208
call fcn.1401bcd10
xor edx, edx
lea rcx, [rsp + 0x1d80]
mov r8d, 0x104
mov ebp, 1
call fcn.1401bcd10
xor edx, edx
lea rcx, [rsp + 0x1c70]
mov r8d, 0x104
call fcn.1401bcd10
xor edx, edx
lea rcx, [rsp + 0x20a0]
mov r8d, 0x208
call fcn.1401bcd10
lea r9, [0x1403b0f00]
mov edx, 0x104
lea r8, str._s.JPG
lea rcx, [rsp + 0x1e90]
call fcn.140008670
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x1d80]
mov qword [rsp + 0x30], 0
mov rdi, 0xffffffffffffffff
mov dword [rsp + 0x28], 0x104
mov r9d, edi
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [rsp + 0x1c70]
lea rcx, [rsp + 0x1d80]
call fcn.140021c20
lea rax, [rsp + 0x1c70]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140018de4
test rdi, rdi
je 0x140018e1e
lea rax, [rsp + 0x20a0]
mov dword [rsp + 0x28], 0x400
mov r9d, edi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x1c70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x140018e3c
lea r8, str.SHA_Failed_r_n
mov edx, 0x104
mov rcx, rbx
call fcn.140008670
mov rcx, rbx
call fcn.1400245e0
xor ebp, ebp
mov r8, rsi
lea rdx, [rsp + 0x1e90]
call fcn.140034270
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x1c24
lea rdi, [rsp + 0x40]
lea rsi, [0x1403a7420]
rep movsb byte [rdi], byte [rsi]
lea rcx, str._P_
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x22b0]
call fcn.14000b480
mov edi, dword [rsp + 0x2510]
lea rax, [rsp + 0x20a0]
mov qword [rsp + 0x38], rax
lea r8, str._s_:_Each__d_at__s_file:__s__Zip_CRC:__s___r_n
lea rax, [rsp + 0x1e90]
mov r9, r14
mov qword [rsp + 0x30], rax
mov edx, 0x104
lea rax, [rsp + 0x22b0]
mov rcx, rbx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
call fcn.140008670
mov rcx, rbx
call fcn.1400245e0
mov eax, ebp
mov rcx, qword [rsp + 0x24c0]
xor rcx, rsp
call fcn.1401b6d50
lea r11, [rsp + 0x24d0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14001abd0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x868]
sub rsp, 0x968
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rbp + 0x850], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xor r15d, r15d
xor edx, edx
mov dword [rsp + 0x40], r15d
mov r8d, 0x208
lea rcx, [rbp + 0x640]
mov r14, r9
call fcn.1401bcd10
xor edx, edx
lea rcx, [rbp + 0x210]
mov r8d, 0x104
call fcn.1401bcd10
xor edx, edx
lea rcx, [rbp + 0x430]
mov r8d, 0x208
call fcn.1401bcd10
mov r8, rbx
lea rcx, [rbp + 0x640]
mov edx, 0x104
call fcn.1401c95ac
lea rax, [rbp - 0x40]
mov rdx, rdi
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.14002efa0
test eax, eax
jne 0x14001ac89
test rsi, rsi
jne 0x14001acaa
mov dword [0x1403b4050], 0x10000
xor eax, eax
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.1401b6d50
add rsp, 0x968
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rsi], 1
je 0x14001acbb
mov dword [0x1403b4050], 0x80000
jmp 0x14001ac89
mov edx, dword [rsp + 0x40]
lea r8, [rbp - 0x3c]
mov rcx, qword [rsi + 8]
xor r9d, r9d
mov dword [rsp + 0x20], 2
call fcn.14002e970
mov dword [0x1403b4050], eax
test eax, eax
jne 0x14001ac89
mov rax, qword [rbp + 0x1e0]
lea rcx, [rbp + 0x320]
xor edx, edx
mov qword [r14], rax
mov r8d, 0x104
call fcn.1401bcd10
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0x320]
mov qword [rsp + 0x30], r15
lea r8, [rbp - 0x3c]
mov rbx, 0xffffffffffffffff
mov dword [rsp + 0x28], 0x104
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8, [0x14026abe8]
mov qword [rsp + 0x40], r15
lea rdx, [rbp + 0x320]
lea rcx, [rsp + 0x40]
call fcn.1401bf1a8
cmp qword [rsp + 0x40], r15
je 0x14001ae3f
lea rcx, [rsp + 0x50]
call fcn.140034920
mov ecx, 0x8000
call fcn.1400353fc
mov r14, rax
test rax, rax
je 0x14001ae3f
mov r9, qword [rsp + 0x40]
lea edx, [rbx + 2]
mov r8d, 0x8000
mov rcx, rax
call fcn.1401ca6b0
test rax, rax
je 0x14001adcd
nop dword [rax + rax]
mov r8, rax
lea rcx, [rsp + 0x50]
mov rdx, r14
call fcn.140034980
mov r9, qword [rsp + 0x40]
mov edx, 1
mov r8d, 0x8000
mov rcx, r14
call fcn.1401ca6b0
test rax, rax
jne 0x14001ada0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1f0]
call fcn.140034600
lea rdi, [rbp + 0x1f0]
mov r15d, 0x20
lea rsi, [rbp + 0x210]
nop dword [rax]
nop word [rax + rax]
movzx r9d, byte [rdi]
lea r8, str._02x
mov edx, 4
mov rcx, rsi
call fcn.14000ca40
add rsi, 2
lea rdi, [rdi + 1]
sub r15, 1
jne 0x14001ae00
mov rcx, qword [rsp + 0x40]
mov byte [rbp + 0x250], r15b
call fcn.1401bf38c
mov rcx, r14
call fcn.1400353f4
lea rax, [rbp + 0x210]
mov r9, rbx
nop dword [rax]
inc r9
cmp byte [rax + r9], 0
jne 0x14001ae50
lea rax, [rbp + 0x430]
mov dword [rsp + 0x28], 0x104
lea r8, [rbp + 0x210]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rbp + 0x430]
nop word [rax + rax]
cmp word [rcx + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x14001ae90
lea r8, [rbx - 1]
lea rdx, [rbp + 0x430]
lea rcx, [rbp + 0x640]
call fcn.1401ca1c4
test eax, eax
jne 0x14001ac89
mov eax, 1
jmp 0x14001ac8b
Function at 0x14001e350
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
mov rax, qword [0x1403b6b08]
test rax, rax
jne 0x14001e51f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rax, [0x1403b6b00]
mov qword [rsp + 0x20], rax
lea r9, [0x1401fdcf0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401fdd00]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14001e492
mov ecx, 0x18
call fcn.1400353ac
mov rbx, rax
mov qword [rsp + 0x70], rax
xor edi, edi
test rax, rax
je 0x14001e3f3
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14001e53d
jmp 0x14001e3f6
mov rbx, rdi
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x14001e532
mov rcx, qword [0x1403b6b00]
mov rax, qword [rcx]
lea rdx, [0x1403b6b08]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14001e47a
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001e45b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001e46d
call fcn.1400353f4
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.14003543c
test esi, esi
jns 0x14001e4a7
mov rcx, qword [0x1403b6b00]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1403b6b00], rdi
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [0x1403b6b08]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14001e518
mov rcx, qword [0x1403b6b08]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1403b6b00]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1403b6b08], rdi
mov qword [0x1403b6b00], rdi
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov rax, qword [0x1403b6b08]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x8007000e
call fcn.1401bb460
nop
mov ecx, 0x8007000e
call fcn.1401bb460
int3
Function at 0x14001e550
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
mov rax, qword [0x1403b6b18]
test rax, rax
jne 0x14001e71f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rax, [0x1403b6b10]
mov qword [rsp + 0x20], rax
lea r9, [0x1401fdcf0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401fdd00]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14001e692
mov ecx, 0x18
call fcn.1400353ac
mov rbx, rax
mov qword [rsp + 0x70], rax
xor edi, edi
test rax, rax
je 0x14001e5f3
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.RootSecurityCenter2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14001e73d
jmp 0x14001e5f6
mov rbx, rdi
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x14001e732
mov rcx, qword [0x1403b6b10]
mov rax, qword [rcx]
lea rdx, [0x1403b6b18]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14001e67a
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001e65b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001e66d
call fcn.1400353f4
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.14003543c
test esi, esi
jns 0x14001e6a7
mov rcx, qword [0x1403b6b10]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1403b6b10], rdi
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [0x1403b6b18]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14001e718
mov rcx, qword [0x1403b6b18]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1403b6b10]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1403b6b18], rdi
mov qword [0x1403b6b10], rdi
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov rax, qword [0x1403b6b18]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov ecx, 0x8007000e
call fcn.1401bb460
nop
mov ecx, 0x8007000e
call fcn.1401bb460
int3
Function at 0x140020f20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x630]
sub rsp, 0x730
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rbp + 0x620], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, reloc.OLEAUT32.dll_SetErrorInfo
lea rcx, [rbp + 0x150]
call fcn.1401bcd10
xor edx, edx
lea rcx, [rbp + 0x50]
mov r8d, 0xfa
call fcn.1401bcd10
xor edx, edx
lea rcx, [rbp + 0x220]
mov r8d, 0x1f4
call fcn.1401bcd10
mov r8, rbx
lea rdx, str.SYSTEMCurrentControlSetEnum_s
lea rcx, [rbp + 0x50]
call fcn.1400173d0
lea rax, [rsp + 0x40]
mov r9d, 0x19
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14002116b
xor edx, edx
lea rcx, [rbp + 0x420]
mov r8d, 0x200
call fcn.1401bcd10
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x80
call fcn.1401bcd10
xor edx, edx
lea rcx, [rbp - 0x30]
mov r8d, 0x80
call fcn.1401bcd10
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rbp + 0x150]
mov dword [rsp + 0x38], 0x200
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14026aa3c]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x34], reloc.OLEAUT32.dll_SetErrorInfo
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r9, str.Device_Parameters
mov r8, rbx
lea rdx, str.SYSTEMCurrentControlSetEnum_s_s
lea rcx, [rbp + 0x220]
call fcn.140028a50
lea rax, [rsp + 0x48]
mov r9d, 0x19
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x220]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400210d1
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rbp + 0x420]
xor r8d, r8d
lea rdx, str.EDID
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400210e6
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x420]
call fcn.140024ae0
cmp byte [rsp + 0x50], 0
je 0x1400210f7
lea r8, [rsp + 0x50]
mov rcx, rdi
jmp 0x14002113f
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x3c], 0x80
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SerialNum
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140021149
cmp byte [rsp + 0x50], al
je 0x140021149
mov r8, rdi
lea rcx, [rsp + 0x50]
mov edx, 0x7f
call fcn.1401c954c
cmp byte [rbp - 0x30], 0
je 0x140021160
lea r8, [rbp - 0x30]
mov edx, 0x7f
mov rcx, rsi
call fcn.1401c954c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x620]
xor rcx, rsp
call fcn.1401b6d50
mov rbx, qword [rsp + 0x768]
add rsp, 0x730
pop rdi
pop rsi
pop rbp
ret