Function at 0x10021e20
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081655
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x150
mov eax, dword [0x100a9080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x120], edi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x15c], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x154]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0
push str.TargetRing
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x140], 0
call fcn.10007860
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
push 0x10090228
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x124], 0
call fcn.10007860
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x10021efc
mov edx, dword [esi]
cmp dword [ebp - 0x140], 0xf
lea ecx, [ebp - 0x154]
push edx
cmova ecx, dword [ebp - 0x154]
lea edx, [ebp - 0x118]
cmp dword [ebp - 0x124], 0xf
lea eax, [ebp - 0x138]
push 0x100
cmova eax, dword [ebp - 0x138]
push edx
push 0x1008fa09
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x120], eax
cmp ecx, 0xf
jbe 0x10021f7e
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021f74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002223d
push ecx
push edx
call fcn.10056002
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
cmp ecx, 0xf
jbe 0x10021fd7
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021fcd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002223d
push ecx
push edx
call fcn.10056002
add esp, 8
cmp dword [ebp - 0x120], 0
jne 0x10022106
push 0xa
xorps xmm0, xmm0
mov byte [ebp - 0x119], 0
push str.TargetRing
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x140], 0
call fcn.10007860
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x138]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
push 0x10090228
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x124], 0
call fcn.10007860
lea eax, [ebp - 0x119]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x154]
mov ecx, esi
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.1000fdc0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x100220ad
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100220a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022242
push ecx
push edx
call fcn.10056002
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
cmp ecx, 0xf
jbe 0x10022106
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100220fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022242
push ecx
push edx
call fcn.10056002
add esp, 8
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x120], esp
push 0xa
movups xmmword [ecx], xmm0
push str.TargetRing
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10007860
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
xorps xmm0, xmm0
push 4
movups xmmword [ecx], xmm0
push 0x10090228
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10007860
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1000fed0
mov esi, dword [ebx + 8]
sub esp, 0x28
mov byte [edi], al
mov eax, esp
mov ecx, dword [esi + 0x40]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_TargetRing::constructor_class_ZealService___class_IO_ini__::_2::_lambda_1___void___.0
mov dword [eax + 4], edi
push 0xb
mov dword [eax + 0x24], eax
call fcn.10035e40
mov esi, dword [esi + 0x38]
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x13c], esp
mov dword [eax], 0x100944c4
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x120], esp
xorps xmm0, xmm0
push 0x13
movups xmmword [ecx], xmm0
push str.Toggles_target_ring
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10007860
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
xorps xmm0, xmm0
push 0xb
movups xmmword [ecx], xmm0
push str._targetring
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10007860
sub esp, 0xc
mov ecx, esi
mov edx, esp
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [ebp - 4], 0
call fcn.1002cdd0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10055fba
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.1005d2a4
call fcn.1005d2a4
int3