joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c36c
Capabilities:
Get hostname
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x617ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x104
lea eax, [ebp - 0x108]
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.005838b0
add esp, 0xc
mov dword [ebp - 0x10c], ebx
lea eax, [ebp - 0x114]
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x114], edi
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
test eax, eax
je 0x40c51c
push ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x110], ebx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
lea eax, [ebp - 0x10c]
push eax
push ebx
lea eax, [ebp - 0x108]
push eax
push ebx
call edi
mov eax, dword [ebp - 0x10c]
test eax, eax
jne 0x40c47f
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ecx, eax
lea eax, [ebp - 0x108]
dec eax
add ecx, eax
push ecx
push 0x5eb6d4
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
je 0x40c479
push 0x5eb6d4
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
lea eax, [ebp - 0x10c]
push eax
push ebx
lea eax, [ebp - 0x108]
push eax
push ebx
call edi
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x40c51a
jmp 0x40c47f
mov eax, dword [ebp - 0x10c]
push eax
call fcn.0058b06c
push dword [ebp - 0x110]
mov edi, eax
call fcn.0058b06c
pop ecx
pop ecx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x11c], eax
push ecx
lea ecx, [ebp - 0x110]
push ecx
push eax
lea eax, [ebp - 0x10c]
push eax
push edi
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
je 0x40c4fe
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0xff
push eax
mov edx, esi
mov ecx, edi
call fcn.0040c52d
test eax, eax
je 0x40c4fe
mov eax, ebx
cmp byte [esi], al
je 0x40c4fb
cmp byte [esi], 0x2d
jne 0x40c4f2
inc eax
cmp eax, 7
je 0x40c4f9
inc esi
cmp byte [esi], bl
jne 0x40c4e7
jmp 0x40c4fb
mov byte [esi], bl
xor ebx, ebx
inc ebx
test edi, edi
je 0x40c509
push edi
call fcn.0058b077
pop ecx
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x40c51a
push eax
call fcn.0058b077
pop ecx
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00580b5b
mov esp, ebp
pop ebp
ret
Function at 0x40c651
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x617ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x104]
xor ebx, ebx
push str.SOFTWAREStardockMiscMultiplicity2
push eax
mov byte [esi], bl
mov dword [ebp - 0x108], ebx
call fcn.00589e60
pop ecx
pop ecx
lea eax, [ebp - 0x108]
push eax
push 1
push ebx
lea eax, [ebp - 0x104]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40c6b4
push str.stardock
push esi
call fcn.00589e60
pop ecx
pop ecx
jmp 0x40c70e
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 1
push eax
push esi
lea eax, [ebp - 0x110]
mov dword [ebp - 0x10c], 0xff
push eax
push ebx
push str.Affiliate
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
call fcn.0058b5a0
pop ecx
cmp eax, 2
jae 0x40c702
push str.stardock
push esi
call fcn.00589e60
pop ecx
pop ecx
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00580b5b
mov esp, ebp
pop ebp
ret

Function at 0x40c895
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x617ff0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x108], 0
lea eax, [ebp - 0x104]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push str.SOFTWAREStardockMultiplicity2
push eax
mov dword [ebp - 0x10c], 0xff
call fcn.00589e60
mov ebx, 0x5e60a0
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.00589e70
lea eax, [ebp - 0x104]
push str.MP2.ini
push eax
call fcn.00589e70
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.00589e70
lea eax, [ebp - 0x104]
push 0x5eb710
push eax
call fcn.00589e70
add esp, 0x28
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 1
push eax
push esi
lea eax, [ebp - 0x110]
push eax
push 0
push 0x5eb994
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40c969
push edi
push esi
call fcn.00589e60
pop ecx
pop ecx
push esi
call fcn.0058b5a0
pop ecx
test eax, eax
jne 0x40c97d
push edi
push esi
call fcn.00589e60
pop ecx
pop ecx
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00580b5b
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40c9eb
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x617ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x208]
push edi
push 0x104
push 0
push eax
call fcn.005838b0
and dword [ebp - 0x20c], 0
lea eax, [ebp - 0x104]
push str.SOFTWAREStardockMultiplicity2
push eax
call fcn.00589e60
mov edi, 0x5e60a0
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.00589e70
lea eax, [ebp - 0x104]
push str.MP2.ini
push eax
call fcn.00589e70
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.00589e70
lea eax, [ebp - 0x104]
push 0x5eb710
push eax
call fcn.00589e70
add esp, 0x34
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp byte [esi], 0x2d
jne 0x40caa9
cmp byte [esi + 1], 0
jne 0x40caa9
push 0x5eb994
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x40cae2
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.00589e60
lea eax, [ebp - 0x208]
push eax
call fcn.0058b5a0
add esp, 0xc
push eax
lea eax, [ebp - 0x208]
push eax
push 1
push 0
push 0x5eb994
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00580b5b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40d7bd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2fc
mov eax, dword [0x617ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x108]
mov esi, ecx
push 0
push eax
call fcn.005838b0
add esp, 0xc
lea ecx, [ebp - 0x108]
call fcn.0040c651
cmp byte [ebp - 0x108], 0
je 0x40d847
lea eax, [ebp - 0x2fc]
push str.http:__redirects.stardock.com_multiplicity_3.0_purchase
push eax
call fcn.00589e60
lea eax, [ebp - 0x2fc]
push str._affiliate_
push eax
call fcn.00589e70
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00589e70
add esp, 0x18
mov eax, 0x5e66b6
push 3
push eax
push eax
lea eax, [ebp - 0x2fc]
push eax
jmp 0x40d855
push 3
mov eax, 0x5e66b6
push eax
push eax
push str.http:__redirects.stardock.com_multiplicity_3.0_purchase
push str.open
push dword [esi + 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00580b5b
mov esp, ebp
pop ebp
ret

Function at 0x40d885
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x623648]
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x2724
push dword [ebx + 0x20]
test eax, eax
jne 0x40d92d
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
push 0x2726
push dword [ebx + 0x20]
call esi
push 0
push eax
call edi
push 0x2725
push dword [ebx + 0x20]
call esi
push 0
push eax
call edi
push 0x4b6
push dword [ebx + 0x20]
call esi
mov esi, eax
push 0
push esi
call edi
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
lea ecx, [ebx + 0x318]
call fcn.00446c78
push 0
lea ecx, [ebx + 0x288]
call fcn.00446c78
push 5
lea ecx, [ebx + 0xd0]
call fcn.00446c78
push 5
lea ecx, [ebx + 0x160]
call fcn.00446c78
push 5
lea ecx, [ebx + 0x1f0]
call fcn.00446c78
jmp 0x40d97f
dec eax
mov dword [0x623648], eax
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
push 0x2726
push dword [ebx + 0x20]
call esi
push 0
push eax
call edi
push 0x2725
push dword [ebx + 0x20]
call esi
push 5
push eax
call edi
push 0x4b6
push dword [ebx + 0x20]
call esi
mov esi, eax
push 5
push esi
call edi
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
ret
Function at 0x40f963
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
xor eax, eax
push edi
push eax
mov ebx, edx
mov dword [ebp - 4], eax
push 1
push eax
push str.MP2_2
mov dword [ebx], eax
mov edi, ecx
lea eax, [ebp - 4]
mov dword [ebp - 8], edi
push eax
call esi
test eax, eax
jne 0x40f9f7
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call edi
cmp eax, 0x80090024
jne 0x40f9de
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
call esi
test eax, eax
jne 0x40f9f4
call edi
cmp eax, 0x80090016
jne 0x40f9f4
push 0xf0000008
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
call esi
test eax, eax
jne 0x40f9f4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call edi
cmp eax, 0x80090016
jne 0x40f9f4
push 8
push 1
push 0
push str.MP2_2
jmp 0x40f9cb
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push esi
push esi
push 0x8004
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x40f9d5
push esi
push edi
call fcn.0058b5a0
pop ecx
push eax
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x14]
push 4
pop ecx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
call edi
push dword [ebp - 0xc]
call fcn.0058b06c
mov esi, eax
pop ecx
test esi, esi
je 0x40fa72
push dword [ebp - 0xc]
push 0
push esi
call fcn.005838b0
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0xc]
add esp, 0xc
mov dword [ebx], ecx
push 0
push eax
push esi
push 2
push dword [ebp - 0x10]
call edi
cmp dword [ebp - 0x10], 0
je 0x40fa81
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 4], 0
je 0x40fa92
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
jmp 0x40f9d7
Function at 0x40fca5
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc68
mov eax, dword [0x617ff0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.0041e8e4
test eax, eax
jne 0x40fcd4
call fcn.0041e5f7
test eax, eax
je 0x40fe6c
xor ebx, ebx
imul esi, esi, 0x238
mov ecx, ebx
mov eax, ecx
mov edi, 0xff
cdq
idiv edi
mov al, byte [edx*4 + 0x5e8680]
mov byte [esi + ecx + 0x627b8c], al
inc ecx
cmp ecx, 0x20
jb 0x40fcde
mov edi, 0x400
lea eax, [ebp - 0x40c]
push edi
push ebx
push eax
call fcn.005838b0
pop ecx
pop ecx
push str.Multiplicity.ini
push edi
lea eax, [ebp - 0x40c]
mov edx, str.GroupKeyEnc
push eax
push str.CHANGEME
mov ecx, 0x5e6198
call fcn.00438740
lea ecx, [ebp - 0xc5c]
call fcn.004098b8
push edi
lea eax, [ebp - 0x80c]
push ebx
push eax
call fcn.005838b0
pop ecx
pop ecx
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.0058b5a0
pop ecx
push eax
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0xc5c]
call fcn.00409c01
push 0xfe
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.00583330
add esp, 0xc
mov byte [ebp - 0x30e], bl
lea edx, [ebp - 0xc60]
mov dword [ebp - 0xc60], ebx
lea ecx, [ebp - 0x40c]
mov dword [ebp - 0xc64], ebx
call fcn.0040f963
mov dword [ebp - 0xc68], eax
lea eax, [ebp - 0x40c]
push 0x5ec2a0
push eax
call fcn.00589e70
pop ecx
pop ecx
lea edx, [ebp - 0xc64]
lea ecx, [ebp - 0x40c]
call fcn.0040f963
mov edi, eax
mov eax, dword [ebp - 0xc68]
test eax, eax
je 0x40fe4a
test edi, edi
je 0x40fe4a
mov ecx, dword [ebp - 0xc60]
test ecx, ecx
je 0x40fe3c
cmp dword [ebp - 0xc64], ebx
jbe 0x40fe3c
xor edx, edx
mov eax, ebx
cmp ebx, ecx
jae 0x40fe20
div ecx
mov ecx, dword [ebp - 0xc68]
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0xc60]
mov byte [esi + ebx + 0x627b8c], al
jmp 0x40fe30
div dword [ebp - 0xc64]
mov al, byte [edx + edi]
mov byte [esi + ebx + 0x627b8c], al
inc ebx
cmp ebx, 0x20
jb 0x40fdfe
mov eax, dword [ebp - 0xc68]
push eax
call fcn.0058b077
push edi
call fcn.0058b077
pop ecx
pop ecx
mov eax, dword [0x627a90]
lea edx, [esi + 0x627b8c]
add eax, 0x100
lea ecx, [esi + 0x627a9c]
push eax
call fcn.00411b4f
mov dword [esi + 0x627bac], eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00580b5b
mov esp, ebp
pop ebp
ret 4
Function at 0x40fe7f
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc68
mov eax, dword [0x617ff0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.0041e8e4
test eax, eax
jne 0x40feae
call fcn.0041e5f7
test eax, eax
je 0x41003c
xor ebx, ebx
imul esi, esi, 0x238
mov ecx, ebx
mov eax, ecx
mov edi, 0xff
cdq
idiv edi
mov al, byte [edx*4 + 0x5e8680]
mov byte [esi + ecx + 0x627ca8], al
inc ecx
cmp ecx, 0x20
jb 0x40feb8
mov edi, 0x400
lea eax, [ebp - 0x40c]
push edi
push ebx
push eax
call fcn.005838b0
pop ecx
pop ecx
push str.Multiplicity.ini
push edi
lea eax, [ebp - 0x40c]
mov edx, str.GroupKeyEnc
push eax
push str.CHANGEME
mov ecx, 0x5e6198
call fcn.00438740
lea ecx, [ebp - 0xc5c]
call fcn.004098b8
push edi
lea eax, [ebp - 0x80c]
push ebx
push eax
call fcn.005838b0
pop ecx
pop ecx
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.0058b5a0
pop ecx
push eax
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0xc5c]
call fcn.00409c01
push 0xfe
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.00583330
add esp, 0xc
mov byte [ebp - 0x30e], bl
lea edx, [ebp - 0xc60]
mov dword [ebp - 0xc60], ebx
lea ecx, [ebp - 0x40c]
mov dword [ebp - 0xc64], ebx
call fcn.0040f963
mov dword [ebp - 0xc68], eax
lea eax, [ebp - 0x40c]
push 0x5ec2a0
push eax
call fcn.00589e70
pop ecx
pop ecx
lea edx, [ebp - 0xc64]
lea ecx, [ebp - 0x40c]
call fcn.0040f963
mov edi, eax
mov eax, dword [ebp - 0xc68]
test eax, eax
je 0x410024
test edi, edi
je 0x410024
mov ecx, dword [ebp - 0xc60]
test ecx, ecx
je 0x410016
cmp dword [ebp - 0xc64], ebx
jbe 0x410016
xor edx, edx
mov eax, ebx
cmp ebx, ecx
jae 0x40fffa
div ecx
mov ecx, dword [ebp - 0xc68]
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0xc60]
mov byte [esi + ebx + 0x627ca8], al
jmp 0x41000a
div dword [ebp - 0xc64]
mov al, byte [edx + edi]
mov byte [esi + ebx + 0x627ca8], al
inc ebx
cmp ebx, 0x20
jb 0x40ffd8
mov eax, dword [ebp - 0xc68]
push eax
call fcn.0058b077
push edi
call fcn.0058b077
pop ecx
pop ecx
push ecx
lea edx, [esi + 0x627ca8]
lea ecx, [esi + 0x627bb8]
call fcn.00412013
mov dword [esi + 0x627cc8], eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00580b5b
mov esp, ebp
pop ebp
ret 4
Function at 0x412013
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 0x100
mov dword [ebp - 8], esi
call fcn.00411b4f
mov edi, eax
mov ebx, edi
mov dword [ebp - 4], edi
shl ebx, 2
test ebx, ebx
jle 0x412085
lea edx, [esi + 8]
add esi, 8
lea edx, [edx + ebx*4]
xor edi, edi
mov ecx, dword [esi - 8]
add edi, 4
mov eax, dword [edx - 8]
sub ebx, 4
mov dword [esi - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], ecx
mov ecx, dword [esi - 4]
mov dword [esi - 4], eax
mov eax, dword [edx]
mov dword [edx - 4], ecx
mov ecx, dword [esi]
mov dword [esi], eax
lea esi, [esi + 0x10]
mov eax, dword [edx + 4]
mov dword [edx], ecx
lea edx, [edx - 0x10]
mov ecx, dword [esi - 0xc]
mov dword [esi - 0xc], eax
mov dword [edx + 0x14], ecx
cmp edi, ebx
jl 0x412043
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
cmp edi, 1
jle 0x4121e7
add esi, 2
lea ebx, [edi - 1]
lea esi, [esi + 0x10]
mov edx, dword [esi - 2]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x5e9ab0]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5e92b0]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5e8eb0]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5e96b0]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x5e9ab0]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5e92b0]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5e96b0]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5e8eb0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x5e9ab0]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5e92b0]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5e96b0]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5e8eb0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x5e9ab0]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5e92b0]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5e96b0]
movzx eax, dl
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5e8eb0]
mov dword [esi + 0xa], ecx
sub ebx, 1
jne 0x412094
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x414236
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x31c
mov eax, 0x5a19aa
call fcn.0058141a
mov edi, ecx
mov dword [ebp - 0x324], edi
xor esi, esi
push esi
push esi
push 0x1009
push dword [edi + 0x2a0]
mov dword [ebp - 0x318], esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x314], esi
push str.SOFTWAREStardockMultiplicity2
push eax
call fcn.00589e60
lea eax, [ebp - 0x210]
push 0x5e60a0
push eax
call fcn.00589e70
lea eax, [ebp - 0x210]
push 0x5e6128
push eax
call fcn.00589e70
add esp, 0x18
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push 0xff
lea eax, [ebp - 0x110]
push eax
push esi
push dword [ebp - 0x314]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
xor ebx, ebx
inc ebx
jmp 0x4143f6
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x328]
call fcn.00403e54
lea eax, [ebp - 0x110]
mov dword [ebp - 4], esi
push eax
call fcn.0058afab
mov esi, eax
lea eax, [ebp - 0x310]
push 0xff
push 0
push eax
mov dword [ebp - 0x320], esi
call fcn.005838b0
add esp, 0x10
lea eax, [ebp - 0x310]
mov edx, str.TargetMachine
lea ecx, [ebp - 0x110]
push 0x5e6128
push 0xff
push eax
push 0x5e66b6
call fcn.00434d68
cmp byte [ebp - 0x310], 0
je 0x4143c7
xor eax, eax
add edi, 0x280
push eax
push eax
push eax
push eax
push dword [esi*4 + 0x627a08]
mov ecx, edi
push dword [ebp - 0x318]
push 1
call fcn.00448001
mov esi, eax
lea ecx, [ebp - 0x31c]
lea eax, [ebp - 0x310]
push eax
call fcn.00403e54
mov byte [ebp - 4], 1
mov ecx, edi
push dword [ebp - 0x31c]
push 1
push esi
call fcn.0044822b
push dword [ebp - 0x320]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push eax
push 4
push eax
push esi
call fcn.00448182
mov ecx, dword [ebp - 0x31c]
inc dword [ebp - 0x318]
lea ecx, [ecx - 0x10]
call fcn.00404048
mov edi, dword [ebp - 0x324]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x328]
lea ecx, [ecx - 0x10]
call fcn.00404048
push 0xff
lea eax, [ebp - 0x110]
push eax
push ebx
push dword [ebp - 0x314]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0
inc ebx
pop esi
test eax, eax
je 0x4142de
push dword [ebp - 0x314]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.005813c4
ret
Function at 0x416385
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x617ff0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00448f8f
lea ecx, [ebx + 0xd0]
call fcn.0040ad36
lea ecx, [ebx + 0x160]
call fcn.0040ad36
lea ecx, [ebx + 0x200]
call fcn.0040ad36
lea ecx, [ebx + 0x290]
call fcn.0040ad36
push dword [ebx + 0x1f4]
mov ecx, ebx
call fcn.00446c27
push 0x3f7
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 0x1f0]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push dword [0x623ff4]
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_SetPropA]
push 1
push str.GREY
push edi
call esi
push 1
push str.GREY2
push edi
call esi
push 0x42d18b
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push eax
push str.SD_WNDPROC
push edi
call esi
test dword [ebx + 0x1f8], 0x100000
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4164ab
push 1
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
mov esi, eax
push 0
push esi
call edi
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0
push esi
call edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 4
push dword [ebx + 0x20]
call esi
push 5
push eax
call edi
push 3
push dword [ebx + 0x20]
call esi
push 5
push eax
call edi
jmp 0x4164b1
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
test byte [ebx + 0x1f8], 0x40
je 0x416523
push 1
push dword [ebx + 0x20]
call esi
push 0
push eax
call edi
push 2
push dword [ebx + 0x20]
call esi
push 0x5ee630
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
test dword [ebx + 0x1f8], 0x4000
je 0x416523
push 1
push dword [ebx + 0x20]
call esi
push 5
push eax
mov dword [esp + 0x18], eax
call edi
mov edx, str.Upgrade
lea ecx, [esp + 0x14]
call fcn.00429b1a
cmp dword [eax + 0x14], 8
jb 0x41650b
mov eax, dword [eax]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 1
lea ecx, [esp + 0x1c]
call fcn.00403bb4
test dword [ebx + 0x1f8], 0x100
je 0x41653d
push 2
push dword [ebx + 0x20]
call esi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
test dword [ebx + 0x1f8], 0x10000
je 0x41655e
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.00580b5b
mov esp, ebp
pop ebp
ret