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

Disassembly:
push 0xffffffffffffffff
push 0x625118
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.0045d960
mov eax, dword [0x68faac]
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 0x49563a
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.005e6068
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x2c]
push 0x20019
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045da80
test eax, eax
je 0x49561e
mov eax, dword [str.EnableDHCP]
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.0045dc20
mov ecx, dword [esi + 4]
test eax, eax
mov dword [edi + ecx + 0xac], eax
je 0x4954ee
mov edx, dword [str.DhcpIPAddress]
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.0045e0b0
mov ecx, dword [str.DhcpSubnetMask]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 2
call fcn.0045e0b0
mov eax, dword [str.DhcpDefaultGateway]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 3
call fcn.0045e0b0
mov edx, dword [str.DhcpServer]
lea eax, [esp + 0x80]
push edx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 4
call fcn.0045e0b0
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x78], 5
push ecx
call fcn.00486cf0
mov edx, dword [esp + 0x1c]
mov ebx, eax
push edx
call fcn.00486cf0
mov ebp, eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00486cf0
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
push ecx
call fcn.00486cf0
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.005ecc36
mov eax, dword [esi + 4]
push ebp
lea ecx, [edi + eax + 0x48]
mov eax, dword [edi + eax + 0x50]
push eax
call fcn.005ecc36
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.005ecc36
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.005ecc36
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 4
call fcn.005f0020
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 3
call fcn.005f0020
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 2
call fcn.005f0020
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 1
call fcn.005f0020
jmp 0x49561e
lea ecx, [esp + 0x48]
call fcn.005ebdf9
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 6
call fcn.005ebdf9
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 7
call fcn.005ebdf9
mov ecx, dword [str.IPAddress]
lea eax, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 8
call fcn.0045e600
mov eax, dword [str.SubnetMask]
lea edx, [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.0045e600
mov edx, dword [str.DefaultGateway]
lea ecx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.0045e600
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
jne 0x4955bf
xor ebp, ebp
test eax, eax
jle 0x4955bf
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + ebp*4]
push eax
call fcn.00486cf0
mov ecx, dword [esp + 0x64]
mov ebx, eax
mov eax, dword [ecx + ebp*4]
push eax
call fcn.00486cf0
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.005ecc36
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.005ecc36
mov eax, dword [esp + 0x50]
inc ebp
cmp ebp, eax
jl 0x49556b
mov eax, dword [esp + 0x3c]
xor ebp, ebp
test eax, eax
jle 0x4955f4
mov eax, dword [esp + 0x38]
mov eax, dword [eax + ebp*4]
push eax
call fcn.00486cf0
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.005ecc36
mov eax, dword [esp + 0x3c]
inc ebp
cmp ebp, eax
jl 0x4955c9
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 7
call fcn.005ebe2c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 6
call fcn.005ebe2c
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 1
call fcn.005ebe2c
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 8]
inc eax
add edi, 0xe0
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x49534a
pop ebp
pop ebx
lea ecx, [esp + 8]
mov byte [esp + 0x70], 0
call fcn.005f0020
lea ecx, [esp + 0x24]
mov dword [esp + 0x70], 0xffffffff
call fcn.0045da00
mov ecx, dword [esp + 0x68]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x6c
ret 4