joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44aec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ecx]
mov ecx, dword [esp + 0xc]
push ebp
push esi
test ecx, ecx
push edi
je 0x44aef7
lea edx, [esp + 0x10]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x10]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x44aef9
mov esi, ebx
test esi, esi
je 0x44af82
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push 0
push ecx
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44af77
cmp dword [esp + 0x1c], 3
jne 0x44af77
mov edx, dword [esp + 0x18]
push edx
call fcn.0052644a
mov edi, eax
add esp, 4
test edi, edi
je 0x44af77
lea eax, [esp + 0x18]
push eax
push edi
push 0
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44af6e
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
cmp esi, ebx
mov dword [ecx], edx
je 0x44af64
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push edi
call fcn.00526473
add esp, 4
cmp esi, ebx
je 0x44af82
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x44b010
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x542e1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x550434]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 1
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x44b07b
lea edx, [esp + 0x18]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x44b07d
mov esi, edi
test esi, esi
je 0x44b147
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44b13c
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x44b0bf
cmp eax, 2
je 0x44b0bf
cmp eax, 6
je 0x44b0bf
cmp eax, 7
jne 0x44b13c
mov edx, dword [esp + 0x34]
add edx, 2
push edx
call fcn.0052644a
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edi, ebp
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push ebp
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push ebp
jne 0x44b122
lea ecx, [esp + 0x14]
call fcn.0043c200
cmp esi, dword [esp + 0x14]
je 0x44b117
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.00526473
add esp, 4
jmp 0x44b159
call fcn.00526473
add esp, 4
lea ecx, [esp + 0x10]
push 0x589b18
call fcn.0043c200
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x44b147
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x44b159
push eax
lea ecx, [esp + 0x14]
call fcn.0043c200
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0043b580
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0043bf80
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x44b2a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
test eax, eax
je 0x44b2d7
mov edx, dword [ebp + 0x14]
lea ecx, [ebp + 0xc]
or edx, 0x20019
push ecx
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x44b2da
mov esi, dword [ebp + 8]
test esi, esi
je 0x44b495
call fcn.0044d820
test eax, eax
je 0x44b385
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 0x14]
push 0
push edx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44b489
mov eax, dword [ebp + 0x14]
cmp eax, 1
je 0x44b329
cmp eax, 2
je 0x44b329
cmp eax, 6
je 0x44b329
cmp eax, 7
jne 0x44b489
mov ecx, dword [ebp + 0xc]
add ecx, 2
push ecx
call fcn.0052644a
mov edx, dword [ebp + 0xc]
mov ebx, eax
xor eax, eax
mov edi, ebx
lea ecx, [edx + 2]
add esp, 4
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push ebx
push 0
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push ebx
jne 0x44b474
mov ecx, dword [ebp + 0x18]
call fcn.0043c200
cmp esi, dword [ebp + 8]
je 0x44b45e
jmp 0x44b457
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x44b3c7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.00423bf0
mov edi, esp
test edi, edi
je 0x44b3c7
mov edx, dword [ebp + 0x10]
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp + 0x10], edi
jmp 0x44b3ce
mov dword [ebp + 0x10], 0
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 0x14]
push 0
push ecx
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44b489
mov eax, dword [ebp + 0x14]
cmp eax, 1
je 0x44b408
cmp eax, 2
je 0x44b408
cmp eax, 6
je 0x44b408
cmp eax, 7
jne 0x44b489
mov eax, dword [ebp + 0xc]
add eax, 2
push eax
call fcn.0052644a
mov ecx, dword [ebp + 0xc]
mov ebx, eax
add ecx, 2
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push ebx
push 0
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push ebx
jne 0x44b474
mov ecx, dword [ebp + 0x18]
call fcn.0043c2e0
cmp esi, dword [ebp + 8]
je 0x44b45e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.00526473
add esp, 4
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.00526473
mov ecx, dword [ebp + 0x18]
add esp, 4
push 0x589b18
call fcn.0043c200
cmp esi, dword [ebp + 8]
je 0x44b495
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x44beb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x542ee8
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
push ebx
push esi
test eax, eax
push edi
je 0x44bf06
lea ecx, [ebp + 0x14]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 8]
or ecx, 0x20006
push 0
push ecx
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x44bf09
mov esi, dword [ebp + 8]
test esi, esi
je 0x44bffc
call fcn.0044d820
test eax, eax
je 0x44bf59
mov edi, dword [ebp + 0x18]
push edi
call fcn.00422fc1
mov ecx, dword [ebp + 0x10]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x44bff0
cmp esi, dword [ebp + 8]
je 0x44bf4f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x44bffe
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x44bf98
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.00423bf0
mov edi, esp
test edi, edi
je 0x44bf98
mov edx, dword [ebp + 0x10]
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x44bf9a
xor edi, edi
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 0xc]
push eax
call fcn.004364a0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x44bfe1
cmp esi, dword [ebp + 8]
je 0x44bfcb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.00436c00
mov eax, 1
jmp 0x44bffe
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.00436c00
cmp esi, dword [ebp + 8]
je 0x44bffc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c7a0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x20]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x18], edi
je 0x44c7de
lea edx, [esp + 0x14]
or eax, 0x20019
push edx
push eax
push ebp
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x44c7e0
mov esi, edi
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
push ebp
call fcn.00441910
cmp esi, ebp
je 0x44c8cb
push ebp
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x34]
push ebp
lea ecx, [esp + 0x28]
push eax
push ecx
push ebp
push ebp
push ebp
push esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x44c8c0
cmp dword [esp + 0x10], ebp
jbe 0x44c8c0
mov eax, dword [esp + 0x20]
cmp eax, 0x104
jae 0x44c83c
mov eax, 0x104
mov dword [esp + 0x20], eax
lea edx, [eax + eax + 2]
push edx
call fcn.0052644a
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x44c8c0
cmp dword [esp + 0x10], ebp
jbe 0x44c89d
mov eax, dword [esp + 0x20]
mov edi, ebx
lea ecx, [eax + eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
inc eax
push eax
push ebx
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x44c890
mov ecx, dword [esp + 0x24]
push ebx
mov edx, dword [ecx + 4]
push edx
call fcn.00441dc0
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jb 0x44c855
mov edi, dword [esp + 0x18]
push ebx
call fcn.00526473
add esp, 4
cmp esi, edi
je 0x44c8b1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 8
cmp esi, edi
je 0x44c8cb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 8
Function at 0x44c8e0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x14]
push esi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
call fcn.00441910
cmp ebp, ebx
je 0x44c9bc
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push ebx
lea ecx, [esp + 0x28]
push eax
push ecx
push ebx
push ebx
push ebx
push ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x44c9bc
cmp dword [esp + 0x10], ebx
jbe 0x44c9bc
mov eax, dword [esp + 0xc]
cmp eax, 0x104
jae 0x44c946
mov eax, 0x104
mov dword [esp + 0xc], eax
lea edx, [eax + eax + 2]
push edx
call fcn.0052644a
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x44c9bc
cmp dword [esp + 0x10], ebx
jbe 0x44c9a5
push edi
mov eax, dword [esp + 0x10]
mov edi, esi
lea ecx, [eax + eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
inc eax
push eax
push esi
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x44c99b
mov ecx, dword [esp + 0x1c]
push esi
mov edx, dword [ecx + 4]
push edx
call fcn.00441dc0
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jb 0x44c960
pop edi
push esi
call fcn.00526473
add esp, 4
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x44c9d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x24]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x1c], edi
je 0x44ca0e
lea edx, [esp + 0x14]
or eax, 0x20019
push edx
push eax
push ebp
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x44ca10
mov esi, edi
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
push ebp
call fcn.00441910
cmp esi, ebp
je 0x44cb12
push ebp
push ebp
lea eax, [esp + 0x2c]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x54], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x44cb07
cmp dword [esp + 0x10], ebp
jbe 0x44cb07
mov edx, dword [esp + 0x24]
lea eax, [edx + edx]
cmp eax, 0x104
ja 0x44ca6b
mov eax, 0x104
mov dword [esp + 0x24], eax
lea eax, [eax + eax + 2]
push eax
call fcn.0052644a
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x44cb07
cmp dword [esp + 0x10], ebp
jbe 0x44cae4
mov ecx, dword [esp + 0x24]
xor eax, eax
mov edi, ebx
push 0
lea ecx, [ecx + ecx + 2]
push 0
mov edx, ecx
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x28]
push ecx
push ebx
inc eax
push ebp
push esi
mov dword [esp + 0x38], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x44cad7
mov ecx, dword [esp + 0x28]
push ebx
mov edx, dword [ecx + 4]
push edx
call fcn.00441dc0
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jb 0x44ca8c
mov edi, dword [esp + 0x1c]
push ebx
call fcn.00526473
add esp, 4
cmp esi, edi
je 0x44caf8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 8
cmp esi, edi
je 0x44cb12
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 8
Function at 0x44ccf0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 8
lea eax, [esp + 0xc]
lea ecx, [esp]
push ebx
push ebp
push esi
push edi
push 0
push 0
mov ebx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x44ce6d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44ce4c
mov eax, dword [esp + 0x1c]
cmp eax, 0x104
jae 0x44cd46
mov eax, 0x104
mov dword [esp + 0x1c], eax
lea edx, [eax + eax + 2]
push edx
call fcn.0052644a
mov esi, eax
add esp, 4
test esi, esi
je 0x44ce6d
mov eax, dword [esp + 0x1c]
mov edi, esi
lea ecx, [eax + eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
inc eax
push eax
push esi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x44ce64
mov ebp, dword [esp + 0x20]
mov eax, ebp
or eax, 0x2001f
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
push ecx
push eax
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44ce64
mov edi, dword [esp + 0x20]
test edi, edi
je 0x44ce64
push ebp
push edi
call fcn.0044ccf0
add esp, 8
test eax, eax
je 0x44ce59
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x597598]
test eax, eax
je 0x44cdf5
test ebp, ebp
je 0x44cdf5
push 0
push ebp
push esi
push ebx
call eax
test eax, eax
jne 0x44ce64
jmp 0x44ce01
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x44ce64
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
je 0x44ce43
mov edx, dword [esp + 0x1c]
xor eax, eax
mov edi, esi
lea ecx, [edx + edx + 2]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
inc eax
push eax
push esi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x44ce64
mov eax, dword [esp + 0x14]
jmp 0x44cd9e
push esi
call fcn.00526473
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
test edi, edi
je 0x44ce64
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.00526473
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x44d150
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov eax, dword [0x597818]
sub esp, 0x114
test eax, eax
jne 0x44d29d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push edi
push 0x5975b0
mov dword [0x597818], 1
mov dword [0x5975b0], 0x114
call esi
mov edx, dword [0x5975c0]
xor eax, eax
cmp edx, 2
sete al
test eax, eax
mov dword [0x579610], eax
je 0x44d278
push ebx
push 0x5976c8
mov dword [0x5976c8], 0x11c
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x56f63c
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.GetNativeSystemInfo
push esi
call edi
push str.GetProductInfo
push esi
mov dword [0x59780c], eax
call edi
mov dword [0x597810], eax
mov eax, dword [0x59780c]
test eax, eax
push 0x5977e8
je 0x44d1f4
call eax
jmp 0x44d1fa
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x5976cc]
cmp eax, 6
jae 0x44d212
cmp eax, 5
jne 0x44d226
cmp dword [0x5976d0], 2
jb 0x44d226
cmp word [0x5977e8], 9
jne 0x44d226
mov dword [0x5975a4], 1
push str.Ntdll.dll
call ebx
test eax, eax
pop ebx
je 0x44d244
push str.RtlGetVersion
push eax
call edi
mov edx, eax
mov dword [0x597814], edx
jmp 0x44d24a
mov edx, dword [0x597814]
test edx, edx
je 0x44d278
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x114
push eax
call edx
test eax, eax
jne 0x44d278
mov ecx, dword [esp + 0x14]
mov dword [0x5975bc], ecx
push 0x5975b8
push 0x5975b4
call fcn.0044d640
add esp, 8
call fcn.0044d2b0
pop edi
mov eax, 1
pop esi
add esp, 0x114
ret
mov eax, 1
add esp, 0x114
ret

Function at 0x450830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54339e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x5504c0
mov eax, dword [esi + 0x38]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], 2
je 0x450874
push eax
call fcn.00526473
add esp, 4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
lea ecx, [esi + 0x30]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esp + 0x14], 1
call fcn.00436c00
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], bl
call fcn.00436c00
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00453c10
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x451cd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x54366e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0051db80
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.00454880
push 0xa
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 1
call fcn.0051d370
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 2
call fcn.0044a170
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x28], edi
mov word [esi + 0x2c], di
mov dword [esi + 0x30], edi
mov dword [esi + 0xa0], edi
mov dword [esi], 0x550558
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x452240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x543728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov edi, ecx
push 1
lea ecx, [esp + 0x18]
lea eax, [edi + 0x80]
push eax
call fcn.0044a6a0
mov eax, dword [esp + 0x30]
xor ebp, ebp
cmp eax, ebp
mov eax, dword [edi + 0x70]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
je 0x452339
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x4522c0
lea esi, [edi + 0x68]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.0051d730
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp dword [esp + 0x30], ebp
jne 0x45229b
mov eax, dword [edi + 0x70]
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x45232f
push ebx
lea ebx, [edi + 0x68]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, ebx
call fcn.0051d730
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x30]
cmp ecx, ebp
je 0x4522f9
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, esi
mov dword [esi + 0x2c], ebp
call fcn.0051de10
mov ecx, dword [esp + 0x10]
call fcn.0051ded0
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
je 0x45231a
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
je 0x452328
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x34], ebp
jne 0x4522d3
pop ebx
lea ecx, [edi + 0x68]
call fcn.0051d400
jmp 0x4523b1
neg eax
sbb eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x4523b1
lea esi, [edi + 0x68]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.0051d730
mov ecx, dword [esp + 0xc]
call fcn.0051df50
test eax, eax
jne 0x4523ab
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x28], ebp
jne 0x4523ab
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x452391
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp ecx, ebp
je 0x4523a3
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.0051d6a0
cmp dword [esp + 0x30], ebp
jne 0x452348
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0044a700
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x454d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x543a0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
push esi
mov dword [esp + 4], 0
cmp word [eax], 0x4d4f
je 0x454ddd
mov esi, dword [esp + 0x38]
push 0
push 0
mov ecx, esi
call fcn.00520000
mov eax, esi
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push ebp
push edi
mov ebp, dword [esp + 0x48]
mov ecx, 8
mov esi, eax
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x1c]
xor esi, esi
xor edi, edi
test ecx, ecx
jbe 0x454e11
and word [esp + 0x12], 0xefff
test byte [eax + 3], 0x10
je 0x454e0d
or byte [esp + 0x13], 0x20
mov esi, ebp
mov edi, ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], edi
call fcn.0051fff0
lea eax, [esp + 0x10]
push 0x20
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 1
call fcn.00520550
push edi
push esi
lea ecx, [esp + 0x4c]
call fcn.00520550
test esi, esi
je 0x454e52
cmp esi, ebp
je 0x454e52
push esi
call fcn.00526473
add esp, 4
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00520110
lea ecx, [esp + 0x44]
mov dword [esp + 0xc], 1
mov byte [esp + 0x38], 0
call fcn.00520150
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop ebp
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret