Function at 0x4100c0
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44f4f8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x46414c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0x14]
push eax
xor esi, esi
push esi
push str.GroupCount
push str.Config
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
push edi
lea eax, [esp + 0x50]
push str.Group__d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp + 0x14]
push eax
push 0x45b7b0
push 0x45b684
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00414180
mov dword [esp + 0xa0], esi
mov eax, dword [ebp + 0x14]
push eax
push 0x45b7b0
push 0x45b7ac
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.00414180
add esp, 0x34
mov byte [esp + 0x80], 1
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], esi
jne 0x410193
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], esi
je 0x410197
inc dword [esp + 0x28]
mov edx, dword [ebp]
mov edx, dword [edx + 8]
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call edx
mov eax, dword [eax]
cmp dword [eax - 0xc], esi
mov eax, dword [esp + 0x40]
setg bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4101ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41056c
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push 0x45b608
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x20]
mov byte [esp + 0x88], 2
push edx
lea ebx, [esp + 0x3c]
mov dword [esp + 0x3c], esi
call fcn.00404b40
mov byte [esp + 0x80], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x41026b
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x41025a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41025a
call fcn.00401850
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x410251
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x41026b
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004053c0
mov edi, dword [esp + 0x14]
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410293
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, 0x45b7b0
mov eax, edi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4102c6
test dx, dx
je 0x4102c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4102c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4102a0
xor eax, eax
jmp 0x4102cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x410537
lea esi, [esp + 0x34]
call fcn.00423620
mov byte [esp + 0x80], 4
mov eax, dword [eax]
lea esi, [eax - 0x10]
lea ebx, [edi - 0x10]
cmp esi, ebx
je 0x41039d
cmp dword [ebx + 0xc], 0
lea ebp, [ebx + 0xc]
jl 0x410388
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x410388
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41032d
cmp eax, dword [esi]
jne 0x41032d
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x410368
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x41066b
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004240cc
add esp, 0x10
or ecx, 0xffffffff
lock xadd dword [ebp], ecx
dec ecx
test ecx, ecx
jg 0x41037f
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x410399
mov ebx, dword [eax - 0xc]
push eax
lea eax, [esp + 0x18]
call fcn.004053c0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4103c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp]
mov edx, dword [edx + 8]
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call edx
mov byte [esp + 0x80], 5
mov eax, dword [eax]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x410670
push eax
push edi
call fcn.004248c8
add esp, 8
test eax, eax
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x38]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410424
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x410528
push 0x45b608
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x20]
push edx
lea ebx, [esp + 0x3c]
call fcn.00404b40
mov byte [esp + 0x80], 6
mov eax, dword [eax]
lea esi, [eax - 0x10]
lea ebx, [edi - 0x10]
cmp esi, ebx
je 0x410517
cmp dword [ebx + 0xc], 0
lea ebp, [ebx + 0xc]
jl 0x410502
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x410502
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x410494
cmp eax, dword [esi]
jne 0x410494
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4104cf
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x41066b
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004240cc
add esp, 0x10
or ecx, 0xffffffff
lock xadd dword [ebp], ecx
dec ecx
test ecx, ecx
jg 0x4104e6
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ebp, dword [esp + 0x1c]
add edi, 0x10
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], edi
jmp 0x410277
mov ebx, dword [eax - 0xc]
push eax
lea eax, [esp + 0x18]
call fcn.004053c0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x3c]
jmp 0x410277
mov ecx, dword [esp + 0x24]
mov dword [ebp + 0xc], ecx
mov dword [esp + 0x2c], 1
add edi, 0xfffffff0
mov byte [esp + 0x80], 1
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41055b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
cmp dword [esp + 0x2c], 0
jne 0x4105f6
mov edi, dword [esp + 0x24]
xor esi, esi
mov ecx, dword [0x470198]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00414270
add esp, 8
test eax, eax
jne 0x4105f3
cmp edi, 0xc8
ja 0x4105f6
mov byte [esp + 0x80], al
mov eax, dword [esp + 0x20]
inc edi
add eax, 0xfffffff0
mov dword [esp + 0x24], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4105b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4105e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x28], ecx
jb 0x410124
jmp 0x410649
mov dword [ebp + 0xc], edi
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41061e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410649
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0042404d
add esp, 0x70
ret
call fcn.00405f00
push 0x80004005
call fcn.00401960
int3