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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582b0f
mov eax, dword fs:[0]
push eax
sub esp, 0x578
push esi
push edi
push ecx
lea edi, [ebp - 0x584]
mov ecx, 0x15e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x5ddc34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x4078c3
xor al, al
jmp 0x409efa
mov dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x100
call fcn.00403620
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4079d0
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x100
call fcn.00403500
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x108], 0
je 0x407930
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x108]
add ecx, 0x34
call fcn.004324d0
movzx eax, al
test eax, eax
je 0x407930
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x108]
add ecx, 0x34
call fcn.004327b0
mov dword [ebp - 0x1c], 0
jmp 0x407942
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xb8
call fcn.004035e0
cmp dword [ebp - 0x1c], eax
jge 0x40798e
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xb8
call fcn.00403660
mov dword [ebp - 0x568], eax
mov esi, esp
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x568]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x568]
mov eax, dword [edx]
call eax
cmp esi, esp
call fcn.004f4cf0
jmp 0x407939
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x550], ecx
mov edx, dword [ebp - 0x550]
mov dword [ebp - 0x54c], edx
cmp dword [ebp - 0x54c], 0
je 0x4079c1
push 1
mov ecx, dword [ebp - 0x54c]
call fcn.0040eb80
mov dword [ebp - 0x56c], eax
jmp 0x4079cb
mov dword [ebp - 0x56c], 0
jmp 0x4078ca
mov dword [ebp - 0x20], 0
jmp 0x4079e2
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xdc
call fcn.004035e0
cmp dword [ebp - 0x20], eax
jge 0x407a58
mov byte [ebp - 0x25], 0
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xdc
call fcn.00403660
mov dword [ebp - 0x570], eax
mov esi, esp
lea edx, [ebp - 0x25]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x570]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x570]
mov eax, dword [edx]
call eax
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x30], eax
movzx ecx, byte [ebp - 0x25]
test ecx, ecx
je 0x407a56
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov al, 1
jmp 0x409efa
jmp 0x4079d9
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x574], ecx
cmp dword [ebp - 0x574], 0x111
ja 0x407ab0
cmp dword [ebp - 0x574], 0x111
je 0x409d4d
mov edx, dword [ebp - 0x574]
sub edx, 5
mov dword [ebp - 0x574], edx
cmp dword [ebp - 0x574], 0xfd
ja case.default.0x407b42
mov eax, dword [ebp - 0x574]
movzx ecx, byte [eax + 0x40a1d8]
jmp dword [ecx*4 + 0x40a1a8]
cmp dword [ebp - 0x574], 0x200
ja 0x407b01
cmp dword [ebp - 0x574], 0x200
je 0x408d99
cmp dword [ebp - 0x574], 0x113
je 0x4088e7
cmp dword [ebp - 0x574], 0x133
je 0x409d97
cmp dword [ebp - 0x574], 0x138
je 0x409d97
jmp case.default.0x407b42
cmp dword [ebp - 0x574], 0x20a
ja 0x407b49
cmp dword [ebp - 0x574], 0x20a
je 0x40978d
mov edx, dword [ebp - 0x574]
sub edx, 0x201
mov dword [ebp - 0x574], edx
cmp dword [ebp - 0x574], 3
ja case.default.0x407b42
mov eax, dword [ebp - 0x574]
jmp dword [eax*4 + 0x40a2d8]
cmp dword [ebp - 0x574], 0x318
ja 0x407b8a
cmp dword [ebp - 0x574], 0x318
je 0x408636
cmp dword [ebp - 0x574], 0x2a1
je 0x408a20
cmp dword [ebp - 0x574], 0x2a3
je 0x408d31
jmp case.default.0x407b42
cmp dword [ebp - 0x574], 0x8001
je 0x407b9b
jmp case.default.0x407b42
mov dword [ebp - 0x34], 0
jmp 0x407bad
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xf4
call fcn.004035e0
cmp dword [ebp - 0x34], eax
jge 0x407c1e
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0xf4
call fcn.00403660
mov dword [ebp - 0x558], eax
mov eax, dword [ebp - 0x558]
mov dword [ebp - 0x554], eax
cmp dword [ebp - 0x554], 0
je 0x407c12
mov esi, esp
push 1
mov ecx, dword [ebp - 0x554]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x554]
mov eax, dword [edx]
call eax
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x578], eax
jmp 0x407c1c
mov dword [ebp - 0x578], 0
jmp 0x407ba4
mov ecx, dword [ebp - 0x14]
add ecx, 0xf4
call fcn.00403200
jmp case.default.0x407b42
mov dword [ebp - 0x58], 0
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x64]
mov ecx, dword [edx + 0x68]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x58], 0
je 0x407cae
mov dword [ebp - 0x58], 0xa
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0x54], ecx
mov esi, esp
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x58]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x58]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x5c], 0
je 0x407cea
mov dword [ebp - 0x58], 0xe
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x5c]
mov dword [ebp - 0x54], eax
mov esi, esp
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x5c]
mov edx, dword [eax]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0040abd0
mov esi, esp
push 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_GetWindow]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x407d27
mov esi, esp
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, esp
call fcn.004f4cf0
jmp case.default.0x407b42
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 1
mov al, 1
jmp 0x409efa
mov dword [ebp - 0x74], 0
xor edx, edx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], edx
mov esi, esp
push 0
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_GetUpdateRect]
cmp esi, esp
call fcn.004f4cf0
test eax, eax
jne 0x407d74
mov al, 1
jmp 0x409efa
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x50], 0
jne 0x407dd9
mov dword [ebp - 0xbc], 0
push 0x3c
push 0
lea ecx, [ebp - 0xb8]
push ecx
call fcn.004f6010
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
lea edx, [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
cmp esi, esp
call fcn.004f4cf0
mov al, 1
jmp 0x409efa
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0xb1]
test eax, eax
je 0x408020
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0xb1], 0
mov dword [ebp - 0xd4], 0
xor edx, edx
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xc8], edx
mov esi, esp
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
cmp esi, esp
call fcn.004f4cf0
test eax, eax
jne 0x408020
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x50]
call fcn.004282d0
movzx edx, al
test edx, edx
je 0x407f52
mov esi, esp
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0xd4]
mov dword [eax], ecx
mov edx, dword [ebp - 0xd0]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xcc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xc8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x50]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x50]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0xc], 0
je 0x407ec8
mov esi, esp
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x10], 0
je 0x407ee7
mov esi, esp
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 0
je 0x407f06
mov esi, esp
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x18], 0
je 0x407f25
mov esi, esp
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x18], 0
jmp 0x407fee
mov dword [ebp - 0xdc], 0
mov esi, esp
push SysReAllocString
push 0
push 0x40e480
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x50]
mov edx, dword [eax]
mov eax, dword [edx + 0xfc]
call eax
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x407fee
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx]
mov esi, esp
mov ecx, dword [ebp - 0xdc]
mov eax, dword [edx + 0x30]
call eax
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xdc]
mov eax, dword [edx + 0x34]
call eax
cmp esi, esp
call fcn.004f4cf0
jmp 0x407f5c
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0xb0]
test edx, edx
je 0x408020
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xb0], 0
push 0
push 0
push 0
push str.windowinit
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x50]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0040bb80
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0xb2]
test ecx, ecx
je 0x408038
push 1
mov ecx, dword [ebp - 0x14]
call fcn.0040b550
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0xb3]
test eax, eax
je 0x408137
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 0
jne 0x408137
mov dword [ebp - 0xf0], 0
xor edx, edx
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xe4], edx
mov esi, esp
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp esi, esp
call fcn.004f4cf0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xe4]
sub eax, dword [ebp - 0xec]
mov esi, esp
push eax
mov ecx, dword [ebp - 0xe8]
sub ecx, dword [ebp - 0xf0]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0xc], 0
jne 0x40810d
push str.m_hDcOffscreen
push 0
push 0x28e
push 0x596444
push 2
call fcn.004fc9a0
add esp, 0x14
cmp eax, 1
jne 0x40810d
int3
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 0
jne 0x408137
push str.m_hbmpOffscreen
push 0
push 0x28f
push 0x596490
push 2
call fcn.004fc9a0
add esp, 0x14
cmp eax, 1
jne 0x408137
int3
mov dword [ebp - 0x138], 0
push 0x3c
push 0
lea eax, [ebp - 0x134]
push eax
call fcn.004f6010
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0xb3]
test edx, edx
je 0x408586
mov esi, esp
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x140], eax
mov esi, esp
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.GDI32.dll_SaveDC]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0xb4]
test ecx, ecx
je 0x4083ac
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x18], 0
jne 0x408337
mov dword [ebp - 0x158], 0
xor eax, eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
mov esi, esp
lea ecx, [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x14c]
sub edx, dword [ebp - 0x154]
mov esi, esp
push edx
mov eax, dword [ebp - 0x150]
sub eax, dword [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x10], 0
jne 0x408296
push str.m_hDcBackground
push 0
push 0x29e
push 0x5964dc
push 2
call fcn.004fc9a0
add esp, 0x14
cmp eax, 1
jne 0x408296
int3
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x18], 0
jne 0x4082c0
push str.m_hbmpBackground
push 0
push 0x29f
push 0x59652c
push 2
call fcn.004fc9a0
add esp, 0x14
cmp eax, 1
jne 0x4082c0
int3
mov esi, esp
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
push 0xcc0020
mov ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x124]
sub ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x128]
sub edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp esi, esp
call fcn.004f4cf0
jmp 0x408354
mov esi, esp
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
push 0xcc0020
mov edx, dword [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x124]
sub eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x128]
sub ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x50]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x50]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x118]
call eax
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x160], 0
jmp 0x4083f6
mov ecx, dword [ebp - 0x160]
add ecx, 1
mov dword [ebp - 0x160], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xe8
call fcn.004035e0
cmp dword [ebp - 0x160], eax
jge 0x408456
mov edx, dword [ebp - 0x160]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0xe8
call fcn.00403660
mov dword [ebp - 0x164], eax
mov esi, esp
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x164]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x164]
mov eax, dword [edx + 0x130]
call eax
cmp esi, esp
call fcn.004f4cf0
jmp 0x4083e7
mov esi, esp
mov ecx, dword [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
push 0xcc0020
mov ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x124]
sub edx, dword [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x128]
sub eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
mov ecx, dword [ebp - 0x140]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x4c]
test edx, edx
je 0x408584
mov esi, esp
mov eax, dword [0x5e6de8]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x168], eax
mov esi, esp
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
push eax
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.004f4cf0
jmp 0x4085ec
mov esi, esp
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.GDI32.dll_SaveDC]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x16c], eax
mov esi, esp
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x50]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x50]
mov edx, dword [edx]
mov eax, dword [edx + 0x118]
call eax
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
mov ecx, dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_EndPaint]
cmp esi, esp
call fcn.004f4cf0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0xb1]
test ecx, ecx
je 0x40862f
mov esi, esp
push 0
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp esi, esp
call fcn.004f4cf0
mov al, 1
jmp 0x409efa
mov esi, esp
lea ecx, [ebp - 0x180]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x188], ecx
mov esi, esp
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.GDI32.dll_SaveDC]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x18c], eax
mov esi, esp
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x188]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x50]
mov edx, dword [eax]
mov eax, dword [edx + 0x118]
call eax
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp + 0x10]
and ecx, 0x10
je 0x4087a8
mov esi, esp
push 5
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0
je 0x4087a8
mov dword [ebp - 0x1a4], 0
xor ecx, ecx
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x198], ecx
mov esi, esp
lea edx, [ebp - 0x1a4]
push edx
mov eax, dword [ebp - 0x190]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
push 2
lea ecx, [ebp - 0x1a4]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
push 0
mov ecx, dword [ebp - 0x1a0]
neg ecx
push ecx
mov edx, dword [ebp - 0x1a4]
neg edx
push edx
mov eax, dword [ebp - 0x188]
push eax
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp + 0x10]
or ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x317
mov eax, dword [ebp - 0x190]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
push 2
mov ecx, dword [ebp - 0x190]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x190], eax
jmp 0x4086cd
mov esi, esp
mov edx, dword [ebp - 0x18c]
push edx
mov eax, dword [ebp - 0x188]
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp esi, esp
call fcn.004f4cf0
jmp case.default.0x407b42
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1ac], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x6c], 0
jle 0x4087eb
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x6c]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x70], 0
jle 0x408803
mov ecx, dword [ebp - 0x1ac]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x70]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x74], 0
jle 0x40881b
mov edx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x74]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x78], 0
jle 0x408833
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x78]
mov dword [eax + 0x24], edx
jmp case.default.0x407b42
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x54], 0
je 0x4088cc
mov dword [ebp - 0x1d0], 0
xor ecx, ecx
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x1d0], 0x16
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x54]
mov dword [ebp - 0x1cc], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x1c8], eax
mov esi, esp
lea ecx, [ebp - 0x1d0]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x54]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x54]
mov edx, dword [eax]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x50], 0
je 0x4088e0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x50]
call fcn.004282f0
mov al, 1
jmp 0x409efa
mov dword [ebp - 0x1d8], 0
jmp 0x408902
mov eax, dword [ebp - 0x1d8]
add eax, 1
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xc4
call fcn.004035e0
cmp dword [ebp - 0x1d8], eax
jge 0x408a1b
mov ecx, dword [ebp - 0x1d8]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xc4
call fcn.00403660
mov dword [ebp - 0x1dc], eax
mov edx, dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 8]
cmp ecx, dword [eax]
jne 0x408a16
mov edx, dword [ebp + 0xc]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x1dc]
cmp dword [ecx + 0xc], eax
jne 0x408a16
mov edx, dword [ebp - 0x1dc]
movzx eax, byte [edx + 0x10]
test eax, eax
jne 0x408a16
mov dword [ebp - 0x200], 0
xor ecx, ecx
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x1f8], ecx
mov dword [ebp - 0x1f4], ecx
mov dword [ebp - 0x1f0], ecx
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x200], 0x18
mov edx, dword [ebp - 0x1dc]
mov eax, dword [edx]
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x1dc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x1e8], edx
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x1f8], eax
mov esi, esp
lea eax, [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x1dc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1dc]
mov ecx, dword [eax]
mov edx, dword [edx]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
jmp 0x408a1b
jmp 0x4088f3
jmp case.default.0x407b42
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0xb5], 0
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x20c], edx
mov eax, dword [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0040ddf0
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x408a7b
jmp case.default.0x407b42
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x58], 0
je 0x408b29
mov dword [ebp - 0x23c], 0
xor eax, eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x20c]
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x23c], 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0x238], ecx
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x234], eax
mov esi, esp
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x58]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x58]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
lea ecx, [ebp - 0x2c8]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x218]
mov edx, dword [eax + 0x98]
call edx
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c8]
call fcn.00403e40
movzx eax, al
test eax, eax
je 0x408b8c
mov byte [ebp - 0x559], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c8]
call fcn.00403bb0
mov al, byte [ebp - 0x559]
jmp 0x409efa
push 0x2c
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
push ecx
call fcn.004f6010
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x20], 0x2c
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x5e6dec]
mov dword [ecx + 0x40], edx
lea ecx, [ebp - 0x2c8]
call fcn.00403c20
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp - 0x218]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 0x218]
mov edx, dword [eax + 0x30]
call edx
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x1c], 0
jne 0x408c93
mov esi, esp
push 0
mov edx, dword [0x5e6dec]
push edx
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysStringLen
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp esi, esp
call fcn.004f4cf0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x14]
add eax, 0x20
mov esi, esp
push eax
push 0
push 0x432
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004f4cf0
mov eax, dword [ebp - 0x218]
mov edx, dword [eax]
mov esi, esp
mov ecx, dword [ebp - 0x218]
mov eax, dword [edx + 0xa4]
call eax
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
push eax
push 0
push 0x418
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004f4cf0
mov eax, dword [ebp - 0x14]
add eax, 0x20
mov esi, esp
push eax
push 0
push 0x436
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004f4cf0
mov eax, dword [ebp - 0x14]
add eax, 0x20
mov esi, esp
push eax
push 1
push 0x411
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c8]
call fcn.00403bb0
mov al, 1
jmp 0x409efa
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1c], 0
je 0x408d5e
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
mov esi, esp
push ecx
push 0
push 0x411
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0xb5]
test edx, edx
je 0x408d8a
mov esi, esp
push 0xffffffffffffffff
push 0
push 0x200
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004f4cf0
mov edx, dword [ebp - 0x14]
mov byte [edx + 0xb5], 0
jmp case.default.0x407b42
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0xb5]
test ecx, ecx
jne 0x408e4e
mov dword [ebp - 0x2e0], 0
xor edx, edx
mov dword [ebp - 0x2dc], edx
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x2d4], edx
mov dword [ebp - 0x2e0], 0x10
mov dword [ebp - 0x2dc], 3
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x2d8], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x1c], 0
jne 0x408dfd
mov dword [ebp - 0x57c], 0x190
jmp 0x408e22
mov esi, esp
push 0
push 3
push 0x415
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x57c], eax
mov edx, dword [ebp - 0x57c]
mov dword [ebp - 0x2d4], edx
mov esi, esp
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0xb5], 1
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x2ec], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2f0]
mov dword [eax + 0x64], ecx
mov edx, dword [ebp - 0x2ec]
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 0x2ec]
push eax
mov ecx, dword [ebp - 0x2f0]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0040ddf0
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
je 0x408ed5
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [eax + 0x1c]
call edx
cmp esi, esp
call fcn.004f4cf0
cmp eax, dword [ebp - 0x14]
je 0x408ed5
jmp case.default.0x407b42
mov dword [ebp - 0x31c], 0
xor eax, eax
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x2f0]
mov dword [ebp - 0x310], ecx
mov edx, dword [ebp - 0x2ec]
mov dword [ebp - 0x30c], edx
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2f8]
cmp ecx, dword [eax + 0x58]
je 0x408fc4
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x58], 0
je 0x408fc4
mov dword [ebp - 0x31c], 0xa
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0x318], ecx
mov esi, esp
lea edx, [ebp - 0x31c]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x58]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x58]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x58], 0
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x1c], 0
je 0x408fc4
mov eax, dword [ebp - 0x14]
add eax, 0x20
mov esi, esp
push eax
push 0
push 0x411
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004f4cf0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2f8]
cmp ecx, dword [eax + 0x58]
je 0x409023
cmp dword [ebp - 0x2f8], 0
je 0x409023
mov dword [ebp - 0x31c], 0xb
mov edx, dword [ebp - 0x2f8]
mov dword [ebp - 0x318], edx
mov esi, esp
lea eax, [ebp - 0x31c]
push eax
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2f8]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2f8]
mov dword [ecx + 0x58], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x5c], 0
je 0x40906a
mov dword [ebp - 0x31c], 9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x5c]
mov dword [ebp - 0x318], edx
mov esi, esp
lea eax, [ebp - 0x31c]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x5c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x5c]
mov edx, dword [edx]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
jmp 0x4090af
cmp dword [ebp - 0x2f8], 0
je 0x4090af
mov dword [ebp - 0x31c], 9
mov ecx, dword [ebp - 0x2f8]
mov dword [ebp - 0x318], ecx
mov esi, esp
lea edx, [ebp - 0x31c]
push edx
mov eax, dword [ebp - 0x2f8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2f8]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
jmp case.default.0x407b42
mov esi, esp
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, esp
call fcn.004f4cf0
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x32c], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x328], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x32c]
mov dword [ecx + 0x64], edx
mov eax, dword [ebp - 0x328]
mov dword [ecx + 0x68], eax
mov ecx, dword [ebp - 0x328]
push ecx
mov edx, dword [ebp - 0x32c]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0040ddf0
mov dword [ebp - 0x334], eax
cmp dword [ebp - 0x334], 0
jne 0x40912e
jmp case.default.0x407b42
mov eax, dword [ebp - 0x334]
mov edx, dword [eax]
mov esi, esp
mov ecx, dword [ebp - 0x334]
mov eax, dword [edx + 0x1c]
call eax
cmp esi, esp
call fcn.004f4cf0
cmp eax, dword [ebp - 0x14]
je 0x409154
jmp case.default.0x407b42
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x334]
mov dword [ecx + 0x5c], edx
mov eax, dword [ebp - 0x334]
mov edx, dword [eax]
mov esi, esp
mov ecx, dword [ebp - 0x334]
mov eax, dword [edx + 0xf0]
call eax
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
call fcn.0040b4b0
mov dword [ebp - 0x358], 0
xor ecx, ecx
mov dword [ebp - 0x354], ecx
mov dword [ebp - 0x350], ecx
mov dword [ebp - 0x34c], ecx
mov dword [ebp - 0x348], ecx
mov dword [ebp - 0x344], ecx
mov dword [ebp - 0x340], ecx
mov dword [ebp - 0x33c], ecx
mov dword [ebp - 0x358], 0xd
mov edx, dword [ebp - 0x334]
mov dword [ebp - 0x354], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x33c], ecx
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x34c], edx
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x348], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x342], cx
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x350], eax
mov esi, esp
lea edx, [ebp - 0x358]
push edx
mov eax, dword [ebp - 0x334]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x334]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
jmp case.default.0x407b42
mov esi, esp
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, esp
call fcn.004f4cf0
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x368], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x364], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x368]
mov dword [ecx + 0x64], edx
mov eax, dword [ebp - 0x364]
mov dword [ecx + 0x68], eax
mov ecx, dword [ebp - 0x364]
push ecx
mov edx, dword [ebp - 0x368]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0040ddf0
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x370], 0
jne 0x4092c2
jmp case.default.0x407b42
mov eax, dword [ebp - 0x370]
mov edx, dword [eax]
mov esi, esp
mov ecx, dword [ebp - 0x370]
mov eax, dword [edx + 0x1c]
call eax
cmp esi, esp
call fcn.004f4cf0
cmp eax, dword [ebp - 0x14]
je 0x4092e8
jmp case.default.0x407b42
mov ecx, dword [ebp - 0x14]
call fcn.0040b4b0
mov dword [ebp - 0x394], 0
xor ecx, ecx
mov dword [ebp - 0x390], ecx
mov dword [ebp - 0x38c], ecx
mov dword [ebp - 0x388], ecx
mov dword [ebp - 0x384], ecx
mov dword [ebp - 0x380], ecx
mov dword [ebp - 0x37c], ecx
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x394], 0x10
mov edx, dword [ebp - 0x370]
mov dword [ebp - 0x390], edx
mov eax, dword [ebp - 0x368]
mov dword [ebp - 0x388], eax
mov ecx, dword [ebp - 0x364]
mov dword [ebp - 0x384], ecx
mov dx, word [ebp + 0xc]
mov word [ebp - 0x37e], dx
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x38c], eax
mov esi, esp
lea eax, [ebp - 0x394]
push eax
mov ecx, dword [ebp - 0x370]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x370]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x370]
mov dword [ecx + 0x5c], edx
jmp case.default.0x407b42
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x3a4], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x3a0], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3a4]
mov dword [ecx + 0x64], edx
mov eax, dword [ebp - 0x3a0]
mov dword [ecx + 0x68], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x5c], 0
jne 0x4093f4
jmp case.default.0x407b42
mov ecx, dword [ebp - 0x14]
call fcn.0040b4f0
mov dword [ebp - 0x3cc], 0
xor edx, edx
mov dword [ebp - 0x3c8], edx
mov dword [ebp - 0x3c4], edx
mov dword [ebp - 0x3c0], edx
mov dword [ebp - 0x3bc], edx
mov dword [ebp - 0x3b8], edx
mov dword [ebp - 0x3b4], edx
mov dword [ebp - 0x3b0], edx
mov dword [ebp - 0x3cc], 0xe
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x3c8], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x3b4], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3b0], eax
mov ecx, dword [ebp - 0x3a4]
mov dword [ebp - 0x3c0], ecx
mov edx, dword [ebp - 0x3a0]
mov dword [ebp - 0x3bc], edx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x3b6], ax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x3c4], eax
mov esi, esp
lea ecx, [ebp - 0x3cc]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x5c]
mov edx, dword [eax]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x5c], 0
jmp case.default.0x407b42
mov esi, esp
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x3dc], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x3d8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3dc]
mov dword [edx + 0x64], eax
mov ecx, dword [ebp - 0x3d8]
mov dword [edx + 0x68], ecx
mov edx, dword [ebp - 0x3d8]
push edx
mov eax, dword [ebp - 0x3dc]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0040ddf0
mov dword [ebp - 0x3e4], eax
cmp dword [ebp - 0x3e4], 0
jne 0x409541
jmp case.default.0x407b42
mov ecx, dword [ebp - 0x3e4]
mov edx, dword [ecx]
mov esi, esp
mov ecx, dword [ebp - 0x3e4]
mov eax, dword [edx + 0x1c]
call eax
cmp esi, esp
call fcn.004f4cf0
cmp eax, dword [ebp - 0x14]
je 0x409567
jmp case.default.0x407b42
mov ecx, dword [ebp - 0x3e4]
mov edx, dword [ecx]
mov esi, esp
mov ecx, dword [ebp - 0x3e4]
mov eax, dword [edx + 0xf0]
call eax
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
call fcn.0040b4b0
mov dword [ebp - 0x408], 0
xor ecx, ecx
mov dword [ebp - 0x404], ecx
mov dword [ebp - 0x400], ecx
mov dword [ebp - 0x3fc], ecx
mov dword [ebp - 0x3f8], ecx
mov dword [ebp - 0x3f4], ecx
mov dword [ebp - 0x3f0], ecx
mov dword [ebp - 0x3ec], ecx
mov dword [ebp - 0x408], 0xf
mov edx, dword [ebp - 0x3e4]
mov dword [ebp - 0x404], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3f0], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x3ec], ecx
mov edx, dword [ebp - 0x3dc]
mov dword [ebp - 0x3fc], edx
mov eax, dword [ebp - 0x3d8]
mov dword [ebp - 0x3f8], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x3f2], cx
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x400], eax
mov esi, esp
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp - 0x3e4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3e4]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3e4]
mov dword [ecx + 0x5c], edx
jmp case.default.0x407b42
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x418], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x414], eax
mov esi, esp
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x418]
mov dword [ecx + 0x64], edx
mov eax, dword [ebp - 0x414]
mov dword [ecx + 0x68], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x5c], 0
jne 0x4096c0
jmp case.default.0x407b42
mov ecx, dword [ebp - 0x14]
call fcn.0040b4f0
mov dword [ebp - 0x440], 0
xor edx, edx
mov dword [ebp - 0x43c], edx
mov dword [ebp - 0x438], edx
mov dword [ebp - 0x434], edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x440], 0x11
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x43c], ecx
mov edx, dword [ebp - 0x418]
mov dword [ebp - 0x434], edx
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x430], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x42a], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x5c]
mov dword [ebp - 0x424], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x438], eax
mov esi, esp
lea ecx, [ebp - 0x440]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x5c]
mov edx, dword [eax]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x5c], 0
jmp case.default.0x407b42
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x44c], edx
mov esi, esp
lea eax, [ebp - 0x450]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp esi, esp
call fcn.004f4cf0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x450]
mov dword [eax + 0x64], ecx
mov edx, dword [ebp - 0x44c]
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x450]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0040ddf0
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0
jne 0x40980f
jmp case.default.0x407b42
mov edx, dword [ebp - 0x458]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 0x458]
mov edx, dword [eax + 0x1c]
call edx
cmp esi, esp
call fcn.004f4cf0
cmp eax, dword [ebp - 0x14]
je 0x409835
jmp case.default.0x407b42
mov eax, dword [ebp + 0xc]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x45c], ecx
mov dword [ebp - 0x480], 0
xor edx, edx
mov dword [ebp - 0x47c], edx
mov dword [ebp - 0x478], edx
mov dword [ebp - 0x474], edx
mov dword [ebp - 0x470], edx
mov dword [ebp - 0x46c], edx
mov dword [ebp - 0x468], edx
mov dword [ebp - 0x464], edx
mov dword [ebp - 0x480], 0x12
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x47c], eax
xor ecx, ecx
cmp dword [ebp - 0x45c], 0
setl cl
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x468], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x464], eax
call fcn.004077a0
mov word [ebp - 0x46a], ax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x478], eax
mov esi, esp
lea ecx, [ebp - 0x480]
push ecx
mov edx, dword [ebp - 0x458]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x458]
mov edx, dword [eax + 0x108]
call edx
cmp esi, esp
call fcn.004f4cf0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x64]
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x68]
and ecx, 0xffff
movzx eax, cx
shl eax, 0x10
or edx, eax
mov esi, esp
push edx
push 0
push 0x200
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004f4cf0
jmp case.default.0x407b42
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x54], 0
jne 0x409953
jmp case.default.0x407b42
mov dword [ebp - 0x4a8], 0
xor ecx, ecx
mov dword [ebp - 0x4a4], ecx
mov dword [ebp - 0x4a0], ecx
mov dword [ebp - 0x49c], ecx
mov dword [ebp - 0x498], ecx
mov dword [ebp - 0x494], ecx
mov dword [ebp - 0x490], ecx
mov dword [ebp - 0x48c], ecx
mov dword [ebp - 0x4a8], 5
mov dx, word [ebp + 0xc]
mov word [ebp - 0x494], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x68]
mov dword [ebp - 0x49c], ecx
mov dword [ebp - 0x498], edx
call fcn.004077a0
mov word [ebp - 0x492], ax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x4a0], eax
mov esi, esp
lea eax, [ebp - 0x4a8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x54]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x54]
mov edx, dword [edx]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
jmp case.default.0x407b42
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x54], 0
jne 0x409a0d
jmp case.default.0x407b42
mov dword [ebp - 0x4d0], 0
xor edx, edx
mov dword [ebp - 0x4cc], edx
mov dword [ebp - 0x4c8], edx
mov dword [ebp - 0x4c4], edx
mov dword [ebp - 0x4c0], edx
mov dword [ebp - 0x4bc], edx
mov dword [ebp - 0x4b8], edx
mov dword [ebp - 0x4b4], edx
mov dword [ebp - 0x4d0], 3
mov ax, word [ebp + 0xc]
mov word [ebp - 0x4bc], ax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x64]
mov eax, dword [ecx + 0x68]
mov dword [ebp - 0x4c4], edx
mov dword [ebp - 0x4c0], eax
call fcn.004077a0
mov word [ebp - 0x4ba], ax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x4c8], eax
mov esi, esp
lea ecx, [ebp - 0x4d0]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x54]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x54]
mov edx, dword [eax]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x54]
mov dword [ecx + 0x60], eax
jmp case.default.0x407b42
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x60], 0
jne 0x409ad3
jmp case.default.0x407b42
mov dword [ebp - 0x4f8], 0
xor edx, edx
mov dword [ebp - 0x4f4], edx
mov dword [ebp - 0x4f0], edx
mov dword [ebp - 0x4ec], edx
mov dword [ebp - 0x4e8], edx
mov dword [ebp - 0x4e4], edx
mov dword [ebp - 0x4e0], edx
mov dword [ebp - 0x4dc], edx
mov dword [ebp - 0x4f8], 4
mov ax, word [ebp + 0xc]
mov word [ebp - 0x4e4], ax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x64]
mov eax, dword [ecx + 0x68]
mov dword [ebp - 0x4ec], edx
mov dword [ebp - 0x4e8], eax
call fcn.004077a0
mov word [ebp - 0x4e2], ax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x4f0], eax
mov esi, esp
lea ecx, [ebp - 0x4f8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x60]
mov edx, dword [eax]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x60], 0
jmp case.default.0x407b42
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movzx eax, dx
cmp eax, 1
je 0x409b9f
jmp case.default.0x407b42
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0xb6]
test edx, edx
je 0x409bb4
mov al, 1
jmp 0x409efa
mov dword [ebp - 0x508], 0
xor eax, eax
mov dword [ebp - 0x504], eax
mov esi, esp
lea ecx, [ebp - 0x508]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp esi, esp
call fcn.004f4cf0
mov esi, esp
lea edx, [ebp - 0x508]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp esi, esp
call fcn.004f4cf0
mov edx, dword [ebp - 0x504]
push edx
mov eax, dword [ebp - 0x508]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0040ddf0
mov dword [ebp - 0x510], eax
cmp dword [ebp - 0x510], 0
jne 0x409c22
jmp case.default.0x407b42
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx]
mov esi, esp
mov ecx, dword [ebp - 0x510]
mov eax, dword [edx + 0x14]
call eax
cmp esi, esp
call fcn.004f4cf0
and eax, 2
jne 0x409c48
jmp case.default.0x407b42
mov dword [ebp - 0x534], 0
xor ecx, ecx
mov dword [ebp - 0x530], ecx
mov dword [ebp - 0x52c], ecx
mov dword [ebp - 0x528], ecx
mov dword [ebp - 0x524], ecx
mov dword [ebp - 0x520], ecx
mov dword [ebp - 0x51c], ecx
mov dword [ebp - 0x518], ecx
mov dword [ebp - 0x534], 0x17
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x51c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x518], eax
mov ecx, dword [ebp - 0x508]
mov dword [ebp - 0x528], ecx
mov edx, dword [ebp - 0x504]
mov dword [ebp - 0x524], edx
call fcn.004077a0
mov word [ebp - 0x51e], ax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x52c], eax
mov esi, esp
lea eax, [ebp - 0x534]
push eax
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x510]
mov eax, dword [edx + 0x108]
call eax
cmp esi, esp
call fcn.004f4cf0
mov al, 1
jmp 0x409efa
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x53c], ecx
cmp dword [ebp - 0x53c], 0
je 0x409d41
mov esi, esp
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x2000
push ecx
mov edx, dword [ebp - 0x53c]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov al, 1
jmp 0x409efa
cmp dword [ebp + 0x10], 0
jne 0x409d58
jmp case.default.0x407b42
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x540], edx
mov esi, esp
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x2000
push edx
mov eax, dword [ebp - 0x540]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov al, 1
jmp 0x409efa
cmp dword [ebp + 0x10], 0
jne 0x409d9f
jmp case.default.0x407b42
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x544], edx
mov esi, esp
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x2000
push edx
mov eax, dword [ebp - 0x544]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004f4cf0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov al, 1
jmp 0x409efa
mov dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x100
call fcn.00403620
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x409ef8
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x100
call fcn.00403500
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x108], 0
je 0x409e49
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x108]
add ecx, 0x34
call fcn.004324d0
movzx ecx, al
test ecx, ecx
je 0x409e49
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x108]
add ecx, 0x34
call fcn.004327b0
mov dword [ebp - 0x548], 0
jmp 0x409e64
mov ecx, dword [ebp - 0x548]
add ecx, 1
mov dword [ebp - 0x548], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xb8
call fcn.004035e0
cmp dword [ebp - 0x548], eax
jge 0x409eb6
mov edx, dword [ebp - 0x548]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0xb8
call fcn.00403660
mov dword [ebp - 0x580], eax
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x580]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x580]
mov eax, dword [edx]
call eax
cmp esi, esp
call fcn.004f4cf0
jmp 0x409e55
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x564], ecx
mov edx, dword [ebp - 0x564]
mov dword [ebp - 0x560], edx
cmp dword [ebp - 0x560], 0
je 0x409ee9
push 1
mov ecx, dword [ebp - 0x560]
call fcn.0040eb80
mov dword [ebp - 0x584], eax
jmp 0x409ef3
mov dword [ebp - 0x584], 0
jmp 0x409de3
xor al, al
push edx
mov ecx, ebp
push eax
lea edx, [0x409f38]
call fcn.004f4c90
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f4d70
add esp, 0x584
cmp ebp, esp
call fcn.004f4cf0
mov esp, ebp
pop ebp
ret 0x10