Function at 0x434740
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f55f1
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5365f0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x5365f0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
push 0x20019
xor esi, esi
push esi
push str.SYSTEMCurrentControlSetServicesAeFilterMaintenanceModeECL
mov ebx, ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x48], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4347b6
xor eax, eax
jmp 0x434986
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
push esi
push esi
push esi
push str.Comment
push edx
call edi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x434976
shr eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d4853
mov esi, eax
add esp, 4
test esi, esi
je 0x434976
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
push str.Comment
push ecx
call edi
mov edx, esi
mov edi, ebx
call fcn.00401ec0
lea ebx, [esp + 0x28]
call fcn.00406f20
mov edx, dword [0x5361b4]
mov eax, dword [edx + 0xc]
mov ecx, 0x5361b4
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0xa8], 1
lea ecx, [esp + 0x78]
mov eax, ebx
call fcn.00406fa0
or edi, 0xffffffff
test al, al
je 0x43486c
movzx ecx, word [esp + 0x84]
mov dword [esp + 0x24], ecx
jmp 0x434870
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x58]
lea eax, [esp + 0x28]
call fcn.00406fa0
test al, al
je 0x43488c
movzx edx, word [esp + 0x62]
mov dword [esp + 0x18], edx
jmp 0x434890
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x38]
lea eax, [esp + 0x28]
call fcn.00406fa0
test al, al
je 0x4348ac
movzx eax, word [esp + 0x40]
mov dword [esp + 0x1c], eax
jmp 0x4348b0
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x48]
lea eax, [esp + 0x28]
call fcn.00406fa0
movzx ebx, word [esp + 0x48]
test al, al
jne 0x4348c8
mov ebx, edi
lea ecx, [esp + 0x68]
lea eax, [esp + 0x28]
call fcn.00406fa0
test al, al
je 0x4348de
movzx edi, word [esp + 0x6e]
lea ecx, [esp + 0x88]
lea eax, [esp + 0x28]
call fcn.00406fa0
test al, al
je 0x4348fc
movzx eax, word [esp + 0x8a]
jmp 0x4348ff
or eax, 0xffffffff
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push ebx
push edi
push eax
push str._02d__02d__d__02d:_02d:_02d
lea edi, [esp + 0x3c]
call fcn.00403080
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x50]
add esp, 0x1c
push edi
push str._date
push ebx
call fcn.00449e50
push 0x504a64
push str._user
push ebx
call fcn.00449e50
push esi
call fcn.004d632b
add esp, 4
mov dword [esp + 0xa8], 0xffffffff
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434976
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004d5564
mov esp, ebp
pop ebp
ret