Function at 0x4128a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56989c
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
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 esi, ecx
mov dword [ebp - 0x5c], esi
call fcn.00414370
test al, al
je 0x412cc5
mov ecx, esi
mov byte [ebp - 0x4d], 0
call fcn.00411d50
mov ecx, dword [esi + 0x74]
sub ecx, dword [esi + 0x70]
mov dword [ebp - 0x54], eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 0x54]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x412c8e
lea ecx, [ecx + ecx*2]
shl ecx, 3
lea edi, [esi + 0x18]
mov dword [ebp - 0x58], ecx
jmp 0x412920
mov eax, dword [esi + 0x70]
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
xorps xmm0, xmm0
cmp dword [edi + 0x14], 0x10
movdqu xmmword [ebp - 0x34], xmm0
movdqu xmmword [ebp - 0x24], xmm0
jb 0x412962
mov eax, dword [edi]
jmp 0x412964
mov eax, edi
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 ecx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x20], 0x10
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push str.InstallMethod
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [ebp - 0x24], 0
mov esi, eax
je 0x4129da
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 0x412ac9
mov dword [ebp - 0x64], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x412b5d
push 0x40
push 0
push esi
call fcn.0054d610
add esp, 0xc
mov dword [ebp - 0x80], 0xf
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
push 0xffffffffffffffff
push 0
push edi
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 0x412aac
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 0x412b5f
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x412b5d
push 0x40
push 0
push esi
call fcn.0054d610
add esp, 0xc
mov dword [ebp - 0x68], 0xf
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
push 0xffffffffffffffff
push 0
push edi
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 0x412b49
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 0x412b5f
xor esi, esi
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00411f20
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x98], 0xf
push eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
call fcn.00402ac0
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 7
lea eax, [ebp - 0xac]
cmp ecx, eax
je 0x412bb4
push 0xffffffffffffffff
push 0
push eax
call fcn.00402ac0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x98], 0x10
jb 0x412bcf
push dword [ebp - 0xac]
call fcn.00421c08
add esp, 4
mov ecx, esi
call fcn.0040d4f0
mov byte [ebp - 0x4d], al
test al, al
je 0x412bf2
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x70f], 0
je 0x412bf2
cmp byte [ecx + 0x70c], 0
jne 0x412c57
test esi, esi
je 0x412c01
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 0x412caf
call fcn.004020a0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], 0x10
jb 0x412c29
push dword [ebp - 0x4c]
call fcn.00421c08
add esp, 4
mov esi, dword [ebp - 0x5c]
mov eax, 0x2aaaaaab
inc dword [ebp - 0x54]
add dword [ebp - 0x58], 0x18
mov ecx, dword [esi + 0x74]
sub ecx, dword [esi + 0x70]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x54], eax
jae 0x412c8e
mov ecx, dword [ebp - 0x58]
jmp 0x412920
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
inc eax
push eax
call fcn.00412000
test eax, eax
je 0x412c6d
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 0x412c8e
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 0x412cc5
push dword [ebp - 0x4c]
call fcn.00421c08
add esp, 4
xor eax, eax
jmp 0x412c92