Function at 0x4ad5e0
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52b37b
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x55c4c8]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
je 0x4af01a
lea ecx, [ecx]
cmp dword [ebx + 0x640], 0
jle 0x4ad72d
mov ecx, dword [ebx + 0x63c]
mov esi, dword [ecx]
mov dword [esp + 0x30], esi
test esi, esi
je 0x4ad72d
mov eax, dword [ebx + 0x640]
test eax, eax
jle 0x4ad691
dec eax
mov dword [ebx + 0x640], eax
test eax, eax
jle 0x4ad691
mov ecx, dword [ebx + 0x63c]
lea edx, [eax*4]
push edx
lea eax, [ecx + 4]
push eax
push ecx
call fcn.00510c60
add esp, 0xc
mov eax, dword [esi + 0x108]
test eax, eax
je 0x4ad6b4
cmp dword [eax + 0x140], 0
jle 0x4ad6b4
push esi
add eax, 0x13c
push eax
call fcn.004e9690
test al, al
jne 0x4ad721
xor esi, esi
cmp dword [ebx + 0x5f8], esi
jle 0x4ad6dd
mov edi, edi
mov ecx, dword [ebx + 0x5f4]
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x30]
mov edx, dword [edx]
push eax
call edx
inc esi
cmp esi, dword [ebx + 0x5f8]
jl 0x4ad6c0
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0x88]
cmp eax, ecx
je 0x4ad6fa
push eax
call fcn.0050a8b9
add esp, 4
mov eax, dword [esi]
lea edx, [esi + 4]
cmp eax, edx
je 0x4ad70c
push eax
call fcn.0050a8b9
add esp, 4
push esi
call fcn.0050a226
mov eax, dword [esp + 0x3c]
mov edx, dword [ebp + 0xc]
add esp, 4
jmp 0x4ad640
call fcn.004acc70
mov al, 1
jmp 0x4af01c
xor ecx, ecx
xor esi, esi
cmp dword [ebx + 0x61c], esi
mov dword [esp + 0x30], ecx
jle 0x4ad784
lea ecx, [ecx]
mov edx, dword [ebx + 0x618]
lea esi, [esp + 0x43]
push esi
mov byte [esp + 0x47], 0
mov ecx, dword [edx + ecx*4]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
mov eax, dword [ebp + 0xc]
push edi
push eax
call edx
cmp byte [esp + 0x43], 0
jne 0x4ae3bf
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
inc ecx
cmp ecx, dword [ebx + 0x61c]
mov dword [esp + 0x30], ecx
jl 0x4ad740
mov edx, dword [ebp + 0xc]
xor esi, esi
cmp edx, 0x111
ja 0x4ae3ef
je 0x4ae3cc
lea ecx, [edx - 5]
cmp ecx, 0xfd
ja case.0x4ae41a.276
movzx ecx, byte [ecx + 0x4af074]
jmp dword [ecx*4 + 0x4af044]
mov edx, dword [ebx + 0x51c]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x520]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x510]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4ad81c
mov dword [esp + 0x10], 0xa
mov dword [esp + 0x14], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x124]
lea eax, [esp + 0x10]
push eax
call edx
mov ecx, dword [ebx + 0x514]
test ecx, ecx
je 0x4ad841
mov dword [esp + 0x10], 0xe
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x124]
lea edx, [esp + 0x10]
push edx
call eax
xor edi, edi
mov esi, ebx
call fcn.004b0010
mov ecx, dword [ebx]
push 4
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.0x4ae41a.276
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x4ae41a.276
mov edx, dword [esp + 0x3c]
mov dword [edx], 1
mov al, 1
jmp 0x4af01c
mov ecx, dword [ebx]
xor eax, eax
xor esi, esi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
push esi
lea eax, [esp + 0x7c]
push eax
push ecx
mov dword [esp + 0x84], esi
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4ad726
push 0x3c
push esi
cmp dword [ebx + 0x508], esi
jne 0x4ad8f9
lea edx, [esp + 0xa8]
push edx
mov dword [esp + 0xa8], esi
call fcn.0050e6a0
mov ecx, dword [ebx]
add esp, 0xc
lea eax, [esp + 0x9c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [ebx]
lea edx, [esp + 0x9c]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4af01c
lea ecx, [esp + 0xe8]
push ecx
mov dword [esp + 0xe8], esi
call fcn.0050e6a0
mov eax, dword [ebx]
add esp, 0xc
lea edx, [esp + 0xdc]
push edx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x569], 0
je 0x4ada68
mov edx, dword [ebx]
xor eax, eax
lea ecx, [esp + 0x44]
push ecx
push edx
mov byte [ebx + 0x569], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4ada68
mov ecx, dword [ebx + 0x508]
cmp byte [ecx + 0x274], al
je 0x4ad9d9
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4ad9b0
mov esi, dword [esp + 0x44]
mov ecx, dword [ebx + 0x508]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x58]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x5c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x60]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x34]
call eax
mov eax, dword [ebx + 0xc]
xor esi, esi
cmp eax, esi
je 0x4ad9c0
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x10]
cmp eax, esi
je 0x4ad9ce
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
jmp 0x4ada42
mov edx, dword [ecx]
mov eax, dword [edx + 0x118]
push SysReAllocString
push 0
push 0x4b1750
call eax
mov esi, eax
test esi, esi
je 0x4ada42
mov edi, dword [esi]
mov edx, dword [edi + 0x30]
mov ecx, esi
call edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [edi + 0x34]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
mov ecx, dword [ebx + 0x508]
mov eax, dword [ecx]
mov edx, dword [eax + 0x118]
push SysReAllocString
push 0
push 0x4b1750
call edx
mov esi, eax
test esi, esi
jne 0x4ad9f5
cmp byte [ebx + 0x568], 0
je 0x4ada68
mov ecx, dword [ebx + 0x508]
push 0
push 0
push str.windowinit
mov edx, ebx
mov byte [ebx + 0x568], 0
call fcn.004b0820
cmp byte [ebx + 0x56a], 0
je 0x4adb26
cmp byte [ebx + 0x569], 0
je 0x4ada97
mov eax, dword [ebx]
push 0
push 0
push eax
mov byte [ebx + 0x56a], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4adb26
mov ecx, dword [ebx + 0x50c]
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
mov ecx, dword [ebx + 0x508]
push SysStringLen
lea eax, [esp + 0x68]
mov byte [esp + 0x70], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0x118]
push eax
push 0x4b1670
call edx
test eax, eax
jne 0x4adb16
mov ecx, dword [ebx + 0x508]
mov dword [esp + 0x90], eax
push SysStringLen
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], eax
lea edx, [esp + 0x8c]
mov byte [esp + 0x94], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x118]
push edx
push 0x4b1670
call eax
test eax, eax
je 0x4adb1f
mov edi, eax
mov esi, ebx
call fcn.004b0010
mov byte [ebx + 0x56a], 0
cmp byte [0x627714], 0
jne 0x4adb38
call fcn.004e2420
test al, al
je 0x4adb4a
mov ecx, dword [ebx]
push 0
push 0
push 0xa90
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [ebx + 0x56c], 0
je 0x4ade05
mov edx, dword [ebx]
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x4adb7a
or eax, 0x80000
push eax
mov eax, dword [ebx]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebx]
lea ecx, [esp + 0x44]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [ebx + 0x28], 0
jne 0x4adbcd
lea esi, [ebx + 0x18]
push esi
lea eax, [esp + 0x7c]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_UnionRect]
mov edi, dword [esp + 0x4c]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov esi, dword [esp + 0x50]
jmp 0x4adbf7
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], esi
mov byte [ebx + 0x28], 0
sub edi, dword [esp + 0x44]
sub esi, dword [esp + 0x48]
cmp byte [ebx + 0x56b], 0
je 0x4adca8
cmp dword [ebx + 0x10], 0
jne 0x4adca8
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x2c
lea edx, [esp + 0xa0]
push 0
push edx
mov dword [ebx + 0xc], eax
call fcn.0050e6a0
mov eax, esi
imul esi, edi
add esp, 0xc
neg eax
mov dword [esp + 0xa4], eax
xor eax, eax
push eax
push eax
mov ecx, 1
mov word [esp + 0xb0], cx
lea ecx, [ebx + 0x14]
push ecx
mov edx, 0x20
push eax
mov word [esp + 0xba], dx
lea edx, [esp + 0xac]
mov dword [esp + 0xbc], eax
add esi, esi
mov dword [esp + 0xcc], eax
mov eax, dword [ebx + 8]
push edx
add esi, esi
push eax
mov dword [esp + 0xb4], 0x28
mov dword [esp + 0xb8], edi
mov dword [esp + 0xc8], esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebx + 0x10], eax
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0xc]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x14]
push edi
push ecx
lea esi, [esp + 0x80]
mov dword [esp + 0x38], eax
call fcn.004d3b30
mov ecx, dword [ebx + 0x508]
mov edx, dword [ecx]
mov edx, dword [edx + 0x138]
add esp, 8
mov eax, esi
push eax
mov eax, dword [ebx + 0xc]
push eax
call edx
mov ecx, dword [ebx + 0xc]
mov eax, esi
push eax
push ecx
mov esi, ebx
call fcn.004ad2e0
xor esi, esi
cmp dword [ebx + 0x628], esi
jle 0x4add38
jmp 0x4add10
mov edx, dword [ebx + 0x624]
mov ecx, dword [edx + esi*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x150]
lea edx, [esp + 0xe4]
push edx
mov edx, dword [ebx + 0xc]
push edx
call eax
inc esi
cmp esi, dword [ebx + 0x628]
jl 0x4add10
lea ecx, [esp + 0x78]
push ecx
push edi
mov edi, dword [ebx + 0x14]
call fcn.004d3b80
mov edx, dword [esp + 0x38]
mov eax, dword [ebx + 0xc]
add esp, 8
push edx
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [ebx]
lea ecx, [esp + 0x10]
xor eax, eax
push ecx
xor esi, esi
push edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub edx, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1c]
push 2
sub eax, ecx
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x40]
push ecx
push esi
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 0xc]
lea edx, [esp + 0xa0]
push edx
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x7c]
push edx
push esi
push eax
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov byte [esp + 0x60], 0
mov byte [esp + 0x61], 0
mov byte [esp + 0x62], 0xff
mov byte [esp + 0x63], 1
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx + 0xc]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4adfa7
cmp byte [ebx + 0x56b], 0
je 0x4adf51
xor eax, eax
cmp dword [ebx + 0x10], eax
jne 0x4ade63
mov ecx, dword [ebx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
mov edx, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x10], eax
cmp byte [ebx + 0x56b], 0
je 0x4adf51
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
call edi
mov edx, dword [ebx + 0xc]
push edx
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x508]
lea edx, [esp + 0xe4]
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
push edx
mov edx, dword [ebx + 0xc]
push edx
call eax
mov edx, dword [ebx + 0xc]
lea ecx, [esp + 0xe4]
push ecx
push edx
mov esi, ebx
call fcn.004ad2e0
xor esi, esi
cmp dword [ebx + 0x628], esi
jle 0x4adef8
jmp 0x4aded0
mov eax, dword [ebx + 0x624]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x150]
lea eax, [esp + 0xe4]
push eax
mov eax, dword [ebx + 0xc]
push eax
call edx
inc esi
cmp esi, dword [ebx + 0x628]
jl 0x4aded0
mov eax, dword [esp + 0x30]
mov ecx, dword [ebx + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe4]
mov edx, dword [ebx + 0xc]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x100]
sub edx, eax
push edx
mov edx, dword [esp + 0x100]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0xf8]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebx + 0xc]
push ecx
push edx
call edi
jmp 0x4adfa7
mov eax, dword [esp + 0xdc]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x508]
mov edx, dword [ecx]
mov edx, dword [edx + 0x138]
mov edi, eax
lea eax, [esp + 0xe4]
push eax
mov eax, dword [esp + 0xe0]
push eax
call edx
mov ecx, dword [esp + 0xdc]
lea eax, [esp + 0xe4]
push eax
push ecx
mov esi, ebx
call fcn.004ad2e0
mov edx, dword [esp + 0xdc]
push edi
push edx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebx]
lea eax, [esp + 0xdc]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0x569], 0
je 0x4adfce
mov edx, dword [ebx]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x4af01c
mov ecx, dword [ebx + 0x524]
test ecx, ecx
jle 0x4adfe2
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x528]
test ecx, ecx
jle 0x4adfef
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x52c]
test ecx, ecx
jle 0x4adffc
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x530]
test ecx, ecx
jle case.0x4ae41a.276
mov dword [eax + 0x24], ecx
jmp case.0x4ae41a.276
mov ecx, dword [ebx + 0x50c]
test ecx, ecx
je 0x4ae065
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0x16
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x50c]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x124]
lea edx, [esp + 0x10]
push edx
call eax
cmp byte [0x627714], 0
je 0x4ae073
call fcn.004e2330
mov byte [ebx + 0x569], 1
mov ebx, dword [ebx + 0x508]
test ebx, ebx
je 0x4ae08b
mov eax, ebx
call fcn.004c6bb0
mov al, 1
jmp 0x4af01c
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x3c], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x514], 0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x51c], edx
mov dword [ebx + 0x520], eax
je case.0x4ae41a.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x514]
mov byte [ebx + 0x56e], 0
mov dword [esp + 0x10], 0x11
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
jmp 0x4ae89d
cmp dword [ebx + 0x50c], 0
je case.0x4ae41a.276
mov ecx, dword [ebx + 0x51c]
mov edx, dword [ebx + 0x520]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 5
mov word [esp + 0x24], di
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.004b2500
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x50c]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x124]
lea edx, [esp + 0x10]
push edx
call eax
jmp case.0x4ae41a.276
cmp dword [ebx + 0x50c], 0
je case.0x4ae41a.276
mov ecx, dword [ebx + 0x51c]
mov edx, dword [ebx + 0x520]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 3
mov word [esp + 0x24], di
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.004b2500
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x50c]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x124]
lea edx, [esp + 0x10]
push edx
call eax
mov ecx, dword [ebx + 0x50c]
mov dword [ebx + 0x518], ecx
jmp case.0x4ae41a.276
cmp dword [ebx + 0x518], 0
je case.0x4ae41a.276
mov edx, dword [ebx + 0x51c]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x520]
mov dword [esp + 0x10], 4
mov word [esp + 0x24], di
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.004b2500
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x518]
mov dword [esp + 0x18], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x124]
lea eax, [esp + 0x10]
push eax
call edx
mov dword [ebx + 0x518], 0
jmp case.0x4ae41a.276
cmp ax, 1
jne case.0x4ae41a.276
cmp byte [ebx + 0x56e], 0
jne 0x4ad726
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebx]
lea ecx, [esp + 0x70]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
push eax
push ecx
mov eax, ebx
call fcn.004b1560
mov esi, eax
test esi, esi
je case.0x4ae41a.276
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
test al, 2
je case.0x4ae41a.276
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x70]
xor eax, eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x9c], 0x17
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
call fcn.004b2500
mov word [esp + 0xb2], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xa4], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x124]
lea eax, [esp + 0x9c]
push eax
mov ecx, esi
call edx
mov al, 1
jmp 0x4af01c
test eax, eax
je 0x4aeba3
push eax
mov eax, dword [eax]
push edi
add edx, 0x2000
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x3c]
mov dword [ecx], eax
mov al, 1
jmp 0x4af01c
cmp eax, esi
je case.0x4ae41a.276
push eax
push edi
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x3c]
mov dword [edx], eax
mov al, 1
jmp 0x4af01c
cmp edx, 0x2a1
ja 0x4aec79
je 0x4aeabe
lea ecx, [edx - 0x112]
cmp ecx, 0xf8
ja case.0x4ae41a.276
movzx ecx, byte [ecx + 0x4af19c]
jmp dword [ecx*4 + 0x4af174]
and edi, 0xfff0
cmp edi, 0xf120
jne 0x4ae433
mov byte [ebx + 0x28], 1
mov al, 1
jmp 0x4af01c
mov edx, 0xf1
cmp dx, di
jne 0x4ae45d
lea esi, [ebx + 0x60]
mov edi, ebx
call fcn.004af2a0
cmp byte [ebx + 0x70], 0
sete al
mov byte [ebx + 0x70], al
jmp case.0x4ae41a.276
xor ecx, ecx
cmp dword [ebx + 0x604], ecx
jle case.0x4ae41a.276
mov eax, dword [ebx + 0x600]
mov esi, dword [eax]
mov edx, dword [ebx]
cmp dword [esi + 8], edx
jne 0x4ae488
movzx edx, di
cmp dword [esi + 0xc], edx
jne 0x4ae488
cmp byte [esi + 0x10], 0
je 0x4ae499
inc ecx
add eax, 4
cmp ecx, dword [ebx + 0x604]
jl 0x4ae471
jmp case.0x4ae41a.276
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [esp + 0x18], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x124]
lea eax, [esp + 0x10]
push eax
call edx
jmp case.0x4ae41a.276
cmp byte [ebx + 0x56d], 0
jne 0x4ae554
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x14], 3
test eax, eax
jne 0x4ae52a
mov dword [esp + 0x1c], 0x190
jmp 0x4ae53e
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov eax, dword [esp + 0x38]
mov byte [ebx + 0x56d], 1
movsx edi, ax
shr eax, 0x10
cwde
push eax
mov dword [esp + 0x6c], eax
mov dword [ebx + 0x520], eax
push edi
mov eax, ebx
mov dword [ebx + 0x51c], edi
call fcn.004b1560
mov esi, eax
test esi, esi
je 0x4ae58b
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, ebx
jne case.0x4ae41a.276
mov ecx, dword [esp + 0x68]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x510]
mov dword [esp + 0x4c], eax
cmp esi, ecx
je 0x4ae60f
test ecx, ecx
je 0x4ae60f
mov dword [esp + 0x44], 0xa
mov dword [esp + 0x48], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x124]
lea eax, [esp + 0x44]
push eax
call edx
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x510], 0
test eax, eax
je 0x4ae60f
lea ecx, [ebx + 0x30]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, dword [ebx + 0x510]
je 0x4ae63e
test esi, esi
je 0x4ae63e
mov dword [esp + 0x44], 0xb
mov dword [esp + 0x48], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x124]
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call edx
mov dword [ebx + 0x510], esi
mov ecx, dword [ebx + 0x514]
test ecx, ecx
je 0x4ae668
mov dword [esp + 0x44], 9
mov dword [esp + 0x48], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x124]
lea edx, [esp + 0x44]
push edx
call eax
jmp case.0x4ae41a.276
test esi, esi
je case.0x4ae41a.276
mov dword [esp + 0x44], 9
mov dword [esp + 0x48], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x124]
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call edx
jmp case.0x4ae41a.276
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x38]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [esp + 0x34], eax
mov dword [ebx + 0x51c], eax
push eax
mov eax, ebx
mov dword [esp + 0x3c], ecx
mov dword [ebx + 0x520], ecx
call fcn.004b1560
mov esi, eax
test esi, esi
je case.0x4ae41a.276
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, ebx
jne case.0x4ae41a.276
mov dword [ebx + 0x514], esi
mov edx, dword [esi]
mov eax, dword [edx + 0xf0]
mov ecx, esi
call eax
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov byte [ebx + 0x56e], 1
mov dword [esp + 0x10], 0xd
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov word [esp + 0x26], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x124]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call edx
call fcn.004e2330
jmp case.0x4ae41a.276
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x38]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [esp + 0x38], eax
mov dword [ebx + 0x520], eax
push ecx
mov eax, ebx
mov dword [esp + 0x38], ecx
mov dword [ebx + 0x51c], ecx
call fcn.004b1560
mov esi, eax
test esi, esi
je case.0x4ae41a.276
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, ebx
jne case.0x4ae41a.276
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov byte [ebx + 0x56e], 1
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov word [esp + 0x26], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x124]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call edx
mov dword [ebx + 0x514], esi
jmp case.0x4ae41a.276
movsx esi, ax
shr eax, 0x10
cmp dword [ebx + 0x514], 0
cwde
mov dword [esp + 0x68], eax
mov dword [ebx + 0x51c], esi
mov dword [ebx + 0x520], eax
je case.0x4ae41a.276
push ebx
call fcn.004b0500
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x68]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x514]
mov dword [esp + 0x10], 0xe
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], esi
mov word [esp + 0x26], di
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x514]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x124]
lea edx, [esp + 0x10]
push edx
call eax
mov dword [ebx + 0x514], 0
jmp case.0x4ae41a.276
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x38]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [esp + 0x34], eax
mov dword [ebx + 0x51c], eax
push eax
mov eax, ebx
mov dword [esp + 0x3c], ecx
mov dword [ebx + 0x520], ecx
call fcn.004b1560
mov esi, eax
test esi, esi
je case.0x4ae41a.276
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, ebx
jne case.0x4ae41a.276
mov edx, dword [esi]
mov eax, dword [edx + 0xf0]
mov ecx, esi
call eax
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov byte [ebx + 0x56e], 1
mov dword [esp + 0x10], 0xf
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov word [esp + 0x26], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x124]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call edx
mov dword [ebx + 0x514], esi
jmp case.0x4ae41a.276
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x3c], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ecx
mov dword [ebx + 0x51c], eax
push eax
mov eax, ebx
mov dword [ebx + 0x520], ecx
call fcn.004b1560
mov esi, eax
test esi, esi
je case.0x4ae41a.276
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, ebx
jne case.0x4ae41a.276
mov edx, dword [esp + 0x38]
xor eax, eax
xor ecx, ecx
shr edi, 0x10
test di, di
setl cl
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 0x12
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call fcn.004b2500
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x124]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
movzx eax, word [ebx + 0x520]
movzx ecx, word [ebx + 0x51c]
mov edx, dword [ebx]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4ae41a.276
test eax, eax
je case.0x4ae41a.276
push eax
push edi
add edx, 0x2000
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x3c]
mov dword [ecx], eax
mov al, 1
jmp 0x4af01c
mov ecx, dword [ebx + 0x508]
movsx esi, ax
shr eax, 0x10
cwde
mov dword [esp + 0x68], eax
mov dword [esp + 0x8c], eax
push 0xd
lea eax, [esp + 0x68]
mov byte [ebx + 0x56d], 0
mov dword [esp + 0x68], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x118]
push eax
push 0x4b1640
call edx
mov edi, eax
test edi, edi
je case.0x4ae41a.276
mov ecx, dword [ebx + 0x510]
test ecx, ecx
je 0x4aeb63
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x510]
mov dword [esp + 0x18], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x124]
lea eax, [esp + 0x10]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x98]
lea ecx, [esp + 0x11c]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x1b8], 0
mov eax, dword [esp + 0x11c]
cmp word [eax], 0
jne 0x4aebaa
lea ecx, [esp + 0x120]
cmp eax, ecx
je 0x4aeba3
push eax
call fcn.0050a8b9
add esp, 4
mov al, 1
jmp 0x4af01c
push 0x30
lea esi, [ebx + 0x30]
push 0
push esi
call fcn.0050e6a0
mov eax, dword [ebx]
mov edx, dword [0x626824]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x128]
mov dword [ebx + 0x54], eax
mov dword [esi], 0x30
mov dword [ebx + 0x34], 1
mov dword [ebx + 0x50], edx
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
add esp, 0xc
mov ecx, edi
call eax
cmp dword [ebx + 0x2c], 0
mov ecx, dword [eax]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x44], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x48], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x4c], edx
jne 0x4aec51
mov eax, dword [0x626824]
mov ecx, dword [ebx]
push 0
push eax
push 0
push ecx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysStringLen
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push esi
push 0
push 0x432
push eax
mov dword [ebx + 0x2c], eax
call edi
mov edx, dword [ebx + 0x2c]
push esi
push 0
push 0x436
push edx
call edi
mov eax, dword [ebx + 0x2c]
push esi
push 1
push 0x411
push eax
call edi
mov eax, dword [esp + 0x11c]
jmp 0x4aeb8f
cmp edx, 0xa90
ja 0x4aee45
je 0x4aedb5
sub edx, 0x2a3
je 0x4aed79
sub edx, 0x75
jne case.0x4ae41a.276
mov eax, dword [ebx]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x508]
mov edx, dword [ecx]
mov edx, dword [edx + 0x138]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x44]
push eax
push edi
call edx
test byte [esp + 0x38], 0x10
je 0x4aed68
mov eax, dword [ebx]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x4aed68
mov eax, dword [esp + 0x38]
or eax, 2
mov dword [esp + 0x30], eax
lea ebx, [ebx]
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx]
push 2
lea edx, [esp + 0x14]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
neg ecx
push ecx
neg edx
push edx
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov eax, dword [esp + 0x30]
push eax
push edi
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x4aed00
mov ecx, dword [esp + 0x3c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.0x4ae41a.276
mov eax, dword [ebx + 0x2c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, esi
je 0x4aed93
lea edx, [ebx + 0x30]
push edx
push esi
push 0x411
push eax
call edi
cmp byte [ebx + 0x56d], 0
je 0x4aeda9
mov eax, dword [ebx]
push 0xffffffffffffffff
push esi
push 0x200
push eax
call edi
mov byte [ebx + 0x56d], 0
jmp case.0x4ae41a.276
cmp byte [0x627714], 0
je 0x4aee11
call fcn.004e2580
push 0x3c
lea ecx, [esp + 0xe4]
push esi
push ecx
mov dword [esp + 0xe8], esi
call fcn.0050e6a0
mov eax, dword [ebx]
add esp, 0xc
lea edx, [esp + 0xdc]
push edx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov edx, dword [ebx]
lea ecx, [esp + 0xdc]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov eax, dword [ebx]
push esi
push esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x4af01c
cmp dword [0x62771c], esi
jle 0x4aee3e
mov ecx, dword [ebx]
push ecx
call fcn.004e1ff0
mov edx, dword [ebx]
push edx
call fcn.004e2440
test al, al
jne 0x4aee32
call fcn.004e2330
mov eax, dword [ebx]
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x4af01c
cmp edx, 0xa91
je 0x4aeeaa
cmp edx, 0x8001
jne case.0x4ae41a.276
xor edi, edi
xor esi, esi
cmp dword [ebx + 0x634], edi
jle 0x4aee83
mov ecx, dword [ebx + 0x630]
mov ecx, dword [ecx + esi*4]
cmp ecx, edi
je 0x4aee7a
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc esi
cmp esi, dword [ebx + 0x634]
jl 0x4aee65
mov eax, dword [ebx + 0x630]
cmp eax, edi
je 0x4aee96
push eax
call fcn.0050a8b9
add esp, 4
mov dword [ebx + 0x630], edi
mov dword [ebx + 0x638], edi
mov dword [ebx + 0x634], edi
jmp case.0x4ae41a.276
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0x508]
xor edx, edx
mov dword [esp + 0x10], 0x1b
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov word [esp + 0x26], dx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x508]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.004b05f0
mov edi, edi
cmp dword [ebx + 0x640], 0
jle 0x4af01a
mov edx, dword [ebx + 0x63c]
mov edi, dword [edx]
test edi, edi
je 0x4af01a
mov eax, dword [ebx + 0x640]
test eax, eax
jle 0x4aef5a
dec eax
mov dword [ebx + 0x640], eax
test eax, eax
jle 0x4aef5a
mov ecx, dword [ebx + 0x63c]
add eax, eax
add eax, eax
push eax
lea edx, [ecx + 4]
push edx
push ecx
call fcn.00510c60
add esp, 0xc
mov eax, dword [edi + 0x108]
test eax, eax
je 0x4aef7d
cmp dword [eax + 0x140], 0
jle 0x4aef7d
push edi
add eax, 0x13c
push eax
call fcn.004e9690
test al, al
jne 0x4aefe2
xor esi, esi
cmp dword [ebx + 0x5f8], esi
jle 0x4aefa9
jmp 0x4aef90
mov eax, dword [ebx + 0x5f4]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
inc esi
cmp esi, dword [ebx + 0x5f8]
jl 0x4aef90
mov eax, dword [edi + 0x84]
lea ecx, [edi + 0x88]
cmp eax, ecx
je 0x4aefc2
push eax
call fcn.0050a8b9
add esp, 4
mov eax, dword [edi]
lea edx, [edi + 4]
cmp eax, edx
je 0x4aefd4
push eax
call fcn.0050a8b9
add esp, 4
push edi
call fcn.0050a226
add esp, 4
jmp case.0x4ae41a.276
mov eax, dword [edi + 0x84]
lea ecx, [edi + 0x88]
cmp eax, ecx
je 0x4aeffb
push eax
call fcn.0050a8b9
add esp, 4
mov eax, dword [edi]
lea edx, [edi + 4]
cmp eax, edx
je 0x4af00d
push eax
call fcn.0050a8b9
add esp, 4
push edi
call fcn.0050a226
add esp, 4
mov al, 1
jmp 0x4af01c
xor al, al
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.0050a231
mov esp, ebp
pop ebp
ret 0x10