Function at 0x42eb40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484dd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 1
push 1
push 1
push 0xef
push str.._tvt_ini.cpp
push str.getProfileSection
mov edi, ecx
push str.CTVTIni
lea ecx, [ebp - 0x30]
call fcn.0040e269
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x7fff
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x11], bl
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0x48b664
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00403504
cmp al, bl
jne 0x42ebda
push 1
push 0x2e4
push str.e:_tvt5_kure_rnrp1_tvt5_lib_1.2.0_tvtinclude_tvt_buffer.h
lea ecx, [ebp - 0x100]
call fcn.00411500
push 0x4afe04
lea eax, [ebp - 0x100]
push eax
call sub.MSVCR71.dll__CxxThrowException
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
push ecx
push eax
mov esi, eax
mov eax, dword [ebp - 0x1c]
push eax
push edx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
add esi, 0xfffffffe
cmp eax, esi
mov dword [ebp + 8], eax
je 0x42ed63
cmp eax, ebx
jbe 0x42ed63
mov ecx, dword [ebp + 0xc]
call fcn.0040d7aa
xor edi, edi
xor esi, esi
jmp 0x42ec20
cmp esi, dword [ebp + 8]
jae 0x42ed57
cmp esi, dword [ebp - 0x18]
jb 0x42ec89
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00402612
push ebx
push ebx
push 0x513
push str.e:_tvt5_kure_rnrp1_tvt5_lib_1.2.0_tvtinclude_tvt_buffer.h
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push 0x48f178
push 2
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x80], 0x48aee4
call fcn.00410e60
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.00402681
push 0x4b2544
lea ecx, [ebp - 0x80]
push ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x80], 0x48f170
call sub.MSVCR71.dll__CxxThrowException
mov edx, dword [ebp - 0x1c]
cmp word [edx + esi*2], bx
jne 0x42ed51
mov eax, esi
sub eax, edi
inc eax
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 0x48b664
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.00403504
cmp al, bl
jne 0x42ece0
push 1
push 0x2e4
push str.e:_tvt5_kure_rnrp1_tvt5_lib_1.2.0_tvtinclude_tvt_buffer.h
lea ecx, [ebp - 0xc0]
call fcn.00411500
push 0x4afe04
lea ecx, [ebp - 0xc0]
push ecx
call sub.MSVCR71.dll__CxxThrowException
lea edx, [ebp - 0x34]
push edx
push edi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0041d960
cmp al, bl
je 0x42ed45
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00416550
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
xor edx, edx
cmp edi, ebx
sete dl
xor ecx, ecx
cmp eax, ebx
sete cl
mov byte [ebp - 4], 6
xor edx, ecx
jne 0x42ed36
cmp eax, ebx
jne 0x42ed29
cmp edi, ebx
je 0x42ed36
mov ecx, dword [ebp + 0xc]
push ebx
lea edx, [ebp - 0x40]
push edx
call fcn.00416430
lea ecx, [ebp - 0x40]
lea edi, [esi + 1]
mov byte [ebp - 4], 5
call fcn.004034a5
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004034a5
inc esi
jmp 0x42ec20
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], ebx
je 0x42ed63
mov byte [ebp - 0x11], 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004034a5
jmp 0x42eda6
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x42edba
mov dl, byte [ebp - 0x11]
mov dword [ecx + 0x24], 1
mov byte [ecx + 0x2c], dl
cmp ecx, ebx
mov dword [ebp - 4], 0xffffffff
je 0x42edcb
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8