Function at 0x401c00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fe9c
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x46b070]
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
sub esp, 8
lea ecx, [ebp - 0x140]
call fcn.004027b0
push 0x40
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00437ac0
lea eax, [esi + 0x18]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x401c60
mov eax, dword [eax]
push eax
push 0x20
lea eax, [ebp - 0x50]
push eax
push 0x4625c4
push 0x46184c
push str.Questionnaire
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0x48]
lea ecx, [esi + 0x48]
mov dword [ecx + 4], eax
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
sar eax, 2
mov dword [ebp - 0x84], ecx
cmp eax, 4
jae 0x401c9f
push 4
call fcn.00405920
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
push 1
xor eax, eax
mov dword [ebp - 0x6c], 7
push 0x461870
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
call fcn.0040cd60
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
cmp word [ebp - 0x50], ax
jne 0x401d06
xor ecx, ecx
jmp 0x401d1f
lea ecx, [ebp - 0x50]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401d10
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x68]
call fcn.0040cd60
push ecx
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x90]
call fcn.00402240
mov ecx, dword [ebp - 0x54]
mov esi, eax
cmp ecx, 8
jb 0x401d5b
inc ecx
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x68]
call fcn.0040d960
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
cmp eax, 8
jb 0x401d88
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0040d960
mov ebx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
test esi, esi
je 0x401e1c
mov esi, edi
cmp edi, ebx
je 0x401e1c
mov edi, dword [ebp - 0x84]
nop dword [eax + eax]
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x84], 0
call fcn.00409bd0
test eax, eax
je 0x401dce
lea ecx, [eax + 0x10]
jmp 0x401dd0
xor ecx, ecx
mov edx, dword [esi]
call fcn.00409350
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x401e0f
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x140]
call fcn.00403580
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x401e0f
lea eax, [ebp - 0x84]
mov ecx, edi
push eax
call fcn.00402430
add esi, 8
cmp esi, ebx
jne 0x401db0
mov edi, dword [ebp - 0x90]
push dword [ebp - 0x84]
mov edx, ebx
push ecx
mov ecx, edi
call fcn.0040b140
add esp, 8
test edi, edi
je 0x401e58
push dword [ebp - 0x84]
mov edx, edi
push ecx
mov ecx, edi
call fcn.0040b140
mov eax, dword [ebp - 0x88]
add esp, 8
sub eax, edi
sar eax, 3
push eax
push edi
call fcn.00407c30
lea ecx, [ebp - 0xd8]
call fcn.004026c0
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 4
push eax
mov dword [ebp - 0xd8], vtable.std::ios_base.0
call fcn.00431459
add esp, 4
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.004330a2
mov esp, ebp
pop ebp
ret