joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407800
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5d51c0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 0x104
push eax
push 0x20019
push 0
push str.SOFTWAREHNCSharedHncUpdateHncUtils_NEOHncUpdate
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407883
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push str.FilePath
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054a22c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0054a22c
mov esp, ebp
pop ebp
ret

Function at 0x4078a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
mov dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push str.SoftwareHNCSharedExecuteOption96
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407912
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push str.NorthAmerica
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407912
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.NorthAmerica
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x4089b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x5d51c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x624], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0054cbf0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0054cbf0
mov ecx, 0x1e
lea edi, [ebp - 0x414]
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
lea eax, [ebp - 0x39a]
rep movsd dword es:[edi], dword [esi]
push 0x18e
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.0054cbf0
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0054b04d
push ebx
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0054b5e8
push str.OpenWithProgids
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0054b5e8
add esp, 0x48
lea eax, [ebp - 0x414]
push str.OpenWithProgids
push 0x104
push eax
call fcn.0054b5e8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea eax, [ebp - 0x620]
add esp, 0xc
mov dword [ebp - 0x620], 0
push eax
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [ebp - 0x624]
test eax, eax
jne 0x408ad3
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 1
push 0
push esi
push dword [ebp - 0x620]
call edi
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x414]
push eax
push SysReAllocString
call ebx
test eax, eax
jne 0x408b05
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 1
push 0
push esi
push dword [ebp - 0x620]
call edi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054a22c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x409470
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00424170
Function at 0x40a190
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565a28
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5d51c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0xf0
push dword [ecx + 0xc0]
call dword [sym.imp.USER32.dll_SendMessageW]
dec eax
cmp eax, 1
ja 0x40a2cc
mov dword [ebp - 0x18], vtable.CRegCtrl.0
push str.SoftwareHNCHword9.6
push SysReAllocString
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0041f650
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], vtable.CRegCtrl.0
push eax
push 0xf003f
push 0
push str.SoftwareHncHword
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40a2c3
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea eax, [ebp - 0x10]
push eax
push str.SoftwareHncHword9.6
push SysReAllocString
call esi
test eax, eax
jne 0x40a2c3
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SoftwareHncHword9.6Program
push SysReAllocString
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40a29b
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push str.Draw_NewInstall
push dword [ebp - 0x10]
call edi
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push str.Doc_NewInstall
push dword [ebp - 0x10]
call edi
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push str.Clipart_NewInstall
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0x10]
push eax
push str.SoftwareHncHword9.6HwordFrameAppState
push SysReAllocString
call esi
test eax, eax
jne 0x40a2c3
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push str.DocPasswordLevel
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40aa20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0
mov esi, ecx
mov dword [ebp - 8], 0
push 0
push 0xf0
push dword [esi + 0xc4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40aa59
dec eax
cmp eax, 1
ja 0x40aa60
mov dword [ebp - 8], 1
jmp 0x40aa60
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push dword [esi + 0x18c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x40aa84
push dword [ebp - 4]
call edi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [esi + 0x18c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40aabc
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.RunAppShield
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call edi
push 0
push 0
push 0xf0
push dword [esi + 0x138]
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40aaf0
dec eax
cmp eax, 1
ja 0x40aaf7
mov dword [ebp - 8], 1
jmp 0x40aaf7
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push dword [esi + 0x18c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x40ab15
push dword [ebp - 4]
call edi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [esi + 0x18c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ab4d
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.RunBlackFort
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call edi
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40b160
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push edi
push eax
push 0
push 0
push 0
push str.Path
push dword [esi]
mov edi, ecx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x40b1d7
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041f7ba
add esp, 4
mov dword [edi], eax
lea ecx, [ebp - 4]
push ecx
push eax
push 0
push 0
push str.Path
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40b1f0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push 2
call fcn.0041f7ba
push 0x5adca8
push 1
push eax
mov dword [edi], eax
call fcn.0054b04d
add esp, 0x10
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40e8e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push str.SoftwareHNCSharedExecuteOption96
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], 4
xor bl, bl
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e94b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.HCellAXReg
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e94b
mov eax, 1
movzx ebx, bl
cmp dword [ebp - 4], eax
cmove ebx, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40e960
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6b0
mov eax, dword [0x5d51c0]
xor eax, esp
mov dword [esp + 0x6ac], eax
xor eax, eax
mov dword [esp + 4], 0x104
push 0x206
push eax
mov word [esp + 0x2a0], ax
lea eax, [esp + 0x2a2]
push eax
mov dword [esp + 0x14], 1
call fcn.0054cbf0
xor eax, eax
push 0x206
push eax
mov word [esp + 0x4b4], ax
lea eax, [esp + 0x4b6]
push eax
call fcn.0054cbf0
add esp, 0x18
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SOFTWAREHNCSharedCommon9.6
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40eac8
lea eax, [esp + 4]
push eax
push 0
push 0
push 0
push str.Common_Path
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40eac8
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x29c]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push str.Common_Path
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.HCellAxReg.exe
lea eax, [esp + 0x29c]
push 0x104
push eax
call fcn.0054b5e8
push dword [ebp + 8]
lea eax, [esp + 0x4b0]
push 0x104
push eax
call fcn.0054b5e8
add esp, 0x18
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x29c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x40eac8
push 0x3c
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0054cbf0
lea eax, [esp + 0x2a4]
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x28], eax
add esp, 0xc
lea eax, [esp + 0x4a0]
mov dword [esp + 0x18], str.open
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x28], 0
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40eaee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x6ac]
xor al, al
xor ecx, esp
call fcn.0054a22c
mov esp, ebp
pop ebp
ret 4
Function at 0x40f060
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5663d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x5d51c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0xf0
push dword [ecx + 0xc0]
xor bl, bl
call dword [sym.imp.USER32.dll_SendMessageW]
dec eax
cmp eax, 1
ja 0x40f1a6
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea eax, [ebp - 0x10]
push eax
push str.SoftwareHncHShow9.6Program
push SysReAllocString
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x14], 0
call esi
test eax, eax
jne 0x40f105
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push str.OptionFileSaveDocumentFormat
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f105
mov eax, 1
movzx ebx, bl
cmp dword [ebp - 0x14], eax
cmove ebx, eax
mov dword [ebp - 0x18], vtable.CRegCtrl.0
push str.SoftwareHNCHShow9.6
push SysReAllocString
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0041f650
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], vtable.CRegCtrl.0
push eax
push 0xf003f
push 0
push str.SoftwareHncHShow
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f19d
lea eax, [ebp - 0x10]
push eax
push str.SoftwareHncHShow9.6
push SysReAllocString
call esi
test eax, eax
jne 0x40f19d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x10]
push eax
push str.SoftwareHncHShow9.6Program
push SysReAllocString
mov dword [ebp - 0x24], 1
call esi
test eax, eax
jne 0x40f19d
lea eax, [ebp - 0x24]
push 4
cmp bl, 1
je 0x40f18a
lea eax, [ebp - 0x28]
push eax
push 4
push 0
push str.OptionFileSaveDocumentFormat
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40fee0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x5d51c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x206
push eax
mov word [ebp - 0x414], ax
mov edi, ecx
lea eax, [ebp - 0x412]
mov dword [ebp - 0x41c], 0
push eax
mov dword [ebp - 0x418], 0
call fcn.0054cbf0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0054cbf0
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0054b04d
push str._KOR
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0054b5e8
push esi
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0054b04d
push str._ENU
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0054b5e8
add esp, 0x48
lea eax, [ebp - 0x41c]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push SysReAllocString
call esi
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call esi
lea eax, [ebp - 0x420]
mov dword [ebp - 0x42c], 0x11
push eax
push str.SkinInfo
push dword [ebp - 0x41c]
mov dword [ebp - 0x430], 0x11
mov dword [ebp - 0x428], 1
call esi
lea eax, [ebp - 0x424]
push eax
push str.SoftwareHNCHncAtlExtSkinInfo
push SysReAllocString
call esi
push 0
push 0
push 0x147
push dword [edi + 0x12c]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x410093
dec eax
cmp eax, 1
ja 0x410102
test byte [ebp + 0xc], 0x10
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
je 0x410041
push str.DefaultSet_Mso2010
jmp 0x410046
push str.DefaultSet_MSO2010
push 1
push 0
push str.DefaultToolbarSet
push dword [ebp - 0x418]
call esi
push 4
lea eax, [ebp - 0x428]
push eax
push 4
push 0
push str.DefaultWorkspaceType
push dword [ebp - 0x418]
call esi
push 4
lea eax, [ebp - 0x430]
push eax
push 4
push 0
push str.SkinNumber
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x430]
jmp 0x4100ee
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
push str.DefaultSet_Office9
push 1
push 0
push str.DefaultToolbarSet
push dword [ebp - 0x418]
call esi
push 4
lea eax, [ebp - 0x428]
push eax
push 4
push 0
push str.DefaultWorkspaceType
push dword [ebp - 0x418]
call esi
push 4
lea eax, [ebp - 0x42c]
push eax
push 4
push 0
push str.SkinNumber
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x42c]
push 4
push eax
push 4
push 0
push str.SkinNumber
push dword [ebp - 0x424]
call esi
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0054a22c
mov esp, ebp
pop ebp
ret 8
Function at 0x410130
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x5d51c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push edi
mov edi, ecx
mov dword [ebp - 0x14], 0xae00f53a
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], 0x320020
push ecx
push eax
push SysReAllocString
mov dword [ebp - 0xc], 0x310030
mov word [ebp - 8], 0x33
mov dword [ebp - 0x3c], 0x69004d
mov dword [ebp - 0x38], 0x720063
mov dword [ebp - 0x34], 0x73006f
mov dword [ebp - 0x30], 0x66006f
mov dword [ebp - 0x2c], 0x200074
mov dword [ebp - 0x28], 0x6f0057
mov dword [ebp - 0x24], 0x640072
mov dword [ebp - 0x20], 0x320020
mov dword [ebp - 0x1c], 0x310030
mov word [ebp - 0x18], 0x30
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call esi
lea eax, [ebp - 0x40]
push eax
push str.HotKeyInfo
push dword [ebp - 0x44]
call esi
lea eax, [ebp - 0x4c]
push eax
push str.SoftwareHncHwp9.6HwpFrameAppState
push SysReAllocString
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x48]
push 4
push eax
push 4
push 0
push str.EnableInplaceActive
push dword [ebp - 0x4c]
call esi
push 0
push 0
push 0x147
push dword [edi + 0x12c]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x410225
dec eax
cmp eax, 1
ja 0x410239
push 0x26
lea eax, [ebp - 0x3c]
jmp 0x41022a
push 0xe
lea eax, [ebp - 0x14]
push eax
push 3
push 0
push str.CurrentKeySet
push dword [ebp - 0x40]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0054a22c
mov esp, ebp
pop ebp
ret 8

Function at 0x410250
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5d51c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x14], 0xc1fcf53a
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x10], 0x320020
push ecx
push eax
push SysReAllocString
mov dword [ebp - 0xc], 0x310030
mov word [ebp - 8], 0x33
mov dword [ebp - 0x48], 0x69004d
mov dword [ebp - 0x44], 0x720063
mov dword [ebp - 0x40], 0x73006f
mov dword [ebp - 0x3c], 0x66006f
mov dword [ebp - 0x38], 0x200074
mov dword [ebp - 0x34], 0x6f0050
mov dword [ebp - 0x30], 0x650077
mov dword [ebp - 0x2c], 0x500072
mov dword [ebp - 0x28], 0x69006f
mov dword [ebp - 0x24], 0x74006e
mov dword [ebp - 0x20], 0x320020
mov dword [ebp - 0x1c], 0x310030
mov word [ebp - 0x18], 0x30
mov dword [ebp - 0x50], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea eax, [ebp - 0x4c]
push eax
push str.HotKeyInfo
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 0
push 0
push 0x147
push dword [edi + 0x12c]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
test eax, eax
je 0x41032b
dec eax
cmp eax, 1
ja 0x410343
push 0x32
lea eax, [ebp - 0x48]
jmp 0x410330
push 0xe
lea eax, [ebp - 0x14]
push eax
push 3
push 0
push str.CurrentKeySet
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0054a22c
mov esp, ebp
pop ebp
ret 8
Function at 0x410360
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5d51c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x14], 0xc140f53a
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], 0x320020
push ecx
push eax
push SysReAllocString
mov dword [ebp - 0xc], 0x310030
mov word [ebp - 8], 0x33
mov dword [ebp - 0x3c], 0x69004d
mov dword [ebp - 0x38], 0x720063
mov dword [ebp - 0x34], 0x73006f
mov dword [ebp - 0x30], 0x66006f
mov dword [ebp - 0x2c], 0x200074
mov dword [ebp - 0x28], 0x780045
mov dword [ebp - 0x24], 0x650063
mov dword [ebp - 0x20], 0x20006c
mov dword [ebp - 0x1c], 0x300032
mov dword [ebp - 0x18], 0x300031
mov dword [ebp - 0x44], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea eax, [ebp - 0x40]
push eax
push str.HotKeyInfo
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 0
push 0
push 0x147
push dword [edi + 0x12c]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
test eax, eax
je 0x410427
dec eax
cmp eax, 1
ja 0x41043f
push 0x28
lea eax, [ebp - 0x3c]
jmp 0x41042c
push 0xe
lea eax, [ebp - 0x14]
push eax
push 3
push 0
push str.CurrentKeySet
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0054a22c
mov esp, ebp
pop ebp
ret 8

