Function at 0x41ca20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad1f2
mov eax, dword fs:[0]
push eax
mov eax, 0x2868
call fcn.0053f090
mov eax, dword [0x677e70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x282c], esi
lea ebx, [esi + 0x48]
mov dword [ebp - 4], 0
mov ecx, ebx
mov eax, dword [ebx]
push dword [eax + 4]
call fcn.0041d590
mov eax, dword [ebx]
push 0x2000
push 0
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [eax + 8], eax
lea eax, [ebp - 0x2014]
push eax
mov dword [ebx + 4], 0
call fcn.0057ee10
mov eax, dword [esi + 0x50]
add esp, 0xc
push dword [eax + 0x10]
lea eax, [ebp - 0x2014]
push 0x1000
push eax
push str.PackageInstallInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor eax, eax
mov dword [ebp - 0x284c], 4
mov dword [ebp - 0x18], eax
lea ecx, [eax + 4]
call fcn.0040ce70
mov dword [ebp - 4], 1
lea edi, [ebp - 0x2014]
cmp word [ebp - 0x2014], 0
je 0x41ccd4
nop word [eax + eax]
push 0x3d
push edi
call fcn.0057e271
mov esi, eax
add esp, 8
test esi, esi
je 0x41cca4
call fcn.00404520
mov ecx, esi
sub ecx, edi
push eax
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2824]
call fcn.00405590
lea eax, [ebp - 0x2840]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2844]
mov word [ebp - 0x2848], 0
push eax
lea eax, [ebp - 0x2820]
mov dword [ebp - 0x2844], 0
push eax
lea eax, [ebp - 0x2828]
mov byte [ebp - 0x2838], 0
push eax
lea eax, [esi + 2]
xorps xmm0, xmm0
push str._d__d__d__I64d
push eax
movlpd qword [ebp - 0x2840], xmm0
call fcn.0041f380
cmp dword [ebp - 0x2828], 0
mov esi, dword [ebp - 0x2824]
setne byte [ebp - 0x2848]
mov byte [ebp - 0x2838], 0
cmp dword [ebp - 0x2820], 0
lea eax, [esi - 0x10]
setne byte [ebp - 0x2847]
push eax
call fcn.004053d0
movups xmm0, xmmword [ebp - 0x2848]
add eax, 0x10
add esp, 0x1c
mov dword [ebp - 0x2874], eax
movups xmmword [ebp - 0x286c], xmm0
movq xmm0, qword [ebp - 0x2838]
movq qword [ebp - 0x285c], xmm0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2874]
push dword [ebp - 0x284c]
push eax
push ecx
lea eax, [ebp - 0x2854]
mov ecx, ebx
push eax
call fcn.0041e010
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x2874]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41cc0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x283c]
cmp byte [ebp - 0x2847], 0
mov ecx, 0x64f9cc
push dword [ebp - 0x2840]
mov eax, 0x651e48
push dword [ebp - 0x2844]
cmove eax, ecx
cmp byte [ebp - 0x2848], 0
push eax
mov eax, 0x651e54
cmove eax, ecx
push eax
push esi
lea eax, [ebp - 0x281c]
push str._s:__s_s
push eax
call fcn.0040cfa0
add esp, 0x1c
mov byte [ebp - 4], 4
push dword [eax]
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov eax, dword [ebp - 0x281c]
lea ecx, [ebp - 0x2814]
cmp eax, ecx
je 0x41cc88
push eax
call fcn.0053eac5
add esp, 4
mov byte [ebp - 4], 1
lea edx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41cca4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ccb0
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2]
add edi, 2
cmp word [edi], cx
jne 0x41caf0
mov esi, dword [ebp - 0x282c]
mov edi, dword [esi + 0x38]
cmp edi, dword [esi + 0x3c]
je 0x41cdd9
lea eax, [edi + 0x34]
mov dword [ebp - 0x2820], eax
nop dword [eax]
add eax, 0x30
mov ecx, ebx
push eax
mov dword [ebp - 0x2828], eax
call fcn.00417450
mov esi, eax
cmp esi, dword [ebx]
je 0x41cd1c
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
push dword [ebp - 0x2828]
call fcn.004176a0
test al, al
je 0x41cd52
mov eax, dword [ebp - 0x2828]
push ecx
mov dword [ebp - 0x2824], eax
lea eax, [ebp - 0x2824]
push eax
push ecx
mov ecx, ebx
call fcn.0041e7e0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x2850]
push eax
call fcn.0041e8a0
mov esi, dword [ebp - 0x2850]
push dword [ebp - 0x2820]
mov ecx, ebx
mov byte [esi + 0x28], 1
call fcn.00417450
mov esi, eax
cmp esi, dword [ebx]
je 0x41cd7e
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
push dword [ebp - 0x2820]
call fcn.004176a0
test al, al
je 0x41cdb4
mov eax, dword [ebp - 0x2820]
push ecx
mov dword [ebp - 0x2824], eax
lea eax, [ebp - 0x2824]
push eax
push ecx
mov ecx, ebx
call fcn.0041e7e0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x2830]
push eax
call fcn.0041e8a0
mov esi, dword [ebp - 0x2830]
mov ecx, dword [ebp - 0x282c]
sub edi, 0xffffff80
mov eax, dword [ebp - 0x2820]
sub eax, 0xffffff80
mov byte [esi + 0x28], 1
mov dword [ebp - 0x2820], eax
cmp edi, dword [ecx + 0x3c]
jne 0x41ccf0
mov ecx, 0xfffffffc
call fcn.0040ce70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret