Function at 0x4266a0
Capabilities:
Get hostname
Get networking parameters
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5ca9b0
push 0x543c90
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x5d7f50]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x470], eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x460], edi
mov dword [ebp - 0x464], ecx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x45c], esi
mov dword [ebp - 0x46c], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x454], eax
xor ebx, ebx
mov dword [ebp - 0x440], ebx
mov byte [ebp - 0x43c], bl
push 0x104
push ebx
lea ecx, [ebp - 0x43b]
push ecx
call fcn.00543bb0
mov byte [ebp - 0x334], bl
push 0x104
push ebx
lea edx, [ebp - 0x333]
push edx
call fcn.00543bb0
mov byte [ebp - 0x22c], bl
push 0x104
push ebx
lea eax, [ebp - 0x22b]
push eax
call fcn.00543bb0
mov byte [ebp - 0x124], bl
push 0x104
push ebx
lea ecx, [ebp - 0x123]
push ecx
call fcn.00543bb0
add esp, 0x30
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x450], ebx
cmp esi, ebx
je 0x426bbe
cmp edi, ebx
je 0x426bbe
cmp dword [ebp - 0x454], ebx
je 0x426bbe
mov dword [ebp - 4], ebx
call fcn.00426620
mov dword [ebp - 0x440], eax
cmp eax, ebx
jne 0x426b6f
push 0x105
lea edx, [ebp - 0x43c]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
mov dword [ebp - 0x440], eax
cmp eax, ebx
jne 0x426b44
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
jne 0x4267fe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.gethostbyname
push eax
push 2
push 0x58a
jmp 0x426b57
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
cmp eax, ebx
je 0x426840
push 4
push eax
lea edx, [ebp - 0x458]
push edx
call fcn.0053cf80
add esp, 0xc
mov eax, dword [ebp - 0x458]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x5af0c4
push 0x104
lea ecx, [ebp - 0x334]
push ecx
call fcn.0053d88d
add esp, 0x10
lea edx, [ebp - 0x448]
push edx
push ebx
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetNetworkParams]
call edi
cmp eax, 0x6f
jne 0x4268bc
mov esi, dword [ebp - 0x448]
push esi
call fcn.0053e900
add esp, 4
mov dword [ebp - 0x444], eax
cmp eax, ebx
jne 0x4268a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x440], eax
mov ecx, dword [ebp - 0x448]
push ecx
push 0x5b1208
push eax
push 2
push 0x5a3
push str.YWAssistant.c
push str.W_GetNetworkConfigurationBase
call fcn.004282b0
add esp, 0x1c
jmp 0x426b6f
push esi
push ebx
push eax
call fcn.00543bb0
add esp, 0xc
mov edx, dword [ebp - 0x448]
mov dword [ebp - 0x448], edx
lea eax, [ebp - 0x448]
push eax
mov esi, dword [ebp - 0x444]
push esi
call edi
mov dword [ebp - 0x440], eax
cmp eax, ebx
je 0x4268e8
push str.GetNetworkParams__
push eax
push 2
push 0x5ad
jmp 0x426b5d
lea ecx, [esi + 0x110]
push ecx
push 0x104
lea edx, [ebp - 0x124]
push edx
call fcn.0053d6e9
mov esi, dword [esi + 0x10c]
mov dword [ebp - 0x468], esi
add esp, 0xc
cmp esi, ebx
je 0x42695d
lea eax, [ebp - 0x124]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x426920
sub eax, edx
je 0x426944
push 0x5b1518
push 0x104
lea eax, [ebp - 0x124]
push eax
call fcn.0053d67c
add esp, 0xc
lea ecx, [esi + 4]
push ecx
push 0x104
lea edx, [ebp - 0x124]
push edx
call fcn.0053d67c
mov esi, dword [esi]
jmp 0x426906
mov eax, dword [ebp - 0x444]
push eax
call fcn.0053e8c6
add esp, 4
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x448], ebx
lea ecx, [ebp - 0x450]
push ecx
mov edx, dword [ebp - 0x44c]
push edx
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
call edi
cmp eax, 0x6f
jne 0x4269dc
mov esi, dword [ebp - 0x450]
push esi
call fcn.0053e900
add esp, 4
mov dword [ebp - 0x44c], eax
cmp eax, ebx
jne 0x4269d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x440], eax
mov ecx, dword [ebp - 0x450]
push ecx
push 0x5b1208
push eax
push 2
push 0x5c8
jmp 0x42688e
push esi
push ebx
push eax
call fcn.00543bb0
add esp, 0xc
lea edx, [ebp - 0x450]
push edx
mov esi, dword [ebp - 0x44c]
push esi
call edi
mov dword [ebp - 0x440], eax
cmp eax, ebx
je 0x426a08
push str.GetAdaptersInfo__
push eax
push 2
push 0x5d1
jmp 0x426b5d
lea eax, [esi + 0x1d8]
cmp eax, ebx
je 0x426a27
push eax
push 0x104
lea eax, [ebp - 0x22c]
push eax
call fcn.0053d88d
add esp, 0xc
mov edi, dword [ebp - 0x470]
cmp edi, ebx
je 0x426a68
mov ecx, dword [ebp - 0x460]
mov edx, dword [ecx]
cmp edx, ebx
je 0x426a68
lea eax, [ebp - 0x334]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x426a46
sub eax, esi
inc eax
cmp eax, edx
jbe 0x426a56
mov eax, edx
push eax
lea eax, [ebp - 0x334]
push eax
push edx
push edi
call fcn.00541764
add esp, 0x10
mov edi, dword [ebp - 0x46c]
cmp edi, ebx
je 0x426aa9
mov ecx, dword [ebp - 0x454]
mov edx, dword [ecx]
cmp edx, ebx
je 0x426aa9
lea eax, [ebp - 0x124]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x426a87
sub eax, esi
inc eax
cmp eax, edx
jbe 0x426a97
mov eax, edx
push eax
lea eax, [ebp - 0x124]
push eax
push edx
push edi
call fcn.00541764
add esp, 0x10
mov edi, dword [ebp - 0x464]
cmp edi, ebx
je 0x426aea
mov ecx, dword [ebp - 0x45c]
mov edx, dword [ecx]
cmp edx, ebx
je 0x426aea
lea eax, [ebp - 0x22c]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x426ac8
sub eax, esi
inc eax
cmp eax, edx
jbe 0x426ad8
mov eax, edx
push eax
lea eax, [ebp - 0x22c]
push eax
push edx
push edi
call fcn.00541764
add esp, 0x10
lea eax, [ebp - 0x334]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x426af3
sub eax, edx
inc eax
mov ecx, dword [ebp - 0x460]
mov dword [ecx], eax
lea eax, [ebp - 0x124]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x426b10
sub eax, edx
inc eax
mov edx, dword [ebp - 0x454]
mov dword [edx], eax
lea eax, [ebp - 0x22c]
lea edx, [eax + 1]
jmp 0x426b30
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x426b30
sub eax, edx
inc eax
mov ecx, dword [ebp - 0x45c]
mov dword [ecx], eax
jmp 0x426b6f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x5b14d0
push eax
push 2
push 0x598
mov dword [ebp - 0x440], eax
push str.YWAssistant.c
push str.W_GetNetworkConfigurationBase
call fcn.004282b0
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
call fcn.00426b85
mov eax, dword [ebp - 0x440]
jmp 0x426bc3
mov eax, 0x57
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret