Function at 0x419aaf
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.004430f3
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x472784
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x14], 0
jne 0x419b11
cmp dword [ebp + 0x1c], 0
jne 0x419b11
mov eax, 1
jmp 0x419b13
xor eax, eax
test eax, eax
je 0x419b25
mov eax, 0
jmp 0x419f1d
mov ecx, 0
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.004430f3
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 0
add edi, 4
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
call fcn.0040f923
pop edx
test ecx, ecx
je 0x419b81
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x419b77
push ebx
call fcn.004430f9
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x419b66
pop edx
pop edi
test edx, edx
je 0x419b8f
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ebx, dword [ebp + 0x18]
push dword [ebx]
call fcn.004430f9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
mov ecx, 0
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.004430f3
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 0
add edi, 4
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
call fcn.0040f923
pop edx
test ecx, ecx
je 0x419bfe
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x419bf4
push ebx
call fcn.004430f9
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x419be3
pop edx
pop edi
test edx, edx
je 0x419c0c
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call fcn.004430f9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push 0x7f9b
call fcn.00419f7a
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x419c40
mov eax, 0
jmp 0x419f1d
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x7f9b
push dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
nop
nop
nop
nop
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x90c
call fcn.00447e80
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x419c98
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push OleUIBusyA
push 0
push 0x49aa71
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x419cc1
mov eax, 0x4722d5
push eax
push 3
mov ebx, 0x190
call fcn.00448d80
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x419cf9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x419cf5
imul eax, dword [ebx]
jmp 0x419cea
mov ecx, eax
test ecx, ecx
je 0x419d18
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x419d11
push ebx
push eax
call fcn.004430f9
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x419cff
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
call fcn.004062be
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jne 0x419e85
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push dword [ebp + 0x10]
push 4
mov eax, 2
call fcn.00445a40
add esp, 8
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
call fcn.0040f923
mov dword [ebp - 0x28], ecx
mov edi, dword [ebp - 0x24]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x419d97
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x24]
call fcn.00443105
add esp, 8
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x28]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x20]
push edi
test eax, eax
je 0x419ddc
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.004430f3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push dword [ebp + 0x18]
push 4
mov eax, 2
call fcn.00445a40
add esp, 8
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
call fcn.0040f923
mov dword [ebp - 0x28], ecx
mov edi, dword [ebp - 0x24]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x419e3d
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x24]
call fcn.00443105
add esp, 8
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x28]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x20]
push edi
test eax, eax
je 0x419e82
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.004430f3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x419e98
mov eax, 0x4722d5
push eax
push 1
mov ebx, 0x130
call fcn.00446b40
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fadd qword [0x499aa3]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00402524
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 8]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fsub qword [ebp - 0x48]
fcomp qword [0x49a77a]
fnstsw ax
test ah, 1
jne 0x419c65
push dword [ebp - 4]
call fcn.0040b60f
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
call fcn.004062be
jmp 0x419f1d
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x419f2e
push ebx
call fcn.004430f9
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x419f4c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x419f48
imul eax, dword [ebx]
jmp 0x419f3d
mov ecx, eax
test ecx, ecx
je 0x419f6b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x419f64
push ebx
push eax
call fcn.004430f9
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x419f52
call fcn.004430f9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18