Function at 0x847bcf
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ecx]
cdq
shld edx, eax, 8
shl eax, 8
push ebx
push edi
mov edi, eax
movzx eax, byte [ecx + 1]
mov ebx, edx
cdq
xor edi, eax
movzx eax, byte [ecx + 2]
xor ebx, edx
shld ebx, edi, 8
cdq
shl edi, 8
xor edi, eax
movzx eax, byte [ecx + 3]
xor ebx, edx
shld ebx, edi, 8
cdq
shl edi, 8
xor edi, eax
movzx eax, byte [ecx + 4]
xor ebx, edx
shld ebx, edi, 8
cdq
shl edi, 8
xor edi, eax
movzx eax, byte [ecx + 5]
xor ebx, edx
shld ebx, edi, 8
cdq
shl edi, 8
xor edi, eax
movzx eax, byte [ecx + 6]
xor ebx, edx
shld ebx, edi, 8
cdq
shl edi, 8
xor edi, eax
xor ebx, edx
mov eax, edi
mov edi, ebx
shld edi, eax, 8
shl eax, 8
mov ebx, eax
movzx eax, byte [ecx + 7]
cdq
xor ebx, eax
mov eax, dword [ebp + 8]
xor ebx, dword [eax]
xor edi, edx
xor edi, dword [eax + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], 1
mov eax, 0xff
mov ecx, edi
shr ecx, 0x10
and ecx, eax
mov ebx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
mov ecx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
mov edx, edi
shr edx, 8
and edx, eax
xor ecx, dword [edx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
xor ebx, dword [edx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
mov edx, ecx
mov ecx, edi
and ecx, eax
xor ebx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
xor edx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
mov ecx, dword [ebp - 0x10]
shrd ecx, edi, 0x18
and ecx, eax
xor ebx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
xor edx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
mov ecx, dword [ebp - 0x10]
shr edi, 0x18
mov edi, dword [ebp - 0xc]
shrd ecx, edi, 0x10
and ecx, eax
xor ebx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
xor edx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
mov ecx, dword [ebp - 0x10]
shr edi, 0x10
mov edi, dword [ebp - 0xc]
shrd ecx, edi, 8
and ecx, eax
xor ebx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
xor edx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
mov ecx, dword [ebp - 0xc]
shr ecx, 0x18
xor ebx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
xor edx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
mov ecx, dword [ebp - 0x10]
and ecx, eax
xor edx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
xor ebx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
mov ecx, dword [ebp - 4]
shr edi, 8
mov edi, edx
mov edx, dword [ebp + 8]
xor ebx, dword [edx + ecx*8]
xor edi, dword [edx + ecx*8 + 4]
inc ecx
cmp ecx, 8
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], ecx
jl 0x847c71
mov ecx, edi
and edi, eax
movzx edi, byte [edi*8 + 0x131ac]
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
xor ebx, ebx
xor edx, edx
xor edx, ebx
mov ebx, dword [ebp - 0xc]
and ecx, 0xff0000
xor ecx, edi
mov edi, dword [ebp - 0x10]
shrd edi, ebx, 0x10
and edi, eax
mov edi, dword [edi*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
and edi, 0xff0000
xor edx, edi
mov edi, dword [ebp - 0xc]
shr edi, 8
and edi, eax
mov edi, dword [edi*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
and edi, 0xff00
shr ebx, 0x10
xor ebx, ebx
xor ecx, ebx
xor ecx, edi
mov edi, dword [ebp - 0x10]
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shrd edi, ebx, 0x18
and edi, eax
mov edi, dword [edi*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
and edi, 0xff000000
xor edx, edi
mov edi, dword [ebp - 0x10]
shr ebx, 0x18
xor ebx, ebx
xor ecx, ebx
mov ebx, dword [ebp - 0xc]
shrd edi, ebx, 8
and edi, eax
mov edi, dword [edi*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
and edi, 0xff00
xor edx, edi
mov edi, dword [ebp - 0xc]
shr edi, 0x18
mov edi, dword [edi*8 + reloc.iphlpapi.dll_GetAdaptersInfo]
and edi, 0xff000000
shr ebx, 8
xor ebx, ebx
xor ecx, ebx
xor ecx, edi
mov edi, dword [ebp - 0x10]
and edi, eax
movzx eax, byte [edi*8 + 0x151a8]
xor edi, edi
xor edx, ebx
xor edx, eax
mov eax, dword [ebp + 8]
xor edx, dword [eax + 0x40]
xor ecx, edi
xor ecx, dword [eax + 0x44]
mov eax, ecx
shr eax, 0x18
mov byte [esi], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, ecx
shr eax, 8
mov byte [esi + 2], al
mov eax, ecx
mov byte [esi + 3], al
mov eax, edx
mov edi, ecx
shrd eax, edi, 0x18
shr edi, 0x18
mov byte [esi + 4], al
mov eax, edx
mov edi, ecx
shrd eax, edi, 0x10
mov byte [esi + 5], al
mov eax, edx
shrd eax, ecx, 8
shr edi, 0x10
pop edi
shr ecx, 8
mov byte [esi + 6], al
mov byte [esi + 7], dl
pop ebx
leave
ret 4