Function at 0x47e8a0
Capabilities:
Check for time delay via gettickcount
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x515d6e
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, edx
cmp dword [edi + 0x178], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x40], ecx
je case.default.0x47ff28
xor ecx, ecx
mov edx, dword [edi + 0xe4]
test edx, edx
mov dword [esp + 0x1c], ecx
je 0x47e974
mov eax, dword [edi + 0xe8]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x47e971
test edx, edx
mov byte [esp + 0x3f], 0
je 0x47e937
mov eax, dword [edi + 0xe8]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x47e93c
call fcn.004e89bf
mov edx, dword [edi + 0xe4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x3f]
push eax
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
call edx
cmp byte [esp + 0x3f], 0
jne 0x47fab6
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
add ecx, 1
jmp 0x47e902
mov eax, dword [ebp + 8]
cmp eax, 0x111
ja 0x47fa7a
je 0x47fa9b
lea ecx, [eax - 5]
cmp ecx, 0xfd
ja case.default.0x47ff28
movzx edx, byte [ecx + 0x480914]
jmp dword [edx*4 + 0x4808d4]
mov ecx, dword [edi + 0xc8]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xa8]
test ecx, ecx
mov dword [esp + 0x78], eax
je 0x47ea22
mov dword [esp + 0x6c], 7
mov dword [esp + 0x70], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov ecx, dword [edi + 0xb0]
test ecx, ecx
je 0x47ea44
mov dword [esp + 0x6c], 0xc
mov dword [esp + 0x70], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x6c]
push edx
call eax
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x47ea66
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x70], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov eax, dword [edi + 0x178]
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.default.0x47ff28
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x47ff28
mov ecx, dword [esp + 0x40]
mov dword [ecx], 1
mov al, 1
jmp 0x4808ae
cmp byte [edi + 0x32], 0
je 0x47eb00
mov eax, dword [edi + 0x34]
push eax
mov ecx, edi
call fcn.00480a70
cmp eax, 1
jne 0x47eb00
push 0x3c
lea edx, [esp + 0xd4]
push 0
push edx
mov dword [esp + 0xd8], 0
call fcn.004f1960
mov ecx, dword [edi + 0x178]
add esp, 0xc
lea eax, [esp + 0xcc]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [edi + 0x178]
lea edx, [esp + 0xcc]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4808ae
mov edx, dword [edi + 0x178]
xor esi, esi
push esi
lea ecx, [esp + 0x20]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x47fabc
cmp byte [edi + 0x188], 0
je 0x47ebc9
mov ecx, dword [edi + 0x178]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push ecx
mov byte [edi + 0x188], 0
mov dword [esp + 0x34], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [edi + 0x110]
cmp ecx, esi
je 0x47eb9b
mov ebx, dword [esp + 0x2c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x40]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x48]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0xc4]
call eax
mov eax, dword [edi + 0x180]
cmp eax, esi
je 0x47ebac
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x184]
cmp eax, esi
je 0x47ebbd
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x180], esi
mov dword [edi + 0x184], esi
cmp byte [edi + 0x1a4], 0
je 0x47ebdb
push 1
mov eax, edi
call fcn.0047d4d0
cmp byte [edi + 0x31], 0
je 0x47ebfa
mov ecx, dword [edi + 0x110]
push 0
xor edx, edx
push ecx
lea ecx, [edx + 1]
mov esi, edi
mov byte [edi + 0x31], 0
call fcn.0047e2f0
cmp byte [edi + 0xcc], 0
je 0x47ecb1
mov ecx, dword [edi + 0x110]
push Ordinal_4
mov byte [edi + 0xcc], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
push 0
push 0x481180
call eax
mov ebx, eax
test ebx, ebx
je 0x47ec80
lea ecx, [ecx]
mov esi, dword [ebx]
mov edx, dword [esi + 0xc0]
mov ecx, ebx
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 [esi + 0xc4]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call edx
mov ecx, dword [edi + 0x110]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
push Ordinal_4
push 0
push 0x481180
call edx
mov ebx, eax
test ebx, ebx
jne 0x47ec30
cmp dword [edi + 0xa8], 0
je 0x47ecb1
movzx eax, word [edi + 0xc8]
movzx ecx, word [edi + 0xc4]
mov edx, dword [edi + 0x178]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
cmp dword [edi + 0x184], ebx
jne 0x47eda3
mov ecx, dword [edi + 0x178]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push ecx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 0x17c]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
push ebx
push ebx
mov dword [esp + 0xd8], ecx
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0xe0], edx
push ebx
lea edx, [esp + 0xdc]
push edx
push eax
mov dword [edi + 0x180], eax
mov dword [esp + 0xe4], 0x28
mov word [esp + 0xf0], 1
mov word [esp + 0xf2], 0x20
mov dword [esp + 0xf4], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [edi + 0x184], eax
push 0x3c
lea eax, [esp + 0x74]
push ebx
push eax
mov dword [esp + 0x78], ebx
call fcn.004f1960
mov edx, dword [edi + 0x178]
add esp, 0xc
lea ecx, [esp + 0x6c]
push ecx
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [edi + 0x184]
mov ecx, dword [edi + 0x180]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
call esi
mov ecx, dword [edi + 0x110]
cmp ecx, ebx
mov dword [esp + 0x14], eax
je 0x47ee03
mov edx, dword [ecx]
mov edx, dword [edx + 0xa4]
lea eax, [esp + 0x74]
push eax
mov eax, dword [edi + 0x180]
push eax
call edx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [edi + 0x180]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x90]
sub edx, eax
push edx
mov edx, dword [esp + 0x90]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x88]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x180]
push ecx
push edx
call esi
cmp byte [edi + 0x30], 0
je 0x47ee95
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call esi
push 5
mov ebx, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [esp + 0x6c]
push eax
push edx
call esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esp + 0x6c]
push ebx
push edx
call esi
mov ecx, dword [edi + 0x178]
lea eax, [esp + 0x6c]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4808ae
movsx edx, bx
shr ebx, 0x10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov edx, dword [edi + 0x178]
movsx eax, bx
push ecx
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [edi + 0x178]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [edi + 0x1d9], 0
jne 0x47f099
mov edx, dword [edi + 0x178]
push edx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x47f099
mov eax, dword [edi + 0x170]
mov esi, dword [edi + 0x164]
mov edx, dword [edi + 0x168]
mov ebx, dword [edi + 0x16c]
mov ecx, dword [edi + 0x174]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ebx
call fcn.0049b0e0
test al, al
jne 0x47f099
mov eax, dword [esp + 0x30]
add eax, edx
mov edx, dword [esp + 0x20]
cmp edx, eax
mov dword [esp + 0x14], eax
jge 0x47efb4
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
add esi, edx
add esi, ecx
cmp eax, esi
jge 0x47ef86
mov eax, dword [esp + 0x40]
mov dword [eax], 0xd
mov al, 1
jmp 0x4808ae
mov edx, dword [esp + 0x34]
sub edx, ebx
sub edx, ecx
cmp eax, edx
jle 0x47efa3
mov eax, dword [esp + 0x40]
mov dword [eax], 0xe
mov al, 1
jmp 0x4808ae
mov ecx, dword [esp + 0x40]
mov dword [ecx], 0xc
mov al, 1
jmp 0x4808ae
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0xbc]
cmp edx, eax
jle 0x47f012
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
add esi, edx
add esi, ecx
cmp eax, esi
jge 0x47efe4
mov eax, dword [esp + 0x40]
mov dword [eax], 0x10
mov al, 1
jmp 0x4808ae
mov edx, dword [esp + 0x34]
sub edx, ebx
sub edx, ecx
cmp eax, edx
jle 0x47f001
mov eax, dword [esp + 0x40]
mov dword [eax], 0x11
mov al, 1
jmp 0x4808ae
mov ecx, dword [esp + 0x40]
mov dword [ecx], 0xf
mov al, 1
jmp 0x4808ae
mov ebx, dword [esp + 0x2c]
add esi, ebx
cmp dword [esp + 0x1c], esi
jge 0x47f050
mov esi, dword [esp + 0x14]
add esi, ecx
cmp edx, esi
jge 0x47f039
mov edx, dword [esp + 0x40]
mov dword [edx], 0xd
mov al, 1
jmp 0x4808ae
sub eax, ecx
cmp edx, eax
jg 0x47efd3
mov ecx, dword [esp + 0x40]
mov dword [ecx], 0xa
mov al, 1
jmp 0x4808ae
mov ebx, dword [esp + 0x34]
sub ebx, dword [esp + 0xb8]
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jle 0x47f0a1
mov esi, dword [esp + 0x14]
add esi, ecx
cmp edx, esi
jge 0x47f07e
mov edx, dword [esp + 0x40]
mov dword [edx], 0xe
mov al, 1
jmp 0x4808ae
sub eax, ecx
cmp edx, eax
jg 0x47eff0
mov ecx, dword [esp + 0x40]
mov dword [ecx], 0xb
mov al, 1
jmp 0x4808ae
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp byte [edi + 0x1d9], 0
jne case.default.0x47ff28
mov eax, dword [edi + 0x154]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [edi + 0x15c]
add eax, ebx
cmp esi, eax
jl case.default.0x47ff28
mov eax, dword [esp + 0x34]
sub eax, ecx
cmp esi, eax
jge case.default.0x47ff28
cmp edx, dword [edi + 0x158]
jl case.default.0x47ff28
cmp edx, dword [edi + 0x160]
jge case.default.0x47ff28
push edx
push esi
mov eax, edi
call fcn.00481400
test eax, eax
je case.default.0x47ff28
cmp byte [eax + 0x23], 0
je case.default.0x47ff28
mov edx, dword [esp + 0x40]
mov dword [edx], 2
mov al, 1
jmp 0x4808ae
mov eax, dword [edi + 0x178]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x47fabc
cmp byte [edi + 0x1b0], al
je 0x47f1b4
mov ecx, dword [edi + 0x1d0]
mov edx, dword [edi + 0x1cc]
mov eax, dword [edi + 0x1c8]
push ecx
mov ecx, dword [edi + 0x1c4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateEllipticRgn]
mov edx, dword [edi + 0x1c0]
mov ecx, dword [edi + 0x1b8]
push edx
mov edx, dword [edi + 0x1b4]
mov ebx, eax
mov eax, dword [edi + 0x1bc]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 2
mov esi, eax
push ebx
push esi
push esi
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
mov eax, dword [edi + 0x178]
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
push esi
call ebx
mov byte [edi + 0x188], 1
mov al, 1
jmp 0x4808ae
mov edx, dword [edi + 0x178]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [edi + 0x148], 0
je 0x47f233
cmp dword [edi + 0x150], 0
jne 0x47f212
lea eax, [edi + 0x134]
push eax
lea esi, [esp + 0x54]
call fcn.004015d0
mov dword [esp + 0x120], 1
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, eax
call fcn.004a22c0
add esp, 8
mov dword [edi + 0x150], eax
call fcn.00481d30
mov eax, dword [edi + 0x150]
test eax, eax
je 0x47f22c
push 1
push eax
mov eax, dword [edi + 0x178]
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov al, 1
jmp 0x4808ae
mov eax, dword [edi + 0x12c]
mov ecx, dword [edi + 0x130]
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov ebx, eax
jg 0x47f24f
mov ebx, ecx
test ebx, ebx
je 0x47f32b
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ebx
push ebx
add ecx, 1
push ecx
mov ecx, dword [esp + 0x28]
add edx, 1
push edx
push eax
push ecx
mov byte [edi + 0x189], 1
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
cmp dword [esp + 0x14], 0
mov esi, eax
jne 0x47f2c4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x28]
sub edx, ebx
mov dword [esp + 0xb4], eax
add edx, 1
lea eax, [esp + 0xb0]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
push eax
jmp 0x47f301
cmp dword [esp + 0x18], 0
jne 0x47f31b
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add edx, ebx
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xb4], edx
lea edx, [esp + 0xb0]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push 2
mov ebx, eax
push ebx
push esi
push esi
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x47f372
mov eax, dword [edi + 0x178]
push 1
push esi
push eax
jmp 0x47f365
cmp byte [edi + 0x189], 0
je 0x47f372
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
mov byte [edi + 0x189], 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, eax
test esi, esi
je 0x47f372
mov edx, dword [edi + 0x178]
push 1
push esi
push edx
call dword [sym.imp.USER32.dll_SetWindowRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [edi + 0x188], 1
mov al, 1
jmp 0x4808ae
cmp byte [edi + 0xa4], 0
jne case.default.0x47ff28
xor eax, eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov eax, dword [edi + 0x178]
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0xb4], 0x10
mov dword [esp + 0xb8], 0x12
mov dword [esp + 0xbc], eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [edi + 0xa4], 1
jmp case.default.0x47ff28
cmp bx, 1
jne case.default.0x47ff28
cmp byte [edi + 0xc0], 0
jne 0x47fabc
xor eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [edi + 0x178]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
mov eax, edi
call fcn.00481400
mov edi, eax
test edi, edi
je case.default.0x47ff28
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push 1
mov ecx, edi
call eax
test al, al
je case.default.0x47ff28
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x6c], 0x12
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
call fcn.0047d480
mov word [esp + 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x78], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call edx
mov al, bl
jmp 0x4808ae
mov ecx, dword [edi + 0x178]
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x6c]
push eax
push 1
push ecx
mov dword [esp + 0x78], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [edi + 0x11c]
test eax, eax
jle 0x47f540
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x120]
test eax, eax
jle 0x47f54d
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x124]
test eax, eax
jle 0x47f563
mov dword [ebx + 0x20], eax
mov edx, dword [edi + 0x124]
mov dword [ebx + 8], edx
mov eax, dword [edi + 0x128]
test eax, eax
jle 0x47f57e
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x128]
mov dword [ebx + 0xc], eax
jmp case.default.0x47ff28
mov ecx, dword [ebx + 0x14]
lea eax, [ecx + ecx]
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp byte [edi + 0x1d9], 0
je 0x47f5b4
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
sub edx, eax
add esi, edx
mov edx, dword [esp + 0x70]
add dword [ebx + 0x10], edx
add eax, ecx
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x14], eax
jmp case.default.0x47ff28
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
sub edx, eax
add esi, edx
mov edx, dword [esp + 0x80]
add dword [ebx + 0x10], edx
add eax, ecx
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x14], eax
jmp case.default.0x47ff28
movsx eax, bx
shr ebx, 0x10
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x178]
movsx ecx, bx
push edx
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [edi + 0xb4], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edi + 0xc4], ecx
mov dword [edi + 0xc8], edx
je case.default.0x47ff28
push edi
call fcn.00480a50
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0xb4]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov word [esp + 0x86], si
mov dword [esp + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xb4]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x6c]
push edx
call eax
mov dword [edi + 0xb4], 0
jmp case.default.0x47ff28
cmp dword [edi + 0xbc], 0
je case.default.0x47ff28
mov ecx, dword [edi + 0xc4]
mov edx, dword [edi + 0xc8]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x6c], 3
mov word [esp + 0x84], si
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
call fcn.0047d480
mov word [esp + 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [edi + 0xbc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call edx
jmp case.default.0x47ff28
cmp dword [edi + 0xbc], 0
je case.default.0x47ff28
mov ecx, dword [edi + 0xc8]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x6c], 1
mov word [esp + 0x84], si
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
call fcn.0047d480
mov word [esp + 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xbc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov eax, dword [edi + 0xbc]
mov dword [edi + 0xb8], eax
jmp case.default.0x47ff28
cmp dword [edi + 0xb8], 0
je case.default.0x47ff28
mov ecx, dword [edi + 0xc4]
mov edx, dword [edi + 0xc8]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x6c], 2
mov word [esp + 0x84], si
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
call fcn.0047d480
mov word [esp + 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x6c]
push edx
call eax
mov dword [edi + 0xb8], 0
jmp case.default.0x47ff28
test esi, esi
je case.default.0x47ff28
mov edx, esi
mov eax, edi
call fcn.004813d0
mov ebx, eax
xor eax, eax
cmp ebx, eax
je 0x47f9ee
mov edx, dword [ebx]
mov edx, dword [edx + 0x50]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call edx
mov dword [edi + 0xbc], ebx
xor esi, esi
mov ecx, dword [edi + 0xa8]
cmp ecx, esi
je case.default.0x47ff28
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
call edx
test al, al
je case.default.0x47ff28
cmp byte [edi + 0x1e8], 0
je case.default.0x47ff28
mov ecx, dword [edi + 0xa8]
xor eax, eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xcc], 7
mov dword [esp + 0xd0], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0xcc]
push edx
call eax
mov eax, dword [edi + 0x74]
cmp eax, esi
mov dword [edi + 0xa8], esi
je 0x47f9e2
lea ecx, [edi + 0x78]
push ecx
push esi
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x74], esi
mov byte [edi + 0xa5], 0
jmp case.default.0x47ff28
mov eax, dword [edi + 0x178]
push esi
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x47f92a
xor esi, esi
cmp dword [edi + 0xbc], esi
je 0x47f92c
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x6c], 0x10
mov dword [esp + 0x70], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xbc]
mov dword [esp + 0x78], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov dword [edi + 0xbc], esi
jmp 0x47f92c
cmp eax, 0x200
ja 0x47ff08
je 0x47fc1f
sub eax, 0x113
je 0x47fac3
sub eax, 0x20
jne case.default.0x47ff28
test ebx, ebx
je case.default.0x47ff28
mov edx, dword [ebp + 8]
push ebx
push esi
add edx, 0x2000
push edx
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov al, 1
jmp 0x4808ae
push esi
lea edx, [edi + 4]
push edx
call fcn.0049a000
push esi
lea eax, [edi + 0x18]
call fcn.004a2b50
xor edx, edx
mov dword [esp + 0x40], edx
lea esp, [esp]
mov ecx, dword [edi + 0xf4]
test ecx, ecx
je 0x47fba8
mov eax, dword [edi + 0xf8]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x47fba8
test ecx, ecx
je 0x47fb14
mov eax, dword [edi + 0xf8]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x47fb19
call fcn.004e89bf
mov eax, dword [edi + 0xf4]
mov ecx, dword [esp + 0x40]
mov ebx, dword [eax + ecx*4]
mov edx, dword [ebx + 8]
cmp edx, dword [edi + 0x178]
jne 0x47fb9a
movzx eax, si
cmp dword [ebx + 0xc], eax
jne 0x47fb9a
mov ecx, dword [ebx + 4]
xor eax, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x6c], 0x13
mov dword [esp + 0x88], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebx]
mov dword [esp + 0x78], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call edx
add dword [esp + 0x40], 1
mov edx, dword [esp + 0x40]
jmp 0x47fae0
cmp si, 0x103
jne case.default.0x47ff28
mov eax, dword [edi + 0x178]
push 0x103
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [edi + 0x1e4]
test eax, eax
je case.default.0x47ff28
cmp byte [eax + 0xd], 0
sete cl
mov byte [eax + 0xd], cl
cmp byte [edi + 0x32], 0
je 0x47fbf0
mov edx, dword [edi + 0x34]
push edx
mov ecx, edi
call fcn.00480a70
jmp 0x47fc01
mov eax, dword [edi + 0x178]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [edi + 0x178]
push 0
push 0x1f4
push 0x103
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.default.0x47ff28
mov ecx, dword [edi + 0x110]
movsx esi, bx
shr ebx, 0x10
movsx eax, bx
mov dword [edi + 0xc8], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
push 0xd
lea eax, [esp + 0x20]
mov dword [edi + 0xc4], esi
mov dword [esp + 0x20], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
push eax
push 0x481360
mov dword [esp + 0x20], esi
call edx
mov ebx, eax
test ebx, ebx
je 0x47fc77
mov eax, dword [ebx]
mov edx, dword [eax + 0x128]
mov ecx, ebx
call edx
cmp eax, edi
jne case.default.0x47ff28
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xa8]
cmp ebx, ecx
mov dword [esp + 0x78], eax
je 0x47fd19
xor esi, esi
cmp ecx, esi
je 0x47fd19
mov dword [esp + 0x6c], 7
mov dword [esp + 0x70], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov eax, dword [edi + 0x74]
cmp eax, esi
mov dword [edi + 0xa8], esi
je 0x47fd12
lea ecx, [edi + 0x78]
push ecx
push esi
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x74], esi
mov byte [edi + 0xa5], 0
mov ecx, dword [edi + 0xa8]
cmp ebx, ecx
jne 0x47fd3b
test ecx, ecx
je 0x47fd37
cmp byte [ecx + 0x468], 0
je 0x47fd37
mov byte [edi + 0xa5], 0
cmp ebx, ecx
je 0x47fd7f
test ebx, ebx
je 0x47fd7f
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x47fd4f
cmp byte [eax + 0x22], 0
jne 0x47fd7f
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x47fd5f
cmp byte [eax + 0x22], 0
jne 0x47fd7f
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], 8
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call edx
mov dword [edi + 0xa8], ebx
mov ecx, dword [edi + 0xb0]
test ecx, ecx
jne 0x47fdaf
cmp dword [edi + 0xb4], ecx
jne 0x47fdaf
test ebx, ebx
je 0x47fdf2
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 6
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
push ecx
mov ecx, ebx
jmp 0x47fdf0
test ecx, ecx
mov esi, 6
je 0x47fdd0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x6c]
push edx
call eax
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x47fdf2
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
cmp byte [edi + 0xa5], 0
jne case.default.0x47ff28
xor eax, eax
test ebx, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x30], 2
je 0x47fee7
mov eax, dword [ebx + 0x410]
mov ecx, dword [ebx + 0x414]
mov edx, dword [ebx + 0x418]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x41c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
call fcn.0049b0e0
test al, al
jne 0x47fece
mov edx, dword [ebx]
mov eax, dword [edx + 0xc0]
mov ecx, ebx
call eax
mov ecx, dword [eax]
mov dword [esp + 0xb0], ecx
mov edx, dword [eax + 4]
add ecx, dword [esp + 0x40]
mov dword [esp + 0xb4], edx
mov esi, dword [eax + 8]
add edx, dword [esp + 0x44]
mov dword [esp + 0xb8], esi
mov eax, dword [eax + 0xc]
sub eax, dword [esp + 0x4c]
sub esi, dword [esp + 0x48]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x14]
push ecx
mov dword [esp + 0xc0], eax
push edx
lea eax, [esp + 0xb8]
push eax
mov dword [esp + 0xc4], esi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x47fee7
mov eax, dword [ebx + 0x464]
test eax, eax
je 0x47fee7
or dword [esp + 0x30], 1
mov dword [edi + 0xac], ebx
mov dword [esp + 0x38], eax
mov ecx, dword [edi + 0x178]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x38], ecx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [edi + 0xa5], 1
jmp case.default.0x47ff28
cmp eax, 0x20a
ja 0x48046d
je 0x480341
lea ecx, [eax - 0x201]
cmp ecx, 3
ja case.default.0x47ff28
jmp dword [ecx*4 + 0x480a14]
mov eax, dword [edi + 0x178]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, ebx
shr edx, 0x10
cmp dword [ebp + 8], 0xa1
movsx ecx, bx
movsx eax, dx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
jne 0x47ff72
mov ecx, dword [edi + 0x178]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
mov dword [edi + 0xc8], eax
push ecx
mov eax, edi
mov dword [edi + 0xc4], ecx
call fcn.00481400
test eax, eax
mov dword [esp + 0x40], eax
je case.default.0x47ff28
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
cmp eax, edi
jne case.default.0x47ff28
mov ecx, dword [esp + 0x40]
mov dword [edi + 0xb0], ecx
mov edx, dword [ecx]
mov eax, dword [edx + 0x18c]
call eax
cmp dword [ebp + 8], 0x201
jne 0x47ffcf
mov esi, edi
call fcn.00480a30
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x6c], 0xb
mov dword [esp + 0x70], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov word [esp + 0x86], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
cmp dword [edi + 0x74], 0
je case.default.0x47ff28
mov eax, dword [edi + 0x70]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x47ff28
mov ecx, dword [edi + 0x178]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
movsx eax, bx
shr ebx, 0x10
movsx ecx, bx
push ecx
mov dword [esp + 0x20], eax
mov dword [edi + 0xc4], eax
push eax
mov eax, edi
mov dword [esp + 0x28], ecx
mov dword [edi + 0xc8], ecx
call fcn.00481400
mov ebx, eax
test ebx, ebx
je case.default.0x47ff28
mov edx, dword [ebx]
mov eax, dword [edx + 0x128]
mov ecx, ebx
call eax
cmp eax, edi
jne case.default.0x47ff28
mov esi, edi
call fcn.00480a30
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov ax, word [esp + 0x14]
mov dword [esp + 0x6c], 0xe
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov word [esp + 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x78], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call edx
mov dword [edi + 0xb0], ebx
jmp case.default.0x47ff28
movsx ecx, bx
mov edx, ebx
shr edx, 0x10
cmp eax, 0xa2
mov dword [esp + 0x14], ecx
movsx ecx, dx
mov dword [esp + 0x18], ecx
jne 0x48017a
mov eax, dword [edi + 0x178]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [edi + 0xb0], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edi + 0xc4], ecx
mov dword [edi + 0xc8], edx
je case.default.0x47ff28
cmp byte [edi + 0x28], 0
jne 0x4801a7
push edi
call fcn.00480a50
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0xb0]
mov dword [esp + 0x6c], 0xc
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov word [esp + 0x86], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xb0]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x6c]
push edx
call eax
mov dword [edi + 0xb0], 0
jmp case.default.0x47ff28
mov ecx, dword [edi + 0x178]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, ebx
shr edx, 0x10
movsx ecx, dx
movsx eax, bx
push ecx
mov dword [esp + 0x44], eax
mov dword [edi + 0xc4], eax
push eax
mov eax, edi
mov dword [esp + 0x4c], ecx
mov dword [edi + 0xc8], ecx
call fcn.00481400
test eax, eax
mov dword [esp + 0x1c], eax
je case.default.0x47ff28
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x128]
call eax
cmp eax, edi
jne case.default.0x47ff28
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18c]
call eax
mov esi, edi
call fcn.00480a30
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], 0xd
mov dword [esp + 0x70], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov word [esp + 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x78], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call edx
mov dword [edi + 0xb4], esi
jmp case.default.0x47ff28
movsx eax, bx
mov ecx, ebx
shr ecx, 0x10
mov dword [esp + 0x1c], eax
movsx edx, cx
mov ecx, dword [edi + 0x178]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x28], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc8], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0x110]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
push 0xd
lea eax, [esp + 0x44]
push eax
push 0x481360
call edx
test eax, eax
mov dword [esp + 0x14], eax
je case.default.0x47ff28
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x128]
call edx
cmp eax, edi
jne case.default.0x47ff28
xor eax, eax
xor ecx, ecx
shr esi, 0x10
test si, si
setl cl
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], 0xa
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
call fcn.0047d480
mov word [esp + 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
movzx eax, word [edi + 0xc8]
movzx ecx, word [edi + 0xc4]
mov edx, dword [edi + 0x178]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x47ff28
cmp eax, 0x2a3
ja 0x4807fb
je 0x48076a
sub eax, 0x2a1
je 0x4804b7
sub eax, 1
jne case.default.0x47ff28
cmp byte [edi + 0xa4], al
je 0x4804ab
push 0xffffffffffffffff
push eax
mov eax, dword [edi + 0x178]
push 0xa0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [edi + 0xa4], 0
jmp case.default.0x47ff28
movsx esi, bx
shr ebx, 0x10
movsx eax, bx
push eax
mov dword [esp + 0x1c], eax
push esi
mov eax, edi
call fcn.00481400
mov ebx, eax
test ebx, ebx
je case.default.0x47ff28
mov ecx, dword [ebx + 0x410]
mov eax, dword [ebx + 0x418]
mov edx, dword [ebx + 0x414]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x41c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
call fcn.0049b0e0
test al, al
jne 0x480568
mov edx, dword [ebx]
mov eax, dword [edx + 0xc0]
mov ecx, ebx
call eax
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
add ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov eax, dword [eax + 0xc]
sub edx, dword [esp + 0x34]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x34]
add dword [esp + 0x24], ecx
push esi
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je case.default.0x47ff28
cmp ebx, dword [edi + 0xac]
jne case.default.0x47ff28
cmp dword [edi + 0xa8], 0
je 0x4805e9
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x6c], 9
mov dword [esp + 0x70], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xa8]
mov dword [esp + 0x78], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x14c]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0x120], 2
cmp dword [esp + 0xc4], 0
je 0x480757
cmp byte [ebx + 0x3a4], 0
jne 0x480757
push 0x2c
lea esi, [edi + 0x78]
push 0
push esi
call fcn.004f1960
mov eax, dword [edi + 0x178]
add esp, 0xc
mov dword [esi], 0x2c
mov dword [edi + 0x7c], 1
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], eax
call fcn.00489cf0
cmp dword [esp + 0xc8], 8
mov eax, dword [eax + 0x38]
mov dword [edi + 0x98], eax
mov eax, dword [esp + 0xb4]
jae 0x480678
lea eax, [esp + 0xb4]
mov dword [edi + 0x9c], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0xc0]
mov ecx, ebx
call eax
cmp dword [edi + 0x70], 0
mov ecx, dword [eax]
mov dword [edi + 0x88], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x8c], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x90], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x94], edx
jne 0x48072f
call fcn.00489cf0
mov eax, dword [eax + 0x38]
push 0
push eax
mov eax, dword [edi + 0x178]
push 0
push eax
push Ordinal_4
push Ordinal_4
push Ordinal_4
push Ordinal_4
push Ordinal_4
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 [edi + 0x70], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx]
mov eax, dword [edx + 0x15c]
mov ecx, ebx
call eax
test eax, eax
jbe 0x48072f
mov edx, dword [ebx]
mov eax, dword [edx + 0x15c]
mov ecx, ebx
call eax
mov ecx, dword [edi + 0x70]
push eax
push 0
push 0x418
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [edi + 0x70]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0
push 0x436
push edx
call ebx
mov eax, dword [edi + 0x70]
push esi
push 1
push 0x411
push eax
call ebx
mov ecx, dword [edi + 0x70]
mov dword [edi + 0x74], ecx
lea esi, [esp + 0xb0]
call fcn.00481d30
mov al, 1
jmp 0x4808ae
mov edx, dword [edi + 0x178]
push edx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je case.default.0x47ff28
mov eax, dword [edi + 0x74]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x4807a1
lea ecx, [edi + 0x78]
push ecx
push 0
push 0x411
push eax
call esi
mov dword [edi + 0x74], 0
cmp byte [edi + 0xa5], 0
je 0x4807bc
mov edx, dword [edi + 0x178]
push 0xffffffffffffffff
push 0
push 0x200
push edx
call esi
cmp dword [edi + 0xb0], 0
je 0x4807d7
mov eax, dword [edi + 0x178]
push 0xffffffffffffffff
push 0
push 0x202
push eax
call esi
cmp dword [edi + 0xb4], 0
je 0x4807ef
mov ecx, dword [edi + 0x178]
push 0xffffffffffffffff
push 0
push 0x7b
push ecx
call esi
mov byte [edi + 0xa5], 0
jmp case.default.0x47ff28
cmp eax, 0x8001
jne case.default.0x47ff28
lea eax, [edi + 0x1ac]
test eax, eax
mov dword [esp + 0x14], eax
je 0x480821
mov eax, dword [eax]
test eax, eax
je 0x480821
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [esp + 0x120], esi
add edi, 0x100
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x48086f
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x48086f
test ecx, ecx
je 0x480853
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x480858
call fcn.004e89bf
mov edx, dword [edi + 4]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x48086a
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
add esi, 1
jmp 0x480830
mov ebx, dword [edi + 8]
cmp ecx, ebx
jbe 0x48087b
call fcn.004e89bf
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x480888
call fcn.004e89bf
push ebx
push edi
push esi
push edi
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.004a2c30
mov eax, dword [esp + 0x14]
test eax, eax
je case.default.0x47ff28
mov eax, dword [eax]
test eax, eax
je case.default.0x47ff28
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.004e7d6f
mov esp, ebp
pop ebp
ret 0xc