Function at 0x434180
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3de0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5256a8]
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 eax, dword [0x528ed0]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ebx, ebx
mov byte [ebp - 0x49], bl
cmp eax, ebx
jne 0x4342b1
mov eax, dword [0x526b7c]
mov edx, dword [eax + 0xc]
mov ecx, 0x526b7c
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x58], 0x104
mov dword [ebp - 0x5c], ebx
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x5c]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434289
mov edx, dword [ebp - 0x58]
cmp edx, ebx
jge 0x43421d
push 0x80070057
call fcn.0043c110
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x43423a
push edx
lea ecx, [ebp - 0x50]
call fcn.00434480
mov esi, dword [ebp - 0x50]
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push ecx
push esi
push ebx
push ebx
push str.Version
push edx
call edi
test eax, eax
jne 0x43427f
cmp dword [ebp - 0x58], ebx
jbe 0x43427f
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x74]
push edx
push 0x528ed0
push str._d._d._d._d
push esi
call fcn.0043462f
add esp, 0x18
cmp eax, 4
je 0x43427f
mov dword [0x528ed0], ebx
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4342ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x528ed0]
cmp eax, 7
ja 0x434365
cmp dword [ebp + 8], ebx
je 0x43444f
push 0x31
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [0x528178]
call fcn.00437b5c
mov ecx, dword [0x528178]
movzx edx, byte [ecx + 0x49]
neg edx
sbb edx, edx
and edx, 0xd
add edx, 3
push edx
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 1
call fcn.00437b5c
mov ecx, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x434309
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x434314
lea eax, [ebp - 0x48]
push 0x30
push ecx
mov ecx, dword [0x528178]
push eax
call fcn.0043be10
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x18], esi
jb 0x43433b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406cf9
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], esi
jb 0x43444f
mov eax, dword [ebp - 0x48]
push eax
call fcn.00406cf9
add esp, 4
jmp 0x43444f
cmp byte [0x528ecc], bl
je 0x434376
mov byte [ebp - 0x49], 1
jmp 0x43444f
cmp eax, 8
jne 0x434384
mov dword [ebp - 0x50], 0x22b8
jmp 0x434396
xor ecx, ecx
cmp eax, 9
setne cl
lea ecx, [ecx + ecx + 0x270f]
mov dword [ebp - 0x50], ecx
push ebx
lea edx, [ebp - 0x54]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push 0x80000001
mov dword [ebp - 0x54], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43444f
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x68]
push edx
push ebx
push 0x50b3dc
mov esi, 4
push eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x68], esi
call edi
cmp eax, 2
jne 0x43440a
mov edx, dword [ebp - 0x54]
push esi
lea ecx, [ebp - 0x50]
push ecx
push esi
push ebx
push 0x50b3dc
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x434445
mov eax, dword [ebp - 0x54]
push eax
jmp 0x434434
cmp eax, ebx
jne 0x434445
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebp - 0x50]
je 0x43443a
mov eax, dword [ebp - 0x54]
push esi
lea edx, [ebp - 0x50]
push edx
push esi
push ebx
push 0x50b3dc
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43443a
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov byte [0x528ecc], 1
mov byte [ebp - 0x49], 1
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x49]
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.00401306
mov esp, ebp
pop ebp
ret