Function at 0x11169e80
Capabilities:
Check for sandbox username or hostname
Check for time delay via gettickcount
Get hostname
Get session user name
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e909c
mov eax, dword fs:[0]
push eax
sub esp, 0xf84
mov eax, dword [0x11279148]
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
mov eax, dword [edi + 0x24]
lea esi, [edi + 0x3c]
push esi
mov dword [ebp - 0xe9c], edi
mov dword [ebp - 0xea0], eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1116ae1d
mov dword [ebp - 0xeac], esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1127aa78], 0
mov esi, eax
je 0x1116a0e6
lea ecx, [ebp - 0xf38]
call fcn.11030fd0
mov eax, dword [ebp - 0xf08]
mov edi, esi
sub edi, dword [0x1127f480]
mov ebx, esi
sub ebx, dword [0x1127aa78]
mov byte [ebp - 4], 1
mov dword [ebp - 0xea4], edi
test eax, eax
jne 0x11169f3e
mov ecx, dword [ebp - 0xf38]
push str.IsSystemResumeAutomatic
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xf08], eax
test eax, eax
je 0x11169f48
call eax
mov dword [ebp - 0xeb0], eax
jmp 0x11169f5a
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0xeb0], 0
cmp dword [0x1127aa80], 0
je 0x1116a057
mov ecx, dword [0x1127aa68]
push 0
push 5
push str.ResumeDelay
push str.Client
call fcn.110bbc00
cmp eax, 0x64
jge 0x11169f8b
imul eax, eax, 0x3e8
mov edx, esi
sub edx, dword [0x1127aa80]
cmp edx, eax
jb 0x1116a057
call fcn.111babb0
push 0
push 0
test al, al
je 0x11169fbd
mov ecx, dword [0x1127ab0c]
push 0
push 0
push 0xa
push 3
call fcn.110c5980
jmp 0x11169fd2
push 1
call fcn.11068bd0
movzx eax, al
add esp, 0xc
test eax, eax
je 0x1116a057
push str.Reloaded_transports_after_suspend__resume_n
call fcn.111bd7b0
xor edi, edi
add esp, 4
mov dword [0x1127aa78], edi
mov dword [0x1127aa80], edi
call fcn.11067c90
mov ecx, dword [0x1127ab0c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
push edi
push 0x3000010c
call edx
mov ecx, dword [0x1127ac60]
test ecx, ecx
je 0x1116a016
call fcn.110b6a20
mov edi, eax
push edi
push str._d_reconn_items_n
call fcn.111bd7b0
add esp, 8
test edi, edi
je 0x1116a042
mov ecx, dword [0x1127ac60]
push 0
push 0
call fcn.110b6a90
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1127ab0c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x5c]
push 0xffffffffffffffff
call edx
mov edi, dword [ebp - 0xea4]
cmp ebx, 0x1388
jb 0x1116a096
cmp dword [0x1127aa80], 0
jne 0x1116a096
cmp edi, 0x1388
jb 0x1116a096
cmp dword [ebp - 0xeb0], 0
jne 0x1116a096
push str.Info._Simulating_Power_Resume_in_30_secs_n
call fcn.111bd7b0
lea eax, [esi + 0x61a8]
add esp, 4
or eax, 1
mov dword [0x1127aa84], eax
jmp 0x1116a09b
mov eax, dword [0x1127aa84]
test eax, eax
je 0x1116a0bd
mov ecx, esi
sub ecx, eax
cmp ecx, 0x1388
jl 0x1116a0bd
push 0
push 7
mov dword [0x1127aa84], esi
call fcn.1106cbc0
add esp, 8
cmp dword [ebp - 0xf38], 0
mov byte [ebp - 4], 0
je 0x1116a0d7
mov edx, dword [ebp - 0xf38]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0xeb0], 0
mov edi, dword [ebp - 0xe9c]
jne 0x1116a0ec
mov dword [0x1127f480], esi
mov eax, dword [edi]
mov edx, dword [eax + 0x138]
push 1
mov ecx, edi
call edx
mov eax, dword [0x1128075c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp dword [eax + 8], 0
mov dword [ebp - 0xed0], eax
jne 0x1116ab25
cmp dword [0x1127aa70], 0
je 0x1116ab25
mov ecx, dword [0x1127b21c]
xor edx, edx
xor eax, eax
mov word [ebp - 0xf0], ax
mov word [ebp - 0x390], dx
mov edx, dword [ecx]
mov eax, dword [edx + 0x154]
call eax
test al, al
je 0x1116a19c
cmp byte [0x1127f47c], 0
jne 0x1116a172
mov ecx, dword [ebp - 0xea0]
push 1
push ecx
mov byte [0x1127f47c], 1
call fcn.11163910
add esp, 8
jmp 0x1116a19c
mov edx, dword [0x1127ef4c]
test edx, edx
je 0x1116a19c
mov eax, dword [ebp - 0xea0]
push 0
push eax
call fcn.11163910
add esp, 8
test eax, eax
je 0x1116a19c
push 0x1127ef4c
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp dword [0x1127ad00], 0
mov edi, dword [ebp - 0xe9c]
mov dword [ebp - 0xea4], 0xffffffff
je 0x1116a46d
push 0
push 0x50
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0xea4]
push edx
mov ecx, edi
call fcn.11162230
test eax, eax
je 0x1116a26c
mov esi, dword [ebp - 0xea4]
test esi, esi
js 0x1116a206
push esi
call fcn.111611c0
push esi
push eax
call fcn.1114d040
add esp, 0xc
test eax, eax
je 0x1116a206
xor eax, eax
mov word [ebp - 0xf0], ax
jmp 0x1116a325
cmp esi, 0xffffffff
je 0x1116a31f
mov ecx, dword [0x1127ab0c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
push esi
call eax
push esi
call fcn.111629e0
add esp, 4
mov ecx, eax
call fcn.1114d080
test eax, eax
jne 0x1116a31f
cmp dword [0x1127ad0c], eax
jne 0x1116a255
push eax
push eax
push 6
call fcn.111bb9f0
add esp, 0xc
test eax, eax
je 0x1116a255
test esi, esi
jne 0x1116a31f
mov ecx, dword [0x1127ad0c]
push 0
push 1
push ecx
mov ecx, edi
call fcn.11162e10
jmp 0x1116a325
cmp dword [0x1127ad0c], 0
jg 0x1116a31f
call fcn.111489a0
test al, al
jne 0x1116a31f
push 0
call fcn.111613a0
mov esi, eax
add esp, 4
test esi, esi
jns 0x1116a3cd
call fcn.111489a0
test al, al
jne 0x1116a31f
lea ecx, [ebp - 0xf90]
call fcn.11030fd0
lea ecx, [ebp - 0xf90]
mov byte [ebp - 4], 2
call fcn.110826d0
mov esi, eax
test esi, esi
je 0x1116a30a
cmp esi, 0xffffffff
je 0x1116a30a
push esi
call fcn.111611c0
mov edi, eax
add esp, 4
test edi, edi
je 0x1116a30a
mov ecx, edi
call fcn.1114d080
test eax, eax
je 0x1116a30a
cmp dword [edi + 0x54], 0
jne 0x1116a30a
cmp dword [edi + 0x58], 0
jne 0x1116a30a
push esi
push str.___resetting_seshId_to__d____n
call fcn.111bd7b0
mov ecx, dword [0x1127ab0c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
add esp, 8
push esi
call eax
mov eax, dword [ebp - 0xf90]
mov byte [ebp - 4], 0
test eax, eax
je 0x1116a31f
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [ebp - 0xe9c]
cmp dword [0x1127ef54], 0
je 0x1116a46d
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [0x1127ef54]
cmp eax, 0x7d0
jb 0x1116a46d
mov ecx, dword [0x1127ef50]
push ecx
call fcn.111629e0
mov esi, eax
add esp, 4
test esi, esi
je 0x1116a46d
mov ecx, esi
call fcn.1114d080
test eax, eax
jne 0x1116a46d
cmp dword [esi + 0x54], eax
jne 0x1116a46d
mov edx, dword [0x1127ef50]
push edx
call fcn.111613a0
mov ecx, dword [0x1127ef50]
add esp, 4
cmp eax, ecx
jne 0x1116a46d
push ecx
push str.launch_client_for_console___d__before_its_needed_n
call fcn.111bd7b0
mov eax, dword [0x1127ef50]
add esp, 8
push 0
push 0
push eax
mov ecx, edi
call fcn.11162e10
test eax, eax
je 0x1116a3ec
xor eax, eax
mov dword [0x1127ef54], eax
mov dword [0x1127ef50], eax
jmp 0x1116a46d
push esi
push str.launch_client_for_active_session___d__n
call fcn.111bd7b0
add esp, 8
push 0
push 1
push esi
mov ecx, edi
call fcn.11162e10
jmp 0x1116a325
mov ecx, dword [ebp - 0xea0]
xor eax, eax
add ecx, 0xbfc
mov dword [ebp - 0xebc], ecx
mov dword [ebp - 0xec4], eax
mov dword [ebp - 0xec0], eax
lea edx, [ebp - 0xec0]
push edx
lea edx, [ebp - 0xec4]
push edx
mov edx, dword [0x1127ef50]
push 8
push edx
push eax
mov byte [ebp - 4], 3
call fcn.110630a0
test eax, eax
jne 0x1116a45e
mov eax, dword [0x1127ef50]
push eax
push str.lastConsole___d__invalid._Reset_to_0_n
call fcn.111bd7b0
add esp, 8
call ebx
dec eax
or eax, 1
push eax
mov ecx, esi
call fcn.1114d0f0
xor eax, eax
mov dword [0x1127ef54], eax
mov dword [0x1127ef50], eax
lea ecx, [ebp - 0xec4]
mov byte [ebp - 4], 0
call fcn.110630f0
cmp word [ebp - 0xf0], 0
jne 0x1116a51f
mov esi, dword [ebp - 0xea0]
add esi, 0x4e8
cmp word [esi], 0
je 0x1116a4b1
call fcn.1114cf20
test eax, eax
je 0x1116a4b1
lea edx, [ebp - 0xf0]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1116a4a0
jmp 0x1116a515
mov edx, dword [edi]
mov eax, dword [edx + 0x90]
push 0
push 0xffffffffffffffff
mov ecx, edi
mov dword [ebp - 0xecc], 0x50
call eax
lea ecx, [ebp - 0xecc]
push ecx
lea edx, [ebp - 0xf0]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1116a4fc
mov eax, dword [ebp - 0xed0]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.11107440
add esp, 4
test eax, eax
je 0x1116a505
xor edx, edx
mov word [ebp - 0xf0], dx
mov eax, dword [edi]
mov edx, dword [eax + 0x90]
push 0
push 0
mov ecx, edi
call edx
cmp word [ebp - 0xf0], 0
je 0x1116a574
call fcn.11107570
lea ecx, [ebp - 0xf0]
lea ebx, [ebx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1116a556
test dx, dx
je 0x1116a552
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1116a556
add ecx, 4
add eax, 4
test dx, dx
jne 0x1116a530
xor eax, eax
jmp 0x1116a55b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1116a574
mov eax, dword [ebp - 0xea0]
mov dword [eax + 0x59c], 1
jmp 0x1116a60b
cmp dword [0x1127ad00], 0
je 0x1116a60b
push 0x1127ef5c
lea ecx, [ebp - 0xee0]
call fcn.111489c0
mov esi, dword [0x1127f1dc]
mov eax, dword [esi]
mov dword [ebp - 0xeb0], eax
cmp eax, esi
je 0x1116a5c7
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x50], 0
je 0x1116a5b2
cmp dword [eax + 0x60], 0
je 0x1116a5d7
lea ecx, [ebp - 0xeb0]
call fcn.111c0aa0
mov eax, dword [ebp - 0xeb0]
cmp eax, esi
jne 0x1116a5a3
mov ecx, dword [ebp - 0xea0]
mov dword [ecx + 0x59c], 0
mov edi, dword [ebp - 0xee0]
test edi, edi
je 0x1116a60b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
sub eax, dword [ebp - 0xed8]
cmp eax, 0x64
jb 0x1116a60b
push eax
push str.Warning._simap_lock_held_for__d_ms_n
call fcn.111bd7b0
add esp, 8
push 0x104
lea edx, [ebp - 0x698]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1116a768
lea eax, [ebp - 0x698]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x1116a768
mov ecx, str.Supportusernames.ini
sub eax, ecx
lea edx, [eax + 2]
jmp 0x1116a650
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x1116a650
lea ecx, [ebp - 0x698]
push 0
push ecx
call dword [sym.imp.MSVCR100.dll__waccess]
add esp, 8
test eax, eax
jne 0x1116a768
lea edx, [ebp - 0xec8]
push edx
lea eax, [ebp - 0x490]
push eax
mov dword [ebp - 0xec8], 0x80
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x1116a768
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x698]
push edx
push 0x50
xor ecx, ecx
lea eax, [ebp - 0x190]
push eax
mov word [ebp - 0x190], cx
push 0x11247f3c
lea ecx, [ebp - 0x490]
push ecx
push str.ComputerNames
call edi
test eax, eax
je 0x1116a708
cmp word [ebp - 0x190], 0
je 0x1116a708
xor eax, eax
jmp 0x1116a6f0
movzx ecx, word [ebp + eax - 0x190]
mov word [ebp + eax - 0xf0], cx
add eax, 2
test cx, cx
jne 0x1116a6f0
lea eax, [ebp - 0x698]
push eax
push 0x100
xor edx, edx
lea ecx, [ebp - 0x898]
push ecx
mov word [ebp - 0x898], dx
push 0x11247f3c
lea edx, [ebp - 0x490]
push edx
push str.Emails
call edi
test eax, eax
je 0x1116a768
cmp word [ebp - 0x898], 0
je 0x1116a768
xor eax, eax
jmp 0x1116a750
movzx ecx, word [ebp + eax - 0x898]
mov word [ebp + eax - 0x390], cx
add eax, 2
test cx, cx
jne 0x1116a750
call fcn.11107570
lea ecx, [ebp - 0xf0]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1116a799
test dx, dx
je 0x1116a795
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1116a799
add ecx, 4
add eax, 4
test dx, dx
jne 0x1116a773
xor eax, eax
jmp 0x1116a79e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1116a7a9
mov word [ebp - 0xf0], ax
mov ebx, dword [ebp - 0xea0]
lea edi, [ebx + 0x4e8]
mov ecx, edi
lea eax, [ebp - 0xf0]
xor esi, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1116a7e6
cmp dx, si
je 0x1116a7e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1116a7e6
add eax, 4
add ecx, 4
cmp dx, si
jne 0x1116a7c0
xor eax, eax
jmp 0x1116a7eb
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
cmp dword [0x1127ad00], esi
jne 0x1116a819
cmp eax, esi
je 0x1116aaa5
cmp word [ebp - 0xf0], si
jne 0x1116a819
cmp dword [ebx + 0x59c], esi
jne 0x1116ab25
cmp eax, esi
je 0x1116aaa5
lea edx, [ebp - 0xe98]
mov eax, edi
sub edx, edi
jmp 0x1116a830
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x1116a830
lea eax, [ebp - 0xf0]
mov edx, edi
mov ecx, eax
sub edx, ecx
jmp 0x1116a850
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x1116a850
cmp word [ebp - 0xf0], si
jne 0x1116a909
mov edx, dword [0x1127aa68]
add edx, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 3
push esi
push 0x1120abec
push str.Client
mov ecx, 0x1127aa10
call fcn.110651d0
push 3
push esi
push 0x1120ac3c
push str.Client
mov ecx, 0x1127aa10
call fcn.110651d0
push 3
push esi
push str.CurrentEmail
push str.Client
mov ecx, 0x1127aa10
call fcn.110651d0
mov eax, dword [0x1127aa68]
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebx + 0x588]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov edx, dword [ebx + 0x590]
push edx
mov dword [ebx + 0x588], esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebx + 0x58c]
push eax
mov dword [ebx + 0x590], esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 0xc
mov dword [ebx + 0x58c], esi
cmp word [ebp - 0x390], si
jne 0x1116a95d
cmp word [ebp - 0xf0], si
je 0x1116a95d
mov edi, dword [ebp - 0xe9c]
mov edx, dword [edi]
mov edx, dword [edx + 0xdc]
push 0x100
lea eax, [ebp - 0x390]
push eax
mov ecx, edi
call edx
mov eax, dword [ebx + 0x590]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
lea ecx, [ebp - 0x390]
push esi
push ecx
call fcn.111b7990
add esp, 0xc
mov dword [ebx + 0x590], eax
jmp 0x1116a963
mov edi, dword [ebp - 0xe9c]
lea edx, [ebp - 0x390]
push edx
push str.Email_s_n
call fcn.111bd7b0
mov eax, dword [edi]
mov eax, dword [eax + 0x13c]
add esp, 8
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0xe98]
push edx
mov ecx, edi
call eax
call fcn.111babb0
test al, al
je 0x1116aa96
cmp dword [0x1127ad00], esi
jne 0x1116aa96
cmp word [ebp - 0x390], si
je 0x1116a9d4
mov ecx, dword [ebx + 0x58c]
push ecx
lea edx, [ebp - 0x390]
push edx
call fcn.1114cf20
push eax
call fcn.1105b6d0
add esp, 0xc
jmp 0x1116aa96
mov eax, dword [ebx + 0x588]
cmp eax, esi
je 0x1116a9f9
mov ecx, dword [ebx + 0x58c]
push ecx
push eax
call fcn.1114cf20
push eax
call fcn.1105b6d0
add esp, 0xc
jmp 0x1116aa96
lea edx, [ebp - 0xeb4]
push edx
lea eax, [ebp - 0xc98]
push eax
mov dword [ebp - 0xeb4], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea edi, [ebp - 0xc98]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x1116aa20
mov ecx, dword [0x11203288]
lea eax, [ebp - 0xf0]
mov dword [edi], ecx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1116aa40
lea edi, [ebp - 0xc98]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, si
jne 0x1116aa56
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [ebx + 0x58c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
lea eax, [ebp - 0xc98]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.1114cf20
push eax
call fcn.1105b6d0
mov edi, dword [ebp - 0xe9c]
add esp, 0xc
xor esi, esi
cmp dword [ebx + 0xcbc], esi
je 0x1116aaa5
mov ecx, edi
call fcn.11169e50
cmp word [ebp - 0xf0], si
je 0x1116ab25
mov ecx, dword [0x1127aa68]
add ecx, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 3
lea edx, [ebp - 0xf0]
push edx
push str.CurrentUserName
push str.Client
mov ecx, 0x1127aa10
call fcn.110651d0
mov eax, dword [ebx + 0x590]
push 3
push eax
push str.CurrentEmail
push str.Client
mov ecx, 0x1127aa10
call fcn.110651d0
mov ecx, dword [ebx + 0x58c]
push 3
push ecx
push 0x1120abec
push str.Client
mov ecx, 0x1127aa10
call fcn.110651d0
mov edx, dword [0x1127aa68]
add edx, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0xea0]
cmp dword [ebx + 0x84], 0
jne 0x1116ae0c
mov esi, dword [ebp - 0xe9c]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
lea ecx, [ebp - 0xea8]
push ecx
lea edx, [ebp - 0x50]
push edx
mov ecx, esi
mov dword [ebp - 0xea8], 0
call eax
test eax, eax
je 0x1116ae0c
cmp dword [0x1127acfc], 0
jne 0x1116ab76
cmp dword [0x1127ad10], 0
je 0x1116abaf
cmp byte [0x1127ad8d], 0
jne 0x1116abaf
lea ecx, [ebp - 0x50]
push str.NSLock
push ecx
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x1116abaf
mov eax, dword [ebp - 0xea8]
lea edx, [ebp - 0x50]
push edx
push eax
push ebx
call fcn.1114f390
add esp, 0xc
mov dword [ebp - 0xea8], eax
mov edx, dword [esi]
mov eax, dword [edx + 0xd4]
mov ecx, esi
call eax
add ebx, 0x3c
mov dword [ebp - 0xea4], ebx
mov ecx, ebx
lea eax, [ebp - 0x50]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1116abf6
test dx, dx
je 0x1116abf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1116abf6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1116abd0
xor eax, eax
jmp 0x1116abfb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1116ac26
mov ecx, dword [ebp - 0xea8]
push ecx
call dword [sym.imp.USER32.dll_CloseDesktop]
mov eax, dword [ebp - 0xeac]
test eax, eax
je 0x1116aefe
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1116aefe
push ebx
lea edx, [ebp - 0x50]
push edx
push str.newdeskname_s__old_idata__desk_s_n
call fcn.111bd7b0
mov esi, dword [0x1127aa60]
add esp, 0xc
mov dword [ebp - 0xeb4], esi
mov ecx, str.NSLock
mov eax, ebx
jmp 0x1116ac50
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1116ac76
test dx, dx
je 0x1116ac72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1116ac76
add eax, 4
add ecx, 4
test dx, dx
jne 0x1116ac50
xor eax, eax
jmp 0x1116ac7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1116ac91
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 0
push 0
push 0x10000100
mov ecx, esi
call edx
cmp dword [0x1127ab4c], 0
jne 0x1116ac9f
call fcn.111ac300
cmp byte [0x1127ab45], 0
mov bl, 1
je 0x1116acac
xor bl, bl
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call edi
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov esi, eax
test bl, bl
je 0x1116ae24
mov eax, dword [ebp - 0xea8]
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
jne 0x1116ae24
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xea4]
push ecx
push eax
lea edx, [ebp - 0x50]
push edx
push str.Error._SetThreadDesktop__s__failed__e_d__old_s_n
call fcn.111bd7b0
push str.This_is_usually_caused_by_open_windows_or_hooks__or_COM._n
call fcn.111bd7b0
push str.About_to_list_open_windows_for_this_client32_thread..._n
call fcn.111bd7b0
add esp, 0x18
call fcn.111a2f10
test eax, eax
je 0x1116ad4b
call fcn.111a2f20
test eax, eax
je 0x1116ad4b
mov esi, dword [ebp - 0xea0]
cmp dword [esi + 0x608], 0
je 0x1116ad4b
push str.Trying_to_Esc_away_from_winlogon
call fcn.111bd7b0
mov ecx, dword [esi + 0x608]
add esp, 4
push 0x100
call fcn.1114b690
mov ecx, dword [ebp - 0xe9c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xbc]
call edx
test eax, eax
je 0x1116ad68
cmp dword [0x1127ad00], 0
je 0x1116ad71
cmp dword [0x1127ad10], 0
je 0x1116ade8
push str.EnumThreadWindows___n
call fcn.111bd7b0
add esp, 4
push 0
push fcn.11148d90
call edi
push eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
push str.EnumMessageWindows_n
call fcn.111bd7b0
add esp, 4
call fcn.1114f1d0
lea eax, [ebp - 0xeb8]
push eax
push 0x11247b2c
push 1
push 0
push 0x11247bcc
mov dword [ebp - 0xeb8], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1116add6
push str.Warning._COM_is_wrongly_initialised__n
call fcn.111bd7b0
add esp, 4
mov eax, dword [ebp - 0xeb8]
test eax, eax
je 0x1116ade8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xea8]
push eax
call dword [sym.imp.USER32.dll_CloseDesktop]
cmp dword [0x1127ab4c], 0
jne 0x1116ae0c
mov ecx, dword [ebp + 8]
push ecx
push 0
call fcn.111b21f0
add esp, 8
mov eax, dword [ebp - 0xeac]
test eax, eax
je 0x1116ae1d
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1116af03
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
mov edx, dword [ebp - 0xea4]
lea eax, [ebp - 0x50]
mov ecx, eax
sub edx, ecx
xor ebx, ebx
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
cmp cx, bx
jne 0x1116ae40
mov edi, dword [sym.imp.MSVCR100.dll__wcsicmp]
lea edx, [ebp - 0x50]
push str.Winlogon
push edx
call edi
mov esi, dword [ebp - 0xea0]
add esp, 8
test eax, eax
jne 0x1116ae79
mov dword [esi + 0x5f4], ebx
mov dword [esi + 0x5f8], ebx
mov ecx, dword [ebp - 0xeb4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push ebx
push ebx
push 0x10000101
call edx
mov ecx, dword [ebp - 0xeac]
mov eax, dword [ebp - 0xea8]
push ecx
mov dword [esi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp + 8]
push edx
push 1
mov dword [ebp - 0xeac], ebx
call fcn.111b21f0
add esp, 8
cmp dword [esi + 0x4c8], ebx
je 0x1116aee6
mov dword [esi + 0x4c8], ebx
mov esi, dword [ebp - 0xe9c]
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push ebx
push ebx
mov ecx, esi
call edx
test eax, eax
je 0x1116aefe
push 1
call fcn.11148cc0
add esp, 4
jmp 0x1116aefe
lea eax, [ebp - 0x50]
push str.Default
push eax
call edi
add esp, 8
test eax, eax
jne 0x1116aefe
mov dword [0x1127abe8], ebx
mov eax, 1
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.111d9022
mov esp, ebp
pop ebp
ret 4