Function at 0x40c5d0
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 0x52736b
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x581980]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x581980]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, ecx
cmp dword [ebx], 0
mov esi, edx
mov dword [esp + 0x18], eax
je 0x40ded6
jmp 0x40c630
cmp dword [ebx + 0x1f0], 0
jle 0x40c72c
mov ecx, dword [ebx + 0x1ec]
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
test eax, eax
je 0x40c72c
mov eax, dword [ebx + 0x1f0]
test eax, eax
jle 0x40c681
dec eax
mov dword [ebx + 0x1f0], eax
test eax, eax
jle 0x40c681
mov ecx, dword [ebx + 0x1ec]
lea edx, [eax*4]
push edx
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004f4d50
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 0x108]
test edi, edi
je 0x40c6c8
cmp dword [edi + 0x38], 0
jle 0x40c6c8
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [edi + 0x38], eax
jle 0x40c6c8
mov edx, dword [edi + 0x34]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x40c6be
mov eax, dword [ecx]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 8]
push edx
call eax
test al, al
je 0x40c6c8
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [edi + 0x38]
jl 0x40c6a0
xor edi, edi
cmp dword [ebx + 0x1a8], edi
jle 0x40c6ef
mov ecx, dword [ebx + 0x1a4]
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x20]
mov edx, dword [edx]
push eax
call edx
inc edi
cmp edi, dword [ebx + 0x1a8]
jl 0x40c6d2
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x84]
lea ecx, [edi + 0x88]
cmp eax, ecx
je 0x40c70c
push eax
call fcn.004f3161
add esp, 4
mov eax, dword [edi]
lea edx, [edi + 4]
cmp eax, edx
je 0x40c71e
push eax
call fcn.004f3161
add esp, 4
push edi
call fcn.004f287e
add esp, 4
jmp 0x40c630
xor edi, edi
cmp dword [ebx + 0x1cc], edi
jle 0x40c776
jmp 0x40c740
mov eax, dword [ebx + 0x1c8]
mov byte [esp + 0x1f], 0
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x1f]
push eax
mov eax, dword [ebp + 0xc]
push esi
push eax
mov eax, dword [ebp + 8]
push eax
call edx
cmp byte [esp + 0x1f], 0
jne 0x40d39b
inc edi
cmp edi, dword [ebx + 0x1cc]
jl 0x40c740
mov eax, dword [ebp + 8]
cmp eax, 0x111
ja 0x40d3ce
je 0x40d3a8
add eax, 0xfffffffb
cmp eax, 0xfd
ja case.0x40d3f6.276
movzx edx, byte [eax + 0x40df30]
jmp dword [edx*4 + 0x40df00]
mov ecx, dword [ebx + 0x154]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x150]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x144]
mov dword [esp + 0x54], eax
test ecx, ecx
je 0x40c80f
mov dword [esp + 0x4c], 0xa
mov dword [esp + 0x50], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x4c]
push eax
call edx
mov ecx, dword [ebx + 0x148]
test ecx, ecx
je 0x40c834
mov dword [esp + 0x4c], 0xe
mov dword [esp + 0x50], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x4c]
push edx
call eax
xor esi, esi
mov eax, ebx
call fcn.0040e790
mov ecx, dword [ebx]
push 4
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.0x40d3f6.276
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x40d3f6.276
mov edx, dword [esp + 0x18]
mov dword [edx], 1
mov al, 1
jmp 0x40ded8
mov ecx, dword [ebx]
xor eax, eax
xor esi, esi
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
push esi
lea eax, [esp + 0x110]
push eax
push ecx
mov dword [esp + 0x118], esi
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x40dc46
push 0x3c
push esi
cmp dword [ebx + 0x13c], esi
jne 0x40c8e6
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x78], esi
call fcn.004f50f0
mov ecx, dword [ebx]
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [ebx]
lea edx, [esp + 0x6c]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x40ded8
lea ecx, [esp + 0xb8]
push ecx
mov dword [esp + 0xb8], esi
call fcn.004f50f0
mov eax, dword [ebx]
add esp, 0xc
lea edx, [esp + 0xac]
push edx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x19d], 0
je 0x40ca73
mov edx, dword [ebx]
xor eax, eax
lea ecx, [esp + 0xec]
push ecx
push edx
mov byte [ebx + 0x19d], 0
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0xec]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x40ca73
mov ecx, dword [ebx + 0x13c]
cmp byte [ecx + 0x150], al
je 0x40c9e4
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40c9bb
mov esi, dword [esp + 0xec]
mov ecx, dword [ebx + 0x13c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x100]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x104]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x108]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x34]
call eax
mov eax, dword [ebx + 0xc]
xor esi, esi
cmp eax, esi
je 0x40c9cb
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x10]
cmp eax, esi
je 0x40c9d9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
jmp 0x40ca4d
mov edx, dword [ecx]
mov eax, dword [edx + 0xfc]
push SysReAllocString
push 0
push 0x40fff0
call eax
mov esi, eax
test esi, esi
je 0x40ca4d
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 + 0x13c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xfc]
push SysReAllocString
push 0
push 0x40fff0
call edx
mov esi, eax
test esi, esi
jne 0x40ca00
cmp byte [ebx + 0x19c], 0
je 0x40ca73
mov ecx, dword [ebx + 0x13c]
push 0
push 0
push str.windowinit
mov edi, ebx
mov byte [ebx + 0x19c], 0
call fcn.0040f190
cmp byte [ebx + 0x19e], 0
je 0x40cb22
cmp byte [ebx + 0x19d], 0
je 0x40caa2
mov eax, dword [ebx]
push 0
push 0
push eax
mov byte [ebx + 0x19e], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x40cb22
mov ecx, dword [ebx + 0x140]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0x13c]
push reloc.WS2_32.dll_closesocket
lea eax, [esp + 0x28]
mov byte [esp + 0x30], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push eax
push 0x40ff10
call edx
test eax, eax
jne 0x40cb12
mov ecx, dword [ebx + 0x13c]
mov dword [esp + 0x38], eax
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
lea edx, [esp + 0x34]
mov byte [esp + 0x3c], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0xfc]
push edx
push 0x40ff10
call eax
test eax, eax
je 0x40cb1b
mov esi, eax
mov eax, ebx
call fcn.0040e790
mov byte [ebx + 0x19e], 0
cmp byte [ebx + 0x1a0], 0
je 0x40cdcf
mov ecx, dword [ebx]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x40cb52
mov edx, dword [ebx]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebx]
xor eax, eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
lea eax, [esp + 0xec]
push eax
push ecx
mov dword [esp + 0xf4], 0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [ebx + 0x28], 0
jne 0x40cbbd
lea esi, [ebx + 0x18]
push esi
lea edx, [esp + 0x110]
push edx
mov eax, edx
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov edi, dword [esp + 0xf4]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov esi, dword [esp + 0xf8]
jmp 0x40cbf9
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xf0]
mov edi, dword [esp + 0xf4]
mov esi, dword [esp + 0xf8]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], edi
mov dword [esp + 0x118], esi
mov byte [ebx + 0x28], 0
sub edi, dword [esp + 0xec]
sub esi, dword [esp + 0xf0]
cmp byte [ebx + 0x19f], 0
je 0x40cc94
cmp dword [ebx + 0x10], 0
jne 0x40cc94
mov eax, dword [ebx + 8]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x2c
lea ecx, [esp + 0x70]
push 0
push ecx
mov dword [ebx + 0xc], eax
call fcn.004f50f0
mov ecx, dword [ebx + 8]
add esp, 0xc
xor eax, eax
mov edx, esi
imul esi, edi
push eax
neg edx
push eax
mov dword [esp + 0x7c], edx
lea edx, [ebx + 0x14]
push edx
push eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x7c]
add esi, esi
push eax
add esi, esi
push ecx
mov dword [esp + 0x84], 0x28
mov dword [esp + 0x88], edi
mov dword [esp + 0x90], 0x200001
mov dword [esp + 0x98], esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebx + 0x10], eax
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 0xc]
push ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov edx, dword [ebx + 0x14]
push edi
push edx
lea esi, [esp + 0x114]
mov dword [esp + 0x18], eax
call fcn.0042a6a0
mov ecx, dword [ebx + 0x13c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x118]
add esp, 8
mov edx, esi
push edx
mov edx, dword [ebx + 0xc]
push edx
call eax
mov ecx, dword [ebx + 0xc]
mov edx, esi
mov esi, ebx
call fcn.0040c2e0
xor esi, esi
cmp dword [ebx + 0x1d8], esi
jle 0x40cd1d
mov ecx, dword [ebx + 0x1d4]
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x130]
lea eax, [esp + 0xb4]
push eax
mov eax, dword [ebx + 0xc]
push eax
call edx
inc esi
cmp esi, dword [ebx + 0x1d8]
jl 0x40ccf5
lea eax, [esp + 0x10c]
push eax
push edi
mov edi, dword [ebx + 0x14]
call fcn.0042a6f0
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0xc]
add esp, 8
push ecx
push edx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebx]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
push eax
xor esi, esi
push ecx
mov dword [esp + 0x54], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
sub edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x58]
push 2
sub eax, ecx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0xc]
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x3c]
push edx
push esi
push eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x3c], 0x1ff0000
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx + 0xc]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x40cf68
cmp byte [ebx + 0x19f], 0
je 0x40cf14
xor eax, eax
cmp dword [ebx + 0x10], eax
jne 0x40ce2d
mov ecx, dword [ebx]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x4c]
mov edx, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x10], eax
cmp byte [ebx + 0x19f], 0
je 0x40cf14
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
call edi
mov edx, dword [ebx + 0xc]
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x13c]
lea edx, [esp + 0xb4]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x118]
push edx
mov edx, dword [ebx + 0xc]
push edx
call eax
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0xb4]
mov esi, ebx
call fcn.0040c2e0
xor esi, esi
cmp dword [ebx + 0x1d8], esi
jle 0x40cebb
mov ecx, dword [ebx + 0x1d4]
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x130]
lea eax, [esp + 0xb4]
push eax
mov eax, dword [ebx + 0xc]
push eax
call edx
inc esi
cmp esi, dword [ebx + 0x1d8]
jl 0x40ce93
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
mov edx, dword [ebx + 0xc]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0xd0]
sub edx, eax
push edx
mov edx, dword [esp + 0xd0]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0xc8]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0xc]
push ecx
push edx
call edi
jmp 0x40cf68
mov eax, dword [esp + 0xac]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x13c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x118]
mov edi, eax
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esp + 0xb0]
push eax
call edx
mov ecx, dword [esp + 0xac]
lea edx, [esp + 0xb4]
mov esi, ebx
call fcn.0040c2e0
mov eax, dword [esp + 0xac]
push edi
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [ebx]
lea ecx, [esp + 0xac]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0x19d], 0
je 0x40cf8f
mov eax, dword [ebx]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x40ded8
mov eax, dword [ebx + 0x158]
test eax, eax
jle 0x40cfa3
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x15c]
test eax, eax
jle 0x40cfb0
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x160]
test eax, eax
jle 0x40cfbd
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x164]
test eax, eax
jle case.0x40d3f6.276
mov dword [esi + 0x24], eax
jmp case.0x40d3f6.276
mov ecx, dword [ebx + 0x140]
test ecx, ecx
je 0x40d026
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x4c], 0x16
mov dword [esp + 0x50], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x140]
mov dword [esp + 0x54], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x4c]
push eax
call edx
mov ebx, dword [ebx + 0x13c]
test ebx, ebx
je 0x40d037
mov eax, ebx
call fcn.00412e10
mov al, 1
jmp 0x40ded8
movsx eax, si
shr esi, 0x10
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
movsx ecx, si
push edx
push eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x148], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x150], ecx
mov dword [ebx + 0x154], edx
je case.0x40d3f6.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x148]
mov dword [esp + 0x58], ecx
mov cx, word [ebp + 0xc]
mov byte [ebx + 0x1a2], 0
mov dword [esp + 0x4c], 0x11
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], edx
mov word [esp + 0x62], cx
mov dword [esp + 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x148]
mov dword [esp + 0x54], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x4c]
push eax
call edx
mov dword [ebx + 0x148], 0
jmp case.0x40d3f6.276
cmp dword [ebx + 0x140], 0
je case.0x40d3f6.276
mov ecx, dword [ebx + 0x150]
mov edx, dword [ebx + 0x154]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov ax, word [ebp + 0xc]
mov dword [esp + 0x4c], 5
mov word [esp + 0x60], ax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
call fcn.0040b430
mov word [esp + 0x62], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x140]
mov dword [esp + 0x54], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x4c]
push edx
call eax
jmp case.0x40d3f6.276
cmp dword [ebx + 0x140], 0
je case.0x40d3f6.276
mov cx, word [ebp + 0xc]
mov edx, dword [ebx + 0x150]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x154]
mov dword [esp + 0x4c], 3
mov word [esp + 0x60], cx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
call fcn.0040b430
mov word [esp + 0x62], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x140]
mov dword [esp + 0x54], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x4c]
push eax
call edx
mov eax, dword [ebx + 0x140]
mov dword [ebx + 0x14c], eax
jmp case.0x40d3f6.276
cmp dword [ebx + 0x14c], 0
je case.0x40d3f6.276
mov cx, word [ebp + 0xc]
mov edx, dword [ebx + 0x150]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x154]
mov dword [esp + 0x4c], 4
mov word [esp + 0x60], cx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
call fcn.0040b430
mov word [esp + 0x62], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x14c]
mov dword [esp + 0x54], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x4c]
push eax
call edx
mov dword [ebx + 0x14c], 0
jmp case.0x40d3f6.276
cmp si, 1
jne case.0x40d3f6.276
cmp byte [ebx + 0x1a2], 0
jne 0x40dc46
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebx]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
mov eax, ebx
call fcn.0040fe00
mov edi, eax
test edi, edi
je case.0x40d3f6.276
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
test al, 2
je case.0x40d3f6.276
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x6c], 0x17
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
call fcn.0040b430
mov word [esp + 0x82], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x74], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x6c]
push eax
mov ecx, edi
call edx
mov al, 1
jmp 0x40ded8
test esi, esi
je 0x40dc46
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
push esi
push eax
add ecx, 0x2000
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov al, 1
jmp 0x40ded8
test esi, esi
je case.0x40d3f6.276
mov edx, dword [ebp + 0xc]
push esi
push edx
push 0x2111
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov al, 1
jmp 0x40ded8
cmp eax, 0x2a1
ja 0x40dd3a
je 0x40db65
add eax, 0xfffffeee
cmp eax, 0xf8
ja case.0x40d3f6.276
movzx edx, byte [eax + 0x40e058]
jmp dword [edx*4 + 0x40e030]
mov eax, dword [ebp + 0xc]
and eax, 0xfff0
cmp eax, 0xf120
jne 0x40d410
mov byte [ebx + 0x28], 1
mov al, 1
jmp 0x40ded8
mov eax, 0xf1
cmp ax, word [ebp + 0xc]
jne 0x40d43b
lea esi, [ebx + 0x60]
mov edi, ebx
call fcn.0040e160
cmp byte [ebx + 0x70], 0
sete cl
mov byte [ebx + 0x70], cl
jmp case.0x40d3f6.276
xor ecx, ecx
cmp dword [ebx + 0x1b4], ecx
jle case.0x40d3f6.276
mov edx, dword [ebx]
mov eax, dword [ebx + 0x1b0]
mov esi, dword [eax]
cmp dword [esi + 8], edx
jne 0x40d467
movzx edi, word [ebp + 0xc]
cmp dword [esi + 0xc], edi
jne 0x40d467
cmp byte [esi + 0x10], 0
je 0x40d478
inc ecx
add eax, 4
cmp ecx, dword [ebx + 0x1b4]
jl 0x40d451
jmp case.0x40d3f6.276
mov edx, dword [esi]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x4c], 0x18
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [esp + 0x54], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x4c]
push eax
call edx
jmp case.0x40d3f6.276
cmp byte [ebx + 0x1a1], 0
jne 0x40d52f
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [ebx]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x4c], 0x10
mov dword [esp + 0x50], 3
test eax, eax
jne 0x40d509
mov dword [esp + 0x58], 0x190
jmp 0x40d51d
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x1a1], 1
mov ecx, dword [ebx + 0x13c]
movsx edi, si
shr esi, 0x10
movsx eax, si
mov dword [ebx + 0x154], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
push 0xd
lea eax, [esp + 0x28]
mov dword [ebx + 0x150], edi
mov dword [esp + 0x28], edi
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push eax
push 0x40fee0
call edx
mov esi, eax
test esi, esi
je 0x40d583
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
cmp eax, ebx
jne case.0x40d3f6.276
xor eax, eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xf8], edi
mov dword [esp + 0xfc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x144]
mov dword [esp + 0xf4], eax
cmp esi, ecx
je 0x40d631
test ecx, ecx
je 0x40d631
mov dword [esp + 0xec], 0xa
mov dword [esp + 0xf0], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0xec]
push eax
call edx
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x144], 0
test eax, eax
je 0x40d631
lea ecx, [ebx + 0x30]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, dword [ebx + 0x144]
je 0x40d669
test esi, esi
je 0x40d669
mov dword [esp + 0xec], 0xb
mov dword [esp + 0xf0], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0xec]
push eax
mov ecx, esi
call edx
mov dword [ebx + 0x144], esi
mov ecx, dword [ebx + 0x148]
test ecx, ecx
je 0x40d69c
mov dword [esp + 0xec], 9
mov dword [esp + 0xf0], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0xec]
push edx
call eax
jmp case.0x40d3f6.276
test esi, esi
je case.0x40d3f6.276
mov dword [esp + 0xec], 9
mov dword [esp + 0xf0], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0xec]
push eax
mov ecx, esi
call edx
jmp case.0x40d3f6.276
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
shr ecx, 0x10
movsx ecx, cx
movsx eax, si
mov dword [ebx + 0x150], eax
mov dword [ebx + 0x154], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x13c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push 0xd
lea eax, [esp + 0x28]
push eax
push 0x40fee0
call edx
mov edi, eax
test edi, edi
je case.0x40d3f6.276
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
cmp eax, ebx
jne case.0x40d3f6.276
mov dword [ebx + 0x148], edi
mov eax, dword [edi]
mov edx, dword [eax + 0xf0]
mov ecx, edi
call edx
mov eax, dword [ebx]
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 + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xc]
mov byte [ebx + 0x1a2], 1
mov dword [esp + 0x4c], 0xd
mov dword [esp + 0x50], edi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov word [esp + 0x62], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x108]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call edx
jmp case.0x40d3f6.276
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebx + 0x13c]
movsx edi, si
shr esi, 0x10
movsx eax, si
mov dword [ebx + 0x154], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
push 0xd
lea eax, [esp + 0x28]
mov dword [ebx + 0x150], edi
mov dword [esp + 0x28], edi
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push eax
push 0x40fee0
call edx
mov esi, eax
test esi, esi
je case.0x40d3f6.276
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
cmp eax, ebx
jne case.0x40d3f6.276
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x34]
mov dx, word [ebp + 0xc]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov byte [ebx + 0x1a2], 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x4c], 0x10
mov dword [esp + 0x50], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ecx
mov word [esp + 0x62], dx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x54], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x108]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call edx
mov dword [ebx + 0x148], esi
jmp case.0x40d3f6.276
mov eax, esi
shr eax, 0x10
cmp dword [ebx + 0x148], 0
cwde
movsx edi, si
mov dword [esp + 0x28], eax
mov dword [ebx + 0x150], edi
mov dword [ebx + 0x154], eax
je case.0x40d3f6.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebx + 0x148]
mov edx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xc]
mov byte [ebx + 0x1a2], 0
mov dword [esp + 0x4c], 0xe
mov dword [esp + 0x50], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edx
mov word [esp + 0x62], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x148]
mov dword [esp + 0x54], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x4c]
push edx
call eax
mov dword [ebx + 0x148], 0
jmp case.0x40d3f6.276
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, esi
shr edx, 0x10
movsx ecx, dx
movsx eax, si
mov dword [ebx + 0x154], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x13c]
push 0xd
mov dword [esp + 0x14], eax
mov dword [ebx + 0x150], eax
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xfc]
lea edx, [esp + 0x28]
push edx
push 0x40fee0
call eax
mov edi, eax
test edi, edi
je case.0x40d3f6.276
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
cmp eax, ebx
jne case.0x40d3f6.276
mov edx, dword [edi]
mov eax, dword [edx + 0xf0]
mov ecx, edi
call eax
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xc]
mov byte [ebx + 0x1a2], 1
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x50], edi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov word [esp + 0x62], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x54], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
call edx
mov dword [ebx + 0x148], edi
jmp case.0x40d3f6.276
movsx eax, si
mov ecx, esi
shr ecx, 0x10
mov dword [esp + 0x10], eax
movsx edx, cx
mov ecx, dword [ebx]
lea eax, [esp + 0x10]
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 + 0x150], eax
mov dword [ebx + 0x154], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x13c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push 0xd
lea eax, [esp + 0x28]
push eax
push 0x40fee0
call edx
mov edi, eax
test edi, edi
je case.0x40d3f6.276
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
cmp eax, ebx
jne case.0x40d3f6.276
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
shr eax, 0x10
test ax, ax
sets cl
mov dword [esp + 0x4c], 0x12
mov dword [esp + 0x50], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ecx
call fcn.0040b430
mov word [esp + 0x62], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x54], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
call edx
movzx eax, word [ebx + 0x154]
movzx ecx, word [ebx + 0x150]
mov edx, dword [ebx]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x40d3f6.276
test esi, esi
je case.0x40d3f6.276
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push eax
add ecx, 0x2000
push ecx
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov al, 1
jmp 0x40ded8
mov ecx, dword [ebx + 0x13c]
movsx eax, si
shr esi, 0x10
movsx esi, si
push 0xd
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
lea edx, [esp + 0x28]
mov byte [ebx + 0x1a1], 0
mov dword [esp + 0x2c], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xfc]
push edx
push 0x40fee0
call eax
mov edi, eax
test edi, edi
je case.0x40d3f6.276
mov ecx, dword [ebx + 0x144]
test ecx, ecx
je 0x40dc06
mov edx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x4c], 0xc
mov dword [esp + 0x50], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x144]
mov dword [esp + 0x54], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x4c]
push edx
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x98]
lea eax, [esp + 0x11c]
push eax
mov ecx, edi
call edx
mov dword [esp + 0x1b8], 0
mov eax, dword [esp + 0x11c]
cmp word [eax], 0
jne 0x40dc4d
lea ecx, [esp + 0x120]
cmp eax, ecx
je 0x40dc46
push eax
call fcn.004f3161
add esp, 4
mov al, 1
jmp 0x40ded8
push 0x30
lea esi, [ebx + 0x30]
push 0
push esi
call fcn.004f50f0
mov eax, dword [ebx]
mov edx, dword [0x5875f4]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x128]
mov dword [ebx + 0x54], eax
mov dword [esi], 0x30
mov dword [ebx + 0x34], 1
mov dword [ebx + 0x50], edx
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
add esp, 0xc
mov ecx, edi
call eax
cmp dword [ebx + 0x2c], 0
mov ecx, dword [eax]
mov dword [ebx + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x44], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x48], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x4c], edx
jne 0x40dcf2
mov eax, dword [0x5875f4]
mov ecx, dword [ebx]
push 0
push eax
push 0
push ecx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push esi
push 0
push 0x432
push eax
mov dword [ebx + 0x2c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [edi]
mov eax, dword [edx + 0xa4]
mov ecx, edi
call eax
mov ecx, dword [ebx + 0x2c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push ecx
call edi
mov edx, dword [ebx + 0x2c]
push esi
push 0
push 0x436
push edx
call edi
mov eax, dword [ebx + 0x2c]
push esi
push 1
push 0x411
push eax
call edi
mov eax, dword [esp + 0x11c]
jmp 0x40dc32
cmp eax, 0x2a3
je 0x40dda5
cmp eax, 0x8001
jne case.0x40d3f6.276
xor edi, edi
xor esi, esi
cmp dword [ebx + 0x1e4], edi
jle 0x40dd7e
jmp 0x40dd60
mov edx, dword [ebx + 0x1e0]
mov ecx, dword [edx + esi*4]
cmp ecx, edi
je 0x40dd75
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
inc esi
cmp esi, dword [ebx + 0x1e4]
jl 0x40dd60
mov eax, dword [ebx + 0x1e0]
cmp eax, edi
je 0x40dd91
push eax
call fcn.004f3161
add esp, 4
mov dword [ebx + 0x1e0], edi
mov dword [ebx + 0x1e8], edi
mov dword [ebx + 0x1e4], edi
jmp case.0x40d3f6.276
mov eax, dword [ebx + 0x2c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40ddc0
lea ecx, [ebx + 0x30]
push ecx
push 0
push 0x411
push eax
call esi
cmp byte [ebx + 0x1a1], 0
je 0x40ddd7
mov edx, dword [ebx]
push 0xffffffffffffffff
push 0
push 0x200
push edx
call esi
mov byte [ebx + 0x1a1], 0
mov edi, edi
cmp dword [ebx + 0x1f0], 0
jle 0x40ded6
mov eax, dword [ebx + 0x1ec]
mov esi, dword [eax]
mov dword [esp + 0x20], esi
test esi, esi
je 0x40ded6
mov eax, dword [ebx + 0x1f0]
test eax, eax
jle 0x40de31
dec eax
mov dword [ebx + 0x1f0], eax
test eax, eax
jle 0x40de31
mov ecx, dword [ebx + 0x1ec]
lea edx, [eax*4]
push edx
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004f4d50
add esp, 0xc
mov esi, dword [esi + 0x108]
test esi, esi
je 0x40de68
cmp dword [esi + 0x38], 0
jle 0x40de68
xor edi, edi
cmp dword [esi + 0x38], edi
jle 0x40de68
mov ecx, dword [esi + 0x34]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x40de62
mov edx, dword [ecx]
mov eax, dword [esp + 0x20]
mov edx, dword [edx + 8]
push eax
call edx
test al, al
je 0x40de68
inc edi
cmp edi, dword [esi + 0x38]
jl 0x40de48
xor esi, esi
cmp dword [ebx + 0x1a8], esi
jle 0x40de99
mov edi, dword [esp + 0x20]
jmp 0x40de80
mov eax, dword [ebx + 0x1a4]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
inc esi
cmp esi, dword [ebx + 0x1a8]
jl 0x40de80
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0x88]
cmp eax, ecx
je 0x40deb6
push eax
call fcn.004f3161
add esp, 4
mov eax, dword [esi]
lea edx, [esi + 4]
cmp eax, edx
je 0x40dec8
push eax
call fcn.004f3161
add esp, 4
push esi
call fcn.004f287e
add esp, 4
jmp case.0x40d3f6.276
xor al, al
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.004f2889
mov esp, ebp
pop ebp
ret 0xc