joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1404db963
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
movsxd r9, edi
push rdi
rcr r9b, 0xfe
sub rsp, 0x20
not bl
mov rbx, rdx
xchg dil, r8b
movsxd rdi, ebp
movzx dx, r10b
lea r9, [0x1400c8ea8]
movsx r8w, r13b
xchg dil, dl
mov edi, ecx
lea rdx, [0x1400cf748]
mov r8b, r15b
movzx r8d, r15w
xchg cx, cx
mov ecx, 3
movsx r8, r11w
movsx r8w, r15b
mov r8b, 0x54
lea r8, [0x1400c8ea0]
jmp 0x1404db9c3
call fcn.1404dbae1
mov rdx, rbx
movsx rcx, bp
add ecx, r9d
btr cx, 0x79
mov ecx, edi
cmp r14w, r12w
cmc
test rax, rax
jmp 0x1404db9e6
je 0x1404db9f7
call qword [0x1400b8d90]
jmp 0x1404db9fd
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
sar di, 0xe0
add rsp, 0x20
movzx edi, r12w
pop rdi
jmp 0x1404dba14
ret
Function at 0x1404e26b5
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp fcn.1404dcf2e
push rbx
adc bx, sp
rol r9d, 0xa0
mov r9b, r9b
sub rsp, 0x20
shr r9, 0xb3
test r8, r8
cdqe
movsx rax, r12w
movzx r9d, dx
cdqe
rdtsc
cdq
lea rbx, [0x1400bae30]
rdtsc
not ah
movsx rax, r10w
mov edx, 0x2400
nop
movzx ax, r11b
mov ax, bp
cmovne rbx, r8
mov eax, 0x3ff
cmp r13, 0xd894b7a
cmp bh, dl
add edx, r9d
cmp dword [rbx], 0
jmp 0x1404e2715
jne 0x1404e27aa
cmp dx, ax
jmp 0x1404e2723
ja 0x1404e274b
and qword [rbx], 0
jmp 0x1404e2732
call fcn.1404b1162
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
jmp 0x1404e2746
jmp 0x1404e27e6
mov r8d, 0x2800
mov edx, r9d
clc
add r9w, r8w
cmp r9w, ax
ja 0x1404e2787
shl edx, 0xa
cmc
cmp r14b, 0x6c
and edx, 0xfc9ffc00
add edx, 0x10000
test sil, r11b
mov dword [rbx], edx
test r10b, 0xcf
sub eax, eax
jmp 0x1404e27e6
mov r8, rbx
movzx bx, dh
xor bh, bh
neg bx
add rsp, 0x20
setae bl
not bh
mov bl, spl
pop rbx
jmp 0x1404e27a5
jmp 0x1400e6e69
cmp dx, ax
jmp 0x1404e27b2
ja 0x1404e2729
and qword [rsp + 0x40], 0
rol dh, cl
lea r8, [rsp + 0x40]
mov edx, r9d
test r9w, 0x546
and edx, 0xffff23ff
cmc
add edx, dword [rbx]
call 0x1400e6e69
and qword [rbx], 0
btr bx, ax
inc bl
add rsp, 0x20
movzx ebx, dx
pop rbx
jmp 0x1404e27f3
ret
Function at 0x140005410
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push r14
sub rsp, 0x30
mov rdi, rdx
mov rcx, qword [str._b0_n_]
lea r14, str._b0_n_
mov esi, 0x100
cmp rcx, r14
je 0x140005464
test dword [rcx + 0x1c], esi
je 0x140005464
cmp byte [rcx + 0x19], 4
jb 0x140005464
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400835a8]
mov edx, 0x1a
call fcn.1400043e4
and dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov ebx, 1
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400054ca
mov rcx, qword [str._b0_n_]
cmp rcx, r14
je 0x1400054c3
test dword [rcx + 0x1c], esi
je 0x1400054c3
cmp byte [rcx + 0x19], 2
jb 0x1400054c3
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x1a]
lea r9, str.CommandLineToArgv
mov dword [rsp + 0x20], 8
lea r8, [0x1400835a8]
call fcn.140004454
xor ebx, ebx
jmp 0x1400055a8
and dword [0x1400a56a4], 0
lea rdx, [0x1400835a0]
and qword [0x1400a56a8], 0
lea rcx, [0x1400a56b8]
and dword [0x1400a56b0], 0
mov dword [0x1400a56a0], 5
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
lea rdx, [0x1400835a0]
lea rcx, [0x1400a56c0]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
nop dword [rax + rax]
or r8, 0xffffffffffffffff
lea rcx, [0x1400a56c8]
xor edx, edx
call qword [sym.imp.MFC42u.dll_CArchive::operator__]
nop dword [rax + rax]
and dword [0x1400a56f0], 0
mov esi, ebx
mov eax, dword [rsp + 0x40]
cmp eax, ebx
jle 0x140005599
lea r14, [rdi + 8]
mov rdx, qword [r14]
xor r8d, r8d
xor r9d, r9d
inc esi
cmp esi, eax
mov ecx, 0xfffd
movzx eax, word [rdx]
sete r9b
sub ax, 0x2d
test cx, ax
jne 0x140005575
mov r8d, ebx
add rdx, 2
mov rax, qword [0x1400a5650]
lea rcx, [0x1400a5650]
mov rax, qword [rax + 0x30]
call qword [case.0x14000c28f.0]
mov eax, dword [rsp + 0x40]
add r14, 8
cmp esi, eax
jl 0x14000554c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400085a4
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, reloc.MFC42u.dll_CDocObjectServerItem::CDocObjectServerItem
sub rsp, 0x250
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rbp + 0x140], rax
and qword [rdx], 0
mov r12, rdx
mov r8, rcx
mov edi, 0x104
mov edx, edi
lea rcx, [rsp + 0x30]
xor r15d, r15d
xor r14d, r14d
call fcn.14000e8c4
lea r8, [0x140083808]
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.14000e950
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140008655
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x14000874d
mov rcx, qword [rbp + 0x178]
lea edx, [rdi - 0x3b]
call fcn.140008488
mov esi, eax
jmp 0x140008733
and dword [rsp + 0x24], r14d
lea rdx, [rsp + 0x24]
and dword [rsp + 0x20], r14d
mov rcx, rbx
call fcn.1400087b0
mov esi, eax
test eax, eax
jns 0x140008693
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xcf
call fcn.14000844c
mov rcx, rbx
call fcn.14000851c
jmp 0x140008733
lea r8, [0x140083810]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000e950
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400086dc
mov rcx, qword [rbp + 0x178]
mov edx, 0xd5
call fcn.140008488
mov esi, eax
jmp 0x140008686
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400087b0
mov esi, eax
test eax, eax
jns 0x140008710
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xd7
call fcn.14000844c
mov rcx, rdi
call fcn.14000851c
jmp 0x140008686
mov rcx, rdi
call fcn.14000851c
movsxd rax, dword [rsp + 0x24]
mov rcx, rbx
movsxd r14, dword [rsp + 0x20]
shl r14, 0x1f
or r14, rax
call fcn.14000851c
xor esi, esi
test esi, esi
jns 0x14000874d
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov edx, 0x62
call fcn.14000844c
jmp 0x140008752
mov r15, r14
xor esi, esi
test esi, esi
jns 0x14000876e
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov edx, WSAGetLastError
call fcn.14000844c
mov eax, esi
jmp 0x14000877b
mov rax, r15
shl rax, 2
mov qword [r12], rax
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14006e550
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14000f310
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x20
xor esi, esi
lea r9, [rax + 8]
xor r8d, r8d
mov dword [rax + 0x10], esi
lea rdx, [rax + 0x10]
mov dword [rax + 8], esi
mov ebx, esi
mov dword [rax + 0x18], esi
lea ecx, [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GetUserPreferredUILanguages]
nop dword [rax + rax]
test eax, eax
jne 0x14000f356
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7a
jne 0x14000f3c5
mov eax, dword [rsp + 0x40]
mov edi, 2
test eax, eax
je 0x14000f37d
mov ecx, eax
mov eax, edi
mul rcx
lea rdx, [rdi - 3]
cmovo rax, rdx
mov rcx, rax
call fcn.14006f5ac
mov rbx, rax
test rbx, rbx
je 0x14000f3c5
lea r9, [rsp + 0x40]
mov r8, rbx
lea rdx, [rsp + 0x48]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_GetUserPreferredUILanguages]
nop dword [rax + rax]
test eax, eax
je 0x14000f3c5
cmp word [rbx], si
je 0x14000f3c5
mov r9d, edi
lea r8, [rsp + 0x50]
mov edx, 0x20000070
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop dword [rax + rax]
mov eax, 1
mov edi, esi
cmp dword [rsp + 0x50], eax
cmove edi, eax
test rbx, rbx
je 0x14000f3e0
mov rcx, rbx
call sub.msvcrt.dll_free
mov eax, edi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000ffc4
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x40
lea rax, [r11 - 0x18]
mov dword [rsp + 0x30], 4
mov qword [r11 - 0x20], rax
mov r14d, r9d
mov qword [r11 - 0x28], r8
lea r9, [r11 - 0x14]
mov rsi, r8
mov rdi, rdx
xor r8d, r8d
mov rbp, rcx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 2
jne 0x140010056
mov dword [rsp + 0x28], 4
lea r9d, [rax + 2]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rdi
mov dword [rsi], r14d
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14001004f
lea rcx, str.RegSetValueEx___failed__s___ec_d
jmp 0x140010068
mov eax, 1
jmp 0x140010083
test ebx, ebx
jne 0x140010061
cmp dword [rsp + 0x34], 4
je 0x14001004f
lea rcx, str.RegQueryValueEx___failed__s___ec_d
mov r8d, ebx
mov rdx, rdi
call fcn.1400129d0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400100a8
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov dword [r11 + 0x18], r8d
push rdi
sub rsp, 0x30
mov r9d, 4
lea rax, [r11 + 0x18]
mov dword [r11 - 0x10], r9d
xor r8d, r8d
mov qword [r11 - 0x18], rax
mov rdi, rdx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x140010106
mov r8d, eax
lea rcx, str.RegSetValueEx___failed__s___ec_d
mov rdx, rdi
call fcn.1400129d0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14001010b
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140010120
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, r8
test r9, r9
je 0x14001014c
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], di
jne 0x140010138
lea rax, [rax*2 + 2]
jmp 0x14001014f
mov rax, rdi
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], r9
mov rdx, rbx
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14001018a
mov r8d, eax
lea rcx, str.RegSetValueEx___failed__s___ec_d
mov rdx, rbx
call fcn.1400129d0
xor eax, eax
jmp 0x14001018f
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400101a4
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x60
xor ebx, ebx
lea rdx, str.SoftwareMicrosoftFaxFaxAccounts
and dword [rax + 0x20], ebx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
xor ebp, ebp
call fcn.14000fba8
mov rdi, rax
test rax, rax
je 0x140010346
and qword [rsp + 0x58], rbx
lea rax, [rsp + 0x98]
and qword [rsp + 0x50], rbx
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
and qword [rsp + 0x40], rbx
lea rax, [rsp + 0x90]
and qword [rsp + 0x38], rbx
xor edx, edx
and qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
je 0x140010254
lea rcx, str.RegQueryInfoKey___failed__ec_d
jmp 0x140010330
mov r9, qword [rsp + 0xa0]
xor edx, edx
mov r8d, dword [rsp + 0x88]
mov rcx, rdi
call fcn.14005d818
test eax, eax
je 0x140010337
mov eax, dword [rsp + 0x90]
add eax, 4
mov dword [rsp + 0x90], eax
cmp eax, 0x7ffffffe
ja 0x140010337
lea ecx, [rax + 1]
add rcx, rcx
call fcn.140010904
mov rbx, rax
test rax, rax
je 0x140010337
xor edx, edx
mov r9d, dword [rsp + 0x90]
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x140010322
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.14000fba8
mov rsi, rax
test rax, rax
je 0x140010310
mov r9, qword [rsp + 0xa0]
mov r8d, ebp
mov rdx, rbx
mov rcx, rax
call fcn.14005d818
mov rcx, rsi
test eax, eax
je 0x140010314
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
inc ebp
mov edx, ebp
jmp 0x1400102ab
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140010337
cmp eax, 0x103
je 0x140010337
lea rcx, str.RegEnumKey___failed__ec_d
mov edx, eax
call fcn.1400129d0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, rbx
call fcn.140010a58
mov rbx, qword [rsp + 0x80]
mov eax, ebp
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010368
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x170]
sub rsp, reloc.MFC42u.dll_CDaoException::CDaoException
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rbp + 0x160], rax
and qword [rsp + 0x48], 0
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [str._b0_n_]
lea r12, str._b0_n_
cmp rcx, r12
je 0x1400103d6
test byte [rcx + 0x1c], 2
je 0x1400103d6
cmp byte [rcx + 0x19], 5
jb 0x1400103d6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084cc8]
mov edx, 0xa
call fcn.1400043e4
lea rax, [rsp + 0x48]
mov r9d, 0x3001f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x140010459
mov rcx, qword [str._b0_n_]
cmp rcx, r12
je 0x140010536
test byte [rcx + 0x1c], 2
je 0x140010536
cmp byte [rcx + 0x19], 2
jb 0x140010536
mov edx, VariantTimeToDosDateTime
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084cc8]
mov r9d, ebx
call fcn.140004410
jmp 0x140010536
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
call fcn.140010368
test eax, eax
je 0x140010544
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
and qword [rsp + 0x28], 0
xor edx, edx
mov rcx, qword [rsp + 0x48]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x140010442
cmp eax, 0x103
jne 0x1400104f5
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400104ee
mov rcx, qword [str._b0_n_]
cmp rcx, r12
je 0x140010536
test byte [rcx + 0x1c], 2
je 0x140010536
cmp byte [rcx + 0x19], 2
jb 0x140010536
mov edx, InitCommonControls
jmp 0x14001042a
mov eax, 1
jmp 0x140010546
mov rcx, qword [str._b0_n_]
cmp rcx, r12
je 0x140010525
test byte [rcx + 0x1c], 2
je 0x140010525
cmp byte [rcx + 0x19], 2
jb 0x140010525
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084cc8]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov r9d, ebx
call fcn.140004410
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14006e550
lea r11, [rsp + reloc.MFC42u.dll_CDaoException::CDaoException]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x140010574
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x30
and dword [rax + 0x20], 0
mov rsi, r8
mov rdi, rcx
mov dword [rax + 0x10], 4
mov rcx, qword [str._b0_n_]
lea r14, str._b0_n_
cmp rcx, r14
je 0x1400105cc
test byte [rcx + 0x1c], 2
je 0x1400105cc
cmp byte [rcx + 0x19], 5
jb 0x1400105cc
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084cc8]
mov edx, InitCommonControls
call fcn.1400043e4
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
and qword [rsp + 0x20], 0
lea rdx, str.InstalledComponents
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14001062e
mov rcx, qword [str._b0_n_]
cmp rcx, r14
je 0x1400106cc
test byte [rcx + 0x1c], 2
je 0x1400106cc
cmp byte [rcx + 0x19], 2
jb 0x1400106cc
mov edx, InitCommonControls
jmp 0x1400106b9
cmp dword [rsp + 0x58], 4
je 0x140010669
mov rcx, qword [str._b0_n_]
cmp rcx, r14
je 0x140010662
test byte [rcx + 0x1c], 2
je 0x140010662
cmp byte [rcx + 0x19], 2
jb 0x140010662
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084cc8]
mov edx, InitCommonControls
call fcn.1400043e4
mov ebx, 0x3f1
jmp 0x1400106cc
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rdx, str.InstalledComponents
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400106cc
mov rcx, qword [str._b0_n_]
cmp rcx, r14
je 0x1400106cc
test byte [rcx + 0x1c], 2
je 0x1400106cc
cmp byte [rcx + 0x19], 2
jb 0x1400106cc
mov edx, reloc.COMCTL32.dll_InitCommonControls
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084cc8]
mov r9d, eax
call fcn.140004410
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1400106e4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rcx, qword [str._b0_n_]
lea rsi, str._b0_n_
mov dil, 2
cmp rcx, rsi
je 0x14001073f
test byte [rcx + 0x1c], dil
je 0x14001073f
cmp byte [rcx + 0x19], 5
jb 0x14001073f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084cc8]
mov edx, 0x30
call fcn.1400043e4
xor ebx, ebx
lea rcx, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x38], rbx
mov r8d, 0x80
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], 0x7e
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREClientsMail
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x1400107d9
mov rax, qword [str._b0_n_]
cmp rax, rsi
je 0x1400107d2
test byte [rax + 0x1c], dil
je 0x1400107d2
cmp byte [rax + 0x19], dil
jb 0x1400107d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._b0_n_]
lea edx, [rbx + 0x31]
mov r9d, eax
lea r8, [0x140084cc8]
mov rcx, qword [rcx + 0x10]
call fcn.140004410
xor eax, eax
jmp 0x14001088c
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x140010851
mov rax, qword [str._b0_n_]
cmp rax, rsi
je 0x140010879
test byte [rax + 0x1c], dil
je 0x140010879
cmp byte [rax + 0x19], dil
jb 0x140010879
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._b0_n_]
lea r8, [0x140084cc8]
mov r9d, eax
mov edx, 0x32
mov rcx, qword [rcx + 0x10]
call fcn.140004410
jmp 0x140010879
mov edi, 1
cmp dword [rsp + 0x34], edi
jne 0x140010879
lea rdx, str.Microsoft_Outlook
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
cmove ebx, edi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14006e550
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400115d0
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, reloc.MFC42u.dll_CDocObjectServerItem::CDocObjectServerItem
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call sub.msvcrt.dll_memset
mov rcx, qword [str._b0_n_]
lea rdi, str._b0_n_
cmp rcx, rdi
je 0x140011631
test byte [rcx + 0x1c], 2
je 0x140011631
cmp byte [rcx + 0x19], 5
jb 0x140011631
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084f38]
mov edx, 0xa
call fcn.1400043e4
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], CButton::CButton
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop dword [rax + rax]
xor edx, edx
test eax, eax
jne 0x1400116a1
mov rax, qword [str._b0_n_]
cmp rax, rdi
je 0x1400116fb
test byte [rax + 0x1c], 2
je 0x1400116fb
cmp byte [rax + 0x19], 2
jb 0x1400116fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._b0_n_]
lea r8, [0x140084f38]
mov r9d, eax
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rcx, qword [rcx + 0x10]
call fcn.140004410
jmp 0x1400116fb
cmp dword [rsp + 0x30], 2
je 0x1400116c7
mov rcx, qword [str._b0_n_]
cmp rcx, rdi
je 0x1400116fb
test byte [rcx + 0x1c], 2
je 0x1400116fb
cmp byte [rcx + 0x19], 3
jb 0x1400116fb
mov edx, InitCommonControls
jmp 0x1400116eb
cmp dword [rsp + 0x24], 5
jae 0x140011702
mov rcx, qword [str._b0_n_]
cmp rcx, rdi
je 0x1400116fb
test byte [rcx + 0x1c], 2
je 0x1400116fb
cmp byte [rcx + 0x19], 3
jb 0x1400116fb
mov edx, InitCommonControls
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084f38]
call fcn.1400043e4
xor eax, eax
jmp 0x140011784
mov cl, byte [rsp + 0x138]
mov eax, 0x40
test al, cl
je 0x140011722
cmp byte [rsp + 0x13a], 1
lea ecx, [rax - 0x20]
cmove eax, ecx
jmp 0x140011784
mov eax, 0x200
test word [rsp + 0x138], ax
je 0x140011738
mov eax, 1
jmp 0x140011784
test cl, 2
je 0x140011744
mov eax, 8
jmp 0x140011784
mov eax, 0x80
test al, cl
je 0x140011754
mov eax, InitCommonControls
jmp 0x140011784
mov ecx, 0x400
test word [rsp + 0x138], cx
jne 0x140011784
mov cl, byte [rsp + 0x13a]
cmp cl, 1
jne 0x140011776
mov eax, 2
jmp 0x140011784
sub cl, 2
mov eax, 4
cmp cl, 1
cmova eax, edx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14006e550
add rsp, reloc.MFC42u.dll_CDocObjectServerItem::CDocObjectServerItem
pop rdi
ret
Function at 0x1400123a8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [str._b0_n_]
lea r14, str._b0_n_
lea r15, [0x140084ff8]
cmp rcx, r14
je 0x1400123fb
test byte [rcx + 0x1c], 2
je 0x1400123fb
cmp byte [rcx + 0x19], 5
jb 0x1400123fb
mov rcx, qword [rcx + 0x10]
mov edx, 0x17
mov r8, r15
call fcn.1400043e4
mov edx, 0x25
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rcx, rsi
test rax, rax
jne 0x140012451
call fcn.140011db0
test rax, rax
jne 0x140012550
mov rcx, qword [str._b0_n_]
cmp rcx, r14
je 0x14001254e
test byte [rcx + 0x1c], 2
je 0x14001254e
cmp byte [rcx + 0x19], 2
jb 0x14001254e
lea edx, [rax + 0x18]
jmp 0x1400124de
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400124af
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._b0_n_]
cmp rcx, r14
je 0x14001254e
test byte [rcx + 0x1c], 2
je 0x14001254e
cmp byte [rcx + 0x19], 2
jb 0x14001254e
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x19]
mov r9d, eax
mov r8, r15
call fcn.140004410
jmp 0x14001254e
inc ebx
mov ecx, ebx
add rcx, rcx
call fcn.140010904
mov rdi, rax
test rax, rax
jne 0x1400124ec
mov rcx, qword [str._b0_n_]
cmp rcx, r14
je 0x14001254e
test byte [rcx + 0x1c], 2
je 0x14001254e
cmp byte [rcx + 0x19], 2
jb 0x14001254e
lea edx, [rax + 0x1a]
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.1400043e4
jmp 0x14001254e
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
je 0x14001250e
cmp eax, ebx
ja 0x14001250e
mov rax, rdi
jmp 0x140012550
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._b0_n_]
cmp rcx, r14
je 0x140012546
test byte [rcx + 0x1c], 2
je 0x140012546
cmp byte [rcx + 0x19], 2
jb 0x140012546
mov rcx, qword [rcx + 0x10]
mov edx, AtlComQIPtrAssign
mov r9d, eax
mov r8, r15
call fcn.140004410
mov rcx, rdi
call fcn.140010a58
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret