Function at 0x100300a0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x10040dfc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x320
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x231]
mov byte [esp + 0x230], bl
mov byte [esp + 0x30], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x130], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x131]
push str.iphlpapi.dll
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
cmp ebp, ebx
je 0x10030134
push str.GetAdaptersInfo
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
jne 0x1003019a
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebp, dword [esp + 0x340]
mov al, byte [esp + 0x13]
xor edi, edi
or ecx, 0xffffffff
mov byte [ebp], al
xor eax, eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, ebp
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10030193
mov edi, dword [ebp + 4]
mov ecx, esi
mov edx, ecx
xor esi, esi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], eax
mov byte [eax + ecx], bl
mov eax, ebp
jmp 0x100303dc
lea edx, [esp + 0x1c]
push edx
push ebx
call edi
cmp eax, ebx
jne 0x100301db
xor eax, eax
xor ecx, ecx
mov al, byte [0x199]
mov cl, byte [0x198]
xor edx, edx
push eax
mov dl, byte [0x197]
push ecx
xor eax, eax
xor ecx, ecx
mov al, byte [0x196]
mov cl, byte [0x195]
push edx
xor edx, edx
mov dl, byte [0x194]
push eax
push ecx
jmp 0x10030231
cmp eax, 0x6f
jne 0x10030248
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
lea edx, [esp + 0x1c]
mov esi, eax
push edx
push esi
call edi
cmp eax, ebx
jne 0x10030248
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 0x199]
mov cl, byte [esi + 0x198]
xor edx, edx
push eax
mov dl, byte [esi + 0x197]
push ecx
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 0x196]
mov cl, byte [esi + 0x195]
push edx
xor edx, edx
mov dl, byte [esi + 0x194]
push eax
push ecx
push edx
lea eax, [esp + 0x248]
push str.0x_02x_02x_02x_02x_02x_02x
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x20
call fcn.100084c0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
push ecx
call fcn.10030400
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor esi, esi
shr ecx, 2
xor edx, edx
cmp ecx, ebx
mov dword [esp + 0x14], esi
jle 0x100302ae
lea eax, [esp + 0x30]
mov edx, ecx
mov edi, dword [eax]
add eax, 4
xor esi, edi
dec ecx
jne 0x100302a0
mov dword [esp + 0x14], esi
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test cl, 3
je 0x100302c9
xor esi, dword [esp + edx*4 + 0x30]
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x16]
lea edi, [esp + 0x230]
or ecx, 0xffffffff
xor eax, eax
xor edx, esi
lea esi, [esp + 0x130]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
and edx, 0xffff
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
push str._04x
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x144]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edi, [esp + 0x130]
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [esp + 0x13]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x24]
push ebp
mov byte [esp + 0x28], dl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10030382
mov edi, dword [esp + 0x24]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0x130]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov esi, dword [esp + 0x340]
mov cl, byte [esp + 0x20]
mov dword [esp + 0x338], ebx
mov byte [esi], cl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x20]
mov eax, dword [edx]
push eax
push ebx
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x100303da
mov al, byte [ecx - 1]
cmp al, bl
je 0x100303d0
cmp al, 0xff
je 0x100303d0
dec al
mov byte [ecx - 1], al
jmp 0x100303da
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x330]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x32c
ret