Function at 0x10075160
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x101e7cca
mov eax, dword fs:[0]
push eax
sub esp, 0x860
mov eax, dword [0x102683e0]
xor eax, esp
mov dword [esp + 0x858], eax
push esi
mov eax, dword [0x102683e0]
xor eax, esp
push eax
lea eax, [esp + 0x868]
mov dword fs:[0], eax
push 0x102798fc
mov dword [esp + 0x18], 0x102798fc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x870], 0
cmp dword [0x102799dc], 0
jne 0x10075355
mov eax, dword [0x102798f4]
sub eax, dword [0x102798f0]
and eax, 0xfffffffc
cmp eax, 4
jne 0x10075355
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov byte [esp + 0x870], 1
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0x100756b0
push 6
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.100032d0
push str...BasicNetUtils.ini
lea ecx, [esp + 0x20]
call fcn.10003320
xor eax, eax
cmp dword [esp + 0x30], 8
mov word [esp + 0x5c], ax
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
push 0x400
lea eax, [esp + 0x64]
push eax
push 0x1022a5e4
push str.reg_path
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x5c]
mov ecx, 0x10269c40
push eax
call fcn.100032d0
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
push 0
push str.disable_https_check
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [0x10269bdc]
xor edx, edx
test eax, eax
mov eax, dword [0x102799e4]
cmovne ecx, edx
mov dword [0x10269bdc], ecx
mov ecx, eax
inc eax
mov dword [0x102799e4], eax
test ecx, ecx
jne 0x1007534c
mov dword [fcn.101a83f5], 0x101a83f5
mov dword [fcn.101a7c14], 0x101a7c14
mov dword [fcn.101ac426], 0x101ac426
mov dword [fcn.101dbf6b], 0x101dbf6b
mov dword [fcn.101c022f], 0x101c022f
mov dword [fcn.101b18a6], 0x101b18a6
cmp byte [0x10279849], dl
jne 0x10075330
mov byte [0x10279849], 1
call fcn.100c0310
neg eax
sbb eax, eax
inc eax
je 0x100753ca
call fcn.100adc30
test eax, eax
jne 0x100753ca
mov dword [0x102799e0], 3
call fcn.100bd1b0
lea ecx, [esp + 0x1c]
call fcn.100032a0
xorps xmm0, xmm0
sub esp, 0x18
movdqa xmmword [esp + 0x4c], xmm0
mov eax, esp
movdqa xmmword [esp + 0x5c], xmm0
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
lea ecx, [esp + 0x4c]
mov dword [eax + 0x10], eax
mov byte [esp + 0x888], 0
call fcn.10078a50
mov byte [esp + 0x870], 3
mov eax, dword [0x102798f0]
mov esi, dword [eax]
test esi, esi
jne 0x100753ff
push 0x70
call fcn.101a0294
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x870], 4
test esi, esi
je 0x100753e2
push 0x70
push 0
push esi
call fcn.101a01b0
add esp, 0xc
mov ecx, esi
call fcn.100760d0
mov esi, eax
jmp 0x100753e4
lea ecx, [esp + 0x1c]
call fcn.100032a0
push 0x102798fc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x10075423
xor esi, esi
mov byte [esp + 0x870], 3
cmp dword [esi + 0x5c], 0
je 0x10075445
cmp dword [esi + 0x54], 0
je 0x10075445
mov eax, dword [0x102798f0]
mov dword [eax], esi
inc dword [0x102799dc]
lea ecx, [esp + 0x34]
mov byte [esp + 0x870], 0
call fcn.100789b0
push 0x102798fc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x868]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x858]
xor ecx, esp
call fcn.101a0193
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.10076260
push esi
call fcn.101a02f0
add esp, 4
mov byte [esp + 0x870], 0
lea ecx, [esp + 0x34]
call fcn.100789b0
push 0x102798fc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x10075423