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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a3d0
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5d7008]
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.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncclient.cpp_:_______________vncClient::DoFTUserImpersonation___Call_n
push 0
push 0x5d7d48
call fcn.0041c960
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [eax + 0x28]
mov esi, eax
mov dword [ebp - 0x11c], 0x67
push esi
mov dword [ebp - 0x120], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp byte [edi + 0x61d], 0
jne 0x4464d0
cmp byte [edi + 0x636], 0
jne 0x4464d0
cmp byte [edi + 0x675], 0
jne 0x4464d0
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncclient.cpp_:_______________vncClient::DoFTUserImpersonation___1_n
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
mov bl, 1
call fcn.00486990
test eax, eax
je 0x446373
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncclient.cpp_:_______________vncClient::DoFTUserImpersonation___WSLocked_n
push 0
push 0x5d7d48
mov byte [edi + 0x675], 0
call fcn.0041c960
add esp, 0xc
xor bl, bl
jmp 0x4464d2
lea ecx, [ebp - 0x114]
call fcn.00486920
lea eax, [ebp - 0x114]
push eax
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncclient.cpp_:_______________vncClient::DoFTUserImpersonation___currentUser___s_n
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0x10
lea eax, [ebp - 0x114]
mov ecx, 0x584fd8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4463c4
test dl, dl
je 0x4463c0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4463c4
add eax, 2
add ecx, 2
test dl, dl
jne 0x4463a4
xor eax, eax
jmp 0x4463c9
sbb eax, eax
or eax, 1
test eax, eax
je 0x4464c6
call fcn.004864f0
test eax, eax
je 0x44648f
push eax
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea esi, [edi + 0x10c]
mov dword [ebp - 0x118], eax
push esi
push 0x201eb
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x446410
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncclient.cpp_:_______________vncClient::DoFTUserImpersonation___OpenProcessToken_Error_n
jmp 0x446421
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x446432
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncclient.cpp_:_______________vncClient::DoFTUserImpersonation___ImpersonateLoggedOnUser_Failed_n
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncclient.cpp_:_______________vncClient::DoFTUserImpersonation___thread___d_n
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0x10
lea esi, [edi + 0x676]
push 0x104
push esi
push str._TEMP_
push dword [edi + 0x10c]
call dword [sym.imp.USERENV.dll_ExpandEnvironmentStringsForUserA]
push 0x5b92c8
push 0x104
push esi
call fcn.0054184f
add esp, 0xc
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x120]
cmp dword [0x5e65ec], 0
jne 0x4464ae
mov bl, 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x77c], eax
mov byte [edi + 0x675], bl
jmp 0x4464d2
test bl, bl
je 0x4464c8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x77c], eax
mov byte [edi + 0x675], bl
jmp 0x4464d2
xor bl, bl
mov byte [edi + 0x675], bl
jmp 0x4464d2
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.0053d630
mov esp, ebp
pop ebp
ret