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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x697b05
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x816078]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x80], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x90], 0
cmp byte [esi + 0x1c], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x84], eax
jne 0x432ced
test byte [ebx + 0x1c], 1
je 0x432ced
push ecx
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004330c5
mov edx, ebx
lea ecx, [ebp - 0x50]
call fcn.00432615
mov edx, ebx
lea ecx, [ebp - 0x6c]
call fcn.00432e08
lea eax, [esi + 8]
mov edi, dword [eax]
mov ebx, edi
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], edi
mov esi, dword [edi + 4]
jmp 0x432ad2
lea eax, [ebp - 0x50]
push eax
lea ecx, [esi + 0x10]
call fcn.0040ea68
shr eax, 0x1f
test al, al
je 0x432ace
mov esi, dword [esi + 8]
jmp 0x432ad2
mov ebx, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x432ab6
cmp ebx, edi
je 0x432aef
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040ea68
shr eax, 0x1f
test al, al
je 0x432af1
mov ebx, edi
cmp ebx, edi
je 0x432b1d
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x432b03
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x2c]
mov esi, dword [ebx + 0x28]
xor ecx, ecx
mov dword [ebp - 0x84], eax
inc ecx
mov dword [ebp - 0x88], esi
lea eax, [ebp - 0x88]
jmp 0x432b5d
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x7c]
mov ax, word [eax + 0x14]
and ax, 0xf
movzx eax, ax
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00433440
mov edx, dword [ebp - 0x84]
push 2
pop ecx
mov esi, dword [eax]
mov dword [ebp - 0x8c], edx
mov edi, dword [eax + 4]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
or eax, 0xffffffff
test cl, 2
je 0x432b8e
and ecx, 0xfffffffd
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], edx
cmp dword [ebp - 0x78], edx
je 0x432b8b
mov ecx, dword [ebp - 0x78]
call fcn.00412707
mov ecx, dword [ebp - 0x70]
or eax, 0xffffffff
mov dword [ebp - 4], eax
test cl, 1
je 0x432baf
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x432bac
call fcn.00412707
or eax, 0xffffffff
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 0x94]
jne 0x432c2e
cmp byte [ebp + 0x18], 0
je 0x432bda
or dword [esi + 0x18], 0x20000
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x7c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d3df
test edi, edi
je 0x432bee
lock inc dword [edi + 4]
push dword [ebp - 0x80]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x1c], esi
push eax
push ecx
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x18], edi
call fcn.00433637
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x432c1e
call fcn.00412707
or ebx, 0xffffffff
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
call fcn.0040d475
jmp 0x432c69
cmp byte [ebp + 0x18], 0
je 0x432c53
or dword [esi + 0x18], 0x20000
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x7c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [esi + 0x14], eax
jmp 0x432c66
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp - 0x8c]
call fcn.00433d47
or ebx, 0xffffffff
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040d3df
test edi, edi
je 0x432c83
lock inc dword [edi + 8]
push dword [ebp - 0x80]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x1c], esi
push eax
push ecx
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x18], edi
call fcn.00433744
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x432cb8
lock xadd dword [ecx + 8], ebx
dec ebx
jne 0x432cb8
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x34]
call fcn.0040d475
mov dword [ebp - 4], 4
test edi, edi
je 0x432cd2
mov ecx, edi
call fcn.00412707
lea ecx, [ebp - 0x68]
call fcn.0040d475
lea ecx, [ebp - 0x50]
call fcn.0040d475
lea ecx, [ebp - 0xa0]
call fcn.0043309e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0064c681
mov esp, ebp
pop ebp
ret 0x14