Function at 0x42c0a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x20020
call fcn.00458590
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [ebp + 0xa4]
cmp ecx, 0x7d000
mov esi, ecx
jb 0x42c0d1
mov esi, 0x7d000
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax + 0xcd]
mov eax, 0x51eb851f
imul edx, ecx
mul edx
shr edx, 5
cmp edx, esi
jbe 0x42c0f5
mov esi, edx
mov dword [esp + 0x14], esi
jmp 0x42c10d
cmp ecx, 0x7d000
mov dword [esp + 0x14], ecx
jb 0x42c109
mov dword [esp + 0x14], 0x7d000
mov esi, dword [esp + 0x14]
mov ecx, 0x4000
xor eax, eax
lea edi, [esp + 0x10030]
rep stosd dword es:[edi], eax
mov ecx, 0x4000
or eax, 0xffffffff
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [0x4971e8]
xor edi, edi
push eax
push edi
push str.CheckFullCap
push str.Debug
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x42c154
cmp dword [ebp + 0xa4], 0xf0000
ja 0x42c160
mov ecx, dword [ebp + 0xa4]
mov dword [esp + 0x14], ecx
mov esi, ecx
xor ebx, ebx
cmp esi, edi
mov dword [esp + 0x18], ebx
jbe 0x42c27e
jmp 0x42c172
xor edi, edi
mov eax, ebx
xor edx, edx
mov ecx, 0x3200
div ecx
test edx, edx
jne 0x42c1df
test byte [ebp + 0xb8], 0xe0
jne 0x42c28e
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
fild qword [esp + 0x20]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
sub esp, 8
lea edx, [ebp + 0xc0]
fmul qword [0x46ecb8]
fild qword [esp + 0x30]
fdivp st(1)
fstp qword [esp]
push str.RW_Test_W_..._2.1f__
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp + 4]
mov ecx, dword [0x49772c]
add esp, 0x10
push edi
push eax
push 0x40c
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, esi
sub eax, ebx
cmp eax, 0x80
mov byte [esp + 0x10], al
jb 0x42c1f3
mov byte [esp + 0x10], 0x80
mov eax, dword [esp + 0x10]
mov esi, dword [0x49767c]
and eax, 0xff
lea edi, [esp + 0x10030]
mov ecx, eax
shl ecx, 9
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10030]
push ecx
push eax
push 0
push 0
mov eax, dword [esp + 0x29]
push 0
mov ecx, dword [esp + 0x2e]
push 0
push 0
push 0
push 0
push edx
mov edx, dword [esp + 0x43]
push 0
push 0
push ebx
push eax
mov eax, dword [ebp + 0x18]
push ecx
push edx
push 0
push 0x2a
push eax
call fcn.0043ef40
add esp, 0x4c
test eax, eax
je 0x42c2e5
mov eax, dword [esp + 0x14]
add ebx, 0x80
cmp ebx, eax
mov dword [esp + 0x18], ebx
mov esi, eax
jb 0x42c170
xor edi, edi
xor ebx, ebx
cmp esi, edi
mov dword [esp + 0x18], ebx
jbe 0x42c41f
jmp 0x42c302
test byte [ebp + 0xb8], 0x40
je 0x42c2ae
lea ecx, [esp + 0x10]
push 0x48d780
push ecx
mov dword [esp + 0x18], 0xa0000
call sub.MSVCRT.dll__CxxThrowException
test byte [ebp + 0xb8], 0x20
je 0x42c2ce
lea edx, [esp + 0x10]
push 0x48d780
push edx
mov dword [esp + 0x18], 0xa0100
call sub.MSVCRT.dll__CxxThrowException
lea eax, [esp + 0x10]
push 0x48d780
push eax
mov dword [esp + 0x18], 0xa0001
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x10]
push 0x48d780
push ecx
mov dword [esp + 0x18], 0x90801
call sub.MSVCRT.dll__CxxThrowException
mov esi, dword [esp + 0x14]
xor edi, edi
mov eax, ebx
xor edx, edx
mov ecx, 0x3200
div ecx
test edx, edx
jne 0x42c36f
test byte [ebp + 0xb8], 0xe0
jne 0x42c42c
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
fild qword [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
sub esp, 8
lea edx, [ebp + 0xc0]
fmul qword [0x46ecb8]
fild qword [esp + 0x28]
fdivp st(1)
fstp qword [esp]
push str.RW_Test_R_..._2.1f__
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp + 4]
mov ecx, dword [0x49772c]
add esp, 0x10
push edi
push eax
push 0x40c
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, esi
sub eax, ebx
cmp eax, 0x80
mov byte [esp + 0x10], al
jb 0x42c383
mov byte [esp + 0x10], 0x80
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
and edx, 0xff
lea edi, [esp + 0x30]
mov esi, edx
shl esi, 9
mov ecx, esi
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov ebx, dword [esp + 0x18]
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x10]
push eax
push edx
push 0
push 0
mov edx, dword [esp + 0x29]
push 0
mov eax, dword [esp + 0x2e]
push 0
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x43]
push 0
push 0
push ebx
push edx
mov edx, dword [ebp + 0x18]
push eax
push ecx
push 0
push 0x28
push edx
call fcn.0043f010
add esp, 0x4c
test eax, eax
je 0x42c483
mov ecx, esi
lea edi, [esp + 0x30]
lea esi, [esp + 0x10030]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x42c49a
mov eax, dword [esp + 0x14]
add ebx, 0x80
cmp ebx, eax
mov dword [esp + 0x18], ebx
jb 0x42c2fc
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0xb8], 0x40
je 0x42c44c
lea ecx, [esp + 0x10]
push 0x48d780
push ecx
mov dword [esp + 0x18], 0xa0000
call sub.MSVCRT.dll__CxxThrowException
test byte [ebp + 0xb8], 0x20
je 0x42c46c
lea edx, [esp + 0x10]
push 0x48d780
push edx
mov dword [esp + 0x18], 0xa0100
call sub.MSVCRT.dll__CxxThrowException
lea eax, [esp + 0x10]
push 0x48d780
push eax
mov dword [esp + 0x18], 0xa0001
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x10]
push 0x48d780
push ecx
mov dword [esp + 0x18], 0x90802
call sub.MSVCRT.dll__CxxThrowException
lea edx, [esp + 0x10]
push 0x48d780
push edx
mov dword [esp + 0x18], 0x90800
call sub.MSVCRT.dll__CxxThrowException
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.0042c4d0
jmp 0x42c4e0
push 0x42c4f0
call fcn.00458570
pop ecx
ret