Function at 0x4124e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569821
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x5d4050]
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
call fcn.004142f0
test al, al
je 0x412891
mov ecx, edi
mov byte [ebp - 0x4d], 0
call fcn.00411d50
mov ecx, dword [edi + 0x68]
mov esi, eax
sub ecx, dword [edi + 0x64]
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0x54], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x41285a
lea ecx, [esi + esi*2]
shl ecx, 3
mov dword [ebp - 0x58], ecx
mov eax, dword [edi + 0x64]
push 0xffffffffffffffff
add eax, ecx
mov dword [ebp - 0x38], 0xf
push 0
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
call fcn.00402ac0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x24], xmm0
cmovae eax, dword [ebp - 0x4c]
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00402120
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push str.InstallMethod
push str.InstAllInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [ebp - 0x24], 0
mov esi, eax
je 0x412606
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
cmovae eax, dword [ebp - 0x34]
mov byte [eax], 0
push dword [ebp - 0x1c]
call fcn.00421c08
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x40
call fcn.00421bdb
add esp, 4
cmp esi, 1
mov esi, eax
jne 0x4126f8
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x41278f
push 0x40
push 0
push esi
call fcn.0054d610
add esp, 0xc
mov dword [ebp - 0x80], 0xf
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x84], 0
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x94], 0
push 0xffffffffffffffff
push 0
push eax
call fcn.00402ac0
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
lea eax, [ebp - 0x94]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00402ac0
mov ecx, esi
call fcn.0040b6a0
mov dword [esi], vtable.SetupInf.0
cmp dword [ebp - 0x80], 0x10
jb 0x4126db
push dword [ebp - 0x94]
call fcn.00421c08
add esp, 4
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
jmp 0x412791
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x41278f
push 0x40
push 0
push esi
call fcn.0054d610
add esp, 0xc
mov dword [ebp - 0x68], 0xf
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0x7c], 0
push 0xffffffffffffffff
push 0
push eax
call fcn.00402ac0
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
lea eax, [ebp - 0x7c]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00402ac0
mov ecx, esi
call fcn.0040b6a0
mov dword [esi], vtable.SetupOEM.0
cmp dword [ebp - 0x68], 0x10
jb 0x41277b
push dword [ebp - 0x7c]
call fcn.00421c08
add esp, 4
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
jmp 0x412791
xor esi, esi
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00411f20
mov ecx, esi
call fcn.0040d4f0
mov byte [ebp - 0x4d], al
test al, al
je 0x4127bf
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x70f], 0
je 0x4127bf
cmp byte [ecx + 0x70c], 0
jne 0x412824
test esi, esi
je 0x4127ce
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov al, byte [ebp - 0x4d]
lea ecx, [ebp - 0x34]
test al, al
je 0x41287b
call fcn.004020a0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], 0x10
jb 0x4127f6
push dword [ebp - 0x4c]
call fcn.00421c08
add esp, 4
mov ecx, dword [edi + 0x68]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x64]
mov esi, dword [ebp - 0x54]
add dword [ebp - 0x58], 0x18
inc esi
imul ecx
mov dword [ebp - 0x54], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x41285a
mov ecx, dword [ebp - 0x58]
jmp 0x412554
mov eax, dword [ebp - 0x54]
mov ecx, edi
inc eax
push eax
call fcn.00412000
test eax, eax
je 0x412839
call fcn.00414910
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
lea ecx, [ebp - 0x34]
call fcn.004020a0
cmp dword [ebp - 0x38], 0x10
jb 0x41285a
push dword [ebp - 0x4c]
call fcn.00421c08
add esp, 4
movzx eax, byte [ebp - 0x4d]
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.00549fe1
mov esp, ebp
pop ebp
ret 4
call fcn.004020a0
cmp dword [ebp - 0x38], 0x10
jb 0x412891
push dword [ebp - 0x4c]
call fcn.00421c08
add esp, 4
xor eax, eax
jmp 0x41285e