Function at 0x47e230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x55b468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.00449ac0
mov eax, dword [0x599508]
xor edi, edi
mov dword [esp + 0x70], edi
mov dword [esp + 8], eax
mov esi, dword [esp + 0x78]
mov byte [esp + 0x70], 1
mov dword [esp + 0x18], edi
cmp dword [esi + 8], edi
jle 0x47e56a
push ebx
push ebp
mov ecx, dword [esi + 4]
mov eax, dword [str.SYSTEMCurrentControlSetServices_sParametersTcpip]
mov edx, dword [edi + ecx + 0xd0]
lea ecx, [esp + 0x10]
push edx
push eax
push ecx
call fcn.0051eea6
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x2c]
push 0x20019
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00449be0
test eax, eax
je 0x47e54e
mov eax, dword [str.EnableDHCP]
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.00449d80
mov ecx, dword [esi + 4]
test eax, eax
mov dword [edi + ecx + 0xac], eax
je 0x47e41e
mov edx, dword [str.DhcpIPAddress]
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.0044a210
mov ecx, dword [str.DhcpSubnetMask]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 2
call fcn.0044a210
mov eax, dword [str.DhcpDefaultGateway]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 3
call fcn.0044a210
mov edx, dword [str.DhcpServer]
lea eax, [esp + 0x80]
push edx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 4
call fcn.0044a210
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x78], 5
push ecx
call fcn.0046fc20
mov edx, dword [esp + 0x1c]
mov ebx, eax
push edx
call fcn.0046fc20
mov ebp, eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.0046fc20
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
push ecx
call fcn.0046fc20
mov edx, dword [esi + 4]
add esp, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [edi + edx + 0x3c]
lea ecx, [edi + edx + 0x34]
push ebx
push eax
call fcn.00526123
mov eax, dword [esi + 4]
push ebp
lea ecx, [edi + eax + 0x48]
mov eax, dword [edi + eax + 0x50]
push eax
call fcn.00526123
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x24]
push edx
mov eax, dword [edi + ecx + 0x78]
lea ecx, [edi + ecx + 0x70]
push eax
call fcn.00526123
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x28]
push edx
lea ecx, [edi + eax + 0xb0]
mov eax, dword [edi + eax + 0xb8]
push eax
call fcn.00526123
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 4
call fcn.0052a9e2
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 3
call fcn.0052a9e2
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 2
call fcn.0052a9e2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 1
call fcn.0052a9e2
jmp 0x47e54e
lea ecx, [esp + 0x48]
call fcn.00524c37
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 6
call fcn.00524c37
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 7
call fcn.00524c37
mov ecx, dword [str.IPAddress]
lea eax, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 8
call fcn.0044a760
mov eax, dword [str.SubnetMask]
lea edx, [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.0044a760
mov edx, dword [str.DefaultGateway]
lea ecx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.0044a760
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
jne 0x47e4ef
xor ebp, ebp
test eax, eax
jle 0x47e4ef
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + ebp*4]
push eax
call fcn.0046fc20
mov ecx, dword [esp + 0x64]
mov ebx, eax
mov eax, dword [ecx + ebp*4]
push eax
call fcn.0046fc20
mov edx, dword [esi + 4]
add esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [edi + edx + 0x3c]
lea ecx, [edi + edx + 0x34]
push ebx
push eax
call fcn.00526123
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x28]
push edx
lea ecx, [edi + eax + 0x48]
mov eax, dword [edi + eax + 0x50]
push eax
call fcn.00526123
mov eax, dword [esp + 0x50]
inc ebp
cmp ebp, eax
jl 0x47e49b
mov eax, dword [esp + 0x3c]
xor ebp, ebp
test eax, eax
jle 0x47e524
mov eax, dword [esp + 0x38]
mov eax, dword [eax + ebp*4]
push eax
call fcn.0046fc20
mov ecx, dword [esi + 4]
add esp, 4
mov edx, dword [edi + ecx + 0x78]
lea ecx, [edi + ecx + 0x70]
push eax
push edx
call fcn.00526123
mov eax, dword [esp + 0x3c]
inc ebp
cmp ebp, eax
jl 0x47e4f9
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 7
call fcn.00524c6a
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 6
call fcn.00524c6a
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 1
call fcn.00524c6a
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 8]
inc eax
add edi, 0xe0
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x47e27a
pop ebp
pop ebx
lea ecx, [esp + 8]
mov byte [esp + 0x70], 0
call fcn.0052a9e2
lea ecx, [esp + 0x24]
mov dword [esp + 0x70], 0xffffffff
call fcn.00449b60
mov ecx, dword [esp + 0x68]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x6c
ret 4