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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5a1240
push 0x534c00
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x5adf10]
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.005344b0
mov byte [ebp - 0x334], bl
push 0x104
push ebx
lea edx, [ebp - 0x333]
push edx
call fcn.005344b0
mov byte [ebp - 0x22c], bl
push 0x104
push ebx
lea eax, [ebp - 0x22b]
push eax
call fcn.005344b0
mov byte [ebp - 0x124], bl
push 0x104
push ebx
lea ecx, [ebp - 0x123]
push ecx
call fcn.005344b0
add esp, 0x30
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x450], ebx
cmp esi, ebx
je 0x41b16e
cmp edi, ebx
je 0x41b16e
cmp dword [ebp - 0x454], ebx
je 0x41b16e
mov dword [ebp - 4], ebx
call fcn.0041abd0
mov dword [ebp - 0x440], eax
cmp eax, ebx
jne 0x41b11f
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 0x41b0f4
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
jne 0x41adae
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.gethostbyname
push eax
push 2
push 0x58a
jmp 0x41b107
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
cmp eax, ebx
je 0x41adf0
push 4
push eax
lea edx, [ebp - 0x458]
push edx
call fcn.0052e200
add esp, 0xc
mov eax, dword [ebp - 0x458]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x5875fc
push 0x104
lea ecx, [ebp - 0x334]
push ecx
call fcn.0052e5e5
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 0x41ae6c
mov esi, dword [ebp - 0x448]
push esi
call fcn.0052f6c5
add esp, 4
mov dword [ebp - 0x444], eax
cmp eax, ebx
jne 0x41ae55
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x440], eax
mov ecx, dword [ebp - 0x448]
push ecx
push 0x5882d0
push eax
push 2
push 0x5a3
push str.YWAssistant.c
push str.W_GetNetworkConfigurationBase
call fcn.0041c870
add esp, 0x1c
jmp 0x41b11f
push esi
push ebx
push eax
call fcn.005344b0
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 0x41ae98
push str.GetNetworkParams__
push eax
push 2
push 0x5ad
jmp 0x41b10d
lea ecx, [esi + 0x110]
push ecx
push 0x104
lea edx, [ebp - 0x124]
push edx
call fcn.0052df52
mov esi, dword [esi + 0x10c]
mov dword [ebp - 0x468], esi
add esp, 0xc
cmp esi, ebx
je 0x41af0d
lea eax, [ebp - 0x124]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41aed0
sub eax, edx
je 0x41aef4
push 0x5885e0
push 0x104
lea eax, [ebp - 0x124]
push eax
call fcn.0052dfb1
add esp, 0xc
lea ecx, [esi + 4]
push ecx
push 0x104
lea edx, [ebp - 0x124]
push edx
call fcn.0052dfb1
mov esi, dword [esi]
jmp 0x41aeb6
mov eax, dword [ebp - 0x444]
push eax
call fcn.0052f68b
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 0x41af8c
mov esi, dword [ebp - 0x450]
push esi
call fcn.0052f6c5
add esp, 4
mov dword [ebp - 0x44c], eax
cmp eax, ebx
jne 0x41af81
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x440], eax
mov ecx, dword [ebp - 0x450]
push ecx
push 0x5882d0
push eax
push 2
push 0x5c8
jmp 0x41ae3e
push esi
push ebx
push eax
call fcn.005344b0
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 0x41afb8
push str.GetAdaptersInfo__
push eax
push 2
push 0x5d1
jmp 0x41b10d
lea eax, [esi + 0x1d8]
cmp eax, ebx
je 0x41afd7
push eax
push 0x104
lea eax, [ebp - 0x22c]
push eax
call fcn.0052e5e5
add esp, 0xc
mov edi, dword [ebp - 0x470]
cmp edi, ebx
je 0x41b018
mov ecx, dword [ebp - 0x460]
mov edx, dword [ecx]
cmp edx, ebx
je 0x41b018
lea eax, [ebp - 0x334]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41aff6
sub eax, esi
inc eax
cmp eax, edx
jbe 0x41b006
mov eax, edx
push eax
lea eax, [ebp - 0x334]
push eax
push edx
push edi
call fcn.00531c94
add esp, 0x10
mov edi, dword [ebp - 0x46c]
cmp edi, ebx
je 0x41b059
mov ecx, dword [ebp - 0x454]
mov edx, dword [ecx]
cmp edx, ebx
je 0x41b059
lea eax, [ebp - 0x124]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41b037
sub eax, esi
inc eax
cmp eax, edx
jbe 0x41b047
mov eax, edx
push eax
lea eax, [ebp - 0x124]
push eax
push edx
push edi
call fcn.00531c94
add esp, 0x10
mov edi, dword [ebp - 0x464]
cmp edi, ebx
je 0x41b09a
mov ecx, dword [ebp - 0x45c]
mov edx, dword [ecx]
cmp edx, ebx
je 0x41b09a
lea eax, [ebp - 0x22c]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41b078
sub eax, esi
inc eax
cmp eax, edx
jbe 0x41b088
mov eax, edx
push eax
lea eax, [ebp - 0x22c]
push eax
push edx
push edi
call fcn.00531c94
add esp, 0x10
lea eax, [ebp - 0x334]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41b0a3
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 0x41b0c0
sub eax, edx
inc eax
mov edx, dword [ebp - 0x454]
mov dword [edx], eax
lea eax, [ebp - 0x22c]
lea edx, [eax + 1]
jmp 0x41b0e0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41b0e0
sub eax, edx
inc eax
mov ecx, dword [ebp - 0x45c]
mov dword [ecx], eax
jmp 0x41b11f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x588598
push eax
push 2
push 0x598
mov dword [ebp - 0x440], eax
push str.YWAssistant.c
push str.W_GetNetworkConfigurationBase
call fcn.0041c870
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
call fcn.0041b135
mov eax, dword [ebp - 0x440]
jmp 0x41b173
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.0052d75c
mov esp, ebp
pop ebp
ret