Function at 0x434ec0
Capabilities:
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x53c97b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x458
mov eax, dword [0x5ab980]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0x200
mov dword [esp + 0x10], eax
mov dword [esp + 0x470], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x94]
mov byte [esp + 0x470], 1
test eax, eax
jne 0x4354d8
mov eax, dword [ebp + 0x98]
test eax, eax
jne 0x4354d8
lea eax, [esp + 0x2c]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
je 0x434fd7
mov eax, dword [0x5ab980]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
push str.Cannot_Open_Registry
lea ecx, [esp + 0x24]
mov byte [esp + 0x474], 3
call fcn.00512a6d
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.004226f0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x474], 4
call fcn.00512a1d
lea ecx, [esp + 0x14]
mov byte [esp + 0x470], 3
call fcn.005128e4
push ebx
lea edx, [esp + 0x24]
push 0x10
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0042e190
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x470], 2
call fcn.005128e4
mov byte [esp + 0x470], 1
lea ecx, [esp + 0x20]
jmp 0x435585
lea ecx, [esp + 0x44]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push 0
push 0
push 0
lea eax, [esp + 0x78]
push edx
push eax
push 0
push ecx
mov edi, 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4354c8
push str.HKEY_LOCAL_MACHINE_
lea ecx, [esp + 0x14]
call fcn.00512a6d
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
lea ecx, [esp + 0x14]
call fcn.00512cc0
push 0x5971e8
lea ecx, [esp + 0x14]
call fcn.00512cc0
lea edx, [esp + 0x68]
lea ecx, [esp + 0x10]
push edx
call fcn.00512cc0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push 1
push eax
push str.ServiceName
push ecx
call fcn.0041efa0
mov eax, dword [ebp + 0x10]
add esp, 0x10
cmp eax, 2
jne 0x435428
cmp dword [ebp + 4], 5
jb 0x4350ed
lea edx, [esp + 0x38]
push edx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesTcpipParametersInterfaces
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x268]
push eax
push ecx
call fcn.004fa1d7
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x270]
push edx
push eax
call fcn.0041e9a0
add esp, 0x10
lea ecx, [esp + 0x10]
push str.HKEY_LOCAL_MACHINE_
call fcn.00512a6d
push str.SYSTEMCurrentControlSetServicesTcpipParametersInterfaces
lea ecx, [esp + 0x14]
call fcn.00512cc0
push 0x5971e8
lea ecx, [esp + 0x14]
call fcn.00512cc0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00512cfc
jmp 0x4351a9
cmp eax, 2
jne 0x435428
cmp dword [ebp + 4], 4
jb 0x435428
push str.SYSTEMCurrentControlSetServices_
lea ecx, [esp + 0x1c]
call fcn.00512952
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x474], 5
call fcn.00512cfc
push str.Parameters
lea ecx, [esp + 0x1c]
call fcn.00512cc0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
push 0x20019
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [esp + 0x38]
push str.Tcpip
push edx
call fcn.0041e9a0
add esp, 8
lea ecx, [esp + 0x10]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
call fcn.00512a6d
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
call fcn.00512cfc
push 0x5971e8
lea ecx, [esp + 0x14]
call fcn.00512cc0
push str.ParametersTcpip
lea ecx, [esp + 0x14]
call fcn.00512cc0
lea ecx, [esp + 0x18]
mov byte [esp + 0x470], 1
call fcn.005128e4
mov ecx, dword [esp + 0x10]
push 0
push str.EnableDHCP
push ecx
call fcn.0041e5a0
add esp, 0xc
lea ecx, [esp + 0x4c]
push 0xa
call fcn.00510deb
mov dword [esp + 0x4c], 0x559f90
mov eax, dword [esp + 0x478]
mov byte [esp + 0x470], 9
cmp eax, 3
jne 0x435233
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.IPAddress
call fcn.00512952
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x47c], 0xa
call fcn.00512659
lea eax, [esp + 0x48]
mov ecx, ebp
push eax
mov byte [esp + 0x47c], 9
call fcn.00436320
or ebx, 1
mov dword [esp + 0x14], ebx
mov byte [esp + 0x470], 0xb
jmp 0x435253
push eax
lea ecx, [esp + 0x34]
push edi
push ecx
mov ecx, ebp
call fcn.00436280
or ebx, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x470], 0xc
push eax
lea ecx, [esp + 0x24]
call fcn.00512659
test bl, 2
mov dword [esp + 0x470], 0xf
je 0x43527d
and ebx, 0xfffffffd
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], ebx
call fcn.005128e4
mov esi, 0xe
test bl, 1
mov dword [esp + 0x470], esi
je 0x43529e
and ebx, 0xfffffffe
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], ebx
call fcn.005128e4
lea edx, [esp + 0x20]
lea ecx, [esp + 0x4c]
push edx
call fcn.00510fd7
lea eax, [esp + 0x20]
lea ecx, [ebp + 0x9c]
push eax
call fcn.00510fd7
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push ecx
push str.IPAddress
push edx
call fcn.0041e820
mov eax, dword [esp + 0x484]
add esp, 0xc
cmp eax, 3
jne 0x43532e
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.SubnetMask
call fcn.00512952
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x47c], 0x10
call fcn.00512659
lea ecx, [esp + 0x2c]
mov byte [esp + 0x478], 0xe
push ecx
mov ecx, ebp
call fcn.00436320
or ebx, 4
mov dword [esp + 0x14], ebx
mov byte [esp + 0x470], 0x11
jmp 0x43534e
push str.255.255.255.0
lea ecx, [esp + 0x40]
call fcn.00512952
or ebx, 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x470], 0x12
push eax
lea ecx, [esp + 0x24]
call fcn.00512a1d
test bl, 8
mov dword [esp + 0x470], 0x11
je 0x435378
and ebx, 0xfffffff7
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.005128e4
test bl, 4
mov dword [esp + 0x470], esi
je 0x435394
and ebx, 0xfffffffb
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], ebx
call fcn.005128e4
lea ecx, [esp + 0x4c]
call fcn.00510e2a
lea edx, [esp + 0x20]
lea ecx, [esp + 0x4c]
push edx
call fcn.00510fd7
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
push str.SubnetMask
push ecx
call fcn.0041e820
add esp, 0xc
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], 0x200
mov byte [esp + 0x470], 9
call fcn.005128e4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x470], 1
call fcn.00510e5f
lea edx, [esp + 0x44]
lea ecx, [esp + 0x28]
push edx
push 0
push 0
push 0
lea edx, [esp + 0x78]
mov eax, edi
push ecx
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
inc edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x435006
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4358e8
mov ecx, dword [0x5ab980]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x24]
mov bl, 6
push 0x6a
push edx
mov byte [esp + 0x478], bl
call fcn.00422640
add esp, 8
mov eax, dword [eax]
mov ecx, dword [ebp + 0xb8]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x542a
push edx
mov byte [esp + 0x480], 7
call fcn.0050e6da
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x470], bl
call fcn.005128e4
lea eax, [esp + 0x24]
push 0x542b
push eax
call fcn.00422640
push 0
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x488], 8
call fcn.0042e190
add esp, 0x18
lea ecx, [esp + 0x24]
mov byte [esp + 0x470], bl
call fcn.005128e4
lea ecx, [esp + 0x18]
mov byte [esp + 0x470], 1
call fcn.005128e4
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4358e8
lea eax, [esp + 0x2c]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesClassNetTrans_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
je 0x4355b6
mov eax, dword [0x5ab980]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov bl, 0x14
push str.Cannot_Open_Registry
lea ecx, [esp + 0x24]
mov byte [esp + 0x474], bl
call fcn.00512a6d
lea ecx, [esp + 0x24]
push esi
push ecx
call fcn.004226f0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x474], 0x15
call fcn.00512a1d
lea ecx, [esp + 0x24]
mov byte [esp + 0x470], bl
call fcn.005128e4
push 0
lea edx, [esp + 0x24]
push 0x10
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0042e190
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x470], 0x13
call fcn.005128e4
mov byte [esp + 0x470], 1
lea ecx, [esp + 0x20]
call fcn.005128e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x470], 0
call fcn.005128e4
lea ecx, [esp + 0x10]
mov dword [esp + 0x470], 0xffffffff
call fcn.005128e4
xor al, al
jmp 0x43590f
mov ecx, dword [0x5ab980]
mov dword [esp + 0x30], ecx
lea edx, [esp + 0x44]
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push 0
push 0
push 0
lea ecx, [esp + 0x78]
push eax
push ecx
push 0
push edx
mov byte [esp + 0x490], 0x16
mov dword [esp + 0x38], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4358d7
push str.HKEY_LOCAL_MACHINE_
lea ecx, [esp + 0x14]
call fcn.00512a6d
push str.SystemCurrentControlSetServicesClassNet_
lea ecx, [esp + 0x14]
call fcn.00512cc0
lea eax, [esp + 0x68]
lea ecx, [esp + 0x10]
push eax
call fcn.00512cc0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 1
push ecx
push str.DriverDesc
push edx
call fcn.0041efa0
add esp, 0x10
lea ecx, [esp + 0x10]
push str.HKEY_LOCAL_MACHINE_
call fcn.00512a6d
push str.SYSTEMCurrentControlSetServicesClassNetTrans_
lea ecx, [esp + 0x14]
call fcn.00512cc0
lea eax, [esp + 0x68]
lea ecx, [esp + 0x10]
push eax
call fcn.00512cc0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push 1
push ecx
push str.DriverDesc
push edx
call fcn.0041efa0
mov esi, dword [esp + 0x2c]
add esp, 0x10
mov edi, str.TCP_IP
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x4356b1
test al, al
je 0x4356ad
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x4356b1
add esi, 2
add edi, 2
test al, al
jne 0x435689
xor eax, eax
jmp 0x4356b6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x43589b
push str.Dial
lea ecx, [esp + 0x34]
call fcn.0050e341
cmp eax, 0xffffffff
jne 0x43589b
mov edi, dword [esp + 0x478]
cmp edi, 3
jne 0x435730
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.IPAddress
call fcn.00512952
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x47c], 0x17
call fcn.00512659
lea ecx, [esp + 0x44]
mov byte [esp + 0x478], 0x16
push ecx
mov ecx, ebp
call fcn.00436320
or ebx, 0x10
mov dword [esp + 0x14], ebx
mov byte [esp + 0x470], 0x18
jmp 0x435754
mov edx, dword [esp + 0x18]
push edi
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, ebp
call fcn.00436280
or ebx, 0x20
mov dword [esp + 0x14], ebx
mov dword [esp + 0x470], 0x19
push eax
lea ecx, [esp + 0x20]
call fcn.00512a1d
test bl, 0x20
mov dword [esp + 0x470], 0x18
je 0x43577e
and ebx, 0xffffffdf
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], ebx
call fcn.005128e4
mov esi, 0x16
test bl, 0x10
mov dword [esp + 0x470], esi
je 0x43579f
and ebx, 0xffffffef
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.005128e4
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [ebp + 0x9c]
call fcn.00510fd7
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push 1
push edx
push str.IPAddress
push eax
call fcn.0041e450
add esp, 0x10
cmp edi, 3
jne 0x43581c
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.IPMask
call fcn.00512952
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x47c], 0x1a
call fcn.00512659
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
mov byte [esp + 0x47c], 0x16
call fcn.00436320
or ebx, 0x40
mov dword [esp + 0x14], ebx
mov byte [esp + 0x470], 0x1b
jmp 0x43583c
push str.255.255.255.0
lea ecx, [esp + 0x44]
call fcn.00512952
or bl, 0x80
mov dword [esp + 0x14], ebx
mov dword [esp + 0x470], 0x1c
push eax
lea ecx, [esp + 0x20]
call fcn.00512a1d
test bl, 0x80
mov dword [esp + 0x470], 0x1b
je 0x435866
and bl, 0x7f
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], ebx
call fcn.005128e4
test bl, 0x40
mov dword [esp + 0x470], esi
je 0x435882
and ebx, 0xffffffbf
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebx
call fcn.005128e4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push 1
push ecx
push str.IPMask
push edx
call fcn.0041e450
add esp, 0x10
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x28]
mov eax, ecx
inc ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x44]
push ecx
push 0
push 0
push 0
lea ecx, [esp + 0x78]
push edx
mov edx, dword [esp + 0x40]
push ecx
push eax
push edx
mov dword [esp + 0x48], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4355fa
lea ecx, [esp + 0x30]
mov byte [esp + 0x470], 1
call fcn.005128e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x470], 0
call fcn.005128e4
lea ecx, [esp + 0x10]
mov dword [esp + 0x470], 0xffffffff
call fcn.005128e4
mov al, 1
mov ecx, dword [esp + 0x468]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x464
ret 4