Function at 0x423c70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ec5b
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4a59e4
mov dword [ebp - 0x850], 0x4a59e4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [0x4a5a60], 0
jne 0x423ea3
mov eax, dword [0x4a59dc]
sub eax, dword [0x4a59d8]
and eax, 0xfffffffc
cmp eax, 4
jne 0x423ea3
xor eax, eax
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x84c], eax
lea eax, [ebp - 0x84c]
push eax
push 0x424100
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
xor eax, eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
push 0x400
push eax
push dword [ebp - 0x84c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp word [ebp - 0x810], 0
jne 0x423d46
xor ecx, ecx
jmp 0x423d5f
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423d50
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.0040235a
push 0x15
push str...BasicNetUtils.ini
lea ecx, [ebp - 0x828]
call fcn.00402779
xor eax, eax
cmp dword [ebp - 0x814], 8
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x48b33c
push str.reg_path
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x810], 0
jne 0x423dd1
xor ecx, ecx
jmp 0x423def
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423de0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
mov ecx, 0x4a1180
push eax
call fcn.0040235a
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
push 0
push str.disable_https_check
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [0x4a111c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [0x4a111c], ecx
call fcn.0042d9a0
test eax, eax
je 0x423e8b
cmp dword [ebp - 0x814], 8
jb 0x423e5c
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x814], 7
push 0x4a59e4
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x423f50
cmp dword [ebp - 0x814], 8
jb 0x423ea3
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xorps xmm0, xmm0
sub esp, 0x18
movdqu xmmword [ebp - 0x848], xmm0
mov eax, esp
movdqu xmmword [ebp - 0x838], 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, [ebp - 0x848]
mov dword [eax + 0x10], eax
mov byte [ebp - 4], 0
call fcn.004264d0
mov byte [ebp - 4], 3
mov eax, dword [0x4a59d8]
mov esi, dword [eax]
test esi, esi
jne 0x423f2e
push 0x70
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x84c], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x423f15
push 0x70
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00424c10
mov esi, eax
jmp 0x423f17
xor esi, esi
mov byte [ebp - 4], 3
cmp dword [esi + 0x5c], 0
je 0x423f6a
cmp dword [esi + 0x54], 0
je 0x423f6a
mov eax, dword [0x4a59d8]
mov dword [eax], esi
inc dword [0x4a5a60]
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 0
call fcn.00426430
push 0x4a59e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452da4
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00424d90
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x848]
call fcn.00426430
push 0x4a59e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x423f50