Function at 0x4213b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4841aa
mov eax, dword fs:[0]
push eax
sub esp, 0x85c
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x854], eax
push esi
push edi
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x868]
mov dword fs:[0], eax
mov edi, ecx
push 0x4af05c
mov dword [esp + 0x18], 0x4af05c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x870], 0
cmp dword [0x4af178], 0
jne 0x42151f
mov eax, dword [0x4af054]
sub eax, dword [0x4af050]
and eax, 0xfffffffc
cmp eax, 4
jne 0x42151f
lea ecx, [esp + 0x1c]
call fcn.00403390
lea eax, [esp + 0x18]
mov byte [esp + 0x870], 1
push eax
push 0x4216e0
push 6
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
xor eax, eax
mov word [esp + 0x5c], ax
lea eax, [esp + 0x5c]
push 0x400
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x20]
call fcn.00403460
push str...BasicNetUtils.ini
lea ecx, [esp + 0x20]
call fcn.00408720
xor eax, eax
lea ecx, [esp + 0x1c]
mov word [esp + 0x5c], ax
call fcn.00403480
push eax
push 0x400
lea eax, [esp + 0x64]
push eax
push 0x493b50
push str.reg_path
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x5c]
mov ecx, 0x4af074
push eax
call fcn.00403460
lea ecx, [esp + 0x1c]
call fcn.00403480
push eax
push 0
push str.disable_https_check
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [0x4aa60c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [0x4aa60c], ecx
call fcn.00430640
lea ecx, [esp + 0x1c]
test eax, eax
je 0x42151a
call fcn.004033c0
jmp 0x4216a2
call fcn.004033c0
sub esp, 0x18
xorps xmm0, xmm0
mov esi, esp
movdqa xmmword [esp + 0x4c], xmm0
movdqa xmmword [esp + 0x5c], xmm0
mov dword [esi + 0x10], 0
push esi
push 8
call fcn.004027f0
add esp, 8
test eax, eax
je 0x421551
mov dword [eax], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_cb50aa13979d641dcfa1926934557406____0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
jmp 0x421553
xor eax, eax
lea ecx, [esp + 0x4c]
mov dword [esi + 0x10], eax
mov byte [esp + 0x888], 0
call fcn.00423d20
mov byte [esp + 0x870], 3
test edi, edi
je 0x421605
mov eax, dword [0x4af050]
mov esi, dword [eax]
test esi, esi
jne 0x4215dc
push 0x70
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x870], 4
test esi, esi
je 0x4215b7
push 0x70
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00422110
mov esi, eax
jmp 0x4215b9
xor esi, esi
mov byte [esp + 0x870], 3
cmp dword [esi + 0x5c], 0
je 0x421680
cmp dword [esi + 0x54], 0
je 0x421680
mov eax, dword [0x4af050]
mov dword [eax], esi
inc dword [0x4af178]
lea ecx, [esp + 0x34]
mov byte [esp + 0x870], 0
call fcn.00423c80
push 0x4af05c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x4216af
push 0x70
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x870], 5
test esi, esi
je 0x42163a
push 0x70
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00422110
mov esi, eax
jmp 0x42163c
xor esi, esi
mov byte [esp + 0x870], 3
cmp dword [esi + 0x5c], 0
mov dword [esp + 0x18], esi
je 0x421680
cmp dword [esi + 0x54], 0
je 0x421680
lea eax, [esp + 0x18]
push eax
call fcn.00422e40
lea ecx, [esp + 0x34]
mov byte [esp + 0x870], 0
call fcn.00423c80
push 0x4af05c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x18]
jmp 0x4216af
mov ecx, esi
call fcn.00422200
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [esp + 0x870], 0
lea ecx, [esp + 0x34]
call fcn.00423c80
push 0x4af05c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x868]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x854]
xor ecx, esp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret