Function at 0x431b30
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.0042b680
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x431b84
push 0x4d8f20
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x431b8d
mov eax, dword [0x4dc368]
push 0x10
push eax
push str.ERR_PERF_COUNTER
call fcn.0044ab30
mov ecx, dword [ebp + 8]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4b1190]
mov edx, eax
and edx, 0x8000000f
jns 0x431ba1
dec edx
or edx, 0xfffffff0
inc edx
sub eax, edx
push eax
call fcn.0046af23
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebx
jne 0x431bc5
mov eax, dword [0x4dc368]
push 0x10
push eax
push str.ERR_MEM_ALLOC
jmp 0x431b71
mov eax, dword [0x4b1190]
mov edx, eax
and edx, 0x8000000f
jns 0x431bd9
dec edx
or edx, 0xfffffff0
inc edx
sub eax, edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualLock]
call fcn.004309a0
mov dword [0x4dc3f8], ebx
call fcn.0042b3e0
lea ecx, [edi + 8]
push ecx
lea edx, [edi + 0x41a8]
push edx
push eax
mov dword [edi], eax
call fcn.0042bdb0
add esp, 0xc
test eax, eax
jne 0x431c62
push edi
mov dword [edi + 4], 1
call fcn.0042be90
add esp, 4
test eax, eax
je 0x431c62
mov ebx, 0xa
mov eax, dword [0x4b1190]
cdq
shrd eax, edx, 9
push edi
push eax
lea eax, [esp + 0x28]
push eax
push esi
shr edx, 9
call fcn.0042b860
mov eax, dword [0x4b1190]
cdq
shrd eax, edx, 9
push edi
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
shr edx, 9
call fcn.0042b880
add esp, 0x20
sub ebx, 1
jne 0x431c26
call fcn.0042b3e0
mov dword [edi], eax
cmp eax, ebx
je 0x431e6f
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [edi]
push edx
call fcn.0042b570
add esp, 4
test eax, eax
je 0x431e5a
lea eax, [edi + 8]
push eax
lea eax, [edi + 0x41a8]
push eax
mov eax, dword [edi]
push eax
call fcn.0042bdb0
push edi
mov dword [edi + 4], 1
call fcn.0042be90
add esp, 0x10
lea ecx, [esp + 0x30]
push ecx
call ebx
test eax, eax
je 0x431f0f
mov eax, dword [0x4b1190]
cdq
shrd eax, edx, 9
push edi
shr edx, 9
push eax
lea edx, [esp + 0x28]
push edx
push esi
call fcn.0042b860
add esp, 0x10
lea eax, [esp + 0x28]
push eax
call ebx
test eax, eax
je 0x431f0f
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sbb edx, dword [esp + 0x34]
mov eax, dword [0x4dc3f8]
shl eax, 7
mov dword [eax + 0x4d90a8], ecx
mov dword [eax + 0x4d90ac], edx
lea eax, [esp + 0x30]
push eax
call ebx
test eax, eax
je 0x431f0f
mov eax, dword [0x4b1190]
cdq
shrd eax, edx, 9
push edi
push eax
lea ecx, [esp + 0x28]
push ecx
push esi
shr edx, 9
call fcn.0042b880
add esp, 0x10
lea edx, [esp + 0x28]
push edx
call ebx
test eax, eax
je 0x431f0f
mov esi, dword [0x4dc3f8]
fild dword [0x4b1190]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
shl esi, 7
fstp dword [esp + 0x10]
sub eax, dword [esp + 0x30]
fild qword [0x4d8f20]
sbb ecx, dword [esp + 0x34]
mov dword [esi + 0x4d90b0], eax
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
mov dword [esi + 0x4d90b4], ecx
mov edx, dword [edi]
mov dword [esi + 0x4d9040], edx
mov ecx, dword [esi + 0x4d90a8]
mov eax, dword [esi + 0x4d90ac]
mov dword [esp + 0x38], ecx
mov ecx, eax
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x3c], eax
fild qword [esp + 0x38]
xor edi, edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edi
fild qword [esp + 0x40]
fchs
faddp st(1)
fld dword [esp + 0x14]
fld st(0)
fdivp st(2)
fxch st(1)
fdivr st(2)
call fcn.0046ce26
mov ebx, eax
mov eax, edx
mov edx, dword [esi + 0x4d90b0]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x4d90b4]
mov ecx, eax
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
fild qword [esp + 0x48]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edi
fild qword [esp + 0x50]
fchs
faddp st(1)
fdivrp st(1)
fdivp st(1)
call fcn.0046ce26
mov edi, dword [esp + 0x18]
add ebx, eax
mov eax, dword [esp + 0x14]
adc eax, edx
shrd ebx, eax, 1
shr eax, 1
mov dword [esi + 0x4d90b8], ebx
mov dword [esi + 0x4d90bc], eax
mov eax, dword [edi]
push eax
lea ecx, [esi + 0x4d9044]
push ecx
call fcn.0042bf40
mov esi, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
add esp, 8
inc dword [0x4dc3f8]
mov edx, dword [edi]
push edx
call fcn.0042b3f0
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x431c77
push edi
call fcn.0042b710
mov eax, dword [0x4b1190]
mov ecx, eax
add esp, 4
and ecx, 0x8000000f
jns 0x431e8c
dec ecx
or ecx, 0xfffffff0
inc ecx
sub eax, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push esi
call fcn.0046a298
mov edx, dword [0x4b1190]
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, esi
mov dword [0x4b1194], edx
call fcn.00431800
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x13b1
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 1
push 8
push esi
call edi
push eax
call ebx
mov eax, dword [0x4dc404]
test eax, eax
jne 0x431ef2
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x4dc404], eax
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [0x4dc3d4], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.0042b710
mov eax, dword [0x4b1190]
mov ecx, eax
add esp, 4
and ecx, 0x8000000f
jns 0x431f2c
dec ecx
or ecx, 0xfffffff0
inc ecx
sub eax, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push esi
call fcn.0046a298
mov eax, dword [0x4dc404]
add esp, 4
test eax, eax
jne 0x431f59
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x4dc404], eax
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x13b1
push esi
invalid
invalid
invalid