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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548f30
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.vncClient::DoFTUserImpersonation_:_______________vncClient::DoFTUserImpersonation___Call_n
push 0
push 0x5b0d48
call fcn.0041ccb0
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [eax + 0x28]
mov esi, eax
mov dword [ebp - 0x118], 0x67
push esi
mov dword [ebp - 0x11c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp byte [edi + 0x721], 0
jne 0x449e8c
cmp byte [edi + 0x73a], 0
jne 0x449e8c
cmp byte [edi + 0x779], 0
jne 0x449e8c
push str.vncClient::DoFTUserImpersonation_:_______________vncClient::DoFTUserImpersonation___1_n
push 0
push 0x5b0d48
call fcn.0041ccb0
add esp, 0xc
mov bl, 1
call fcn.00425bc0
test eax, eax
je 0x449d23
push str.vncClient::DoFTUserImpersonation_:_______________vncClient::DoFTUserImpersonation___WSLocked_n
push 0
push 0x5b0d48
mov byte [edi + 0x779], 0
call fcn.0041ccb0
add esp, 0xc
xor bl, bl
jmp 0x449e8e
push 0x101
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0051a780
lea ecx, [ebp - 0x114]
call fcn.00425ab0
lea eax, [ebp - 0x114]
push eax
push str.vncClient::DoFTUserImpersonation_:_______________vncClient::DoFTUserImpersonation___currentUser___s_n
push 0
push 0x5b0d48
call fcn.0041ccb0
add esp, 0x1c
lea eax, [ebp - 0x114]
mov ecx, 0x569fa8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x449d87
test dl, dl
je 0x449d83
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x449d87
add eax, 2
add ecx, 2
test dl, dl
jne 0x449d67
xor eax, eax
jmp 0x449d8c
sbb eax, eax
or eax, 1
test eax, eax
je 0x449e82
push 8
call fcn.005187ac
add esp, 4
mov dword [ebp - 0x120], eax
mov ecx, eax
call fcn.0042a7e0
mov dword [edi + 0x35c], eax
mov eax, dword [eax + 4]
mov dword [edi + 0x10c], eax
test eax, eax
jne 0x449dd5
push str.vncClient::DoFTUserImpersonation_:_______________vncClient::DoFTUserImpersonation___OpenProcessToken_Error_n
push eax
push 0x5b0d48
call fcn.0041ccb0
add esp, 0xc
xor bl, bl
jmp 0x449e46
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x449df5
push str.vncClient::DoFTUserImpersonation_:_______________vncClient::DoFTUserImpersonation___ImpersonateLoggedOnUser_Failed_n
push eax
push 0x5b0d48
call fcn.0041ccb0
add esp, 0xc
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.vncClient::DoFTUserImpersonation_:_______________vncClient::DoFTUserImpersonation___thread___d_n
push 0
push 0x5b0d48
call fcn.0041ccb0
add esp, 0x10
lea esi, [edi + 0x77a]
push 0x104
push esi
push str._TEMP_
push dword [edi + 0x10c]
call dword [sym.imp.USERENV.dll_ExpandEnvironmentStringsForUserA]
push 0x597538
push 0x104
push esi
call fcn.0051e768
mov esi, dword [ebp - 0x11c]
add esp, 0xc
mov eax, dword [0x5bdff0]
cmp dword [eax + 0xe20], 0
jne 0x449e6a
mov bl, 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x880], eax
mov byte [edi + 0x779], bl
jmp 0x449e8e
test bl, bl
je 0x449e84
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x880], eax
mov byte [edi + 0x779], bl
jmp 0x449e8e
xor bl, bl
mov byte [edi + 0x779], bl
jmp 0x449e8e
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00518799
mov esp, ebp
pop ebp
ret