Function at 0x43aa80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560268
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x30], edi
push 0x22
push str.SYSTEMCurrentControlSetServices_
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407de0
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 4], 0
jb 0x43aaeb
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00402820
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43aba6
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43ab4e
cmp eax, 0xffffffff
je 0x43ab4e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43ab88
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ab7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ad36
push edx
push ecx
call fcn.0048baae
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048babc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 0
push 0
push 0
push str.ImagePath
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ab28
mov edi, dword [ebp - 0x30]
shr edi, 1
inc edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
cmp edi, 0x7fffffff
ja 0x43ad3b
lea ebx, [edi + edi]
cmp ebx, 0x1000
jb 0x43ac1a
lea eax, [ebx + 0x23]
cmp eax, ebx
jbe 0x43ad40
push eax
call fcn.0048ba7e
add esp, 4
test eax, eax
je 0x43ad36
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x43ac2d
test ebx, ebx
je 0x43ac2b
push ebx
call fcn.0048ba7e
add esp, 4
mov esi, eax
jmp 0x43ac2d
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x40], esi
add ebx, esi
xor eax, eax
shr ecx, 1
mov edi, esi
rep stosd dword es:[edi], eax
adc ecx, ecx
mov dword [ebp - 0x38], ebx
rep stosw word es:[edi], ax
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
push esi
push 0
push 0
push str.ImagePath
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [ebp - 0x34]
test eax, eax
jne 0x43acab
push esi
mov ecx, edi
call fcn.00402410
test esi, esi
je 0x43ab3b
sub ebx, esi
and ebx, 0xfffffffe
cmp ebx, 0x1000
jb 0x43ac9c
mov ecx, dword [esi - 4]
add ebx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x43ad36
mov esi, ecx
push ebx
push esi
call fcn.0048baae
add esp, 8
jmp 0x43ab3b
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
test esi, esi
je 0x43aceb
sub ebx, esi
and ebx, 0xfffffffe
cmp ebx, 0x1000
jb 0x43ace1
mov ecx, dword [esi - 4]
add ebx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x43ad36
mov esi, ecx
push ebx
push esi
call fcn.0048baae
add esp, 8
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43acfe
cmp eax, 0xffffffff
je 0x43acfe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43ab88
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ab7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43ab7e
call fcn.004973d9
call fcn.004027b0
call fcn.00402780
int3