joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a950
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push str.CNXT_XYZ_UIU
lea edi, [ebx + 4]
mov dword [esp + 0x14], 0
push edi
call fcn.0044dee0
mov ebp, dword [esp + 0x218]
add esp, 8
test eax, eax
je 0x43aa07
push ebp
push edi
call fcn.0044dee0
add esp, 8
test eax, eax
je 0x43aa07
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x47d160
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
jmp 0x43aa25
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, dword [ebx]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43aa95
mov ecx, dword [esp + 0x21c]
mov edx, dword [esp + 0x218]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 1
push eax
mov eax, dword [esp + 0x224]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov esi, 1
je 0x43aa7b
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
Function at 0x43aab0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push str.CNXT_XYZ_UIU
lea edi, [ebx + 4]
mov dword [esp + 0x14], 0
push edi
call fcn.0044dee0
mov ebp, dword [esp + 0x218]
add esp, 8
test eax, eax
je 0x43ab67
push ebp
push edi
call fcn.0044dee0
add esp, 8
test eax, eax
je 0x43ab67
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x47d160
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
jmp 0x43ab85
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, dword [ebx]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43abf5
mov ecx, dword [esp + 0x21c]
mov edx, dword [esp + 0x218]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 3
push eax
mov eax, dword [esp + 0x224]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov esi, 1
je 0x43abdb
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
Function at 0x43ac10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push str.CNXT_XYZ_UIU
lea edi, [ebx + 4]
mov dword [esp + 0x18], 0
push edi
call fcn.0044dee0
mov ebp, dword [esp + 0x218]
add esp, 8
test eax, eax
je 0x43acc7
push ebp
push edi
call fcn.0044dee0
add esp, 8
test eax, eax
je 0x43acc7
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x47d160
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
jmp 0x43ace5
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, dword [ebx]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43ad58
mov edi, dword [esp + 0x21c]
mov ecx, dword [esp + 0x218]
mov edx, dword [esp + 0x214]
push edi
push ecx
push eax
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov esi, 1
je 0x43ad3a
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x43ad58
mov eax, dword [edi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1fc
ret 0x10
Function at 0x43ad70
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push str.CNXT_XYZ_UIU
lea edi, [ebx + 4]
mov dword [esp + 0x14], 0
push edi
call fcn.0044dee0
mov ebp, dword [esp + 0x218]
add esp, 8
test eax, eax
je 0x43ae27
push ebp
push edi
call fcn.0044dee0
add esp, 8
test eax, eax
je 0x43ae27
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x47d160
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
jmp 0x43ae45
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, dword [ebx]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43aea2
mov ecx, dword [esp + 0x214]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
mov esi, 1
je 0x43ae88
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 8
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 8
Function at 0x43b240
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x46bd7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebp
push esi
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x130]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ecx]
push 0x20019
push esi
push edx
push eax
mov dword [esp + 0x13c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, dword [esp + 0x134]
test eax, eax
jne 0x43b3f5
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 0x104
push ecx
push esi
push edx
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x43b3ea
push ebx
push edi
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43b307
lea edi, [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x14]
call fcn.00404e90
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x43b331
push 1
lea ecx, [esp + 0x14]
call fcn.00404e90
mov edi, 0x489420
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
push eax
call fcn.0044d7e0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp]
mov edi, dword [esp + 0x10]
cmp esi, 0x1f4
mov ebx, edi
jae 0x43b3bd
lea eax, [esi + 1]
cmp esi, 0xffffffff
mov dword [ebp], eax
je 0x43b3bd
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 4
push ecx
call fcn.00460d6f
mov edx, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebp + esi*4 + 0x1f8], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, ecx
inc ecx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x24]
push 0x104
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x43b2c1
pop edi
xor esi, esi
pop ebx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
mov ebp, dword [ebp]
cmp eax, esi
mov dword [esp + 0x128], 0xffffffff
je 0x43b422
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00460d98
mov edx, dword [esp + 0xc]
push edx
call fcn.00460d98
add esp, 8
mov ecx, dword [esp + 0x120]
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x124
ret 8
Function at 0x43b9c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x46bee4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], method.CWinApp.virtual_0
lea ecx, [edi + 0x134]
mov dword [esp + 0x18], 3
call fcn.0045cdd8
lea esi, [edi + 0xcc]
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 0x12
call fcn.0045cdd8
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 0x11
call fcn.0045cdd8
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 0x10
call fcn.0045cdd8
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 0xf
call fcn.0045cdd8
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 0xe
call fcn.0045cdd8
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 0xd
call fcn.0045cdd8
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 0xc
call fcn.0045cdd8
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 0xb
call fcn.0045cdd8
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 0xa
call fcn.0045cdd8
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 9
call fcn.0045cdd8
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 8
call fcn.0045cdd8
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 7
call fcn.0045cdd8
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 6
call fcn.0045cdd8
lea ecx, [esi + 8]
mov byte [esp + 0x18], 5
call fcn.0045cdd8
lea ecx, [esi + 4]
mov byte [esp + 0x18], 4
call fcn.0045cdd8
mov ecx, esi
mov byte [esp + 0x18], 2
call fcn.0045cdd8
lea ecx, [edi + 0xc8]
mov byte [esp + 0x18], 1
call fcn.0045cdd8
mov byte [esp + 0x18], 0
lea ecx, [edi + 0xc4]
call fcn.0045cdd8
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call fcn.0046564a
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x440ac0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x304
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004318b0
test eax, eax
je 0x440b64
push ebp
push 0
lea eax, [esp + 0x114]
push str.CSetupApp::CloseMMSYSWindow_n
push eax
call fcn.0044cb10
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x110]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x10]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
pop ebp
lea ecx, [esp + 0x20c]
push ecx
mov ecx, ebx
call fcn.004408f0
lea edx, [esp + 0x20c]
push edx
push 0x4407b0
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.004318b0
test eax, eax
je 0x440c1d
push 0
lea eax, [esp + 0x110]
push str.CSetupApp::CloseMMSYSWindow_n
push eax
call fcn.0044cb10
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
pop edi
pop esi
pop ebx
add esp, 0x304
ret
Function at 0x447180
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x46d5ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4855a4]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [esp + 0x14], 1
call esi
test eax, 0x80000000
jne 0x4471ea
call esi
and eax, 0xff
cmp eax, 5
jb 0x4471ea
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4471dc
push str.Global_
jmp 0x4471e1
push str.Local_
lea ecx, [esp + 8]
call fcn.0045cf15
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.0045cb4d
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0045cdd8
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4489c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46d85b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x4855a4]
push ebx
mov dword [esp + 4], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
mov dword [esp + 0x130], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x448aeb
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push edx
push eax
push ebx
push ebx
push 0x47f81c
push ecx
mov dword [esp + 0x24], 0x104
call esi
test eax, eax
jne 0x448a79
lea edx, [esp + 0x14]
lea ecx, [esp + 8]
push edx
call fcn.0045cf15
lea ecx, [esp + 8]
call fcn.0045d28e
push str.MILLENNIUM
lea ecx, [esp + 0xc]
call fcn.0045bdb0
cmp eax, 0xffffffff
jne 0x448ada
push 0x480020
lea ecx, [esp + 0xc]
call fcn.0045bdb0
cmp eax, 0xffffffff
jne 0x448ada
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push ebx
push str.ProductName
push edx
mov dword [esp + 0x24], 0x104
call esi
test eax, eax
jne 0x448adf
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
call fcn.0045cf15
lea ecx, [esp + 8]
call fcn.0045d28e
push str.MILLENNIUM
lea ecx, [esp + 0xc]
call fcn.0045bdb0
cmp eax, 0xffffffff
jne 0x448ada
push 0x480020
lea ecx, [esp + 0xc]
call fcn.0045bdb0
cmp eax, 0xffffffff
je 0x448adf
mov ebx, 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
lea ecx, [esp + 4]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0045cdd8
mov ecx, dword [esp + 0x114]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x448b20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x4855a4]
lea ecx, [esp]
push esi
xor esi, esi
push ecx
push 0x20019
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionSetupUpdates
push 0x80000002
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x448b89
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push esi
push esi
push str.Windows_98_Second_Edition
push ecx
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x448b7e
mov esi, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
call fcn.0045cdd8
mov eax, esi
pop esi
add esp, 0x110
ret

Function at 0x448c30
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push ebx
push esi
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [esp + 0xc]
push eax
xor esi, esi
mov dword [esp + 0x10], 0x9c
call edi
mov ebx, eax
test ebx, ebx
jne 0x448c80
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call edi
test eax, eax
jne 0x448c80
pop edi
pop esi
pop ebx
add esp, 0x9c
ret
mov eax, dword [esp + 0x1c]
dec eax
je 0x448d50
dec eax
jne 0x448d81
call fcn.00448ba0
mov ecx, dword [esp + 0x10]
cmp ecx, 4
ja 0x448cb1
mov esi, 5
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
cmp ecx, 5
jne 0x448d2b
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x448ccf
mov esi, 6
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
cmp ecx, 1
jne 0x448ce5
mov esi, 7
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
cmp ecx, 2
jne 0x448d81
test eax, eax
je 0x448d1a
test ebx, ebx
mov esi, 0xa
je 0x448d81
cmp byte [esp + 0xa6], 1
jne 0x448d81
mov esi, 8
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
mov esi, 9
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
cmp ecx, 6
jne 0x448d81
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x448d81
xor edx, edx
pop edi
test eax, eax
setne dl
add edx, 0xb
mov esi, edx
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
cmp dword [esp + 0x10], 4
jne 0x448d81
call fcn.004489c0
test eax, eax
je 0x448d71
mov esi, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
call fcn.00448b20
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 2
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x9c
ret
Function at 0x448e20
Capabilities:
Create directory
Get common file path

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.TEMP
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x18]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x448e6e
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, 0x47d160
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
ret