Function at 0x439310
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9afb
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
push eax
push 4
push esi
push 0x46e520
push 0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x400001cf
push 1
push 0
mov dword [esi + 4], eax
mov dword [esi], vtable.GuiThread.0
mov dword [esi + 0x10], 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov dword [esi + 0x10], eax
mov dword [ebp - 4], 0
lea ecx, [esi + 0x1c]
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], vtable.Win8DuplicationListener.0
mov dword [esi], vtable.Win8ScreenDriverImpl.1.0
mov dword [esi + 0x14], vtable.Win8ScreenDriverImpl.0
mov dword [esi + 0x18], eax
call fcn.0046e8c0
lea edi, [esi + 0x58]
mov byte [ebp - 4], 1
push ecx
mov ecx, edi
call fcn.0041d1f0
push ecx
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 2
call fcn.0041d1f0
mov word [esi + 0x68], 0
xorps xmm0, xmm0
mov dword [esi + 0x6c], vtable.FrameBuffer.0
mov dword [esi + 0x70], vtable.Dimension.0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x90], 0
movups xmmword [esi + 0x7c], xmm0
mov word [esi + 0x8c], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
add esi, 0x9c
mov dword [ebp + 8], esi
lea ecx, [esi + 0xc]
mov dword [esi], vtable.Win8CursorShape.0
mov dword [esi + 4], 0xffffffff
mov byte [esi + 8], 0
call fcn.004320d0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
call fcn.004320d0
mov esi, dword [ebp - 0x10]
lea eax, [esi + 0x12c]
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
push eax
mov dword [esi + method.LocalMutex.virtual_0], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 7
push dword [esi + 4]
mov dword [esi + 0x144], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x148], eax
mov al, byte [ebp + 0x18]
mov byte [esi + 0x14c], al
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
push str.Win8ScreenDriverImpl::_waiting_for_DXGI_init
push dword [esi + 0x18]
setne al
mov byte [esi + 0xc], al
call fcn.00405740
mov eax, dword [edi + 4]
add esp, 8
test eax, eax
je 0x4394c8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x68], 0
jne 0x43956c
mov eax, dword [esi + 0x6c]
lea ecx, [esi + 0x6c]
lea edx, [ebp - 0x28]
push edx
call dword [eax + 0x4c]
xorps xmm0, xmm0
mov word [ebp - 0x68], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], vtable.Rect.0
movups xmmword [ebp - 0x60], xmm0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 9
call fcn.00470530
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
sub eax, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], vtable.Dimension.0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x24], eax
jne 0x43953f
cmp dword [ebp - 0x20], ecx
jne 0x43953f
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, esi
call fcn.0046e5b0
mov ecx, esi
call fcn.0046e590
lea eax, [ebp - 0x50]
push str.The_builded_screen_dimension_doesnt_match_to_virtual_screen_dimension
push eax
call fcn.00404e00
add esp, 8
lea eax, [ebp - 0x50]
push 0x4f7990
push eax
call fcn.00498928
push str.Win8ScreenDriverImpl_init_critical_error
push dword [esi + 0x18]
call fcn.00405740
add esp, 8
mov ecx, esi
call fcn.0046e5b0
mov ecx, esi
call fcn.0046e590
lea eax, [ebp - 0x3c]
push str.Win8ScreenDriverImpl_cant_be_successfully_initialized
push eax
call fcn.00404e00
add esp, 8
lea eax, [ebp - 0x3c]
push 0x4f7990
push eax
call fcn.00498928
int3