Function at 0x50e420
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x632a08
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
mov eax, dword [0x6f7654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
push 0x19
push str.ModulePBResponseWaiter::WaitPBResponse
push str.d:_release_sdologin_srcpublicModulePBResponseWaiter.h
lea ecx, [ebp - 0x38]
call fcn.00455c30
mov dword [ebp - 4], 0
mov eax, dword [0x6fc4e8]
add eax, 1
mov dword [0x6fc4e8], eax
mov ecx, dword [0x6fc4e8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00461850
mov ecx, eax
call fcn.0046cd60
push eax
push str.PBWaitResponse_command:_d_n
push 5
push str.root
push 0x22
push str.ModulePBResponseWaiter::WaitPBResponse
push str.d:_release_sdologin_srcpublicModulePBResponseWaiter.h
call fcn.00456680
add esp, 0x20
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
push 0
push 1
push 0x46372
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [ebp - 0x39], 0
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
push 0
push 0
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00436c30
add esp, 0x10
test eax, eax
je 0x50e5dd
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 4]
jne 0x50e5b4
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0
je 0x50e5b4
mov ecx, dword [ebp - 0x44]
call fcn.0045e850
mov ecx, eax
call fcn.00466a10
movzx edx, al
test edx, edx
je 0x50e5b4
mov ecx, dword [ebp - 0x44]
call fcn.0045e850
mov ecx, eax
call fcn.0046cd60
mov esi, eax
mov ecx, dword [ebp + 8]
call fcn.00461850
mov ecx, eax
call fcn.0046cd60
cmp esi, eax
jne 0x50e59a
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00466890
mov byte [ebp - 0x39], 1
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0
je 0x50e591
push 1
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x6c], eax
jmp 0x50e598
mov dword [ebp - 0x6c], 0
jmp 0x50e5dd
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x58], ecx
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x68]
add ecx, 8
call fcn.004a4fa0
jmp 0x50e4e5
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x40]
cmp eax, dword [ebp + 0x10]
jb 0x50e5d8
jmp 0x50e5dd
jmp 0x50e4e5
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x68]
add ecx, 8
call fcn.0051ca60
jmp 0x50e5f6
lea ecx, [ebp - 0x4c]
call fcn.004c97e0
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 8
call fcn.004a4f50
push eax
lea ecx, [ebp - 0x4c]
call fcn.004f4f20
movzx ecx, al
test ecx, ecx
je 0x50e637
push 0
lea ecx, [ebp - 0x4c]
call fcn.0050e6d0
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x50e5ee
mov ecx, dword [ebp - 0x68]
add ecx, 8
call fcn.00556da0
cmp dword [ebp - 0x24], 0x12
jne 0x50e650
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [0x6fc4e8]
sub ecx, 1
mov dword [0x6fc4e8], ecx
mov edx, dword [0x6fc4e8]
push edx
push 0x687190
push 5
push str.root
push 0x57
push str.ModulePBResponseWaiter::WaitPBResponse
push str.d:_release_sdologin_srcpublicModulePBResponseWaiter.h
call fcn.00456680
add esp, 0x1c
cmp dword [0x6fc4e8], 1
jge 0x50e6a0
push 0x46372
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dl, byte [ebp - 0x39]
mov byte [ebp - 0x61], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00455c90
mov al, byte [ebp - 0x61]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc