joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011760
Capabilities:
Encode data using base64 via winapi

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1401b4a98]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov qword [rbp - 0x30], rcx
xor r14d, r14d
mov dword [rbp - 0x30], r14d
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40000001
mov edx, edi
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
xor r8d, r8d
mov edx, dword [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.140011bf0
nop
lea r9, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r9, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r8d, 0x40000001
mov edx, edi
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
jne 0x140011860
mov dword [rbp - 0x40], 0x16
lea rax, [0x1401b5720]
mov qword [rbp - 0x38], rax
mov byte [rsi + 0x20], r14b
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rsi], xmm0
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140011846
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011841
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011956
call fcn.140074f80
mov rax, rsi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400fb890
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x140011888
lea rax, [rbx - 1]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
mov qword [rbp - 0x18], rax
mov word [rcx + rax*2], r14w
mov rbx, qword [rbp - 0x18]
mov byte [rsi + 0x20], 0xff
mov qword [rsi], r14
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
lea r14, [rbp - 0x28]
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
cmovae r14, rcx
cmp rbx, 8
jae 0x1400118bf
movups xmm0, xmmword [r14]
movups xmmword [rsi], xmm0
mov edi, 7
jmp 0x14001190f
mov rdi, rbx
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
cmova rdi, rax
mov rdx, rdi
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
mov rcx, rsi
call fcn.14000ce60
mov qword [rsi], rax
lea r8, [rbx*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1400fe220
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x28]
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], rdi
mov byte [rsi + 0x20], 1
cmp rdx, 8
jb 0x140011846
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011841
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011841
call fcn.140103230
int3
Function at 0x1400137f0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x1401b4a98]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, r9
mov rax, r8
mov r10, rdx
mov rsi, qword [rsp + 0xe0]
cmp qword [rsi + 0x38], 0
jne 0x14001384b
movzx eax, byte [0x1401b5780]
cmp al, 5
ja 0x140013841
mov edx, 5
lea rcx, str.Invalid_input_value_for_registry_write.
call fcn.140034cf0
mov eax, 0x57
jmp 0x140013a30
xor edx, edx
mov qword [rsp + 0x60], rdx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rcx
mov byte [rsp + 0x58], dl
cmp qword [r8 + 0x18], 8
jb 0x14001386a
mov rax, qword [r8]
mov qword [rsp + 0x40], rdx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test eax, eax
jne 0x140013a1e
mov rax, qword [rsi + 0x38]
and rax, 0xfffffffffffffffc
lea rdi, vtable.type_info.0
mov rcx, rdi
cmovne rcx, rax
add rcx, 8
lea rdx, [0x1401b64c8]
call fcn.1400fdcc4
mov rcx, qword [rsi + 0x38]
and rcx, 0xfffffffffffffffc
test eax, eax
jne 0x14001399f
test rcx, rcx
je 0x140013a57
add rcx, 8
lea rdx, [0x1401b64c8]
call fcn.1400fdcc4
test eax, eax
jne 0x140013a57
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.14000cdc0
mov eax, dword [rsp + 0x80]
lea ecx, [rax + rax]
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rax, qword [rsp + 0x70]
cmp qword [rbx + 0x18], 8
jb 0x140013932
mov rbx, qword [rbx]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x140013a1e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013998
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013a51
call fcn.140074f80
jmp 0x140013a1e
test rcx, rcx
cmovne rdi, rcx
lea rcx, [rdi + 8]
lea rdx, [0x1401b65d0]
call fcn.1400fdcc4
test eax, eax
jne 0x140013a19
mov rcx, qword [rsi + 0x38]
and rcx, 0xfffffffffffffffc
je 0x140013a4b
add rcx, 8
lea rdx, [0x1401b65d0]
call fcn.1400fdcc4
test eax, eax
jne 0x140013a4b
mov eax, dword [rsi]
mov dword [rsp + 0x68], eax
cmp qword [rbx + 0x18], 8
jb 0x1400139ec
mov rbx, qword [rbx]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
jmp 0x140013a1e
mov edi, 1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140013a2e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400fb890
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
call fcn.140002e60
nop
call fcn.140103230
int3
call fcn.140002e60
int3
Function at 0x140021c80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140021cf5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140021cf5
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140021ce5
nop
cmp rbx, rcx
jae 0x140021cf5
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140021cd0
cmp rbx, rcx
jae 0x140021cf5
cmp word [rbx], 0
je 0x140021cf5
mov rax, rbx
jmp 0x140021cf7
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140022d40
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1401b4a98]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rcx
movzx eax, byte [0x1401b5780]
cmp al, 6
ja 0x140022d83
mov edx, 6
lea rcx, str.InitializeWMI::WMI_is_preloaded_successfully
call fcn.140034cf0
lea r14, [rsi + 8]
mov qword [rsp + 0x20], r14
lea r9, [0x140176f68]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14015e488]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140022dd1
movzx ecx, byte [0x1401b5780]
cmp cl, 6
ja 0x140022dca
mov r8d, eax
mov edx, 6
lea rcx, str.Failed_to_create_WMI_locator_object._HRESULT__x
call fcn.140034cf0
xor al, al
jmp 0x140022f33
mov ecx, 0x18
call fcn.1400fbb48
mov rbx, rax
mov qword [rsp + 0x50], rax
xor edi, edi
test rax, rax
je 0x140022e1c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140022f62
jmp 0x140022e1f
mov rbx, rdi
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x140022f57
mov rcx, qword [r14]
mov rax, qword [rcx]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rax, qword [rax + 0x18]
call qword [case.0x14000cca5.0]
mov r9d, eax
test eax, eax
jns 0x140022e98
movzx ecx, byte [0x1401b5780]
cmp cl, 6
ja 0x140022ee8
lea rcx, [rsp + 0x50]
call fcn.140021d40
mov r8, rax
mov edx, 6
lea rcx, str.Failed_to_connect_to_WMI_server_to_namespace__s._HRESULT__x
call fcn.140034cf0
xor sil, sil
jmp 0x140022ef0
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 [rsi]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140022eed
movzx ecx, byte [0x1401b5780]
cmp cl, 6
ja 0x140022ee8
mov r8d, eax
mov edx, 6
lea rcx, str.Failed_to_setProxyBlanket_for_WMI_service_object._HRESULT__x
call fcn.140034cf0
xor sil, sil
jmp 0x140022ef0
mov sil, 1
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140022f2f
mov rcx, qword [rbx]
test rcx, rcx
je 0x140022f10
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140022f22
call fcn.140074f80
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.140074f80
movzx eax, sil
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400fb890
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, 0x8007000e
call fcn.1400fb650
nop
mov ecx, 0x8007000e
call fcn.1400fb650
int3
Function at 0x14002a480
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x120
mov rax, qword [0x1401b4a98]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rbx, rdx
mov qword [rsp + 0x28], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x50], esi
xor edx, edx
mov r8d, 0xaa
lea rcx, [rsp + 0x60]
call fcn.1400fe8d0
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
lea r8d, [rsi + 4]
lea rdx, str.1033
mov rcx, rbx
call fcn.140002fb0
mov dword [rsp + 0x20], 1
lea edx, [rsi + 0x54]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLocaleName]
test eax, eax
je 0x14002a5a1
lea r9d, [rsi + 4]
lea r8, [rsp + 0x50]
mov edx, 0x20000001
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14002a5a1
mov edx, dword [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400281e0
mov rdi, rax
cmp rbx, rax
je 0x14002a563
mov rcx, rbx
call fcn.14000d700
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14002a5a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a59c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a5f2
call fcn.140074f80
movzx eax, byte [0x1401b5780]
cmp al, 6
ja 0x14002a5ca
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14002a5b9
mov r8, qword [rbx]
mov edx, 6
lea rcx, str.ReadLCID_LCID:__s
call fcn.140034cf0
mov rax, rbx
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400fb890
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140103230
int3
Function at 0x14002aef0
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1401b4a98]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, r8
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
mov qword [rbp + 0x27], r15
mov rax, qword [rcx]
mov rbx, qword [rax + 0x10]
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], 7
lea r8d, [r15 + 0x22]
lea rdx, str.SELECT__FROM_Win32_ComputerSystem
lea rcx, [rbp - 0x21]
call fcn.140002fb0
mov r9, rsi
lea r8, [rbp - 0x21]
lea rdx, [rbp + 0x27]
mov rcx, rdi
mov rax, rbx
call qword [case.0x14000cca5.0]
nop
mov rcx, qword [rbp + 0x27]
test rcx, rcx
jne 0x14002afe2
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x22
jb 0x14002afb9
lea rbx, [rcx + 0x22]
mov qword [rsi + 0x10], rbx
cmp rdx, 8
jb 0x14002af97
mov rsi, qword [rsi]
lea rcx, [rsi + rcx*2]
mov r8d, 0x44
lea rdx, str._Win32_ComputerSystem_query_failed
call fcn.1400fe220
mov word [rsi + rbx*2], r15w
xor bl, bl
jmp 0x14002b0bf
mov qword [rsp + 0x20], 0x22
lea r9, str._Win32_ComputerSystem_query_failed
movzx r8d, byte [rbp - 0x29]
mov edx, 0x22
mov rcx, rsi
call fcn.1400208c0
xor bl, bl
jmp 0x14002b0bf
mov dword [rbp + 0x17], r15d
mov qword [rbp + 0x1f], r15
mov rax, qword [rcx]
lea rdx, [rbp + 0x17]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x1f]
mov rbx, 0xffffffffffffffff
lea r8d, [rbx + 2]
mov edx, ebx
mov rax, qword [rax + 0x20]
call qword [case.0x14000cca5.0]
test eax, eax
js 0x14002b091
cmp dword [rbp + 0x17], 0
je 0x14002b091
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp + 0x1f]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 1]
xor r8d, r8d
lea rdx, str.manufacturer
mov rax, qword [rax + 0x20]
call qword [case.0x14000cca5.0]
test eax, eax
js 0x14002b083
mov rdx, qword [rbp + 7]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14002b064
mov r8, rbx
mov rcx, r14
call fcn.140002fb0
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov bl, 1
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x14002b0a8
mov r8d, 0x20
lea rdx, str.Win32_ComputerSystem_Next_failed
mov rcx, rsi
call fcn.140002fb0
xor bl, bl
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x14002b0bf
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14000cca5.0]
nop
mov rcx, qword [rbp + 0x27]
test rcx, rcx
je 0x14002b0d6
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14000cca5.0]
nop
movzx eax, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400fb890
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002bc30
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1401b4a98]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor esi, esi
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x14015e478]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x14015e488]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14002bca9
movzx ecx, byte [0x1401b5780]
cmp cl, 5
ja 0x14002be00
mov r8d, eax
lea edx, [rsi + 5]
lea rcx, str.CoCreateInstance_failed:___u
call fcn.140034cf0
jmp 0x14002be00
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rbp, qword [rax + 0x18]
mov ecx, 0x18
call fcn.1400fbb48
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14002bcfe
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rsi
mov dword [rdi + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
je 0x14002be49
jmp 0x14002bd01
mov rdi, rsi
mov qword [rsp + 0x50], rdi
test rdi, rdi
je 0x14002be3e
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, rbx
mov rax, rbp
call qword [case.0x14000cca5.0]
mov ebx, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14002bd82
mov rcx, qword [rdi]
test rcx, rcx
je 0x14002bd63
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rsi
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14002bd75
call fcn.140074f80
mov qword [rdi + 8], rsi
mov edx, 0x18
mov rcx, rdi
call fcn.140074f80
test ebx, ebx
jns 0x14002bda7
movzx eax, byte [0x1401b5780]
cmp al, 5
ja 0x14002be00
mov r8d, ebx
mov edx, 5
lea rcx, str.ConnectServer_failed:___u
call fcn.140034cf0
jmp 0x14002be00
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14002bdfb
movzx ecx, byte [0x1401b5780]
cmp cl, 5
ja 0x14002be00
mov r8d, eax
mov edx, 5
lea rcx, str.CoSetProxyBlanket_failed:___u
call fcn.140034cf0
jmp 0x14002be00
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002be18
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14000cca5.0]
nop
mov rax, rsi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400fb890
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x8007000e
call fcn.1400fb650
nop
mov ecx, 0x8007000e
call fcn.1400fb650
int3
Function at 0x14004df70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1401b4a98]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor edi, edi
cmp byte [r9 + 8], dil
je 0x14004dfa7
mov rsi, qword [r9]
jmp 0x14004dfaa
mov rsi, rdi
lea r8, str.RT_JSON
mov edx, 0x68
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x14004e071
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
test rax, rax
je 0x14004e098
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
je 0x14004e0bf
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14004e0e9
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0xf
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000d880
mov byte [rbx + 0x20], 1
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
jmp 0x14004e04d
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400fb890
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rax, [0x1401c10e8]
mov qword [rsp + 0x30], rax
mov byte [rbx + 0x20], r14b
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
mov rax, rbx
jmp 0x14004e04d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rax, [0x1401c10e8]
mov qword [rsp + 0x30], rax
mov byte [rbx + 0x20], r15b
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
mov rax, rbx
jmp 0x14004e04d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rax, [0x1401c10e8]
mov qword [rsp + 0x30], rax
mov byte [rbx + 0x20], 0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
mov rax, rbx
jmp 0x14004e04d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rax, [0x1401c10e8]
mov qword [rsp + 0x30], rax
mov byte [rbx + 0x20], 0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
mov rax, rbx
jmp 0x14004e04d
Function at 0x14004e120
Capabilities:
Get file version info

Disassembly:
push rbx
sub rsp, 0x290
mov rax, qword [0x1401b4a98]
xor rax, rsp
mov qword [rsp + 0x258], rax
xor r8d, r8d
mov qword [rsp + 0x38], rcx
mov rbx, rcx
lea rax, [rsp + 0x58]
mov r9d, 0x200
mov qword [rsp + 0x20], rax
lea ecx, [r8 + 2]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
test eax, eax
je 0x14004e316
xor eax, eax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], rax
lea rdx, [0x140171370]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x58]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14004e316
cmp dword [rsp + 0x30], 0x34
jne 0x14004e33d
mov rcx, qword [rsp + 0x40]
cmp dword [rcx], 0xfeef04bd
jne 0x14004e2fc
mov eax, dword [rcx + 0xc]
mov ebx, dword [rcx + 0x2c]
mov edx, ebx
mov r9d, dword [rcx + 0x20]
mov r10d, dword [rcx + 0x24]
mov r11d, dword [rcx + 0x28]
mov r8d, dword [rcx + 0x30]
mov qword [rsp + 0x2b0], rbp
mov qword [rsp + 0x288], rsi
mov qword [rsp + 0x280], rdi
mov edi, dword [rcx + 0x1c]
and edi, dword [rcx + 0x18]
mov qword [rsp + 0x278], r12
mov r12d, dword [rcx + 0x10]
mov ebp, r12d
mov qword [rsp + 0x270], r13
mov r13d, dword [rcx + 8]
mov qword [rsp + 0x268], r14
mov r14d, dword [rcx + 0x14]
mov esi, r14d
mov qword [rsp + 0x260], r15
mov ecx, r8d
mov r15d, eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x38]
shr r15d, 0x10
mov dword [rsp + 0x50], r15d
mov r15, qword [rsp + 0x38]
mov byte [rax + 0x28], 1
mov eax, r13d
shr ebp, 0x10
shr esi, 0x10
shr edx, 0x10
shr ecx, 0x10
shr eax, 0x10
mov word [r15], ax
mov rax, r15
mov r15d, dword [rsp + 0x50]
mov word [rax + 2], r13w
mov r13, rax
mov word [rax + 4], r15w
mov eax, dword [rsp + 0x54]
mov word [r13 + 6], ax
mov rax, r13
mov word [r13 + 8], bp
mov word [r13 + 0xa], r12w
mov word [r13 + 0xc], si
mov word [r13 + 0xe], r14w
mov dword [r13 + 0x10], edi
mov dword [r13 + 0x14], r9d
mov dword [r13 + 0x18], r10d
mov dword [r13 + 0x1c], r11d
mov word [r13 + 0x20], dx
mov word [r13 + 0x22], bx
mov word [r13 + 0x24], cx
mov word [r13 + 0x26], r8w
mov r15, qword [rsp + 0x260]
mov r14, qword [rsp + 0x268]
mov r13, qword [rsp + 0x270]
mov r12, qword [rsp + 0x278]
mov rdi, qword [rsp + 0x280]
mov rsi, qword [rsp + 0x288]
mov rbp, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.1400fb890
add rsp, 0x290
pop rbx
ret
mov rax, qword [0x1401c1090]
mov byte [rbx + 0x28], 0
mov qword [rbx + 8], rax
mov rax, rbx
mov dword [rbx], 0x68
jmp 0x14004e2e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rax, [0x1401c10e8]
mov qword [rsp + 0x48], rax
mov rax, rbx
movups xmm0, xmmword [rsp + 0x40]
mov byte [rbx + 0x28], 0
movups xmmword [rbx], xmm0
jmp 0x14004e2e3
mov rax, qword [0x1401c1090]
mov byte [rbx + 0x28], 0
mov qword [rbx + 8], rax
mov rax, rbx
mov dword [rbx], 0x73
jmp 0x14004e2e3
Function at 0x14004ec10
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1401b4a98]
xor rax, rsp
mov qword [rbp + 0x168], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor esi, esi
mov qword [rbp + 0x150], rsi
lea rax, [rsp + 0x50]
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x160], 0x200
mov edx, 0x100
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test eax, eax
je 0x14004ecee
nop dword [rax]
mov edx, dword [rbp + 0x160]
mov eax, edx
shr eax, 1
mov r8d, ecx
cmp ecx, eax
jb 0x14004ed4c
lea rbx, [r8 + r8]
cmp rbx, rdx
jbe 0x14004ecd6
mov rcx, rbx
call fcn.1400fbb48
mov rcx, qword [rbp + 0x150]
mov qword [rbp + 0x150], rax
test rcx, rcx
je 0x14004ecc5
call fcn.1400fbdd4
mov rax, qword [rbp + 0x150]
mov edx, ebx
mov dword [rbp + 0x160], ebx
mov qword [rbp + 0x158], rax
jmp 0x14004ecdd
mov rax, qword [rbp + 0x158]
shr edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test eax, eax
jne 0x14004ec80
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rax, [0x1401c10e8]
mov qword [rsp + 0x28], rax
mov byte [rdi + 0x20], 0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov rcx, qword [rbp + 0x150]
test rcx, rcx
je 0x14004ed21
call fcn.1400fbdd4
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rsp
call fcn.1400fb890
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov rdx, qword [rbp + 0x158]
lea rcx, [rsp + 0x30]
call fcn.140002fb0
mov byte [rdi + 0x20], 1
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
jmp 0x14004ed10