Function at 0x450810
Capabilities:
Check for time delay via gettickcount
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5408dc
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x5a6008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x178], edi
mov eax, dword [0x5b6e6c]
mov eax, dword [eax + 0xe60]
cmp eax, 1
jne 0x4508f3
mov eax, dword [0x5b4770]
test eax, eax
jne 0x45088c
push 0x20
call fcn.0051134c
add esp, 4
mov dword [ebp - 0x184], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00474710
mov dword [ebp - 4], 0xffffffff
mov dword [0x5b4770], eax
cmp byte [eax + 8], 0
mov ecx, eax
jne 0x4508ea
test ecx, ecx
jne 0x4508c5
push 0x20
call fcn.0051134c
add esp, 4
mov dword [ebp - 0x184], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00474710
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5b4770], ecx
cmp byte [ecx + 7], 0
jne 0x4508ea
call fcn.00426ed0
cmp byte [eax + 6], 0
jne 0x4508ea
call fcn.00426ed0
cmp byte [eax + 4], 0
jne 0x4508ea
mov al, 1
mov byte [0x5a8a50], al
jmp 0x4508fd
xor al, al
mov byte [0x5a8a50], al
jmp 0x4508fd
cmp eax, 2
sete byte [0x5a8a50]
push str.vncDesktopThread::run_undetached_:_Hook_changed_1_n
push 0
push 0x5a6c48
mov byte [edi + 0x10ac0], 1
call fcn.0041d720
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov ecx, dword [edi + 0x10a28]
push str.vncDesktopThread::run_undetached_:_Hook_changed_2_n
push 0
push 0x5a6c48
mov dword [ecx + 0xe970], eax
call fcn.0041d720
add esp, 0xc
mov dword [ebp - 0x104], 0x94
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
mov eax, dword [sym.imp.USER32.dll_PostMessageA]
mov esi, dword [sym.imp.USER32.dll_CloseDesktop]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x184], ecx
je 0x450a1a
push str.vncDesktop::KillScreenSaver_:_KillScreenSaver..._n
push 9
push 0x5a6c48
call fcn.0041d720
mov eax, dword [ebp - 0xf4]
add esp, 0xc
sub eax, 1
je 0x4509f8
sub eax, 1
jne 0x450a1a
push 0x81
push eax
push eax
push str.Screen_saver
call dword [sym.imp.USER32.dll_OpenDesktopA]
mov esi, eax
test esi, esi
je 0x450a14
push str.vncDesktop::KillScreenSaver_:_Killing_ScreenSaver_n
push 9
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
push 0
push 0x44a200
push esi
call dword [sym.imp.USER32.dll_EnumDesktopWindows]
push esi
mov esi, dword [sym.imp.USER32.dll_CloseDesktop]
call esi
push 2
push 0
push 1
push 0x11
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
jmp 0x450a1a
push 0
push str.WindowsScreenSaverClass
call ecx
test eax, eax
je 0x450a1a
push 0
push 0
push 0x10
push eax
call dword [ebp - 0x1a0]
jmp 0x450a1a
mov esi, dword [sym.imp.USER32.dll_CloseDesktop]
push ecx
push 0
xor dl, dl
mov cl, 0x11
call fcn.0042e870
add esp, 4
xor dl, dl
mov cl, 0x11
push 2
call fcn.0042e870
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
mov dword [ebp - 0x19c], eax
push 0x1f4
call eax
mov ecx, dword [edi + 0x10a28]
call fcn.00449a20
mov dword [ebp - 0x130], eax
test eax, eax
je 0x450a94
mov ecx, dword [edi + 0x10a28]
mov ecx, dword [ecx + 0xe970]
call fcn.00425a20
mov ecx, dword [edi + 0x10a28]
mov ecx, dword [ecx + 0xe96c]
test ecx, ecx
je 0x450a82
push ecx
call esi
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x130]
call dword [eax + 0x10]
jmp 0x452bed
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x10]
mov eax, dword [0x5b6e6c]
mov ecx, dword [edi + 0x10a28]
push dword [eax + 0xe50]
push dword [eax + 0xe54]
call fcn.0044c810
push ecx
lea ecx, [ebp - 0x234]
mov byte [edi + 0x10ac1], 0
call fcn.00428940
mov dword [ebp - 4], 2
mov esi, dword [edi + 0x10a28]
push 0x560f28
call fcn.00523296
add esp, 4
mov dword [ebp - 0x130], eax
mov eax, dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp - 0x118], eax
push dword [esi + 0x8a4]
push dword [esi + 0x8a0]
push dword [esi + 0x89c]
push dword [esi + 0x898]
call eax
mov esi, eax
mov dword [ebp - method.rfb::ClippedUpdateTracker.virtual_0], vtable.rfb::ClippedUpdateTracker.0
lea eax, [ebp - 0x234]
push 0x560f28
mov dword [ebp - 0x194], eax
call fcn.00523296
add esp, 4
mov dword [ebp - 0x18c], eax
push 0
push 0
push 0
push 0
call dword [ebp - 0x118]
push 5
push esi
push esi
mov dword [ebp - 0x190], eax
push eax
mov eax, dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [ebp - 0x10c], eax
call eax
mov eax, dword [sym.imp.GDI32.dll_DeleteObject]
push esi
mov dword [ebp - 0x120], eax
call eax
push dword [ebp - 0x130]
call fcn.00515679
push 0x560f28
mov byte [ebp - 0x210], 1
call fcn.00523296
add esp, 8
mov dword [ebp - 0x124], eax
push 0
push 0
push 0
push 0
call dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 4
mov esi, dword [edi + 0x10a28]
push 0x560f28
call fcn.00523296
add esp, 4
mov dword [ebp - 0x130], eax
push dword [esi + 0x8a4]
push dword [esi + 0x8a0]
push dword [esi + 0x89c]
push dword [esi + 0x898]
call dword [ebp - 0x118]
push 0
mov esi, eax
push 0
mov eax, dword [sym.imp.GDI32.dll_SetRectRgn]
push 0
push 0
push dword [ebp - 0x128]
mov dword [ebp - 0x140], eax
call eax
push 5
push esi
push esi
push dword [ebp - 0x128]
call dword [ebp - 0x10c]
push esi
call dword [ebp - 0x120]
push dword [ebp - 0x130]
call fcn.00515679
mov edx, dword [edi + 0x10a28]
add esp, 4
mov ecx, dword [edi + 0x10a38]
cmp dword [edx + 0xe964], 1
mov esi, dword [ecx]
sete al
movzx eax, al
push eax
push dword [edx + 0x85c]
push dword [edx + 0x858]
call dword [esi + 0x74]
lea eax, [ebp - 0x260]
push eax
mov eax, dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [ebp - 0x248], eax
call eax
mov edx, dword [edi + 0x10a28]
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x25c]
mov dword [edi + 0x10a30], eax
mov dword [edi + 0x10a34], ecx
mov eax, dword [edx + 0xe3c8]
test eax, eax
je 0x450ce3
cmp dword [eax + 0x10], 0
je 0x450ccf
cmp dword [edx + 0x890], 0
je 0x450ce3
mov ecx, dword [edi + 0x10a38]
push dword [edx + 0xe8c0]
push dword [edx + 0xe8bc]
mov eax, dword [ecx]
call dword [eax + 0x70]
mov eax, dword [edi + 0x10a28]
mov dword [eax + 0x7fc], 4
mov dword [eax + 0x800], 0
jmp 0x450ce3
mov dword [edx + 0xe8f0], 1
mov dword [edx + 0xe8f4], 1
mov eax, dword [edi + 0x10a28]
xor esi, esi
mov dword [eax + 0xe8f4], 1
mov eax, dword [edi + 0x10a28]
mov dword [eax + 0xe894], 0
mov eax, dword [edi + 0x10a28]
mov dword [eax + 0xe8f0], 0
mov eax, dword [edi + 0x10a28]
mov dword [eax + 0xe8f8], 0
mov eax, dword [edi + 0x10a28]
mov dword [eax + 0xe8fc], 0
mov ecx, dword [edi + 0x10a38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
call eax
test eax, eax
jne 0x450d79
push 0x64
call dword [ebp - 0x19c]
inc esi
cmp esi, 0x32
jg 0x450d79
push str.vncDesktopThread::run_undetached_:_Wait_for_viewer_init__n
push 0
push 0x5a6c48
call fcn.0041d720
mov ecx, dword [edi + 0x10a38]
add esp, 0xc
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
call eax
test eax, eax
je 0x450d46
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x110]
call eax
test eax, eax
setne dl
mov byte [edi + 0x10a6c], dl
test eax, eax
jne 0x450db9
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c8]
test ecx, ecx
je 0x450db9
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dl, byte [edi + 0x10a6c]
test dl, dl
je 0x450dea
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c8]
test ecx, ecx
je 0x450ddc
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dl, byte [edi + 0x10a6c]
test dl, dl
je 0x450dea
mov ecx, dword [edi + 0x10a38]
mov eax, dword [ecx]
call dword [eax + 0x15c]
push 1
push 0
push 0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1b4], esi
call esi
mov dword [edi + 0x10a74], eax
call esi
mov dword [edi + 0x10a78], eax
xor eax, eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], eax
mov byte [0x5a8d8f], al
mov eax, dword [edi + 0x10a28]
mov byte [edi + 0x10a2c], 1
push dword [eax + 0xe398]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [edi + 0x10a28]
push 0x560f28
call fcn.00523296
add esp, 4
mov dword [ebp - 0x130], eax
push dword [esi + 0x8a4]
push dword [esi + 0x8a0]
push dword [esi + 0x89c]
push dword [esi + 0x898]
call dword [ebp - 0x118]
mov ecx, dword [ebp - 0x128]
mov esi, eax
push 2
push esi
push ecx
push ecx
call dword [ebp - 0x10c]
push esi
call dword [ebp - 0x120]
push dword [ebp - 0x130]
call fcn.00515679
add esp, 4
cmp byte [0x5ab36f], 0
jne 0x450f59
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c8]
test ecx, ecx
je 0x450eff
cmp dword [ecx + 0x10], 0
je 0x450eeb
cmp dword [eax + 0x890], 0
je 0x450eff
call fcn.00426ed0
cmp byte [eax + 6], 0
jne 0x450eff
call fcn.00426ed0
cmp byte [eax + 4], 0
jne 0x450eff
push 1
push 1
jmp 0x450f41
mov dword [eax + 0xe8f0], 1
mov dword [eax + 0xe8f4], 1
mov eax, dword [0x5b4770]
test eax, eax
jne 0x450f2c
push 0x20
call fcn.0051134c
add esp, 4
mov dword [ebp - 0x1b8], eax
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00474710
mov byte [ebp - 4], 4
mov dword [0x5b4770], eax
cmp byte [eax + 6], 0
jne 0x450f59
call fcn.00426ed0
cmp byte [eax + 4], 0
jne 0x450f59
push 1
push 0
mov ecx, dword [edi + 0x10a28]
lea eax, [ebp - 0x128]
push eax
add ecx, 0x7e0
call fcn.00433b10
mov eax, dword [edi + 0x10a28]
mov dword [eax + 0xe410], 1
xor eax, eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x148], eax
mov eax, dword [0x5b6e6c]
cmp dword [eax + 0xa58], 0
je 0x450f9a
mov esi, dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
push 0x80000043
mov dword [ebp - 0x1e0], esi
call esi
jmp 0x450fac
mov eax, dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
push closesocket
mov dword [ebp - 0x1e0], eax
call eax
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c8]
test ecx, ecx
je 0x451035
cmp dword [ecx + 0x10], 0
je 0x451021
cmp dword [eax + 0x890], 0
je 0x451035
call fcn.00426ed0
cmp byte [eax + 6], 0
jne 0x451035
call fcn.00426ed0
cmp byte [eax + 4], 0
jne 0x451035
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x2ac]
push eax
push 0
push edi
push 0x450710
push 0
push 0
call esi
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x2a8]
push eax
push 0
push edi
push 0x450790
push 0
push 0
call esi
mov ecx, 0x3e8
jmp 0x45112d
mov dword [eax + 0xe8f0], 1
mov dword [eax + 0xe8f4], 1
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c8]
test ecx, ecx
je 0x45110f
cmp dword [ecx + 0x10], 0
je 0x4510fb
cmp dword [eax + 0x890], 0
je 0x45110f
call fcn.00426ed0
cmp byte [eax + 6], 0
jne 0x45107a
call fcn.00426ed0
cmp byte [eax + 4], 0
je 0x45110f
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [edi + 0x10a28]
mov dword [ecx + 0xe388], eax
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [edi + 0x10a28]
mov dword [ecx + 0xe38c], eax
mov ecx, 0x3e8
cmp byte [edi + 0x10a6c], 0
mov dword [ebp - 0x17c], ecx
je 0x451139
mov eax, dword [edi + 0x10a28]
cmp dword [eax + 0xe3c8], 0
je 0x451139
lea eax, [ebp - 0x2a4]
push eax
push 0
push edi
push 0x450790
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0x3e8
jmp 0x451133
mov dword [eax + 0xe8f0], 1
mov dword [eax + 0xe8f4], 1
lea eax, [ebp - 0x2a0]
push eax
push 0
push edi
push 0x450790
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0x21
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x148], eax
cmp byte [edi + 0x10a2c], 0
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x150], eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x130], eax
je 0x4529b0
mov eax, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x134], eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x1ac], eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x1dc], eax
mov eax, dword [sym.imp.GDI32.dll_GetRgnBox]
mov dword [ebp - 0x1b8], edx
mov dword [ebp - 0x13c], eax
nop dword [eax]
nop dword [eax + eax]
cmp byte [0x5ab8a3], 0
jne 0x4529b0
mov eax, dword [edi + 0x10a28]
push ecx
push 0
add eax, 0xe370
push eax
push 8
call edx
mov ecx, dword [edi + 0x10a28]
mov esi, eax
push 0x2710
push dword [ecx + 0xe398]
call dword [ebp - 0x150]
cmp eax, 0x102
jne 0x4511e7
mov byte [edi + 0x10a2c], 0
cmp esi, 5
ja 0x451334
je 0x451314
cmp esi, 4
ja case.default.0x4511ff
jmp dword [esi*4 + 0x452c14]
mov eax, dword [edi + 0x10a28]
push dword [eax + 0xe374]
call dword [ebp - 0x134]
mov eax, dword [edi + 0x10a28]
push 2
mov byte [eax + 0xe3a8], 1
mov eax, dword [edi + 0x10a28]
push dword [eax + 0xe3a0]
mov eax, dword [ebp - 0x128]
push eax
push eax
call dword [ebp - 0x10c]
mov eax, dword [edi + 0x10a28]
push 0
push 0
push 0
push 0
push dword [eax + 0xe3a0]
call dword [ebp - 0x140]
mov eax, dword [edi + 0x10a28]
mov byte [eax + 0xe3a8], 0
jmp case.default.0x4511ff
mov eax, dword [edi + 0x10a28]
push dword [eax + 0xe378]
call dword [ebp - 0x134]
jmp case.default.0x4511ff
mov eax, dword [edi + 0x10a28]
push 0x560f28
mov byte [eax + 0xe3a8], 1
mov esi, dword [edi + 0x10a28]
call fcn.00523296
add esp, 4
mov dword [ebp - 0x108], eax
push dword [esi + 0x8a4]
push dword [esi + 0x8a0]
push dword [esi + 0x89c]
push dword [esi + 0x898]
call dword [ebp - 0x118]
mov ecx, dword [ebp - 0x128]
mov esi, eax
push 2
push esi
push ecx
push ecx
call dword [ebp - 0x10c]
push esi
call dword [ebp - 0x120]
push dword [ebp - 0x108]
call fcn.00515679
mov eax, dword [edi + 0x10a28]
add esp, 4
push dword [eax + 0xe380]
call dword [ebp - 0x134]
mov eax, dword [edi + 0x10a28]
mov byte [eax + 0xe3a8], 0
jmp case.default.0x4511ff
mov eax, dword [edi + 0x10a28]
mov esi, dword [ebp - 0x134]
mov byte [edi + 0x10a2c], 0
push dword [eax + 0xe384]
call esi
jmp case.default.0x4511ff
cmp esi, 0x102
ja 0x45298a
je case.0x4511ff.0
sub esi, 6
je 0x4513b2
sub esi, 1
jne case.default.0x4511ff
mov eax, dword [edi + 0x10a28]
mov esi, dword [ebp - 0x134]
push dword [eax + 0xe38c]
call esi
jmp 0x451370
mov esi, dword [ebp - 0x134]
mov eax, dword [edi + 0x10a68]
test eax, eax
je 0x45139f
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x2c0], 0x14
push ecx
call eax
mov ecx, dword [edi + 0x10a28]
mov eax, dword [ebp - 0x2b8]
mov dword [ecx + 0xe888], eax
mov eax, dword [edi + 0x10a28]
push dword [eax + 0xe37c]
call esi
jmp case.default.0x4511ff
mov eax, dword [edi + 0x10a28]
push dword [eax + 0xe388]
call dword [ebp - 0x134]
push str.ddengine
push 0x10
push 0x5ac550
call fcn.00523f31
add esp, 0xc
mov eax, dword [edi + 0x10a28]
push dword [eax + 0xe370]
call dword [ebp - 0x134]
mov eax, dword [0x5b6e6c]
cmp dword [eax + 0xe48], 0x64
je 0x451468
mov eax, dword [ebp - 0x1a8]
cmp eax, 0xa
je 0x45140c
test eax, eax
je 0x45140c
cmp eax, 5
jne 0x451472
lea ecx, [edi + 0x10a84]
call fcn.0041dcf0
mov esi, dword [edi + 0x10ab4]
mov word [edi + 0x10ab0], ax
movsx ecx, ax
mov eax, dword [0x5b6e6c]
cmp ecx, dword [eax + 0xe48]
lea eax, [esi + 0xa]
jg 0x45143a
lea eax, [esi - 0xa]
mov ecx, eax
lea esi, [edi + 0x10ab4]
mov dword [esi], ecx
mov ecx, dword [edi + 0x10abc]
cmp eax, ecx
jae 0x451456
mov dword [edi + 0x10ab4], ecx
mov eax, ecx
mov ecx, dword [edi + 0x10ab8]
cmp eax, ecx
jbe 0x451472
mov dword [edi + 0x10ab4], ecx
jmp 0x451472
mov dword [edi + 0x10ab4], 0x19
call dword [ebp - 0x1b4]
mov edx, dword [edi + 0x10a74]
mov ecx, eax
mov esi, dword [edi + 0x10ab4]
sub ecx, edx
mov dword [edi + 0x10a70], eax
cmp ecx, esi
jae 0x45149d
sub edx, eax
add edx, esi
push edx
call dword [ebp - 0x19c]
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c8]
test ecx, ecx
je 0x4514e7
cmp dword [ecx + 0x10], 0
je 0x4514d3
cmp dword [eax + 0x890], 0
je 0x4514e7
mov eax, dword [edi]
lea ecx, [ebp - 0x198]
push ecx
lea ecx, [ebp - 0x128]
push ecx
mov ecx, edi
call dword [eax + 0x14]
jmp 0x4514e7
mov dword [eax + 0xe8f0], 1
mov dword [eax + 0xe8f4], 1
mov eax, dword [edi + 0x10a28]
cmp dword [eax + 0xe8f4], 0
je 0x45155b
cmp dword [eax + 0xe8f0], 0
jne 0x45155b
push str.vncDesktopThread::run_undetached_:_Hook_changed__n
push 0
push 0x5a6c48
call fcn.0041d720
mov eax, dword [edi + 0x10a28]
add esp, 0xc
push 0
push dword [eax + 0xe8ec]
push 0x8007
push dword [eax + 0xe404]
call dword [ebp - 0x1a0]
mov eax, dword [edi + 0x10a28]
cmp dword [eax + 0xe8ec], 0
je 0x451551
mov dword [eax + 0xe88c], 0
mov eax, dword [edi + 0x10a28]
mov dword [eax + 0xe8f4], 0
mov ecx, dword [edi + 0x10a38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x128]
call eax
test al, al
jne 0x45159a
lea eax, [ebp - 0x198]
mov ecx, edi
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0044f710
test al, al
je 0x45298f
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x11c]
call eax
mov ecx, dword [edi + 0x10a28]
mov byte [ecx + 0x894], al
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov ecx, dword [edi + 0x10a28]
mov dword [ebp - 0x28c], 0x113
mov byte [ecx + 0x895], al
mov eax, dword [edi + 0x10a28]
add eax, 0xe420
push eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x290], eax
call dword [ebp - 0x1ac]
mov byte [ebp - 4], 6
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
test eax, eax
jne 0x45162d
cmp byte [edi + 0x10ac1], al
jne 0x452978
mov eax, dword [edi + 0x10a70]
mov dword [edi + 0x10a74], eax
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 0x144], 0
call dword [ebp - 0x248]
test eax, eax
je 0x4516c3
mov ecx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x264]
cmp ecx, dword [edi + 0x10a30]
jne 0x45166d
cmp eax, dword [edi + 0x10a34]
je 0x4516c3
mov dword [edi + 0x10a34], eax
mov eax, dword [edi + 0x10a28]
mov dword [edi + 0x10a30], ecx
mov byte [ebp - 0x144], 1
mov ecx, dword [eax + 0xe3c4]
mov eax, dword [ecx]
call dword [eax + 0x8c]
mov eax, dword [edi + 0x10a68]
test eax, eax
je 0x4516c3
lea ecx, [ebp - 0x2d4]
mov dword [ebp - 0x2d4], 0x14
push ecx
call eax
mov ecx, dword [edi + 0x10a28]
mov eax, dword [ebp - 0x2cc]
mov dword [ecx + 0xe888], eax
mov edx, dword [edi + 0x10a28]
xor al, al
mov byte [ebp - 0x129], al
cmp dword [edx + 0x890], 0
jne 0x4516fd
lea eax, [ebp - 0x198]
mov ecx, edx
push eax
call fcn.0044bed0
mov edx, dword [edi + 0x10a28]
mov byte [ebp - 0x129], al
cmp dword [edx + 0x890], 0
je 0x45175f
cmp byte [edx + 0xe93c], 0
je 0x45175f
cmp dword [edx + 0xe934], 0
jne 0x45175f
mov eax, dword [0x5b6e6c]
xor ecx, ecx
cmp byte [ebp - 0x144], cl
je 0x45173a
cmp dword [eax + 0xe30], ecx
mov dword [edx + 0x800], 0
setne cl
inc ecx
mov dword [edx + 0x7fc], ecx
jmp 0x45179e
cmp dword [eax + 0xe30], ecx
mov dword [edx + 0x800], 0
setne cl
lea ecx, [ecx*2 + 2]
mov dword [edx + 0x7fc], ecx
jmp 0x4518b5
test al, al
jne 0x451791
push dword [ebp - 0x144]
lea eax, [ebp - 0x1a4]
mov ecx, edi
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.004503b0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], eax
cmp byte [ebp - 0x144], 0
je 0x4518b5
mov esi, dword [edi + 0x10a28]
cmp dword [esi + 0x890], 0
jne 0x4518b5
mov ecx, dword [esi + 0xe3ac]
cmp ecx, dword [esi + 0xe3b4]
jge 0x4518b5
mov eax, dword [esi + 0xe3b0]
cmp eax, dword [esi + 0xe3b8]
jge 0x4518b5
mov eax, dword [esi + 0xe3b4]
mov edx, dword [esi + 0xe438]
sub eax, ecx
mov dword [ebp - 0x114], eax
mov eax, dword [esi + 0xe3b8]
mov dword [ebp - 0x110], ecx
mov ecx, dword [esi + 0xe3b0]
sub eax, ecx
mov dword [ebp - 0x108], eax
mov eax, dword [esi + 0xe444]
mov dword [ebp - 0x11c], ecx
mov ecx, dword [esi + 0xe43c]
add eax, ecx
push eax
mov eax, dword [esi + 0xe440]
add eax, edx
push eax
push ecx
push edx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
lea edx, [ebp - 0x11c]
lea ecx, [ebp - 0x110]
call fcn.0044ec50
add esp, 0x18
test al, al
je 0x4518b5
mov ecx, dword [ebp - 0x110]
mov esi, dword [ebp - 0x108]
add dword [ebp - 0x114], ecx
add esi, dword [ebp - 0x11c]
push 0x560f28
call fcn.00523296
add esp, 4
mov dword [ebp - 0x108], eax
push esi
push dword [ebp - 0x114]
push dword [ebp - 0x11c]
push dword [ebp - 0x110]
call dword [ebp - 0x118]
mov ecx, dword [ebp - 0x128]
mov esi, eax
push 2
push esi
push ecx
push ecx
call dword [ebp - 0x10c]
push esi
call dword [ebp - 0x120]
push dword [ebp - 0x108]
call fcn.00515679
add esp, 4
mov eax, dword [edi + 0x10a28]
add eax, 0xe420
mov dword [ebp - 0x294], 0x114
push eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x298], eax
call dword [ebp - 0x1ac]
mov byte [ebp - 4], 7
mov eax, dword [0x5b6e6c]
movsx ecx, word [edi + 0x10ab0]
mov eax, dword [eax + 0xe48]
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jge 0x451920
mov ecx, dword [edi + 0x10a28]
cmp dword [ecx + 0x890], 0
jne 0x451920
cmp byte [ebp - 0x129], 0
jne 0x451920
lea eax, [ebp - 0x198]
push eax
call fcn.0044bed0
mov al, byte [0x5ab36f]
test al, al
je 0x45196b
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x124]
call eax
test al, al
je 0x451962
mov ecx, dword [edi + 0x10a28]
push dword [ecx + 0x824]
push dword [ecx + 0x844]
mov ecx, dword [ecx + 0x848]
call fcn.0044afc0
jmp 0x4519d0
mov al, byte [0x5ab36f]
test al, al
jne 0x4519d0
mov ecx, dword [edi + 0x10a28]
mov edx, dword [ecx + 0xe3c8]
test edx, edx
je 0x4519b0
cmp dword [edx + 0x10], 0
je 0x451996
cmp dword [ecx + 0x890], 0
je 0x4519b0
movzx eax, byte [edi + 0x10ac0]
push eax
push 1
jmp 0x4519be
mov dword [ecx + 0xe8f0], 1
mov dword [ecx + 0xe8f4], 1
mov ecx, dword [edi + 0x10a28]
test al, al
jne 0x4519d0
movzx eax, byte [edi + 0x10ac0]
push eax
push 0
lea eax, [ebp - 0x128]
add ecx, 0x7e0
push eax
call fcn.00433b10
mov eax, dword [edi + 0x10a28]
mov byte [edi + 0x10ac0], 1
mov ecx, dword [eax + 0xe3c4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x110]
call eax
xor ecx, ecx
cmp byte [edi + 0x10a6c], cl
sete cl
cmp ecx, eax
jne 0x451a3b
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x110]
call eax
test eax, eax
mov eax, dword [edi + 0x10a28]
setne dl
mov byte [edi + 0x10a6c], dl
mov ecx, dword [eax + 0xe3c8]
test ecx, ecx
je 0x451a3b
mov eax, dword [ecx]
test dl, dl
jne 0x451a38
call dword [eax + 0xc]
jmp 0x451a3b
call dword [eax + 0x10]
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x110]
call eax
mov ecx, dword [edi + 0x10a28]
test eax, eax
je 0x451bdd
mov eax, dword [ecx + 0xe888]
cmp eax, dword [ecx + 0xe88c]
jne 0x451a85
mov eax, dword [ecx + 0x84c]
mov dword [ecx + 0x84c], 0
test eax, eax
je 0x451d29
mov ecx, dword [edi + 0x10a28]
mov eax, dword [ecx + 0xe888]
mov dword [ecx + 0xe88c], eax
mov eax, dword [edi + 0x10a28]
mov dword [eax + 0x804], 1
mov ecx, dword [edi + 0x10a28]
cmp dword [ecx + 0x890], 0
je 0x451abf
cmp byte [ecx + 0xe93c], 0
jne 0x451ad0
add ecx, 0x7e0
call fcn.00434c30
mov ecx, dword [edi + 0x10a28]
mov ecx, dword [ecx + 0xe3c4]
mov eax, dword [ecx]
call dword [eax + 0x8c]
mov esi, dword [edi + 0x10a28]
mov ecx, dword [esi + 0xe3ac]
mov eax, dword [esi + 0xe3b4]
mov edx, dword [esi + 0xe438]
sub eax, ecx
mov dword [ebp - 0x108], eax
mov eax, dword [esi + 0xe3b8]
mov dword [ebp - 0x11c], ecx
mov ecx, dword [esi + 0xe3b0]
sub eax, ecx
mov dword [ebp - 0x114], eax
mov eax, dword [esi + 0xe444]
mov dword [ebp - 0x110], ecx
mov ecx, dword [esi + 0xe43c]
add eax, ecx
push eax
mov eax, dword [esi + 0xe440]
add eax, edx
push eax
push ecx
push edx
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0x11c]
call fcn.0044ec50
add esp, 0x18
test al, al
je 0x451bca
mov ecx, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x114]
add dword [ebp - 0x108], ecx
add esi, dword [ebp - 0x110]
push 0x560f28
call fcn.00523296
add esp, 4
mov dword [ebp - 0x114], eax
push esi
push dword [ebp - 0x108]
push dword [ebp - 0x110]
push dword [ebp - 0x11c]
call dword [ebp - 0x118]
mov ecx, dword [ebp - 0x128]
mov esi, eax
push 2
push esi
push ecx
push ecx
call dword [ebp - 0x10c]
push esi
call dword [ebp - 0x120]
push dword [ebp - 0x114]
call fcn.00515679
add esp, 4
mov ecx, dword [edi + 0x10a38]
mov eax, dword [ecx]
call dword [eax + 0x15c]
jmp 0x451d29
cmp dword [ecx + 0x890], 0
je 0x451bf3
cmp byte [ecx + 0xe93c], 0
jne 0x451d29
add ecx, 0x7e0
call fcn.00434c30
cmp byte [ebp - 0x144], 0
je 0x451d29
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c4]
mov eax, dword [ecx]
call dword [eax + 0x8c]
mov esi, dword [edi + 0x10a28]
mov ecx, dword [esi + 0xe3ac]
cmp ecx, dword [esi + 0xe3b4]
jge 0x451d29
mov eax, dword [esi + 0xe3b0]
cmp eax, dword [esi + 0xe3b8]
jge 0x451d29
mov eax, dword [esi + 0xe3b4]
mov edx, dword [esi + 0xe438]
sub eax, ecx
mov dword [ebp - 0x108], eax
mov eax, dword [esi + 0xe3b8]
mov dword [ebp - 0x11c], ecx
mov ecx, dword [esi + 0xe3b0]
sub eax, ecx
mov dword [ebp - 0x114], eax
mov eax, dword [esi + 0xe444]
mov dword [ebp - 0x110], ecx
mov ecx, dword [esi + 0xe43c]
add eax, ecx
push eax
mov eax, dword [esi + 0xe440]
add eax, edx
push eax
push ecx
push edx
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0x11c]
call fcn.0044ec50
add esp, 0x18
test al, al
je 0x451d29
mov ecx, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x114]
add dword [ebp - 0x108], ecx
add esi, dword [ebp - 0x110]
push 0x560f28
call fcn.00523296
add esp, 4
mov dword [ebp - 0x114], eax
push esi
push dword [ebp - 0x108]
push dword [ebp - 0x110]
push dword [ebp - 0x11c]
call dword [ebp - 0x118]
mov ecx, dword [ebp - 0x128]
mov esi, eax
push 2
push esi
push ecx
push ecx
call dword [ebp - 0x10c]
push esi
call dword [ebp - 0x120]
push dword [ebp - 0x114]
call fcn.00515679
add esp, 4
push 0x560f28
call fcn.00523296
mov esi, dword [ebp - 0x118]
add esp, 4
mov dword [ebp - 0x160], eax
push 0
push 0
push 0
push 0
call esi
mov dword [ebp - 0x164], eax
push 0x560f28
call fcn.00523296
add esp, 4
mov dword [ebp - 0x1d4], eax
push 0
push 0
push 0
push 0
call esi
mov dword [ebp - 0x1d8], eax
push 0x560f28
call fcn.00523296
add esp, 4
mov dword [ebp - 0x1cc], eax
push 0
push 0
push 0
push 0
call esi
mov dword [ebp - 0x1d0], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push eax
push dword [ebp - 0x220]
call dword [ebp - 0x13c]
cmp eax, 1
je 0x451ef5
xorps xmm0, xmm0
mov dword [ebp - 0x1ec], 0
movups xmmword [ebp - 0x20c], xmm0
mov dword [ebp - 0x1e8], 0
movups xmmword [ebp - 0x1fc], xmm0
mov dword [ebp - 0x1e4], 0
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x234]
call fcn.00429180
mov esi, dword [ebp - 0x200]
mov dword [ebp - 0x108], esi
cmp esi, dword [ebp - 0x1fc]
je 0x451e3a
nop
mov ecx, dword [edi + 0x10a28]
lea eax, [ebp - 0x1f4]
push eax
push esi
add ecx, 0x7e0
call fcn.00434900
add esi, 0x10
cmp esi, dword [ebp - 0x1fc]
jne 0x451e10
mov esi, dword [ebp - 0x108]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1ec]
test edx, edx
je 0x451e7b
mov ecx, dword [ebp - 0x1e4]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x451e71
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452c0c
push ecx
push edx
call fcn.0051137c
add esp, 8
test esi, esi
je 0x451eb2
mov ecx, dword [ebp - 0x1f8]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x451ea8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452c0c
push ecx
push esi
call fcn.0051137c
add esp, 8
mov edx, dword [ebp - 0x20c]
test edx, edx
je 0x451eef
mov ecx, dword [ebp - 0x204]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x451ee5
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452c0c
push ecx
push edx
call fcn.0051137c
add esp, 8
mov esi, dword [ebp - 0x118]
push 0x560f28
call fcn.00523296
add esp, 4
mov dword [ebp - 0x108], eax
push 0
push 0
push 0
push 0
call esi
mov ecx, dword [ebp - 0x128]
mov esi, eax
push 5
push ecx
push ecx
push esi
call dword [ebp - 0x10c]
push 4
push dword [ebp - 0x220]
push esi
push esi
call dword [ebp - 0x10c]
push 0
push 0
push 0
push 0
push dword [ebp - 0x164]
call dword [ebp - 0x140]
push 5
push esi
push esi
push dword [ebp - 0x164]
call dword [ebp - 0x10c]
push esi
call dword [ebp - 0x120]
push dword [ebp - 0x108]
call fcn.00515679
add esp, 4
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x220]
call dword [ebp - 0x13c]
cmp eax, 1
je 0x452414
mov eax, dword [0x5b6e6c]
movsx ecx, word [edi + 0x10ab0]
mov eax, dword [eax + 0xe48]
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jge 0x452414
xorps xmm0, xmm0
mov dword [ebp - 0x1ec], 0
movups xmmword [ebp - 0x20c], xmm0
mov dword [ebp - 0x1e8], 0
movups xmmword [ebp - 0x1fc], xmm0
mov dword [ebp - 0x1e4], 0
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x234]
call fcn.00429180
mov esi, dword [ebp - 0x200]
mov dword [ebp - 0x138], esi
cmp esi, dword [ebp - 0x1fc]
je 0x45235d
mov ecx, dword [ebp - 0x1f0]
mov eax, dword [ebp - 0x1f4]
neg ecx
mov dword [ebp - 0x254], ecx
neg eax
lea ecx, [esi + 0xc]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x114], ecx
nop dword [eax + eax]
mov eax, dword [ecx]
mov edx, dword [edi + 0x10a28]
add eax, 4
mov esi, dword [ecx - 4]
mov dword [ebp - 0x168], eax
add esi, 4
mov eax, dword [ecx - 0xc]
add eax, 0xfffffffc
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x174], eax
mov eax, dword [ecx - 8]
add eax, 0xfffffffc
cmp dword [edx + 0xe3c8], 0
mov dword [ebp - 0x170], eax
je 0x4520fb
mov ecx, dword [ebp - 0x174]
lea eax, [ebp - 0x174]
mov edi, dword [ebp - 0x170]
add edx, 0x898
cmp ecx, dword [edx]
lea ecx, [ebp - 0x170]
cmovl eax, edx
cmp edi, dword [edx + 4]
mov edi, dword [ebp - 0x178]
mov eax, dword [eax]
mov dword [ebp - 0x278], eax
lea eax, [edx + 4]
cmovl ecx, eax
cmp dword [edx + 8], esi
mov eax, dword [ecx]
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x274], eax
lea eax, [edx + 8]
cmovl ecx, eax
mov eax, dword [ecx]
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x270], eax
lea eax, [edx + 0xc]
mov edx, dword [ebp - 0x168]
cmp dword [eax], edx
cmovl ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x26c], eax
movups xmm0, xmmword [ebp - 0x278]
movups xmmword [ebp - 0x174], xmm0
mov esi, dword [ebp - 0x16c]
push 0x560f28
call fcn.00523296
mov edx, dword [ebp - 0x168]
add esp, 4
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x11c], eax
push edx
push esi
push dword [ebp - 0x170]
mov esi, dword [ebp - 0x118]
push ecx
call esi
push 0x560f28
mov dword [ebp - 0x108], eax
call fcn.00523296
add esp, 4
mov dword [ebp - 0x110], eax
push 0
push 0
push 0
push 0
call esi
mov ecx, dword [ebp - 0x128]
mov esi, eax
push 5
push ecx
push ecx
push esi
call dword [ebp - 0x10c]
push 2
push dword [ebp - 0x108]
push esi
push esi
call dword [ebp - 0x10c]
push 0
push 0
push 0
push 0
push dword [ebp - 0x128]
call dword [ebp - 0x140]
push 5
push esi
push esi
push dword [ebp - 0x128]
call dword [ebp - 0x10c]
push esi
mov esi, dword [ebp - 0x120]
call esi
push dword [ebp - 0x110]
call fcn.00515679
add esp, 4
push dword [ebp - 0x108]
call esi
push dword [ebp - 0x11c]
call fcn.00515679
add esp, 4
lea eax, [ebp - 0x258]
lea ecx, [ebp - 0x174]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.00432cc0
mov esi, dword [edi + 0x10a28]
lea ecx, [ebp - 0x244]
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x240]
add esi, 0x898
cmp eax, dword [esi]
cmovl ecx, esi
mov eax, dword [ecx]
lea ecx, [esi + 4]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x240]
cmp eax, dword [ecx]
cmovl edx, ecx
lea ecx, [esi + 8]
mov eax, dword [edx]
lea edx, [ebp - 0x23c]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x284], eax
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x23c]
push 0x560f28
cmovl edx, ecx
lea ecx, [esi + 0xc]
mov eax, dword [edx]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x108], eax
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x238]
cmovl edx, ecx
mov esi, dword [edx]
mov dword [ebp - 0x27c], esi
movups xmm0, xmmword [ebp - 0x288]
movups xmmword [ebp - 0x244], xmm0
call fcn.00523296
add esp, 4
mov dword [ebp - 0x188], eax
push esi
push dword [ebp - 0x108]
mov esi, dword [ebp - 0x118]
push dword [ebp - 0x110]
push dword [ebp - 0x11c]
call esi
push 0x560f28
mov dword [ebp - 0x108], eax
call fcn.00523296
add esp, 4
mov dword [ebp - 0x110], eax
push 0
push 0
push 0
push 0
call esi
mov ecx, dword [ebp - 0x128]
mov esi, eax
push 5
push ecx
push ecx
push esi
call dword [ebp - 0x10c]
push 2
push dword [ebp - 0x108]
push esi
push esi
call dword [ebp - 0x10c]
push 0
push 0
push 0
push 0
push dword [ebp - 0x128]
call dword [ebp - 0x140]
push 5
push esi
push esi
push dword [ebp - 0x128]
call dword [ebp - 0x10c]
push esi
mov esi, dword [ebp - 0x120]
call esi
push dword [ebp - 0x110]
call fcn.00515679
add esp, 4
push dword [ebp - 0x108]
call esi
push dword [ebp - 0x188]
call fcn.00515679
mov ecx, dword [ebp - 0x114]
add esp, 4
add ecx, 0x10
mov dword [ebp - 0x114], ecx
lea eax, [ecx - 0xc]
cmp eax, dword [ebp - 0x1fc]
jne 0x452030
mov esi, dword [ebp - 0x138]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1ec]
test edx, edx
je 0x45239e
mov ecx, dword [ebp - 0x1e4]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x452394
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452c0c
push ecx
push edx
call fcn.0051137c
add esp, 8
test esi, esi
je 0x4523d5
mov ecx, dword [ebp - 0x1f8]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x4523cb
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452c0c
push ecx
push esi
call fcn.0051137c
add esp, 8
mov edx, dword [ebp - 0x20c]
test edx, edx
je 0x45243e
mov ecx, dword [ebp - 0x204]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x452408
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452c0c
push ecx
push edx
call fcn.0051137c
add esp, 8
jmp 0x45243e
push 0
push 0
push 0
push 0
push dword [ebp - 0x128]
call dword [ebp - 0x140]
mov eax, dword [ebp - 0x220]
push 5
push eax
push eax
push dword [ebp - 0x128]
call dword [ebp - 0x10c]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x164]
call dword [ebp - 0x13c]
cmp eax, 1
je 0x452611
mov esi, dword [edi + 0x10a28]
mov ecx, dword [esi + 0xe3c8]
test ecx, ecx
je 0x452472
mov eax, dword [ecx]
call dword [eax + 0x14]
mov esi, dword [edi + 0x10a28]
cmp byte [esi + 0x895], 0
mov eax, esi
mov byte [ebp - 0x1b0], 0
je 0x4524fa
inc dword [edi + 0x60]
cmp dword [edi + 0x60], 0xa
jle 0x4524fa
push 0x560f28
mov dword [edi + 0x60], 0
call fcn.00523296
add esp, 4
mov dword [ebp - 0x138], eax
push dword [esi + 0x8a4]
push dword [esi + 0x8a0]
push dword [esi + 0x89c]
push dword [esi + 0x898]
call dword [ebp - 0x118]
push 2
mov esi, eax
mov eax, dword [ebp - 0x164]
push esi
push eax
push eax
call dword [ebp - 0x10c]
push esi
call dword [ebp - 0x120]
push dword [ebp - 0x138]
call fcn.00515679
mov eax, dword [edi + 0x10a28]
add esp, 4
mov byte [ebp - 0x1b0], 1
add eax, 0x7e0
mov ecx, eax
mov dword [ebp - 0x138], eax
call fcn.00434c90
test eax, eax
je 0x4525fc
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
push 1
push 1
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x164]
call fcn.00428070
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x188], ecx
cmp ecx, dword [ebp - 0x158]
je 0x4525a3
mov edi, dword [ebp - 0x138]
mov esi, ecx
nop dword [eax + eax]
push dword [ebp - 0x1b0]
lea eax, [ebp - 0x1d0]
mov ecx, edi
push esi
push eax
lea eax, [ebp - 0x1d8]
push eax
call fcn.004332c0
add esi, 0x10
cmp esi, dword [ebp - 0x158]
jne 0x452570
mov edi, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x188]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x4525fc
mov edx, dword [ebp - 0x154]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffff0
cmp edx, 0x1000
jb 0x4525d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452c0c
push edx
push ecx
call fcn.0051137c
mov dword [ebp - 0x154], 0
add esp, 8
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x15c], 0
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c8]
test ecx, ecx
je 0x452611
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [edi + 0x10a38]
mov dword [ebp - 0x138], ecx
mov eax, dword [ecx + 0xbc]
mov esi, dword [eax]
cmp esi, eax
je 0x45265d
mov edi, ecx
nop dword [eax + eax]
mov edx, dword [edi]
mov ecx, edi
movzx eax, word [esi + 8]
push eax
mov eax, dword [edx + 0x48]
call eax
mov byte [eax + 0x39c], 1
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [edi + 0xbc]
jne 0x452630
mov edi, dword [ebp - 0x178]
mov ecx, dword [edi + 0x10a38]
cmp byte [edi + 0x10ac1], 0
jne 0x45268b
mov eax, dword [ecx]
push 1
call dword [eax + 0x78]
mov ecx, dword [edi + 0x10a28]
mov eax, 0x63
mov byte [edi + 0x10ac1], 1
mov edx, 1
cmp dword [ecx], eax
cmove eax, edx
mov dword [ecx], eax
push 0x560f28
call fcn.00523296
add esp, 4
mov dword [ebp - 0x1bc], eax
push 0
push 0
push 0
push 0
call dword [ebp - 0x118]
mov ecx, dword [ebp - 0x1d8]
mov esi, dword [ebp - 0x10c]
push 5
push ecx
push ecx
push eax
mov dword [ebp - 0x1c0], eax
call esi
mov eax, dword [ebp - 0x1c0]
push 1
push dword [ebp - 0x190]
push eax
push eax
call esi
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x1c0]
mov ecx, dword [ebp - 0x194]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x1c0]
mov esi, dword [ebp - 0x120]
call esi
push dword [ebp - 0x1bc]
call fcn.00515679
push 0x560f28
call fcn.00523296
add esp, 8
mov dword [ebp - 0x1c4], eax
push 0
push 0
push 0
push 0
call dword [ebp - 0x118]
mov ecx, dword [ebp - 0x1d0]
push 5
push ecx
push ecx
push eax
mov dword [ebp - 0x1c8], eax
call dword [ebp - 0x10c]
mov eax, dword [ebp - 0x1c8]
push 1
push dword [ebp - 0x190]
push eax
push eax
call dword [ebp - 0x10c]
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x1c8]
mov ecx, dword [ebp - 0x194]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0xa
push dword [ebp - 0x1c8]
call esi
push dword [ebp - 0x1c4]
call fcn.00515679
mov ecx, dword [edi + 0x10a38]
add esp, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
mov esi, eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x220]
call dword [ebp - 0x13c]
cmp eax, 1
je 0x4527c0
mov edx, dword [esi]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call dword [edx + 0xc]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x230]
call dword [ebp - 0x13c]
cmp eax, 1
je 0x4527e3
mov eax, dword [esi]
lea ecx, [ebp - 0x230]
push ecx
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x228]
call dword [ebp - 0x13c]
cmp eax, 1
je 0x452806
mov eax, dword [esi]
lea ecx, [ebp - 0x228]
push ecx
mov ecx, esi
call dword [eax + 8]
push dword [ebp - 0x1d0]
mov esi, dword [ebp - 0x120]
call esi
push dword [ebp - 0x1cc]
call fcn.00515679
add esp, 4
push dword [ebp - 0x1d8]
call esi
push dword [ebp - 0x1d4]
call fcn.00515679
add esp, 4
push dword [ebp - 0x164]
call esi
push dword [ebp - 0x160]
call fcn.00515679
add esp, 4
mov byte [ebp - 4], 6
push dword [ebp - 0x250]
call dword [ebp - 0x1dc]
mov esi, dword [ebp - 0x140]
push 0
push 0
push 0
push 0
push dword [ebp - 0x230]
call esi
push 0
push 0
push 0
push 0
push dword [ebp - 0x220]
call esi
push 0
push 0
push 0
push 0
push dword [ebp - 0x228]
call esi
mov eax, dword [edi + 0x10a28]
cmp byte [eax + 0xe8e4], 0
je 0x452978
mov eax, dword [0x5b4770]
test eax, eax
jne 0x4528d0
push 0x20
call fcn.0051134c
add esp, 4
mov dword [ebp - 0x29c], eax
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00474710
mov dword [0x5b4770], eax
cmp byte [eax + 0x11], 0
jne 0x452900
mov cl, byte [eax + 0xc]
test cl, cl
je 0x45293c
cmp byte [eax + 9], 0
jne 0x452900
cmp byte [eax + 7], 0
jne 0x4528ef
cmp byte [eax + 8], 0
je 0x4528f5
cmp byte [eax + 0xb], 0
je 0x452900
cmp cl, 1
jne 0x45293c
cmp byte [eax + 0xb], 0
jne 0x45293c
mov eax, dword [edi + 0x10a28]
mov ecx, dword [eax + 0xe3c8]
test ecx, ecx
je 0x452978
cmp dword [ecx + 0x10], 0
jne 0x45293c
mov byte [ebp - 4], 4
push dword [ebp - 0x24c]
mov dword [eax + 0xe8f0], 1
mov dword [eax + 0xe8f4], 1
call dword [ebp - 0x1dc]
jmp case.default.0x4511ff
call dword [ebp - 0x1b4]
mov esi, eax
mov ecx, esi
sub ecx, dword [edi + 0x10ac4]
cmp ecx, 0x1f4
jbe 0x452978
mov eax, dword [edi + 0x10a28]
push 2
push 0xf170
push 0x112
push dword [eax + 0xe404]
call dword [ebp - 0x130]
mov dword [edi + 0x10ac4], esi
mov byte [ebp - 4], 4
push dword [ebp - 0x24c]
call dword [ebp - 0x1dc]
jmp case.default.0x4511ff
cmp esi, 0xffffffff
jne case.default.0x4511ff
mov byte [edi + 0x10a2c], 0
cmp byte [edi + 0x10a2c], 0
je 0x4529b0
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ebp - 0x1b8]
jmp 0x4511a0
mov ecx, dword [edi + 0x10a38]
mov byte [edi + 0x10a2c], 0
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [ebp - 0x14c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x5a8d8f], 1
test eax, eax
je 0x4529f7
push 0x1388
push eax
call dword [ebp - 0x150]
push dword [ebp - 0x14c]
call esi
mov dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x180]
test eax, eax
je 0x452a16
push 0x1388
push eax
call dword [ebp - 0x150]
mov eax, dword [ebp - 0x180]
push eax
call esi
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x452a35
push 0x1388
push eax
call dword [ebp - 0x150]
mov eax, dword [ebp - 0x148]
push eax
call esi
mov eax, dword [edi + 0x10a28]
push str.vncDesktopThread::run_undetached_:_quitting_desktop_server_thread_n
push 9
push 0x5a6c48
mov dword [eax + 0xe410], 0
call fcn.0041d720
mov eax, dword [0x5b6e6c]
add esp, 0xc
mov esi, dword [edi + 0x10a28]
cmp dword [eax + 0x798], 0
je 0x452a94
cmp dword [eax + 0x79c], 0
jne 0x452a94
movzx eax, byte [esi + 0xe8e5]
push eax
push 1
push 0
call fcn.004279f0
mov byte [esi + 0xe8e5], al
mov byte [esi + 0xe960], 0
push 1
push ecx
mov ecx, dword [esi + 0xe3c4]
mov byte [esi + 0xe96a], 0
call fcn.0047ca00
push closesocket
call dword [ebp - 0x1e0]
push str.vncDesktopThread::run_undetached_:_quitting_desktop_server_thread:SetBlockInputState_n
push 9
push 0x5a6c48
call fcn.0041d720
mov cl, 0xa0
call fcn.0046f590
mov cl, 0xa2
call fcn.0046f590
mov cl, 0xa4
call fcn.0046f590
mov cl, 0xa1
call fcn.0046f590
mov cl, 0xa3
call fcn.0046f590
mov cl, 0xa5
call fcn.0046f590
push str.vncDesktopThread::run_undetached_:_quitting_desktop_server_thread:ClearShiftKeys_n
push 9
push 0x5a6c48
call fcn.0041d720
add esp, 0x18
push 0
push str.blackscreen
call dword [ebp - 0x184]
test eax, eax
je 0x452b21
push 0
push 0
push 0x10
push eax
call dword [ebp - 0x130]
push str.vncDesktopThread::run_undetached_:_quitting_desktop_server_thread:g_DesktopThread_runningfalse_n
push 9
push 0x5a6c48
mov byte [0x5ab766], 0
call fcn.0041d720
mov ecx, dword [edi + 0x10a28]
add esp, 0xc
call fcn.00449f40
push str.vncDesktopThread::run_undetached_:_quitting_desktop_server_thread:m_desktop__Shutdown_n
push 9
push 0x5a6c48
call fcn.0041d720
mov esi, dword [ebp - 0x120]
add esp, 0xc
push dword [ebp - 0x128]
call esi
push dword [ebp - 0x124]
call fcn.00515679
add esp, 4
mov dword [ebp - method.rfb::ClippedUpdateTracker.virtual_0], vtable.rfb::ClippedUpdateTracker.0
push dword [ebp - 0x190]
call esi
push dword [ebp - 0x18c]
call fcn.00515679
add esp, 4
mov dword [ebp - method.rfb::UpdateTracker.virtual_0], vtable.rfb::UpdateTracker.0
mov dword [ebp - method.rfb::SimpleUpdateTracker.virtual_0], vtable.rfb::SimpleUpdateTracker.0
push dword [ebp - 0x220]
call esi
push dword [ebp - 0x21c]
call fcn.00515679
add esp, 4
push dword [ebp - 0x228]
call esi
push dword [ebp - 0x224]
call fcn.00515679
add esp, 4
push dword [ebp - 0x230]
call esi
push dword [ebp - 0x22c]
call fcn.00515679
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret 4
call fcn.00515628
nop dword [eax]
fcom dword [ebx]
inc ebp
add byte [esi], al
adc al, byte [ebp]
insd dword es:[edi], dx
adc al, byte [ebp]
push 0x13
inc ebp
add byte [edx + edx - 0x3333ffbb], al
int3