Function at 0x415820
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 0x4b37db
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x4d897c]
xor eax, esp
mov dword [esp + 0x1d0], eax
push ebx
push esi
push edi
mov eax, dword [0x4d897c]
xor eax, esp
push eax
lea eax, [esp + 0x1e8]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, edx
cmp dword [ebx + 0x120], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], esi
je 0x417746
cmp dword [ebx + 0x218], 0
jle 0x415987
mov edx, dword [ebx + 0x214]
mov edx, dword [edx]
mov dword [esp + 0x18], edx
test edx, edx
je 0x415987
mov eax, dword [ebx + 0x218]
test eax, eax
jle 0x4158d1
dec eax
mov dword [ebx + 0x218], eax
test eax, eax
jle 0x4158d1
mov ecx, dword [ebx + 0x214]
add eax, eax
add eax, eax
push eax
lea edx, [ecx + 4]
push edx
push ecx
call fcn.00498220
add esp, 0xc
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x108]
test esi, esi
je 0x415918
cmp dword [esi + 0x38], 0
jle 0x415918
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [esi + 0x38], eax
jle 0x415918
mov ecx, dword [esi + 0x34]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x41590e
mov edx, dword [ecx]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 8]
push eax
call edx
test al, al
je 0x415918
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esi + 0x38]
jl 0x4158f0
xor esi, esi
cmp dword [ebx + 0x1d0], esi
jle 0x41593f
mov eax, dword [ebx + 0x1cc]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x18]
mov edx, dword [edx]
push eax
call edx
inc esi
cmp esi, dword [ebx + 0x1d0]
jl 0x415922
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0x88]
cmp eax, ecx
je 0x41595c
push eax
call fcn.004964ad
add esp, 4
mov eax, dword [esi]
lea edx, [esi + 4]
cmp eax, edx
je 0x41596e
push eax
call fcn.004964ad
add esp, 4
push esi
call fcn.0045c9e1
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
add esp, 4
jmp 0x415883
xor edx, edx
mov dword [esp + 0x28], edx
cmp dword [ebx + 0x1f4], edx
jle 0x4159d7
mov ecx, dword [ebx + 0x1f0]
lea esi, [esp + 0x1f]
push esi
mov byte [esp + 0x23], 0
mov ecx, dword [ecx + edx*4]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
mov eax, dword [ebp + 8]
push edi
push eax
call edx
cmp byte [esp + 0x1f], 0
jne 0x415a06
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
inc edx
mov dword [esp + 0x28], edx
cmp edx, dword [ebx + 0x1f4]
jl 0x415995
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
cmp ecx, 0x111
ja 0x4169a1
je 0x416982
lea edx, [ecx - 5]
cmp edx, 0xfd
ja case.default.0x416cf0
movzx edx, byte [edx + 0x4177a0]
jmp dword [edx*4 + 0x417770]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov al, 1
jmp 0x417748
mov ecx, dword [ebx + 0x184]
xor eax, eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov eax, dword [ebx + 0x180]
mov dword [esp + 0x114], 0
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x174]
mov dword [esp + 0x11c], eax
test ecx, ecx
je 0x415aa6
mov dword [esp + 0x114], 0xa
mov dword [esp + 0x118], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x114]
push eax
call edx
mov ecx, dword [ebx + 0x178]
test ecx, ecx
je 0x415ad4
mov dword [esp + 0x114], 0xe
mov dword [esp + 0x118], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x114]
push edx
call eax
xor esi, esi
mov eax, ebx
call fcn.00417e90
mov ecx, dword [ebx + 0x120]
push 4
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.default.0x416cf0
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x416cf0
mov dword [esi], 1
mov al, 1
jmp 0x417748
xor eax, eax
xor esi, esi
push esi
lea edx, [esp + 0x138]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], eax
mov eax, dword [ebx + 0x120]
push edx
push eax
mov dword [esp + 0x140], esi
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x415a0c
cmp dword [ebx + 0x16c], esi
jne 0x415b9e
push 0x3c
lea ecx, [esp + 0x9c]
push esi
push ecx
mov dword [esp + 0xa0], esi
call fcn.0049ac70
mov eax, dword [ebx + 0x120]
add esp, 0xc
lea edx, [esp + 0x94]
push edx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov edx, dword [ebx + 0x120]
lea ecx, [esp + 0x94]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x417748
cmp byte [ebx + 5], 0
je 0x415fb7
mov eax, dword [ebx + 0x120]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x415bd3
mov ecx, dword [ebx + 0x120]
xor eax, 0x80000
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
xor eax, eax
lea edx, [esp + 0x44]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x120]
push edx
push eax
mov dword [esp + 0x4c], esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x3c
lea ecx, [esp + 0xdc]
push esi
push ecx
mov dword [esp + 0xe0], esi
call fcn.0049ac70
mov eax, dword [ebx + 0x120]
add esp, 0xc
lea edx, [esp + 0xd4]
push edx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x130]
cmp eax, esi
je 0x415c3b
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x138]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, esi
je 0x415c4e
push eax
call edi
cmp byte [ebx + 2], 0
mov dword [ebx + 0x130], esi
mov dword [ebx + 0x138], esi
je 0x415d6f
lea ecx, [esp + 0x44]
push ecx
mov byte [ebx + 2], 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x415d6f
mov ecx, dword [ebx + 0x16c]
cmp byte [ecx + 0x150], al
je 0x415ce4
mov eax, dword [ebx + 0x130]
xor esi, esi
cmp eax, esi
je 0x415c9c
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x138]
cmp eax, esi
je 0x415ca9
push eax
call edi
mov ecx, dword [ebx + 0x16c]
mov dword [ebx + 0x130], esi
mov dword [ebx + 0x138], esi
mov esi, dword [esp + 0x44]
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
jmp 0x415d4d
mov edx, dword [ecx]
mov eax, dword [edx + 0xfc]
push SysReAllocStringLen
push 0
push 0x419850
call eax
mov esi, eax
test esi, esi
je 0x415d4d
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 + 0x16c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xfc]
push SysReAllocStringLen
push 0
push 0x419850
call edx
mov esi, eax
test esi, esi
jne 0x415d00
cmp byte [ebx + 1], 0
je 0x415d6f
mov ecx, dword [ebx + 0x16c]
push 0
push 0
push 0
push str.windowinit
mov edi, ebx
mov byte [ebx + 1], 0
call fcn.004188b0
cmp byte [ebx + 3], 0
je 0x415e25
cmp byte [ebx + 2], 0
je 0x415d99
mov eax, dword [ebx + 0x120]
push 0
push 0
push eax
mov byte [ebx + 3], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x415e25
mov ecx, dword [ebx + 0x170]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0x16c]
push SysReAllocStringLen
lea eax, [esp + 0x3c]
mov byte [esp + 0x44], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push eax
push 0x419770
call edx
test eax, eax
jne 0x415e18
mov ecx, dword [ebx + 0x16c]
mov dword [esp + 0x14c], eax
push SysReAllocStringLen
mov dword [esp + 0x14c], eax
mov dword [esp + 0x148], eax
lea edx, [esp + 0x148]
mov byte [esp + 0x150], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0xfc]
push edx
push 0x419770
call eax
test eax, eax
je 0x415e21
mov esi, eax
mov eax, ebx
call fcn.00417e90
mov byte [ebx + 3], 0
cmp byte [ebx + 4], 0
je 0x415e6c
cmp dword [ebx + 0x138], 0
jne 0x415e6c
mov ecx, dword [ebx + 0x128]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x48]
mov ecx, dword [ebx + 0x128]
mov dword [ebx + 0x130], eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x138], eax
mov edx, dword [ebx + 0x138]
mov eax, dword [ebx + 0x130]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [ebx + 9], 0
je 0x415edc
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x144], ecx
mov ecx, dword [esp + 0x50]
lea edi, [esp + 0x144]
mov esi, ebx
mov dword [esp + 0x148], edx
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], ecx
call fcn.00419a00
mov ecx, dword [ebx + 0x16c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x118]
mov eax, edi
push eax
mov eax, dword [ebx + 0x130]
push eax
call edx
jmp 0x415ef8
mov ecx, dword [ebx + 0x16c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x118]
lea edx, [esp + 0x44]
push edx
mov edx, dword [ebx + 0x130]
push edx
call eax
mov edx, dword [ebx + 0x120]
lea ecx, [esp + 0x114]
xor eax, eax
push ecx
xor esi, esi
push edx
mov dword [esp + 0x11c], esi
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x44]
push 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x130]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [ebx + 0x120]
lea edx, [esp + 0x38]
push edx
push eax
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x1ff0000
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov eax, dword [ebx + 0x120]
lea edx, [esp + 0xd4]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x417748
cmp byte [ebx + 2], 0
je 0x41611f
mov edx, dword [ebx + 0x120]
xor eax, eax
lea ecx, [esp + 0x44]
push ecx
push edx
mov byte [ebx + 2], 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 0x41611f
mov ecx, dword [ebx + 0x16c]
mov edx, dword [ecx]
cmp byte [ecx + 0x150], al
je 0x416091
mov esi, dword [esp + 0x44]
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 + 0x12c]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
xor edi, edi
cmp eax, edi
je 0x41604a
push eax
call esi
mov eax, dword [ebx + 0x130]
cmp eax, edi
je 0x416057
push eax
call esi
mov eax, dword [ebx + 0x134]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, edi
je 0x41606a
push eax
call esi
mov eax, dword [ebx + 0x138]
cmp eax, edi
je 0x416077
push eax
call esi
mov dword [ebx + 0x12c], edi
mov dword [ebx + 0x130], edi
mov dword [ebx + 0x134], edi
mov dword [ebx + 0x138], edi
jmp 0x4160fd
mov eax, dword [edx + 0xfc]
push SysReAllocStringLen
push 0
push 0x419850
call eax
mov esi, eax
test esi, esi
je 0x4160fd
jmp 0x4160b0
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 + 0x16c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xfc]
push SysReAllocStringLen
push 0
push 0x419850
call edx
mov esi, eax
test esi, esi
jne 0x4160b0
cmp byte [ebx + 1], 0
je 0x41611f
mov ecx, dword [ebx + 0x16c]
push 0
push 0
push 0
push str.windowinit
mov edi, ebx
mov byte [ebx + 1], 0
call fcn.004188b0
cmp byte [ebx + 3], 0
je 0x4161d5
cmp byte [ebx + 2], 0
je 0x416149
mov eax, dword [ebx + 0x120]
push 0
push 0
push eax
mov byte [ebx + 3], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4161d5
mov ecx, dword [ebx + 0x170]
xor eax, eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x144], ecx
mov ecx, dword [ebx + 0x16c]
push SysReAllocStringLen
lea eax, [esp + 0x148]
mov byte [esp + 0x150], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push eax
push 0x419770
call edx
test eax, eax
jne 0x4161c8
mov ecx, dword [ebx + 0x16c]
mov dword [esp + 0x40], eax
push SysReAllocStringLen
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x3c]
mov byte [esp + 0x44], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0xfc]
push edx
push 0x419770
call eax
test eax, eax
je 0x4161d1
mov esi, eax
mov eax, ebx
call fcn.00417e90
mov byte [ebx + 3], 0
cmp byte [ebx + 4], 0
je 0x41623f
xor eax, eax
cmp dword [ebx + 0x134], eax
jne 0x41623f
mov edx, dword [ebx + 0x120]
lea ecx, [esp + 0x44]
push ecx
push edx
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]
mov eax, dword [ebx + 0x128]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x44]
push ecx
mov dword [ebx + 0x12c], eax
mov eax, dword [ebx + 0x128]
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x134], eax
push 0x3c
lea ecx, [esp + 0x5c]
push 0
push ecx
mov dword [esp + 0x60], 0
call fcn.0049ac70
mov eax, dword [ebx + 0x120]
add esp, 0xc
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 4], 0
je 0x416486
mov ecx, dword [ebx + 0x134]
mov edx, dword [ebx + 0x12c]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push edx
call edi
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x12c]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 5], 0
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
mov dword [esp + 0x28], eax
je 0x416389
mov eax, dword [ebx + 0x138]
test eax, eax
jne 0x416350
mov edx, dword [ebx + 0x120]
lea ecx, [esp + 0x44]
push ecx
push edx
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]
mov eax, dword [ebx + 0x128]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x44]
push ecx
mov dword [ebx + 0x130], eax
mov eax, dword [ebx + 0x128]
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebx + 0x130]
push eax
push ecx
mov dword [ebx + 0x138], eax
call edi
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x78]
sub edx, eax
push edx
mov edx, dword [esp + 0x78]
sub edx, ecx
push edx
push eax
mov eax, dword [ebx + 0x130]
push ecx
push eax
call esi
jmp 0x41635a
mov ecx, dword [ebx + 0x130]
push eax
push ecx
call edi
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ebx + 0x130]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x78]
sub edx, eax
push edx
mov edx, dword [esp + 0x78]
sub edx, ecx
push edx
push eax
mov eax, dword [ebx + 0x12c]
push ecx
push eax
call esi
mov ecx, dword [ebx + 0x16c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x118]
lea eax, [esp + 0x5c]
push eax
mov eax, dword [ebx + 0x12c]
push eax
call edx
xor esi, esi
cmp dword [ebx + 0x200], esi
jle 0x4163d8
nop
mov eax, dword [ebx + 0x1fc]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x130]
lea eax, [esp + 0x5c]
push eax
mov eax, dword [ebx + 0x12c]
push eax
call edx
inc esi
cmp esi, dword [ebx + 0x200]
jl 0x4163b0
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0x12c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ebx + 0x12c]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x78]
sub edx, eax
push edx
mov edx, dword [esp + 0x78]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x70]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x12c]
push ecx
push edx
call edi
cmp byte [ebx], 0
je 0x4164b9
mov eax, dword [0x4deac4]
mov ecx, dword [esp + 0x54]
push eax
push ecx
call edi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [esp + 0x54]
push eax
push edx
call edi
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0x138]
push eax
mov eax, dword [esp + 0x138]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esp + 0x54]
push esi
push edx
call edi
jmp 0x4164b9
mov eax, dword [esp + 0x54]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x16c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x118]
mov esi, eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x58]
push eax
call edx
mov eax, dword [esp + 0x54]
push esi
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [ebx + 0x120]
lea ecx, [esp + 0x54]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 2], 0
je 0x4164e2
mov eax, dword [ebx + 0x120]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x417748
mov ecx, dword [ebx + 0x188]
test ecx, ecx
jle 0x4164f6
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x18c]
test ecx, ecx
jle 0x416503
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x190]
test ecx, ecx
jle 0x416510
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x194]
test ecx, ecx
jle case.default.0x416cf0
mov dword [eax + 0x24], ecx
jmp case.default.0x416cf0
mov ecx, dword [ebx + 0x170]
test ecx, ecx
je 0x41659a
xor eax, eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x114], 0x16
mov dword [esp + 0x118], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x170]
mov dword [esp + 0x11c], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x114]
push eax
call edx
mov ebx, dword [ebx + 0x16c]
test ebx, ebx
je 0x4165ab
mov eax, ebx
call fcn.0041ddb0
mov al, 1
jmp 0x417748
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x120]
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x178], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x180], edx
mov dword [ebx + 0x184], eax
je case.default.0x416cf0
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov eax, dword [ebx + 0x178]
mov dword [esp + 0x114], 0x11
mov dword [esp + 0x120], ecx
mov dword [esp + 0x130], eax
jmp 0x416fb8
cmp dword [ebx + 0x170], 0
je case.default.0x416cf0
mov ecx, dword [ebx + 0x180]
mov edx, dword [ebx + 0x184]
xor eax, eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x114], 5
mov word [esp + 0x128], di
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
call fcn.00414970
mov word [esp + 0x12a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x170]
mov dword [esp + 0x11c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x114]
push edx
call eax
jmp case.default.0x416cf0
cmp dword [ebx + 0x170], 0
je case.default.0x416cf0
mov ecx, dword [ebx + 0x180]
mov edx, dword [ebx + 0x184]
xor eax, eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x114], 3
mov word [esp + 0x128], di
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
call fcn.00414970
mov word [esp + 0x12a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x170]
mov dword [esp + 0x11c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x114]
push edx
call eax
mov ecx, dword [ebx + 0x170]
mov dword [ebx + 0x17c], ecx
jmp case.default.0x416cf0
cmp dword [ebx + 0x17c], 0
je case.default.0x416cf0
mov edx, dword [ebx + 0x180]
xor eax, eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov eax, dword [ebx + 0x184]
mov dword [esp + 0x114], 4
mov word [esp + 0x128], di
mov dword [esp + 0x120], edx
mov dword [esp + 0x124], eax
call fcn.00414970
mov word [esp + 0x12a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x17c]
mov dword [esp + 0x11c], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x114]
push eax
call edx
mov dword [ebx + 0x17c], 0
jmp case.default.0x416cf0
cmp ax, 1
jne case.default.0x416cf0
cmp byte [ebx + 7], 0
jne 0x415a0c
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebx + 0x120]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov eax, ebx
call fcn.00419660
mov esi, eax
test esi, esi
je case.default.0x416cf0
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
test al, 2
je case.default.0x416cf0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x94], 0x17
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
call fcn.00414970
mov word [esp + 0xaa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x9c], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call edx
mov al, 1
jmp 0x417748
test eax, eax
je 0x4173ce
push eax
mov eax, dword [eax]
push edi
add ecx, 0x2000
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi], eax
mov al, 1
jmp 0x417748
test eax, eax
je case.default.0x416cf0
push eax
push edi
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi], eax
mov al, 1
jmp 0x417748
cmp ecx, 0x200
ja 0x416ccf
je 0x416aa3
mov edx, ecx
sub edx, 0x113
je 0x4169ec
sub edx, 0x20
je 0x4169cb
sub edx, 5
jne case.default.0x416cf0
test eax, eax
je case.default.0x416cf0
push eax
push edi
add ecx, 0x2000
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi], eax
mov al, 1
jmp 0x417748
xor ecx, ecx
cmp dword [ebx + 0x1dc], ecx
jle case.default.0x416cf0
mov eax, dword [ebx + 0x1d8]
mov esi, dword [eax]
mov edx, dword [ebx + 0x120]
cmp dword [esi + 8], edx
jne 0x416a1b
movzx edx, di
cmp dword [esi + 0xc], edx
jne 0x416a1b
cmp byte [esi + 0x10], 0
je 0x416a2c
inc ecx
add eax, 4
cmp ecx, dword [ebx + 0x1dc]
jl 0x416a00
jmp case.default.0x416cf0
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x130], eax
mov eax, dword [esi]
mov dword [esp + 0x114], 0x18
mov dword [esp + 0x118], eax
mov dword [esp + 0x12c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [esp + 0x11c], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x114]
push eax
call edx
jmp case.default.0x416cf0
cmp byte [ebx + 6], 0
jne 0x416b2b
xor eax, eax
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], eax
mov eax, dword [ebx + 0x120]
mov dword [esp + 0x13c], eax
mov eax, dword [ebx + 0x13c]
mov dword [esp + 0x134], 0x10
mov dword [esp + 0x138], 3
test eax, eax
jne 0x416afe
mov dword [esp + 0x140], 0x190
jmp 0x416b15
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x140], eax
lea ecx, [esp + 0x134]
push ecx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov eax, dword [esp + 0x30]
mov byte [ebx + 6], 1
mov ecx, dword [ebx + 0x16c]
movsx esi, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x184], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
push 0xd
lea eax, [esp + 0x24]
mov dword [ebx + 0x180], esi
mov dword [esp + 0x24], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push eax
push 0x419740
call edx
mov edi, eax
test edi, edi
je 0x416b7d
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
cmp eax, ebx
jne case.default.0x416cf0
xor eax, eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x120], esi
mov dword [esp + 0x124], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x174]
mov dword [esp + 0x11c], eax
cmp edi, ecx
je 0x416c31
test ecx, ecx
je 0x416c31
mov dword [esp + 0x114], 0xa
mov dword [esp + 0x118], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x114]
push eax
call edx
mov eax, dword [ebx + 0x13c]
mov dword [ebx + 0x174], 0
test eax, eax
je 0x416c31
lea ecx, [ebx + 0x140]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, dword [ebx + 0x174]
je 0x416c69
test edi, edi
je 0x416c69
mov dword [esp + 0x114], 0xb
mov dword [esp + 0x118], edi
mov edx, dword [edi]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x114]
push eax
mov ecx, edi
call edx
mov dword [ebx + 0x174], edi
mov ecx, dword [ebx + 0x178]
test ecx, ecx
je 0x416c9c
mov dword [esp + 0x114], 9
mov dword [esp + 0x118], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x114]
push edx
call eax
jmp case.default.0x416cf0
test edi, edi
je case.default.0x416cf0
mov dword [esp + 0x114], 9
mov dword [esp + 0x118], edi
mov edx, dword [edi]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x114]
push eax
mov ecx, edi
call edx
jmp case.default.0x416cf0
cmp ecx, 0x20a
ja 0x417262
je 0x417131
add ecx, 0xfffffdff
cmp ecx, 3
ja case.default.0x416cf0
jmp dword [ecx*4 + 0x4178a0]
mov eax, dword [ebx + 0x120]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x30]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
mov dword [ebx + 0x180], eax
mov dword [ebx + 0x184], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x16c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push 0xd
lea eax, [esp + 0x24]
push eax
push 0x419740
call edx
mov esi, eax
test esi, esi
je case.default.0x416cf0
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
cmp eax, ebx
jne case.default.0x416cf0
mov dword [ebx + 0x178], esi
mov eax, dword [esi]
mov edx, dword [eax + 0xf0]
mov ecx, esi
call edx
mov eax, dword [ebx + 0x120]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x14]
mov byte [ebx + 7], 1
mov dword [esp + 0x114], 0xd
mov dword [esp + 0x118], esi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x130], ecx
mov dword [esp + 0x120], edx
mov dword [esp + 0x124], eax
mov word [esp + 0x12a], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x11c], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x114]
push eax
mov ecx, esi
call edx
jmp case.default.0x416cf0
mov eax, dword [ebx + 0x120]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x30]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0x180], ecx
mov dword [ebx + 0x184], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x16c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
mov dword [esp + 0x14], eax
push 0xd
lea eax, [esp + 0x24]
push eax
push 0x419740
call edx
mov esi, eax
test esi, esi
je case.default.0x416cf0
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
cmp eax, ebx
jne case.default.0x416cf0
mov eax, dword [ebx + 0x120]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov byte [ebx + 7], 1
mov dword [esp + 0x11c], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x114], 0x10
mov dword [esp + 0x118], esi
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
mov word [esp + 0x12a], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x11c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x108]
lea ecx, [esp + 0x114]
push ecx
mov ecx, esi
call edx
mov dword [ebx + 0x178], esi
jmp case.default.0x416cf0
movsx esi, ax
shr eax, 0x10
cmp dword [ebx + 0x178], 0
cwde
mov dword [esp + 0x24], eax
mov dword [ebx + 0x180], esi
mov dword [ebx + 0x184], eax
je case.default.0x416cf0
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov eax, dword [ebx + 0x178]
mov dword [esp + 0x114], 0xe
mov dword [esp + 0x12c], edi
mov dword [esp + 0x130], ecx
mov dword [esp + 0x120], esi
mov word [esp + 0x12a], di
mov dword [esp + 0x124], edx
mov dword [esp + 0x118], eax
mov byte [ebx + 7], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x178]
mov dword [esp + 0x11c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x114]
push edx
call eax
mov dword [ebx + 0x178], 0
jmp case.default.0x416cf0
mov ecx, dword [ebx + 0x120]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x30]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
mov dword [ebx + 0x180], eax
mov dword [ebx + 0x184], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x16c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push 0xd
lea eax, [esp + 0x24]
push eax
push 0x419740
call edx
mov esi, eax
test esi, esi
je case.default.0x416cf0
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
cmp eax, ebx
jne case.default.0x416cf0
mov eax, dword [esi]
mov edx, dword [eax + 0xf0]
mov ecx, esi
call edx
mov eax, dword [ebx + 0x120]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x14]
mov byte [ebx + 7], 1
mov dword [esp + 0x114], 0xf
mov dword [esp + 0x118], esi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x130], ecx
mov dword [esp + 0x120], edx
mov dword [esp + 0x124], eax
mov word [esp + 0x12a], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x11c], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x114]
push eax
mov ecx, esi
call edx
mov dword [ebx + 0x178], esi
jmp case.default.0x416cf0
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x120]
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x180], eax
mov dword [ebx + 0x184], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0x16c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push 0xd
lea eax, [esp + 0x24]
push eax
push 0x419740
call edx
mov esi, eax
test esi, esi
je case.default.0x416cf0
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
cmp eax, ebx
jne case.default.0x416cf0
mov ecx, dword [esp + 0x30]
xor eax, eax
shr edi, 0x10
mov dword [esp + 0x118], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
test di, di
sets al
mov dword [esp + 0x114], 0x12
mov dword [esp + 0x118], esi
mov dword [esp + 0x130], ecx
mov dword [esp + 0x12c], eax
call fcn.00414970
mov word [esp + 0x12a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x11c], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x114]
push eax
mov ecx, esi
call edx
movzx eax, word [ebx + 0x184]
movzx ecx, word [ebx + 0x180]
mov edx, dword [ebx + 0x120]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x416cf0
cmp ecx, 0x318
ja 0x4175f6
je 0x4174f7
sub ecx, 0x2a1
je 0x4172c7
sub ecx, 2
jne case.default.0x416cf0
mov eax, dword [ebx + 0x13c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4172a6
lea ecx, [ebx + 0x140]
push ecx
push 0
push 0x411
push eax
call edi
cmp byte [ebx + 6], 0
je 0x4172be
mov edx, dword [ebx + 0x120]
push 0xffffffffffffffff
push 0
push 0x200
push edx
call edi
mov byte [ebx + 6], 0
jmp case.default.0x416cf0
mov ecx, dword [ebx + 0x16c]
movsx edi, ax
shr eax, 0x10
cwde
push 0xd
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
lea edx, [esp + 0x24]
mov byte [ebx + 6], 0
mov dword [esp + 0x24], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xfc]
push edx
push 0x419740
call eax
mov esi, eax
test esi, esi
je case.default.0x416cf0
mov ecx, dword [ebx + 0x174]
test ecx, ecx
je 0x41738e
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x120], edi
mov dword [esp + 0x124], edx
mov dword [esp + 0x114], 0xc
mov dword [esp + 0x118], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x174]
mov dword [esp + 0x11c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x114]
push edx
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x98]
lea eax, [esp + 0x154]
push eax
mov ecx, esi
call edx
mov dword [esp + 0x1f0], 0
mov eax, dword [esp + 0x154]
cmp word [eax], 0
jne 0x4173d5
lea ecx, [esp + 0x158]
cmp eax, ecx
je 0x4173ce
push eax
call fcn.004964ad
add esp, 4
mov al, 1
jmp 0x417748
push 0x2c
lea edi, [ebx + 0x140]
push 0
push edi
call fcn.0049ac70
mov eax, dword [ebx + 0x120]
mov edx, dword [0x4deac8]
mov dword [ebx + 0x148], eax
mov dword [ebx + 0x14c], eax
mov eax, dword [esp + 0x160]
mov dword [ebx + 0x164], eax
mov dword [edi], 0x2c
mov dword [ebx + 0x144], 1
mov dword [ebx + 0x160], edx
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
add esp, 0xc
mov ecx, esi
call eax
cmp dword [ebx + 0x13c], 0
mov ecx, dword [eax]
mov dword [ebx + 0x150], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x154], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x158], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x15c], edx
jne 0x4174a6
mov eax, dword [0x4deac8]
mov ecx, dword [ebx + 0x120]
push 0
push eax
push 0
push ecx
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push edi
push 0
push 0x432
push eax
mov dword [ebx + 0x13c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi]
mov eax, dword [edx + 0xa4]
mov ecx, esi
call eax
mov ecx, dword [ebx + 0x13c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push ecx
call esi
mov edx, dword [ebx + 0x13c]
push edi
push 0
push 0x436
push edx
call esi
mov eax, dword [ebx + 0x13c]
push edi
push 1
push 0x411
push eax
call esi
mov eax, dword [esp + 0x154]
jmp 0x4173ba
mov eax, dword [ebx + 0x120]
lea edx, [esp + 0x114]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x16c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x118]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x114]
push eax
push edi
call edx
test byte [esp + 0x30], 0x10
je 0x4175e8
mov eax, dword [ebx + 0x120]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x4175e8
mov eax, dword [esp + 0x30]
or eax, 2
mov dword [esp + 0x28], eax
nop
xor eax, eax
lea ecx, [esp + 0x134]
push ecx
push esi
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0x120]
push 2
lea edx, [esp + 0x138]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x134]
push 0
neg ecx
push ecx
neg edx
push edx
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov eax, dword [esp + 0x28]
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 0x417560
mov ecx, dword [esp + 0x10]
push ecx
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x416cf0
cmp ecx, 0x8001
jne case.default.0x416cf0
xor esi, esi
xor edi, edi
cmp dword [ebx + 0x20c], esi
jle 0x41762e
lea ebx, [ebx]
mov edx, dword [ebx + 0x208]
mov ecx, dword [edx + edi*4]
cmp ecx, esi
je 0x417625
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
inc edi
cmp edi, dword [ebx + 0x20c]
jl 0x417610
mov eax, dword [ebx + 0x208]
cmp eax, esi
je 0x417641
push eax
call fcn.004964ad
add esp, 4
mov dword [ebx + 0x208], esi
mov dword [ebx + 0x210], esi
mov dword [ebx + 0x20c], esi
cmp dword [ebx + 0x218], 0
jle 0x417746
mov eax, dword [ebx + 0x214]
mov esi, dword [eax]
mov dword [esp + 0x18], esi
test esi, esi
je 0x417746
mov eax, dword [ebx + 0x218]
test eax, eax
jle 0x4176a4
dec eax
mov dword [ebx + 0x218], eax
test eax, eax
jle 0x4176a4
mov ecx, dword [ebx + 0x214]
lea edx, [eax*4]
push edx
lea eax, [ecx + 4]
push eax
push ecx
call fcn.00498220
add esp, 0xc
mov esi, dword [esi + 0x108]
test esi, esi
je 0x4176db
cmp dword [esi + 0x38], 0
jle 0x4176db
xor edi, edi
cmp dword [esi + 0x38], edi
jle 0x4176db
mov ecx, dword [esi + 0x34]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x4176d5
mov edx, dword [ecx]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 8]
push eax
call edx
test al, al
je 0x4176db
inc edi
cmp edi, dword [esi + 0x38]
jl 0x4176bb
xor esi, esi
cmp dword [ebx + 0x1d0], esi
jle 0x417709
mov edi, dword [esp + 0x18]
lea esp, [esp]
mov eax, dword [ebx + 0x1cc]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
inc esi
cmp esi, dword [ebx + 0x1d0]
jl 0x4176f0
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0x88]
cmp eax, ecx
je 0x417726
push eax
call fcn.004964ad
add esp, 4
mov eax, dword [esi]
lea edx, [esi + 4]
cmp eax, edx
je 0x417738
push eax
call fcn.004964ad
add esp, 4
push esi
call fcn.0045c9e1
add esp, 4
jmp case.default.0x416cf0
xor al, al
mov ecx, dword [esp + 0x1e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d0]
xor ecx, esp
call fcn.00494bb0
mov esp, ebp
pop ebp
ret 0x10