Function at 0x412918
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4254bf
mov eax, dword fs:[0]
push eax
mov eax, 0x133c
call fcn.00417ce0
mov eax, dword [0x43114c]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
mov esi, ecx
mov dword [ebp - 0x1338], eax
lea eax, [ebp - 0x1334]
lea ecx, [esi + 0x20]
xor ebx, ebx
push eax
mov dword [ebp - 0x1340], edi
mov dword [ebp - 0x1344], ebx
mov dword [ebp - 0x133c], ecx
call fcn.00403a23
mov ecx, dword [ebp - 0x1334]
cmp ecx, dword [esi + 0x24]
je 0x412999
add ecx, 0x28
push ecx
mov ecx, edi
call fcn.00402967
mov eax, edi
jmp 0x412cd4
mov edi, 0x426620
push edi
call fcn.004171b1
pop ecx
mov ecx, dword [ebp - 0x1338]
push eax
push ebx
push edi
call fcn.0040fe7a
mov edi, eax
xor eax, eax
mov dword [ebp - 0x1220], 7
mov dword [ebp - 0x1224], ebx
mov word [ebp - 0x1234], ax
mov dword [ebp - 4], ebx
cmp edi, 0xffffffff
je 0x412c60
mov ecx, dword [ebp - 0x1338]
push edi
push ebx
lea eax, [ebp - 0x126c]
push eax
call fcn.00401b50
mov ecx, dword [ebp - 0x1338]
push 0xffffffffffffffff
inc edi
push edi
lea eax, [ebp - 0x1250]
push eax
mov byte [ebp - 4], 1
call fcn.00401b50
xor eax, eax
push 0xffe
mov word [ebp - 0x1218], ax
lea eax, [ebp - 0x1216]
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.004168c0
lea eax, [esi + 4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x412a35
mov eax, dword [eax]
cmp dword [ebp - 0x123c], 8
mov edx, dword [ebp - 0x1250]
jae 0x412a4a
lea edx, [ebp - 0x1250]
cmp dword [ebp - 0x1258], 8
mov ecx, dword [ebp - 0x126c]
jae 0x412a5f
lea ecx, [ebp - 0x126c]
push eax
push 0x800
lea eax, [ebp - 0x1218]
push eax
push 0x427078
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x1218]
push eax
call fcn.004171b1
pop ecx
push eax
lea eax, [ebp - 0x1218]
push eax
lea ecx, [ebp - 0x1234]
call fcn.00401916
cmp dword [ebp - 0x1224], ebx
jne 0x412c41
lea eax, [ebp - 0x126c]
push eax
mov edi, 0x426500
lea eax, [ebp - 0x1314]
push edi
push eax
call fcn.00403cef
push edi
push eax
lea eax, [ebp - 0x12f8]
push eax
mov byte [ebp - 4], 3
call fcn.00403d8a
lea ecx, [ebp - 0x1250]
push ecx
push eax
lea eax, [ebp - 0x12c0]
push eax
mov byte [ebp - 4], 4
call fcn.0040a06a
add esp, 0x24
mov edi, eax
mov esi, dword [esi]
mov byte [ebp - 4], 5
cmp byte [esi + 0xc], bl
je 0x412c17
cmp dword [edi + 0x14], 8
jb 0x412b06
mov eax, dword [edi]
jmp 0x412b08
mov eax, edi
lea ecx, [ebp - 0x1344]
push ecx
lea ecx, [ebp - 0x1334]
push ecx
push eax
push dword [esi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x412b52
push dword [ebp - 0x1334]
lea ecx, [ebp - 0x12a4]
call fcn.00401c39
push eax
lea ecx, [ebp - 0x1234]
mov byte [ebp - 4], 6
call fcn.00401bdd
push ebx
push 1
lea ecx, [ebp - 0x12a4]
jmp 0x412c12
movzx eax, word [esi + 0xa]
push eax
movzx eax, word [esi + 8]
push eax
lea eax, [ebp - 0x218]
push str.StringFileInfo_04X_04X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x12a4]
call fcn.00401c39
push edi
push eax
lea eax, [ebp - 0x1288]
push eax
mov byte [ebp - 4], 7
call fcn.0040a06a
add esp, 0xc
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x12a4]
mov byte [ebp - 4], 9
call fcn.0040139d
cmp dword [ebp - 0x1274], 8
mov eax, dword [ebp - 0x1288]
jae 0x412bc1
lea eax, [ebp - 0x1288]
lea ecx, [ebp - 0x1344]
push ecx
lea ecx, [ebp - 0x1334]
push ecx
push eax
push dword [esi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x412c0a
push dword [ebp - 0x1334]
lea ecx, [ebp - 0x12dc]
call fcn.00401c39
push eax
lea ecx, [ebp - 0x1234]
mov byte [ebp - 4], 0xa
call fcn.00401bdd
push ebx
push edi
lea ecx, [ebp - 0x12dc]
call fcn.0040139d
push ebx
lea ecx, [ebp - 0x1288]
push edi
call fcn.0040139d
push ebx
push 1
lea ecx, [ebp - 0x12c0]
call fcn.0040139d
push ebx
push 1
lea ecx, [ebp - 0x12f8]
call fcn.0040139d
push ebx
push 1
lea ecx, [ebp - 0x1314]
call fcn.0040139d
push ebx
push 1
lea ecx, [ebp - 0x1250]
call fcn.0040139d
push ebx
push 1
lea ecx, [ebp - 0x126c]
mov byte [ebp - 4], bl
call fcn.0040139d
lea eax, [ebp - 0x1234]
push eax
push dword [ebp - 0x1338]
lea eax, [ebp - 0x1330]
push eax
call fcn.00411fd1
add esp, 0xc
mov ecx, dword [ebp - 0x133c]
push ebx
push eax
mov byte [ebp - 4], 0xb
call fcn.0040473b
mov ecx, dword [ebp - 0x133c]
push eax
lea eax, [ebp - 0x1348]
push eax
call fcn.00404542
lea ecx, [ebp - 0x1330]
mov byte [ebp - 4], bl
call fcn.00403a02
mov ecx, dword [ebp - 0x1340]
lea eax, [ebp - 0x1234]
push eax
call fcn.00403cca
push ebx
push 1
lea ecx, [ebp - 0x1234]
call fcn.0040139d
mov eax, dword [ebp - 0x1340]
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.004168ab
leave
ret 8