Function at 0x410460
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x5d51c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push edi
mov edi, ecx
mov dword [ebp - 0x14], 0xae00f53a
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], 0x320020
push ecx
push eax
push SysReAllocString
mov dword [ebp - 0xc], 0x310030
mov word [ebp - 8], 0x33
mov dword [ebp - 0x3c], 0x69004d
mov dword [ebp - 0x38], 0x720063
mov dword [ebp - 0x34], 0x73006f
mov dword [ebp - 0x30], 0x66006f
mov dword [ebp - 0x2c], 0x200074
mov dword [ebp - 0x28], 0x6f0057
mov dword [ebp - 0x24], 0x640072
mov dword [ebp - 0x20], 0x320020
mov dword [ebp - 0x1c], 0x310030
mov word [ebp - 0x18], 0x30
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call esi
lea eax, [ebp - 0x40]
push eax
push str.HotKeyInfo
push dword [ebp - 0x44]
call esi
lea eax, [ebp - 0x4c]
push eax
push str.SoftwareHncHword9.6HwordFrameAppState
push SysReAllocString
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x48]
push 4
push eax
push 4
push 0
push str.EnableInplaceActive
push dword [ebp - 0x4c]
call esi
push 0
push 0
push 0x147
push dword [edi + 0x12c]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x410555
dec eax
cmp eax, 1
ja 0x410569
push 0x26
lea eax, [ebp - 0x3c]
jmp 0x41055a
push 0xe
lea eax, [ebp - 0x14]
push eax
push 3
push 0
push str.CurrentKeySet
push dword [ebp - 0x40]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0054a22c
mov esp, ebp
pop ebp
ret 8
Function at 0x412cd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x5d51c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x28c]
call fcn.00405510
push 0xffffffffffffffff
push edi
call fcn.004334e5
test eax, eax
jne 0x412d10
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054a22c
mov esp, ebp
pop ebp
ret 4
push ebx
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x412e07
mov eax, dword [esi + 0x490]
test eax, eax
je 0x412d40
push eax
call fcn.0041f7c3
add esp, 4
push ebx
mov dword [esi + 0x490], 0
call fcn.0041f7ba
add esp, 4
mov dword [esi + 0x490], eax
test eax, eax
je 0x412dea
push eax
push ebx
push dword [ebp - 0x48]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x412dea
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
push str.VarFileInfoTranslation
push dword [esi + 0x490]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x412dea
mov edx, dword [ebp - 0x44]
movzx eax, word [edx]
movzx ecx, word [edx + 2]
shl eax, 0x10
or ecx, eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x44]
push dword [eax]
lea eax, [esi + 0x290]
push str.StringFileInfo_08lx_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esi + 0x28c]
push edi
call fcn.00405880
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054a22c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x490]
test eax, eax
je 0x412dfd
push eax
call fcn.0041f7c3
add esp, 4
mov dword [esi + 0x490], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0054a22c
mov esp, ebp
pop ebp
ret 4