joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008020
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x10043220
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100080da
mov edx, dword [0x100555f8]
push esi
mov esi, dword [esp + 4]
push edi
mov ecx, 0x100555f8
mov dword [esp + 0xc], esi
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
push str.1631550F_191D_4826_B069_D9439253D926
lea eax, [esp + 0xc]
push 0x100470dc
push eax
mov byte [esp + 0x24], 1
call fcn.10005730
mov edi, dword [esp + 0x14]
add esp, 0xc
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [edi - 0x10]
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100080cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x100080d8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x100080f0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x10043220
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100081aa
mov edx, dword [0x100555f8]
push esi
mov esi, dword [esp + 4]
push edi
mov ecx, 0x100555f8
mov dword [esp + 0xc], esi
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
push str.D2A2595C_4FE4_4315_AA9B_19DBD6271B71
lea eax, [esp + 0xc]
push 0x100470dc
push eax
mov byte [esp + 0x24], 1
call fcn.10005730
mov edi, dword [esp + 0x14]
add esp, 0xc
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [edi - 0x10]
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000819d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x100081a8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x100082a0
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10043240
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x10]
push eax
push 0x2001f
push ebx
push str.SoftwarePriceGong
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebx
call edi
cmp eax, ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x100083d4
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, ebx
je 0x10008301
push ecx
call ebp
cmp eax, ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
jne 0x100083d4
push esi
push 0x10046c94
lea ecx, [esp + 0x18]
call fcn.10001f40
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push str.sub_dist_id
push eax
mov byte [esp + 0x30], 1
call fcn.10017fe0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
add esp, 0xc
cmp ecx, ebx
je 0x1000836b
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + eax + 2]
mov eax, dword [edx]
push ecx
push esi
push 1
push ebx
push str.sub_dist_id
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x10]
push str.sub_dist_id
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea edx, [esp + 0x18]
push edx
push 0x2001f
push ebx
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebx
call edi
cmp eax, ebx
jne 0x100083b1
mov esi, dword [esp + 0x18]
push 0x10046848
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp esi, ebx
je 0x100083b1
push esi
call ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x100083d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x100083df
push eax
call ebp
mov ecx, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x10008400
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x18
push esi
push edi
push 1
mov ecx, 0x10055554
call fcn.100081c0
mov edi, eax
mov dword [esp + 0x10], edi
call fcn.100080f0
call fcn.10007f30
call fcn.10014680
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x2001f
push 0
push str.SoftwarePriceGongSettings
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000847f
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwarePriceGongSettings
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10008540
mov esi, dword [esp + 8]
lea ecx, [esp + 8]
mov dword [esp + 0xc], esi
call fcn.10003d50
push str.3.5.0
lea eax, [esp + 0xc]
push 0x10046c98
push eax
call fcn.10005730
mov edi, dword [esp + 0x14]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.pgl_ver_ie
push esi
call edi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.installed
push esi
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100084fa
cmp dword [esp + 0x18], 4
je 0x10008515
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push 0
push str.installed
push esi
mov dword [esp + 0x30], 1
call edi
lea eax, [esp + 0xc]
push eax
call fcn.100082a0
add esp, 4
lea ecx, [esp + 8]
call fcn.10001690
test esi, esi
je 0x10008536
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0x18
ret
mov eax, edi
pop edi
pop esi
add esp, 0x18
ret
Function at 0x1000eef0
Capabilities:
Set registry value

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [esi + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [eax + eax + 2]
push eax
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebx]
push 1
push 0
push str.pr_link_tag
push ecx
call ebp
mov eax, dword [esi + 0xc]
push eax
mov dword [esp + 0x18], eax
call edi
mov ecx, dword [ebx]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push eax
push 1
push 0
push str.pr_link_style
push ecx
call ebp
mov eax, dword [esi + 0x10]
push eax
mov dword [esp + 0x18], eax
call edi
mov ecx, dword [ebx]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push eax
push 1
push 0
push str.pr_link_text
push ecx
call ebp
mov eax, dword [esi + 0x14]
push eax
mov dword [esp + 0x18], eax
call edi
mov ecx, dword [ebx]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push eax
push 1
push 0
push str.rs_link_tag
push ecx
call ebp
mov eax, dword [esi + 0x18]
push eax
mov dword [esp + 0x18], eax
call edi
mov ecx, dword [ebx]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push eax
push 1
push 0
push str.rs_link_style
push ecx
call ebp
mov esi, dword [esi + 0x1c]
push esi
call edi
lea edx, [eax + eax + 2]
push edx
mov eax, dword [ebx]
push esi
push 1
push 0
push str.rs_link_text
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1000f420
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10043898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebp
mov ebp, ecx
mov dword [ebp + 0xa0], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jbe 0x1000f4e5
push esi
push edi
call fcn.10014680
xor edi, edi
mov esi, eax
mov dword [esp + 0x24], edi
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x1c], edi
call fcn.100173b0
mov eax, dword [eax]
add esp, 4
lea edx, [esp + 0x20]
push edx
push 0x2001f
push edi
push eax
push esi
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1000f496
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000f4b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
jne 0x1000f4d8
mov eax, dword [ebp + 0xa0]
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push esi
push str.snooze_time
push edi
mov dword [esp + 0x38], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x1000f4e3
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [esp + 8]
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x100104b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004397b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1934
call fcn.10036cd0
mov eax, dword [0x1005454c]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x2c], ecx
push ebx
xor ecx, ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x3c], ecx
xor eax, ebp
push ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1954], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0x4c], ecx
push 0x10047a68
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
xor eax, eax
mov ecx, 0x640
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x2c], 0x1900
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x100105de
mov eax, dword [esp + 0x1c8]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x10], eax
jle 0x100105de
or edi, 0xffffffff
lea esp, [esp]
mov eax, dword [0x100555f8]
mov ecx, 0x100555f8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
movzx ecx, byte [esp + esi + 0x1cc]
push ecx
lea edx, [esp + 0x18]
push str._02X
push edx
mov dword [esp + 0x1958], ebx
call fcn.10005730
mov al, byte [esp + esi + 0x1d8]
mov byte [esp + esi + 0x3e], al
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x194c], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100105d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x10010570
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x28]
push eax
push esi
call fcn.1000fd10
mov ecx, dword [esp + 0x1944]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x193c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003609d
mov esp, ebp
pop ebp
ret 4
Function at 0x10010bc0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x100439e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x68]
mov eax, dword [eax - 0xc]
test eax, eax
lea esi, [edi + 0x68]
jne 0x10010c64
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.10010460
push eax
mov ecx, esi
mov dword [esp + 0x20], 0
call fcn.10008ea0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10010c35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x7b
mov ecx, esi
call fcn.1000f9b0
push 0x7d
mov ecx, esi
call fcn.1000f9b0
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebx]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x10047ab8
push ecx
call ebp
mov edx, dword [edi + 0x6c]
mov eax, dword [edx - 0xc]
test eax, eax
lea esi, [edi + 0x6c]
jne 0x10010cf7
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.100104b0
push eax
mov ecx, esi
mov dword [esp + 0x20], 1
call fcn.10008ea0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10010cb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x7b
mov ecx, esi
call fcn.1000f9b0
push 0x7d
mov ecx, esi
call fcn.1000f9b0
push 0x10047ab4
push str._0000_0000_0000_
mov ecx, esi
call fcn.1000f7a0
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebx]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x10047a74
push ecx
call ebp
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x10010d10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10043a00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
push edi
push 1
lea eax, [esi + 0xb8]
push eax
lea ecx, [esp + 0x18]
push ecx
xor edi, edi
mov ecx, esi
mov dword [esp + 0x3c], edi
call fcn.10010620
mov edx, dword [0x100555f8]
mov ecx, 0x100555f8
mov dword [esp + 0x3c], edi
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x4c], eax
mov ebx, dword [esi + 0x54]
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x74]
mov dword [esp + 0x14], ebx
mov ebx, dword [esi + 0x68]
mov edi, dword [esi + 0x5c]
mov ebp, dword [esi + 0x58]
mov dword [esp + 0x18], ebx
mov ebx, dword [esi + 0x6c]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esi + 0x64]
mov dword [esp + 0x20], ebx
mov ebx, dword [esi + 0x50]
mov dword [esp + 0x24], ebx
mov ebx, dword [esi + 0x4c]
mov dword [esp + 0x28], ebx
mov ebx, dword [esi + 0x48]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esi + 0x44]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x10]
push ebx
mov ebx, dword [esi + 0xb4]
mov esi, dword [esi + 0x90]
push ebx
push esi
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
push edi
push ebp
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x5c]
push str.3.5.0
push 0x10047bf8
push 1
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x8c]
push eax
push ecx
push edx
lea eax, [esp + 0x9c]
push str._s_bt_sbv_sos_sdefbt_spver_dapp_Scver_Spglv_scnum_sunum_sdisid_ssubdisid_stbn_scdate_sct_sug_simpr_dcxt_d_s
push eax
mov byte [esp + 0x94], 1
call fcn.10005730
mov esi, dword [esp + 0xa4]
add esi, 0xfffffff0
push esi
call fcn.100022c0
mov edi, dword [esp + 0xa0]
add eax, 0x10
add esp, 0x5c
mov dword [edi], eax
mov byte [esp + 0x3c], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10010e57
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10010e7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x34]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x10010ea0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push 0
lea eax, [ecx + 0xb8]
push eax
lea edx, [esp + 0xc]
push edx
call fcn.10010620
mov esi, dword [esp + 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push str.extra_params
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x10010ef7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ecx
ret 4
Function at 0x100137c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x1005454c]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10013808
cmp dword [esp + 4], 6
jb 0x10013808
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1003609d
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor al, al
call fcn.1003609d
add esp, 0x118
ret

Function at 0x10013960
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
shl eax, 1
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100139cd
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x100139a5
cmp eax, 2
jne 0x100139bd
test esi, esi
mov eax, dword [esp + 0x14]
je 0x100139c7
test al, 1
jne 0x100139bd
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x100139c7
pop edi
mov eax, 0xd
pop esi
ret 0xc
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x10017550
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10044058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [esp], 0
lea eax, [esp]
push eax
mov dword [esp + 0x10], 0
call fcn.10017450
add esp, 4
test al, al
jne 0x100175a2
mov eax, dword [esp]
test eax, eax
je 0x100175d4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push esi
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax + 2]
push ecx
push esi
mov esi, dword [esp + 0xc]
push 1
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x100175d3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10017760
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10044098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [esp], 0
lea eax, [esp]
push eax
mov dword [esp + 0x14], 0
call fcn.10017450
add esp, 4
test al, al
jne 0x100177b4
mov eax, dword [esp]
test eax, eax
je 0x100177e4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push eax
push esi
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x100177e3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x10017800
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100440b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [esp + 4]
push eax
mov dword [esp + 0x1c], 0
call fcn.10017450
add esp, 4
test al, al
jne 0x10017867
mov eax, dword [esp + 4]
test eax, eax
mov esi, dword [esp + 8]
je 0x10017855
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov esi, dword [esp + 4]
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push ecx
push esi
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
mov edi, dword [esp + 0xc]
je 0x100178a0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x100184b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1004413b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
mov eax, dword [0x1005454c]
xor eax, esp
push edi
mov edi, dword [esp + 0x228]
push 0x10046c94
lea ecx, [esp + 8]
mov dword [esp + 0x218], eax
mov dword [esp + 0xc], 0
call fcn.10001f40
mov dword [esp + 0x220], 0
call fcn.100137c0
test al, al
je 0x1001856e
push esi
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10018566
push str.SHGetKnownFolderPath
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018566
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0x10048324
mov dword [esp + 0x1c], 0
call eax
test eax, eax
jl 0x10018566
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10018566
push eax
lea ecx, [esp + 0xc]
call fcn.10001f00
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov eax, dword [esp + 4]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x100185aa
push 1
push 0x1a
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100185aa
lea edx, [esp + 0xc]
push edx
call fcn.100363e4
add esp, 4
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
call fcn.10001e40
mov eax, dword [esp + 4]
add eax, 0xfffffff0
push eax
call fcn.100022c0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x220], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100185e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.1003609d
add esp, 0x220
ret