Function at 0x1000117f
Capabilities:
Initialize winsock library
Read .ini file

Disassembly:
mov eax, 0x1000b932
call fcn.1000b5d0
sub esp, 0x5c0
push ebx
push esi
lea eax, [ebp - 0x5cc]
push edi
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push dword [ebp + 8]
mov ebx, 0x10010ed0
mov ecx, ebx
call fcn.10007788
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x43a]
mov word [ebp - 0x43c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x103
lea eax, [ebp - 0x43c]
push edi
push eax
mov ecx, ebx
call fcn.1000780c
test eax, eax
je 0x10001209
cmp word [ebp - 0x43c], si
je 0x10001209
lea eax, [ebp - 0x43c]
push eax
push str._sextensionsExtDoctordoctor.ini
push edi
push 0x10010ff4
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
call fcn.1000883e
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x232]
mov word [ebp - 0x234], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x104
push esi
lea eax, [ebp - 0x234]
push edi
push eax
mov ecx, ebx
call fcn.10007827
push str.360se.ini
lea eax, [ebp - 0x234]
push edi
push eax
call fcn.10001358
mov al, byte [ebp + 0xb]
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [ebp - 0x234]
push eax
call edi
pop ecx
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], esi
push eax
push esi
push esi
call fcn.1000160f
pop ecx
pop ecx
mov ecx, eax
call fcn.100091c9
or dword [ebp - 4], 0xffffffff
push 1
pop ebx
lea ecx, [ebp - 0x2c]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push esi
push esi
call fcn.1000167c
pop ecx
pop ecx
mov ecx, eax
call fcn.100093ed
mov al, byte [ebp + 0xb]
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x234]
push eax
call edi
pop ecx
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
push esi
push esi
call fcn.10001781
pop ecx
pop ecx
mov ecx, eax
call fcn.1000953f
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ebx, 0x10010ff4
mov edi, str.IsChecked
push ebx
push esi
mov esi, str.CheckCacheLimit
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x10001336
call fcn.10001062
push ebx
push 0x1000e0ec
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call fcn.100010b4
call fcn.10001550
call fcn.10001d51
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18