Function at 0x4328c0
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.0042bfd0
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x432914
push 0x4d9920
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x43291d
mov eax, dword [0x4dce70]
push 0x10
push eax
push str.ERR_PERF_COUNTER
call fcn.0044c960
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 [0x4b5120]
mov edx, eax
and edx, 0x8000000f
jns 0x432931
dec edx
or edx, 0xfffffff0
inc edx
sub eax, edx
push eax
call fcn.0046bdb1
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebx
jne 0x432955
mov eax, dword [0x4dce70]
push 0x10
push eax
push str.ERR_MEM_ALLOC
jmp 0x432901
mov eax, dword [0x4b5120]
mov edx, eax
and edx, 0x8000000f
jns 0x432969
dec edx
or edx, 0xfffffff0
inc edx
sub eax, edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualLock]
call fcn.004312f0
mov dword [0x4dcf00], ebx
call fcn.0042bd30
lea ecx, [edi + 8]
push ecx
lea edx, [edi + 0x41a8]
push edx
push eax
mov dword [edi], eax
call fcn.0042c6d0
add esp, 0xc
test eax, eax
jne 0x4329f2
push edi
mov dword [edi + 4], 1
call fcn.0042c7b0
add esp, 4
test eax, eax
je 0x4329f2
mov ebx, 0xa
mov eax, dword [0x4b5120]
cdq
shrd eax, edx, 9
push edi
push eax
lea eax, [esp + 0x28]
push eax
push esi
shr edx, 9
call fcn.0042c1b0
mov eax, dword [0x4b5120]
cdq
shrd eax, edx, 9
push edi
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
shr edx, 9
call fcn.0042c1d0
add esp, 0x20
sub ebx, 1
jne 0x4329b6
call fcn.0042bd30
mov dword [edi], eax
cmp eax, ebx
je 0x432bff
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [edi]
push edx
call fcn.0042bec0
add esp, 4
test eax, eax
je 0x432bea
lea eax, [edi + 8]
push eax
lea eax, [edi + 0x41a8]
push eax
mov eax, dword [edi]
push eax
call fcn.0042c6d0
push edi
mov dword [edi + 4], 1
call fcn.0042c7b0
add esp, 0x10
lea ecx, [esp + 0x30]
push ecx
call ebx
test eax, eax
je 0x432c9f
mov eax, dword [0x4b5120]
cdq
shrd eax, edx, 9
push edi
shr edx, 9
push eax
lea edx, [esp + 0x28]
push edx
push esi
call fcn.0042c1b0
add esp, 0x10
lea eax, [esp + 0x28]
push eax
call ebx
test eax, eax
je 0x432c9f
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
sbb edx, dword [esp + 0x34]
mov eax, dword [0x4dcf00]
shl eax, 7
mov dword [eax + 0x4d9aa8], ecx
mov dword [eax + 0x4d9aac], edx
lea eax, [esp + 0x30]
push eax
call ebx
test eax, eax
je 0x432c9f
mov eax, dword [0x4b5120]
cdq
shrd eax, edx, 9
push edi
push eax
lea ecx, [esp + 0x28]
push ecx
push esi
shr edx, 9
call fcn.0042c1d0
add esp, 0x10
lea edx, [esp + 0x28]
push edx
call ebx
test eax, eax
je 0x432c9f
mov esi, dword [0x4dcf00]
fild dword [0x4b5120]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
shl esi, 7
fstp dword [esp + 0x10]
sub eax, dword [esp + 0x30]
fild qword [0x4d9920]
sbb ecx, dword [esp + 0x34]
mov dword [esi + 0x4d9ab0], eax
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
mov dword [esi + 0x4d9ab4], ecx
mov edx, dword [edi]
mov dword [esi + 0x4d9a40], edx
mov ecx, dword [esi + 0x4d9aa8]
mov eax, dword [esi + 0x4d9aac]
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.0046e9d6
mov ebx, eax
mov eax, edx
mov edx, dword [esi + 0x4d9ab0]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x4d9ab4]
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.0046e9d6
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 + 0x4d9ab8], ebx
mov dword [esi + 0x4d9abc], eax
mov eax, dword [edi]
push eax
lea ecx, [esi + 0x4d9a44]
push ecx
call fcn.0042c860
mov esi, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
add esp, 8
inc dword [0x4dcf00]
mov edx, dword [edi]
push edx
call fcn.0042bd40
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x432a07
push edi
call fcn.0042c060
mov eax, dword [0x4b5120]
mov ecx, eax
add esp, 4
and ecx, 0x8000000f
jns 0x432c1c
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.0046bcd4
mov edx, dword [0x4b5120]
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, esi
mov dword [0x4b5124], edx
call fcn.00432590
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 [0x4dcf0c]
test eax, eax
jne 0x432c82
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x4dcf0c], eax
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [0x4dcedc], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.0042c060
mov eax, dword [0x4b5120]
mov ecx, eax
add esp, 4
and ecx, 0x8000000f
jns 0x432cbc
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.0046bcd4
mov eax, dword [0x4dcf0c]
add esp, 4
test eax, eax
jne 0x432ce9
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x4dcf0c], 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
mov dword [0x4dcedc], 0
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 edx, dword [0x4dce70]
push 0x10
push edx
push str.ERR_PERF_COUNTER
call fcn.0044c960
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret