Function at 0x421320
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x48412a
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 0x42148f
mov eax, dword [0x4af054]
sub eax, dword [0x4af050]
and eax, 0xfffffffc
cmp eax, 4
jne 0x42148f
lea ecx, [esp + 0x1c]
call fcn.00403380
lea eax, [esp + 0x18]
mov byte [esp + 0x870], 1
push eax
push 0x421650
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.00403450
push str...BasicNetUtils.ini
lea ecx, [esp + 0x20]
call fcn.00408710
xor eax, eax
lea ecx, [esp + 0x1c]
mov word [esp + 0x5c], ax
call fcn.00403470
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.00403450
lea ecx, [esp + 0x1c]
call fcn.00403470
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.004304a0
lea ecx, [esp + 0x1c]
test eax, eax
je 0x42148a
call fcn.004033b0
jmp 0x421612
call fcn.004033b0
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.004027e0
add esp, 8
test eax, eax
je 0x4214c1
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 0x4214c3
xor eax, eax
lea ecx, [esp + 0x4c]
mov dword [esi + 0x10], eax
mov byte [esp + 0x888], 0
call fcn.00423c90
mov byte [esp + 0x870], 3
test edi, edi
je 0x421575
mov eax, dword [0x4af050]
mov esi, dword [eax]
test esi, esi
jne 0x42154c
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 0x421527
push 0x70
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00422080
mov esi, eax
jmp 0x421529
xor esi, esi
mov byte [esp + 0x870], 3
cmp dword [esi + 0x5c], 0
je 0x4215f0
cmp dword [esi + 0x54], 0
je 0x4215f0
mov eax, dword [0x4af050]
mov dword [eax], esi
inc dword [0x4af178]
lea ecx, [esp + 0x34]
mov byte [esp + 0x870], 0
call fcn.00423bf0
push 0x4af05c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x42161f
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 0x4215aa
push 0x70
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00422080
mov esi, eax
jmp 0x4215ac
xor esi, esi
mov byte [esp + 0x870], 3
cmp dword [esi + 0x5c], 0
mov dword [esp + 0x18], esi
je 0x4215f0
cmp dword [esi + 0x54], 0
je 0x4215f0
lea eax, [esp + 0x18]
push eax
call fcn.00422db0
lea ecx, [esp + 0x34]
mov byte [esp + 0x870], 0
call fcn.00423bf0
push 0x4af05c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x18]
jmp 0x42161f
mov ecx, esi
call fcn.00422170
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.00423bf0
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.0047db8e
mov esp, ebp
pop ebp
ret