Function at 0x434570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d21c9
mov eax, dword fs:[0]
push eax
sub esp, 0xfcc
mov eax, dword [0x65a000]
xor eax, esp
mov dword [esp + 0xfc4], eax
push esi
push edi
mov eax, dword [0x65a000]
xor eax, esp
push eax
lea eax, [esp + 0xfd8]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xe8], 0
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], 0
mov word [esp + 0xf4], ax
mov dword [esp + 0xfe0], eax
push 0x7fe
push eax
mov word [esp + 0x7d4], ax
lea eax, [esp + 0x7d6]
push eax
call fcn.005a7690
add esp, 0xc
xor eax, eax
push 0xd
push str.PARAM_REG_X86
lea ecx, [esp + 0x1c]
mov dword [esp + 0xf8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.004058d0
lea eax, [esp + 0x14]
mov byte [esp + 0xfe0], 1
mov ecx, dword [0x6fb010]
push eax
lea eax, [esp + 0x110]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00406e30
mov byte [esp + 0xfe0], 3
cmp dword [esp + 0x28], 8
jb 0x43467a
push dword [esp + 0x14]
call fcn.0048166b
add esp, 4
xor eax, eax
push 0xb
push str.InstDrvName
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
call fcn.004058d0
lea eax, [esp + 0x2c]
mov byte [esp + 0xfe0], 4
mov ecx, dword [0x6fb010]
push eax
lea eax, [esp + 0x128]
push eax
lea ecx, [ecx + 0xc]
call fcn.00406e30
mov byte [esp + 0xfe0], 6
cmp dword [esp + 0x40], 8
jb 0x4346f0
push dword [esp + 0x2c]
call fcn.0048166b
add esp, 4
xor eax, eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x124]
push eax
mov edx, 0x618734
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
call fcn.00406160
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x118]
mov byte [esp + 0xfec], 7
call fcn.00405690
mov byte [esp + 0xfe0], 6
cmp dword [esp + 0x58], 8
jb 0x434754
push dword [esp + 0x44]
call fcn.0048166b
add esp, 4
cmp dword [esp + 0x120], 8
lea ecx, [esp + 0xe8]
push ecx
push 0x20019
lea eax, [esp + 0x114]
cmovae eax, dword [esp + 0x114]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434ae5
cmp dword [esp + 0xe8], eax
je 0x434ae5
push 0xf
push str.IP_ADDRESS_TYPE
lea ecx, [esp + 0xfc]
call fcn.004058d0
cmp dword [esp + 0x108], 8
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0xf0]
push ecx
push 0
lea ecx, [esp + 0xf4]
push ecx
lea eax, [esp + 0x100]
cmovae eax, dword [esp + 0x100]
push 0
push eax
push dword [esp + 0xfc]
call esi
cmp dword [esp + 0x108], 8
lea ecx, [esp + 0xf0]
push ecx
lea ecx, [esp + 0x7d0]
push ecx
lea ecx, [esp + 0xf4]
push ecx
lea eax, [esp + 0x100]
cmovae eax, dword [esp + 0x100]
push 0
push eax
push dword [esp + 0xfc]
call esi
lea eax, [esp + 0x7cc]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.00409390
push 0xa
push str.IP_ADDRESS
lea ecx, [esp + 0xfc]
mov byte [esp + 0xfe8], 8
call fcn.004058d0
cmp dword [esp + 0x108], 8
lea ecx, [esp + 0xf0]
push ecx
push 0
lea ecx, [esp + 0xf4]
push ecx
lea eax, [esp + 0x100]
cmovae eax, dword [esp + 0x100]
push 0
push eax
push dword [esp + 0xfc]
call esi
cmp dword [esp + 0x108], 8
lea ecx, [esp + 0xf0]
push ecx
lea ecx, [esp + 0x7d0]
push ecx
lea ecx, [esp + 0xf4]
push ecx
lea eax, [esp + 0x100]
cmovae eax, dword [esp + 0x100]
push 0
push eax
push dword [esp + 0xfc]
call esi
lea eax, [esp + 0x60]
mov dword [esp + 0x5c], eax
push 3
lea eax, [esp + 0x7d0]
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x18], 0
call fcn.004191a0
mov byte [esp + 0xfe0], 9
push dword [esp + 0x5c]
lea ecx, [esp + 0x14]
call fcn.004186f0
mov byte [esp + 0xfe0], 0xb
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x60]
cmp eax, ecx
je 0x43491d
push eax
call fcn.005a5a32
add esp, 4
push dword [esp + 0xe8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
push 0x688
lea eax, [esp + 0x144]
push esi
push eax
mov dword [esp + 0x148], esi
call fcn.005a7690
add esp, 0xc
lea ecx, [esp + 0xc]
push str.IPV4
call fcn.004358b0
test eax, eax
jne 0x43496e
push 4
push 0x61a750
mov ecx, 0x6fb348
call fcn.004058d0
jmp 0x434992
push str.IPV6
lea ecx, [esp + 0x10]
call fcn.004358b0
test eax, eax
jne 0x434992
push 0x61a774
mov ecx, 0x6fb348
lea esi, [eax + 1]
call fcn.00405330
mov ecx, dword [0x6fb01c]
lea eax, [esp + 0x13c]
push eax
push dword [esp + 0x14]
push esi
call fcn.004178b0
test eax, eax
je 0x4349bd
push str.CDlgSetupComplete::SetConnectInfo__IPAppointmentSearch___Failed
call fcn.00415fc0
jmp 0x434a98
push dword [esp + 0xc]
lea ecx, [esp + 0x48]
call fcn.004051f0
push str.IP_ADDRESS_TYPE
lea ecx, [esp + 0x18]
mov byte [esp + 0xfe4], 0xc
call fcn.004051f0
lea eax, [esp + 0x44]
mov byte [esp + 0xfe0], 0xd
mov ecx, dword [0x6fb010]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [ecx + 0xc]
call fcn.00407490
cmp dword [esp + 0x28], 8
jb 0x434a13
push dword [esp + 0x14]
call fcn.0048166b
add esp, 4
xor eax, eax
mov byte [esp + 0xfe0], 0xb
cmp dword [esp + 0x58], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
jb 0x434a45
push dword [esp + 0x44]
call fcn.0048166b
add esp, 4
push esi
sub esp, 0x68c
xor eax, eax
mov edi, esp
mov ecx, 0x1a3
lea esi, [esp + 0x7cc]
mov dword [esp + 0x6e8], 7
mov dword [esp + 0x6e4], 0
mov word [esp + 0x6d4], ax
rep movsd dword es:[edi], dword [esi]
call fcn.00418310
test eax, eax
jne 0x434a8d
push eax
push str.CDlgSetupComplete::SetConnectInfo__SaveConnectInfoForMSetup___Success
jmp 0x434a93
push eax
push str.CDlgSetupComplete::SetConnectInfo__SaveConnectInfoForMSetup___Failed_:__d
call fcn.00416140
mov byte [esp + 0xfe0], 8
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x434ac0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xfe0], 6
mov edx, dword [esp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x434b09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x434b09
push eax
push str.CDlgDriverInstall::IsDriverInstalled__RegOpenKeyEx___Failed___0X_08X
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x14
push 0x6fb428
call fcn.00415fc0
cmp dword [esp + 0x138], 8
jb 0x434b22
push dword [esp + 0x124]
call fcn.0048166b
add esp, 4
xor eax, eax
cmp dword [esp + 0x120], 8
mov dword [esp + 0x138], 7
mov dword [esp + 0x134], 0
mov word [esp + 0x124], ax
jb 0x434b5b
push dword [esp + 0x10c]
call fcn.0048166b
add esp, 4
xor eax, eax
cmp dword [esp + 0x108], 8
mov dword [esp + 0x120], 7
mov dword [esp + 0x11c], 0
mov word [esp + 0x10c], ax
jb 0x434b94
push dword [esp + 0xf4]
call fcn.0048166b
add esp, 4
mov ecx, dword [esp + 0xfd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xfc4]
xor ecx, esp
call fcn.005a4646
mov esp, ebp
pop ebp
ret