Function at 0x40dd4b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x473ff0]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0xb0
mov eax, 0x459704
call fcn.00445a5d
mov eax, dword [ebp + 0x118]
mov esi, dword [ebp + 0x114]
mov ebx, ecx
cmp dword [ebx], 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x11c]
mov dword [ebp - 0x50], eax
je 0x40f309
lea ecx, [ebx + 0x120]
mov dword [ebp - 0x4c], ecx
jmp 0x40de1b
mov ecx, dword [ebp - 0x4c]
push 0
call fcn.0040f776
mov eax, dword [edi + 0x108]
test eax, eax
je 0x40ddcf
lea ecx, [eax + 0x34]
call fcn.0041d47a
test al, al
je 0x40ddcf
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x34
call fcn.0041d4d6
and dword [ebp - 0x10], 0
lea ecx, [ebx + 0xd8]
call fcn.0040f7d1
test eax, eax
jle 0x40de0a
push dword [ebp - 0x10]
lea ecx, [ebx + 0xd8]
call fcn.0040f7f1
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx]
inc dword [ebp - 0x10]
lea ecx, [ebx + 0xd8]
call fcn.0040f7d1
cmp dword [ebp - 0x10], eax
jl 0x40dde2
mov ecx, edi
call fcn.0040b729
push edi
call fcn.00443850
pop ecx
mov ecx, dword [ebp - 0x4c]
push 0
call fcn.0040f7d8
mov edi, eax
test edi, edi
jne 0x40dda0
and dword [ebp - 0x10], eax
lea ecx, [ebx + 0xfc]
call fcn.0040f7d1
mov edi, dword [ebp + 0x110]
test eax, eax
jle 0x40de82
push dword [ebp - 0x10]
lea ecx, [ebx + 0xfc]
mov byte [ebp - 0x3d], 0
call fcn.0040f7f1
mov edx, dword [eax]
lea ecx, [ebp - 0x3d]
push ecx
push dword [ebp - 0x14]
mov ecx, eax
push esi
push edi
call dword [edx]
cmp byte [ebp - 0x3d], 0
jne 0x40df98
inc dword [ebp - 0x10]
lea ecx, [ebx + 0xfc]
call fcn.0040f7d1
cmp dword [ebp - 0x10], eax
jl 0x40de44
mov eax, 0x111
cmp edi, eax
ja 0x40eabe
je 0x40eaa6
cmp edi, 0x24
ja 0x40e908
je 0x40e8d4
sub edi, 5
je 0x40e7b5
dec edi
je 0x40e7a4
sub edi, 9
je 0x40e033
dec edi
je 0x40dfaf
sub edi, 4
je 0x40dfa4
sub edi, 0xc
jne 0x40f280
cmp word [ebp - 0x14], 1
jne 0x40f280
cmp byte [ebx + 0xc3], 0
jne 0x40df9d
and dword [ebp - 0x80], edi
xor eax, eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x80]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x7c]
mov ecx, ebx
push dword [ebp - 0x80]
call fcn.0040d63f
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40f280
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
test al, 2
je 0x40f280
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0xac]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xb0], 0x17
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xa0], eax
call fcn.0040b6d6
mov word [ebp - 0x9a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0xb0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
jmp 0x40df9d
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
mov al, 1
jmp 0x40f30b
mov eax, dword [ebp - 0x50]
mov dword [eax], 1
jmp 0x40df9d
and dword [ebp - 0x3c], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5c]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x40dfef
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xa
mov dword [ebp - 0x38], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
mov ecx, dword [ebx + 0x60]
test ecx, ecx
je 0x40e00c
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xe
mov dword [ebp - 0x38], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 0
mov ecx, ebx
call fcn.0040d8ef
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x40f280
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x40f280
mov ecx, dword [ebx + 0x268]
call fcn.00409c80
mov esi, eax
mov dword [ebp - 0x14], eax
test esi, esi
jne 0x40e04d
mov esi, dword [ebx + 8]
mov dword [ebp - 0x14], esi
and dword [ebp - 0x60], 0
xor eax, eax
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x60]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x40df9d
xor edi, edi
cmp dword [ebx + 0x54], edi
jne 0x40e0b1
push 0x3c
lea eax, [ebp + 0xc8]
push edi
push eax
mov dword [ebp + 0xc4], edi
call fcn.00445b20
add esp, 0xc
lea eax, [ebp + 0xc4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp + 0xc4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x40df9d
cmp byte [ebx + 0xc0], 0
je 0x40e488
push 0xffffffffffffffec
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, 0x80000
test ecx, eax
jne 0x40e0de
xor eax, ecx
push eax
push 0xffffffffffffffec
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [ebp - 0x70], edi
xor eax, eax
lea edi, [ebp - 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x70]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
and dword [ebp + 0xc4], 0
push 0x3c
lea eax, [ebp + 0xc8]
push 0
push eax
call fcn.00445b20
add esp, 0xc
cmp esi, dword [ebx + 8]
jne 0x40e123
lea eax, [ebp + 0xc4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebx + 0xbd]
cmp byte [eax], 0
je 0x40e1ef
mov byte [eax], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x40e1ef
mov ecx, dword [ebx + 0x54]
call fcn.0041db0a
mov ecx, dword [ebx + 0x54]
test al, al
mov eax, dword [ecx]
je 0x40e1b4
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x34]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x40e175
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x1c]
xor esi, esi
cmp eax, esi
je 0x40e185
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0xc], esi
jmp 0x40e1cd
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x10]
sub esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x18]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x34]
mov ecx, dword [ebx + 0x54]
mov eax, dword [ecx]
push SysReAllocString
push 0
push 0x40cc9c
call dword [eax + 0x110]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x40e190
lea eax, [ebx + 0xbc]
cmp byte [eax], 0
je 0x40e1ef
mov byte [eax], 0
xor eax, eax
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x54]
mov ecx, ebx
call fcn.0040d397
cmp byte [ebx + 0xbe], 0
je 0x40e201
push 1
mov ecx, ebx
call fcn.0040da87
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
sub esi, dword [ebp - 0x70]
sub edi, dword [ebp - 0x6c]
cmp byte [ebx + 0xbf], 0
je 0x40e29f
cmp dword [ebx + 0x1c], 0
jne 0x40e29f
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x2c
mov dword [ebx + 0x14], eax
lea eax, [ebp - 0xbc]
push 0
push eax
call fcn.00445b20
add esp, 0xc
xor eax, eax
push 0x20
mov ecx, edi
imul ecx, esi
inc eax
mov word [ebp - 0xb0], ax
pop eax
mov word [ebp - 0xae], ax
xor eax, eax
push eax
shl ecx, 2
push eax
mov dword [ebp - 0xa8], ecx
lea ecx, [ebx + 0xc]
push ecx
push eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0xbc], 0x28
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xb4], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x60]
mov ecx, edi
sub ecx, dword [ebp - 0x54]
sub edi, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
cmp ecx, edi
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jge 0x40e30f
mov eax, ecx
imul eax, esi
add eax, dword [ebp - 0x60]
mov edx, edi
shl eax, 2
sub edx, ecx
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x18]
cmp dword [ebp - 0x4c], edx
jge 0x40e303
sub edx, dword [ebp - 0x4c]
mov ecx, eax
mov dword [ebp - 0x7c], edx
mov edx, dword [ebx + 0xc]
mov byte [ecx + edx], 0
mov edx, dword [ebx + 0xc]
mov byte [edx + ecx + 1], 0
mov edx, dword [ebx + 0xc]
mov byte [edx + ecx + 2], 0
mov edx, dword [ebx + 0xc]
mov byte [edx + ecx + 3], 0
add ecx, 4
dec dword [ebp - 0x7c]
jne 0x40e2dc
mov ecx, esi
shl ecx, 2
add eax, ecx
dec dword [ebp - 0x74]
jne 0x40e2cc
push dword [ebx + 0x1c]
push dword [ebx + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 0x54]
mov eax, dword [ecx]
lea edx, [ebp - 0x60]
push edx
push dword [ebx + 0x14]
call dword [eax + 0x12c]
cmp dword [ebp - 0x10], edi
jge 0x40e383
mov eax, dword [ebp - 0x10]
imul eax, esi
add eax, dword [ebp - 0x4c]
mov edx, esi
shl edx, 2
shl eax, 2
sub edi, dword [ebp - 0x10]
mov dword [ebp - 0x74], edi
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0x4c], esi
jge 0x40e37c
sub esi, dword [ebp - 0x4c]
mov edi, eax
mov ecx, dword [ebx + 0xc]
add ecx, edi
cmp byte [ecx + 3], 0
jne 0x40e376
cmp byte [ecx], 0
jne 0x40e372
cmp byte [ecx + 1], 0
jne 0x40e372
cmp byte [ecx + 2], 0
je 0x40e376
mov byte [ecx + 3], 0xff
add edi, 4
dec esi
jne 0x40e356
add eax, edx
dec dword [ebp - 0x74]
jne 0x40e349
xor eax, eax
xor esi, esi
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
mov ecx, ebx
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x84], esi
mov byte [ebp - 0x50], 0
mov byte [ebp - 0x4f], 0
mov byte [ebp - 0x4e], 0xff
mov byte [ebp - 0x4d], 1
call fcn.0040c1a8
mov edi, dword [sym.imp.USER32.dll_EndPaint]
test al, al
je 0x40e42d
push 2
lea eax, [ebp - 0x50]
push eax
push esi
lea eax, [ebp - 0x88]
push eax
push dword [ebx + 0x14]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x48]
push eax
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
push esi
push 4
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.0040c1c2
mov ecx, dword [ebx + 0x268]
call fcn.00409d20
jmp 0x40e46c
lea eax, [ebp + 0xc4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
push 2
lea eax, [ebp - 0x50]
push eax
push esi
lea eax, [ebp - 0x88]
push eax
push dword [ebx + 0x14]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x48]
push eax
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
lea eax, [ebp + 0xc4]
push eax
push dword [ebx]
call edi
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 8]
jne 0x40df9d
lea eax, [ebp + 0xc4]
push eax
push dword [ebx]
call edi
jmp 0x40df9d
cmp byte [ebx + 0xbd], 0
je 0x40e56b
and dword [ebp - 0x2c], 0
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebx]
mov byte [ebx + 0xbd], 0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x40e56b
mov ecx, dword [ebx + 0x54]
call fcn.0041db0a
mov ecx, dword [ebx + 0x54]
test al, al
mov eax, dword [ecx]
je 0x40e530
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x34]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x40e4f4
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x40e502
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebx + 0x10], 0
and dword [ebx + 0x18], 0
jmp 0x40e549
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x10]
sub esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x18]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x34]
mov ecx, dword [ebx + 0x54]
mov eax, dword [ecx]
push SysReAllocString
push 0
push 0x40cc9c
call dword [eax + 0x110]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x40e50c
lea eax, [ebx + 0xbc]
cmp byte [eax], 0
je 0x40e56b
mov byte [eax], 0
xor eax, eax
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x54]
mov ecx, ebx
call fcn.0040d397
cmp byte [ebx + 0xbf], 0
je 0x40e5b9
cmp dword [ebx + 0x18], 0
jne 0x40e5b9
and dword [ebp - 0x70], 0
xor eax, eax
lea edi, [ebp - 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x70]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x18], eax
jmp 0x40e5bc
mov esi, dword [ebp - 0x14]
and dword [ebp + 0x84], 0
push 0x3c
lea eax, [ebp + 0x88]
push 0
push eax
call fcn.00445b20
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp esi, dword [ebx + 8]
jne 0x40e61a
lea eax, [ebp + 0x84]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [ebp + 0x8c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x94]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x90]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x98]
mov dword [ebp - 0x54], eax
cmp byte [ebx + 0xbf], 0
je 0x40e711
push dword [ebx + 0x18]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x10]
call edi
push dword [ebx + 0x10]
mov dword [ebp - 0x74], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x60]
push edx
push dword [ebx + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
call dword [eax + 0x12c]
and dword [ebp - 0x10], 0
lea ecx, [ebx + 0x108]
call fcn.0040f7d1
test eax, eax
jle 0x40e69b
push dword [ebp - 0x10]
lea ecx, [ebx + 0x108]
call fcn.0040f7f1
mov edx, dword [eax]
lea ecx, [ebp - 0x60]
push ecx
push dword [ebx + 0x10]
mov ecx, eax
call dword [edx + 0x144]
inc dword [ebp - 0x10]
lea ecx, [ebx + 0x108]
call fcn.0040f7d1
cmp dword [ebp - 0x10], eax
jl 0x40e669
push dword [ebp - 0x18]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
push 0xcc0020
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebx + 0x10]
push eax
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x60]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x74]
push dword [ebx + 0x10]
call edi
cmp byte [ebx + 0x50], 0
je 0x40e732
push dword [0x475620]
push esi
call edi
push 5
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call edi
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
push dword [ebp - 0x18]
push esi
call edi
jmp 0x40e732
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x60]
push edx
mov edi, eax
mov eax, dword [ecx]
push esi
call dword [eax + 0x12c]
push edi
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, ebx
call fcn.0040c1a8
mov edi, dword [sym.imp.USER32.dll_EndPaint]
test al, al
je 0x40e75c
push 0
push 0
push 4
push esi
call fcn.0040c1c2
mov ecx, dword [ebx + 0x268]
call fcn.00409d20
jmp 0x40e776
lea eax, [ebp + 0x84]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp + 0x84]
push eax
push dword [ebx]
call edi
cmp esi, dword [ebx + 8]
jne 0x40e786
lea eax, [ebp + 0x84]
push eax
push dword [ebx]
call edi
cmp byte [ebx + 0xbd], 0
je 0x40df9d
push 0
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x40df9d
test si, si
setne al
mov byte [ebx + 0xc5], al
jmp 0x40f280
lea eax, [ebp - 0x60]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
xor esi, esi
cmp dword [ebx + 0x268], esi
je 0x40e82a
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40e82a
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x40e82a
mov ecx, dword [ebx + 0x268]
cmp dword [ecx + 4], esi
je 0x40e809
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x60]
cmp dword [ecx + 0xc], eax
jne 0x40e804
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
cmp dword [ecx + 0x10], eax
je 0x40e809
call fcn.00409fe0
mov ecx, dword [ebx + 0x268]
cmp dword [ecx + 4], esi
jne 0x40e878
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
push 0
push 0x20
push 0x20
push eax
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x60]
push eax
jmp 0x40e873
mov ecx, dword [ebx + 0x268]
cmp ecx, esi
je 0x40e878
mov edx, dword [ebp - 0x58]
mov eax, edx
sub eax, dword [ebp - 0x60]
cmp dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x54]
jne 0x40e84e
mov esi, eax
sub esi, dword [ebp - 0x5c]
cmp dword [ecx + 0x10], esi
je 0x40e878
cmp dword [ecx + 4], 0
je 0x40e85f
call fcn.00409fe0
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
sub eax, dword [ebp - 0x5c]
sub edx, dword [ebp - 0x60]
mov ecx, dword [ebx + 0x268]
push 0
push 0x20
push 0x20
push eax
push edx
call fcn.00409da0
mov edx, dword [ebx + 0x58]
test edx, edx
je 0x40e8ab
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x3c], 0x16
mov dword [ebp - 0x38], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
mov ecx, dword [ebx + 0x54]
xor esi, esi
cmp ecx, esi
je 0x40df9d
call fcn.0041db11
push esi
push esi
push esi
push str.onsize
push dword [ebx + 0x54]
mov ecx, ebx
call fcn.0040d397
jmp 0x40df9d
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebp - 0x14]
test eax, eax
jle 0x40e8e1
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0x74]
test eax, eax
jle 0x40e8eb
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x78]
test eax, eax
jle 0x40e8f5
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
jle 0x40f280
mov dword [ecx + 0x24], eax
jmp 0x40f280
sub edi, 0x4e
je 0x40ea87
sub edi, 0x2d
je 0x40ea23
sub edi, 0x25
je 0x40ec23
sub edi, 0x60
je 0x40e9cc
dec edi
je 0x40e977
dec edi
jne 0x40f280
cmp dword [ebx + 0x58], edi
je 0x40f280
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x3c], 5
mov word [ebp - 0x28], si
mov dword [ebp - 0x2c], eax
call fcn.0040b6d6
mov word [ebp - 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
jmp 0x40edf6
cmp dword [ebx + 0x64], 0
je 0x40f280
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x3c], 4
mov word [ebp - 0x28], si
mov dword [ebp - 0x2c], eax
call fcn.0040b6d6
mov word [ebp - 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x64]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
and dword [ebx + 0x64], 0
jmp 0x40f280
cmp dword [ebx + 0x58], 0
je 0x40f280
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x3c], 3
mov word [ebp - 0x28], si
mov dword [ebp - 0x2c], eax
call fcn.0040b6d6
mov word [ebp - 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
mov eax, dword [ebx + 0x58]
mov dword [ebx + 0x64], eax
jmp 0x40f280
mov eax, dword [ebp - 0x14]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx]
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x60], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x6c], eax
je 0x40f280
mov ecx, ebx
call fcn.0040c18f
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], 0x11
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], eax
jmp 0x40eb5f
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40df9d
push eax
push esi
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40df98
cmp dword [ebp - 0x14], 0
je 0x40f280
push dword [ebp - 0x14]
push esi
push 0x2111
push dword [ebp - 0x14]
jmp 0x40ea9b
mov eax, 0x203
cmp edi, eax
ja 0x40ee68
je 0x40ee0a
mov eax, edi
sub eax, 0x113
je 0x40ed80
sub eax, 0x20
je 0x40ed66
sub eax, 5
je 0x40ed66
sub eax, 0xc8
je 0x40ec23
dec eax
je 0x40eb84
dec eax
jne 0x40f280
mov ecx, dword [ebp - 0x14]
movsx eax, word [ebp - 0x14]
shr ecx, 0x10
cmp dword [ebx + 0x60], 0
movsx ecx, cx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], ecx
je 0x40f280
mov ecx, ebx
call fcn.0040c18f
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], 0xe
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x26], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
and dword [ebx + 0x60], 0
jmp 0x40f280
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x14]
movsx eax, word [ebp - 0x14]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x44], ecx
mov dword [ebx + 0x6c], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x48], eax
mov dword [ebx + 0x68], eax
call fcn.0040d63f
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40f280
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x40f280
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 0x60], ecx
mov eax, dword [ecx]
call dword [eax + 0xfc]
mov ecx, ebx
call fcn.0040c17b
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], 0xd
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x26], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
jmp 0x40edff
cmp byte [ebx + 0xc2], 0
jne 0x40ec79
xor eax, eax
lea edi, [ebp - 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
push 3
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x20]
pop ecx
mov dword [ebp - 0x70], 0x10
mov dword [ebp - 0x6c], ecx
test eax, eax
jne 0x40ec56
mov dword [ebp - 0x64], 0x190
jmp 0x40ec68
push 0
push ecx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0xc2], 1
mov eax, dword [ebp - 0x14]
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov ecx, ebx
mov dword [ebp - 0x44], eax
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x6c], eax
call fcn.0040d63f
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40ecab
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x40f280
and dword [ebp - 0x3c], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5c]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x18], ecx
je 0x40ed0a
test ecx, ecx
je 0x40ed0a
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xa
mov dword [ebp - 0x38], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
mov eax, dword [ebx + 0x20]
and dword [ebx + 0x5c], 0
test eax, eax
je 0x40ed0a
lea ecx, [ebx + 0x24]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebx + 0x5c]
je 0x40ed31
test esi, esi
je 0x40ed31
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
mov dword [ebp - 0x38], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
mov dword [ebx + 0x5c], esi
mov ecx, dword [ebx + 0x60]
test ecx, ecx
je 0x40ed47
mov dword [ebp - 0x3c], 9
mov dword [ebp - 0x38], ecx
jmp 0x40edf9
test esi, esi
je 0x40f280
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 9
mov dword [ebp - 0x38], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
jmp 0x40edff
cmp dword [ebp - 0x14], 0
je 0x40f280
push dword [ebp - 0x14]
add edi, 0x2000
push esi
push edi
jmp 0x40eab9
and dword [ebp - 0x10], 0
lea edi, [ebx + 0xe4]
mov ecx, edi
call fcn.0040f7d1
test eax, eax
jle 0x40f280
push dword [ebp - 0x10]
mov ecx, edi
call fcn.0040f7f1
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], eax
cmp ecx, dword [ebx]
jne 0x40edbb
movzx ecx, si
cmp dword [eax + 0xc], ecx
jne 0x40edbb
cmp byte [eax + 0x10], 0
je 0x40edcf
inc dword [ebp - 0x10]
mov ecx, edi
call fcn.0040f7d1
cmp dword [ebp - 0x10], eax
jl 0x40ed99
jmp 0x40f280
mov esi, dword [ebp - 0x18]
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x3c], 0x18
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
push edx
call dword [eax + 0x11c]
jmp 0x40f280
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x14]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x48], ecx
mov dword [ebx + 0x68], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x44], eax
mov dword [ebx + 0x6c], eax
call fcn.0040d63f
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40f280
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x40f280
mov ecx, ebx
call fcn.0040c17b
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x3c], 0x10
jmp 0x40f250
sub edi, 0x204
je 0x40f1e8
sub edi, 6
je 0x40f12e
sub edi, 0x97
je 0x40efd1
dec edi
dec edi
je 0x40ef96
sub edi, 0x75
je 0x40eedf
sub edi, 0x7ce9
jne 0x40f280
lea esi, [ebx + 0x114]
mov ecx, esi
call fcn.0040f7d1
test eax, eax
jle 0x40eed3
push edi
mov ecx, esi
call fcn.0040f7f1
test eax, eax
je 0x40eec7
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, esi
inc edi
call fcn.0040f7d1
cmp edi, eax
jl 0x40eeb3
mov ecx, esi
call fcn.0040f644
jmp 0x40f280
lea eax, [ebp - 0x2c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x74], eax
mov eax, dword [ecx]
push esi
call dword [eax + 0x12c]
test byte [ebp - 0x14], 0x10
je 0x40ef87
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40ef87
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 0x18], eax
and dword [ebp - 0x70], 0
xor eax, eax
lea edi, [ebp - 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x70]
push eax
push dword [ebx]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x6c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x70]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x18]
push esi
push 0x317
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x40ef25
push dword [ebp - 0x74]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x40f280
mov eax, dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40efb1
lea ecx, [ebx + 0x24]
push ecx
push 0
push 0x411
push eax
call esi
lea edi, [ebx + 0xc2]
cmp byte [edi], 0
je 0x40efc9
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx]
call esi
mov byte [edi], 0
jmp 0x40f280
mov eax, dword [ebp - 0x14]
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov ecx, ebx
mov byte [ebx + 0xc2], 0
mov dword [ebp - 0x44], eax
call fcn.0040d63f
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40f280
mov edx, dword [ebx + 0x5c]
test edx, edx
je 0x40f035
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xc
mov dword [ebp - 0x38], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5c]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
lea edx, [ebp]
push edx
call dword [eax + 0x98]
and dword [ebp - 4], 0
lea ecx, [ebp]
call fcn.0040f947
test al, al
je 0x40f065
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0040f822
jmp 0x40df9d
push 0x2c
pop edi
push edi
lea esi, [ebx + 0x24]
push 0
push esi
call fcn.00445b20
mov eax, dword [ebx]
mov dword [esi], edi
mov dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov eax, dword [0x475624]
add esp, 0xc
lea ecx, [ebp]
mov dword [ebx + 0x44], eax
call fcn.0040f7d5
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x48], eax
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp dword [ebx + 0x20], 0
lea edi, [ebx + 0x34]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x40f0f1
xor edi, edi
push edi
push dword [0x475624]
mov eax, SysReAllocString
push edi
push dword [ebx]
push eax
push eax
push eax
push eax
push SysStringLen
push edi
push str.tooltips_class32
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [ebx + 0x24]
push ecx
push edi
push 0x432
push eax
mov dword [ebx + 0x20], eax
call esi
jmp 0x40f0f3
xor edi, edi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
push edi
push 0x418
push dword [ebx + 0x20]
call esi
lea eax, [ebx + 0x24]
push eax
push edi
push 0x436
push dword [ebx + 0x20]
call esi
lea eax, [ebx + 0x24]
push eax
push 1
push 0x411
push dword [ebx + 0x20]
call esi
jmp 0x40f054
movsx eax, word [ebp - 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x10
cwde
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x78]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x78]
push ecx
mov dword [ebx + 0x6c], ecx
push eax
mov ecx, ebx
mov dword [ebx + 0x68], eax
call fcn.0040d63f
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40f280
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x40f280
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
xor eax, eax
shr esi, 0x10
test si, si
setl al
mov dword [ebp - 0x3c], 0x12
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
call fcn.0040b6d6
mov word [ebp - 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
movzx eax, word [ebx + 0x6c]
movzx ecx, word [ebx + 0x68]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40f280
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x14]
movsx eax, word [ebp - 0x14]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x44], ecx
mov dword [ebx + 0x6c], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x48], eax
mov dword [ebx + 0x68], eax
call fcn.0040d63f
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40f280
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x40f280
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 0xfc]
mov ecx, ebx
call fcn.0040c17b
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x26], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x11c]
mov dword [ebx + 0x60], edi
mov ecx, dword [ebp - 0x4c]
push 0
call fcn.0040f7d8
mov edi, eax
test edi, edi
je 0x40f309
add ebx, 0xd8
mov ecx, dword [ebp - 0x4c]
push 0
call fcn.0040f776
lea esi, [edi + 0x108]
mov eax, dword [esi]
test eax, eax
je 0x40f2c3
lea ecx, [eax + 0x34]
call fcn.0041d47a
test al, al
je 0x40f2c3
mov ecx, dword [esi]
push edi
add ecx, 0x34
call fcn.0041d4d6
mov ecx, ebx
xor esi, esi
call fcn.0040f7d1
test eax, eax
jle 0x40f2eb
push esi
mov ecx, ebx
call fcn.0040f7f1
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx]
mov ecx, ebx
inc esi
call fcn.0040f7d1
cmp esi, eax
jl 0x40f2d0
mov ecx, edi
call fcn.0040b729
push edi
call fcn.00443850
pop ecx
mov ecx, dword [ebp - 0x4c]
push 0
call fcn.0040f7d8
mov edi, eax
test edi, edi
jne 0x40f296
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.004437f0
add ebp, 0x108
leave
ret 0x10