Function at 0x462da0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54598e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x58a710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebx + 0x1e8]
jne 0x462dde
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [ebx + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x462dfc
push 0
push dword [ebx + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_GetScrollPos]
push 1
push dword [ebx + 4]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x34], 1
mov dword [ebx + 0x80], eax
call esi
push 0
push dword [ebx + 4]
mov edi, eax
call esi
mov edx, dword [ebp + 0xc]
add edx, eax
mov eax, dword [ebp + 0x10]
push 0x3ec
push dword [ebx + 4]
add eax, edi
mov dword [ebx + 0x84], edx
mov dword [ebx + 0x88], eax
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [ebx + 0x100], 0
je 0x462e6f
push dword [ebx + 0x100]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x462e6f
mov dword [ebx + 0x100], 0
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetCapture]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0xffffffff
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.00509680
test eax, eax
je 0x462f9b
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x462ece
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x44]
push eax
push esi
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00461310
test eax, eax
je 0x462f52
cmp dword [ebp - 0x3c], 0
jne 0x462f45
test byte [ebp - 0x14], 1
je 0x462f45
push dword [ebx + 0x18c]
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp - 0x40]
mov dword [ebx + 0x3c], 1
mov dword [ebx + 0xdc], esi
mov dword [ebx + 0xf0], eax
call dword [sym.imp.USER32.dll_GetMessagePos]
cwde
mov dword [ebx + 0xf4], eax
jmp 0x462f52
mov ecx, ebx
mov dword [ebx + 0xd0], esi
call fcn.004c8fe0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.0041eb50
mov edx, dword [ebp - 0x44]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4630e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0xffffffff
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0xffffffff
push eax
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.00461ae0
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x462fea
mov dword [ebx + 0xa4], 0xffffffff
mov dword [ebx + 0x40], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
and eax, 0xc
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
jne 0x46300c
test edi, edi
je 0x46300c
mov dword [ebx + 0x40], 1
mov dword [ebx + 0xa4], esi
push edi
mov ecx, ebx
call fcn.004ae920
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
js 0x463032
cmp ecx, dword [ebx + 0x35c]
jge 0x463032
push ecx
mov ecx, ebx
call fcn.0045ab00
mov ecx, dword [ebp - 0x14]
jmp 0x463034
xor eax, eax
test al, 8
jne 0x4630e2
mov eax, dword [ebp - 0x1c]
sub eax, 2
je 0x4630be
sub eax, 1
je 0x4630a1
sub eax, 2
jne 0x463065
push ecx
push esi
mov ecx, ebx
call fcn.00426500
cmp eax, 6
jne 0x463065
mov dword [ebx + 0x40], 0
jmp 0x4630d9
cmp dword [ebp - 0x18], 0
jne 0x463080
push esi
mov ecx, ebx
call fcn.00418db0
test eax, eax
je 0x463080
cmp dword [ebx + 0x354], 1
jg 0x4630e2
mov eax, dword [ebp + 8]
mov ecx, ebx
push eax
push edi
push esi
call fcn.004647d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebx + 0x40], 0
cmp esi, dword [ebx + 0x388]
jge 0x4630d9
test esi, esi
js 0x4630d9
push esi
mov ecx, ebx
call fcn.0045f950
jmp 0x4630d9
mov dword [ebx + 0x40], 0
cmp esi, dword [ebx + 0x388]
jge 0x4630d9
test esi, esi
js 0x4630d9
push esi
mov ecx, ebx
call fcn.00460eb0
push edi
push esi
mov ecx, ebx
call fcn.00462500
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc