Function at 0x4303e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db8cb
mov eax, dword fs:[0]
push eax
sub esp, 0xa48
mov eax, dword [0x66f33c]
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 dword [ebp - 0xa54], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x800
mov dword [ebp - 0xa4c], eax
lea eax, [ebp - 0xa18]
push 0
push eax
mov dword [ebp - 0xa48], esi
mov dword [ebp - 0xa3c], 0
call fcn.0047be90
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0xa40], 0x800
push 0
push eax
call fcn.0047be90
add esp, 0x18
mov dword [ebp - 0xa50], 0x208
call fcn.00454360
test al, al
je 0x43049c
push ebx
push ebx
pop ebp
push esi
pop edx
pop esp
push edi
push ebx
pop edx
push edi
push edi
push ebp
pop eax
pop edi
push esp
pop edi
push ebx
push ebx
push ebx
push ebp
pop ecx
pop ebx
pop esi
push esi
push esi
push esp
pop esp
push esi
pop edi
push ecx
push esp
pop ebx
mov esi, dword [ebp - 0xa48]
call fcn.0045442f
test al, al
je 0x4304b8
pop eax
pop eax
push ebx
pop edx
pop ecx
push edi
pop esp
pop ebp
push eax
pop edi
pop edi
pop eax
push esi
push esp
push eax
push eax
push esp
pop eax
pop ebp
call fcn.004544fe
test al, al
je 0x4304d5
pop edi
pop ebx
push ebp
push eax
pop edx
pop ecx
push ecx
push esi
pop edi
push esp
push ebp
push esp
pop edi
push edi
pop esp
push esi
pop esp
push edx
push edx
push ecx
cmp dword [esi + 0x14], 8
mov dword [ebp - 0xa44], 1
jb 0x4304e7
mov esi, dword [esi]
lea eax, [ebp - 0xa3c]
push eax
push 0xf013f
push 0
push esi
push dword [ebp - 0xa4c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
call fcn.0045469c
test al, al
je 0x430528
pop esp
push esp
pop esi
pop esi
pop edx
push ebx
push esi
pop esi
push esp
pop eax
pop edx
pop esi
push ebx
pop ecx
pop ecx
pop edx
push eax
pop ebp
push edx
pop eax
pop edx
pop eax
push ecx
pop edx
pop ecx
pop edi
pop ecx
mov byte [ebp - 0xa31], 0
test ebx, ebx
jne 0x430813
call fcn.0045469c
test al, al
je 0x43055b
pop esp
push esp
pop esi
pop esi
pop edx
push ebx
push esi
pop esi
push esp
pop eax
pop edx
pop esi
push ebx
pop ecx
pop ecx
pop edx
push eax
pop ebp
push edx
pop eax
pop edx
pop eax
push ecx
pop edx
pop ecx
pop edi
pop ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0xa44]
push eax
push 0
push 0x5e266c
push dword [ebp - 0xa3c]
call ebx
mov ecx, str.WindowsReset_Master_Shell_Extension
lea eax, [ebp - 0xa18]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4305b6
test dx, dx
je 0x4305b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4305b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x430590
xor eax, eax
jmp 0x4305bb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43080c
call fcn.004544b9
test al, al
je 0x4305ef
pop esi
push ebx
pop edi
push esi
pop edx
pop ecx
pop ebp
push eax
push ebx
pop ecx
pop ecx
pop edx
pop edx
pop esp
push ebx
push ebx
push esp
pop eax
pop ebp
push esi
pop eax
pop edx
pop edi
push eax
pop ebx
push ebp
push eax
pop esi
push eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.0047be90
add esp, 0xc
mov dword [ebp - 0xa40], 0x800
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xa38], 0
push eax
push 0xf013f
push 0
push str.InprocServer32
push dword [ebp - 0xa3c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x430690
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0xa44]
push eax
push 0
push 0x5e266c
push dword [ebp - 0xa38]
call ebx
lea eax, [ebp - 0xa50]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa44]
push eax
push 0
push str.ThreadingModel
push dword [ebp - 0xa38]
call ebx
push dword [ebp - 0xa38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00454588
test al, al
je 0x4306b8
pop esp
pop edx
push ecx
push esi
pop edx
pop ebx
pop edi
push esi
pop ebp
pop ecx
pop esp
push eax
pop ebp
pop edx
push ebp
pop ecx
push ebx
pop esi
pop eax
pop edx
push ebx
push esi
pop ecx
push ebp
push ebx
pop ebp
pop ecx
push edx
push edx
pop edi
push eax
call fcn.0045469c
test al, al
je 0x4306de
pop ebx
push ecx
push ebp
pop edi
push edx
pop ecx
push esp
pop ebx
pop ecx
pop edi
push ebx
push ebx
push esp
pop edi
pop edx
push ebx
push ebx
pop edi
pop eax
pop ebp
pop esi
pop edi
pop ebx
push esp
pop ebp
pop eax
pop esi
pop edi
pop ecx
mov ecx, dword [ebp - 0xa54]
lea eax, [ebp - 0xa30]
push eax
call fcn.00435740
cmp dword [ebp - 0xa1c], 8
lea eax, [ebp - 0xa30]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa18]
cmovae eax, dword [ebp - 0xa30]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x430737
test dx, dx
je 0x430733
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x430737
add ecx, 4
add eax, 4
test dx, dx
jne 0x430711
xor eax, eax
jmp 0x43073c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4307fa
call fcn.00454588
test al, al
je 0x43075f
pop edx
pop edi
push edx
pop ebx
pop ebp
pop edx
push esp
pop edx
push esp
push ebp
pop ebp
pop edi
push eax
push esp
push esp
push ebx
pop edi
pop edi
call fcn.004547b0
test al, al
je 0x430783
push edi
push edi
push eax
push edi
pop ecx
push ebp
push esp
pop ebp
push ebp
push ebp
pop edi
pop ebp
push ebp
pop esp
pop ecx
push esp
push eax
pop esp
push esi
pop esp
push ebp
push esi
push eax
push edi
pop edx
push edx
push esp
call fcn.00454612
test al, al
je 0x43079e
pop edi
push edi
push ebx
push edx
pop esi
pop edi
push ebx
pop ebx
push esp
push eax
pop eax
push ebx
pop esi
push ebx
push ebx
push esp
pop ecx
pop ebx
mov ecx, str.Apartment
lea eax, [ebp - 0x218]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4307d6
test dx, dx
je 0x4307d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4307d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4307b0
xor eax, eax
jmp 0x4307db
sbb eax, eax
or eax, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa30]
test eax, eax
jne 0x430807
call fcn.00412280
mov byte [ebp - 0xa31], 1
jmp 0x430813
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa30]
call fcn.00412280
mov byte [ebp - 0xa31], 0
call fcn.004543ea
test al, al
je 0x43083b
push ebx
push ecx
pop edx
pop ecx
pop edx
push eax
pop ecx
push edi
push ebx
push edx
push edx
push edi
pop esi
pop ebx
push esp
push esi
push eax
pop edi
pop eax
push esp
push edx
pop edi
pop esi
push ebp
pop eax
pop edx
pop esi
push ebx
push ebp
pop ebp
push esi
call fcn.00454726
test al, al
je 0x430862
pop esi
pop ebp
pop ebx
pop ecx
push ecx
push ebp
pop eax
push esi
pop ecx
pop eax
pop edx
push ebp
pop eax
push esp
pop esi
pop esi
push edi
pop ecx
pop ebx
push eax
push esi
pop edi
pop ecx
push ecx
pop eax
push esi
push ebp
pop eax
push edi
pop ecx
call fcn.00454909
test al, al
je 0x43088a
push esp
pop eax
push ecx
pop edi
push ecx
pop ecx
pop eax
push esp
pop ecx
pop edi
pop edi
push ebx
pop ecx
pop edx
pop ecx
push eax
pop esp
pop eax
push edx
pop ecx
pop eax
pop ebx
pop eax
pop ecx
pop edx
push ebp
push ecx
pop eax
push edi
push esp
pop edx
push dword [ebp - 0xa3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0xa31]
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.0045132d
mov esp, ebp
pop ebp
ret 8