Function at 0x404750
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 0x77780b
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x84dfc0]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push esi
push edi
mov eax, dword [0x84dfc0]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
mov esi, edx
mov dword [esp + 0x44], ecx
je 0x406096
jmp 0x4047b0
cmp dword [ebx + 0x1f8], 0
jle 0x404890
mov edx, dword [ebx + 0x1f4]
mov ecx, dword [edx]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x404890
mov eax, dword [ebx + 0x1f8]
test eax, eax
jle 0x404802
dec eax
mov dword [ebx + 0x1f8], eax
test eax, eax
jle 0x404802
mov ecx, dword [ebx + 0x1f4]
add eax, eax
add eax, eax
push eax
lea edx, [ecx + 4]
push edx
push ecx
call fcn.004909c0
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [ecx + 0x108]
test eax, eax
je 0x40481f
cmp dword [eax + 0x38], 0
jle 0x40481f
mov ecx, dword [esp + 0x30]
push ecx
lea edi, [eax + 0x34]
call fcn.00425400
xor edi, edi
cmp dword [ebx + 0x1b0], edi
jle 0x40484d
lea esp, [esp]
mov edx, dword [ebx + 0x1ac]
mov ecx, dword [edx + edi*4]
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [eax]
push edx
call eax
inc edi
cmp edi, dword [ebx + 0x1b0]
jl 0x404830
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x84]
lea ecx, [edi + 0x88]
cmp eax, ecx
je 0x40486a
push eax
call fcn.0048f6ed
add esp, 4
mov eax, dword [edi]
lea edx, [edi + 4]
cmp eax, edx
je 0x40487c
push eax
call fcn.0048f6ed
add esp, 4
push edi
call fcn.00481e6e
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
add esp, 4
jmp 0x4047b0
cmp dword [ebx + 0x1d4], 0
mov dword [esp + 0x30], 0
jle 0x4048e3
mov eax, dword [ebx + 0x1d0]
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x3f], 0
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x3f]
push eax
mov eax, dword [ebp + 0xc]
push esi
push edi
push eax
call edx
cmp byte [esp + 0x3f], 0
jne 0x40554e
mov eax, dword [esp + 0x30]
inc eax
cmp eax, dword [ebx + 0x1d4]
mov dword [esp + 0x30], eax
jl 0x4048a1
mov eax, dword [ebp + 0xc]
cmp eax, 0x111
ja 0x40557e
je 0x40555b
add eax, 0xfffffffb
cmp eax, 0xfd
ja case.0x4055a6.276
movzx edx, byte [eax + 0x4060f0]
jmp dword [edx*4 + 0x4060c0]
mov ecx, dword [ebx + 0x15c]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x158]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x14c]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x404979
mov dword [esp + 0x10], 0xa
mov dword [esp + 0x14], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x10]
push eax
call edx
mov ecx, dword [ebx + 0x150]
test ecx, ecx
je 0x40499e
mov dword [esp + 0x10], 0xe
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x10]
push edx
call eax
xor esi, esi
mov eax, ebx
call fcn.00406790
mov ecx, dword [ebx]
push 4
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.0x4055a6.276
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x4055a6.276
mov edx, dword [esp + 0x44]
mov dword [edx], 1
mov al, 1
jmp 0x406098
mov ecx, dword [ebx]
xor eax, eax
xor edi, edi
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
push edi
lea eax, [esp + 0x88]
push eax
push ecx
mov dword [esp + 0x90], edi
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x405dd1
push 0x3c
push edi
cmp dword [ebx + 0x144], edi
jne 0x404a5c
lea edx, [esp + 0xb8]
push edx
mov dword [esp + 0xb8], edi
call fcn.0048d310
mov ecx, dword [ebx]
add esp, 0xc
lea eax, [esp + 0xac]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [ebx]
lea edx, [esp + 0xac]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x406098
lea ecx, [esp + 0xf8]
push ecx
mov dword [esp + 0xf8], edi
call fcn.0048d310
mov eax, dword [ebx]
add esp, 0xc
lea edx, [esp + 0xec]
push edx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x1a5], 0
je 0x404be4
mov edx, dword [ebx]
lea ecx, [esp + 0x54]
xor eax, eax
push ecx
push edx
mov byte [ebx + 0x1a5], 0
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x404be4
mov ecx, dword [ebx + 0x144]
cmp byte [ecx + 0x150], al
je 0x404b3a
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x404b13
mov esi, dword [esp + 0x54]
mov ecx, dword [ebx + 0x144]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x68]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x6c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x70]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x34]
call eax
mov eax, dword [ebx + 0xc]
cmp eax, edi
je 0x404b21
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x404b2f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
jmp 0x404ba2
mov edx, dword [ecx]
mov eax, dword [edx + 0xfc]
push reloc.WS2_32.dll_accept
push edi
push 0x408020
call eax
mov esi, eax
cmp esi, edi
je 0x404ba2
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 + 0x144]
mov eax, dword [ecx]
mov edx, dword [eax + 0xfc]
push reloc.WS2_32.dll_accept
push 0
push 0x408020
call edx
mov esi, eax
test esi, esi
jne 0x404b55
cmp byte [ebx + 0x1a4], 0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x60]
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x28], eax
je 0x404be4
mov ecx, dword [ebx + 0x144]
push 0
push 0
push str.windowinit
mov edi, ebx
mov byte [ebx + 0x1a4], 0
call fcn.00407190
cmp byte [ebx + 0x1a6], 0
je 0x404ca2
cmp byte [ebx + 0x1a5], 0
je 0x404c13
mov ecx, dword [ebx]
push 0
push 0
push ecx
mov byte [ebx + 0x1a6], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x404ca2
mov edx, dword [ebx + 0x148]
mov ecx, dword [ebx + 0x144]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], edx
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0x50], eax
lea edx, [esp + 0x4c]
mov byte [esp + 0x54], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0xfc]
push edx
push 0x407f40
call eax
test eax, eax
jne 0x404c92
mov ecx, dword [ebx + 0x144]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], eax
push reloc.WS2_32.dll_closesocket
lea eax, [esp + 0x98]
mov byte [esp + 0xa0], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push eax
push 0x407f40
call edx
test eax, eax
je 0x404c9b
mov esi, eax
mov eax, ebx
call fcn.00406790
mov byte [ebx + 0x1a6], 0
cmp byte [ebx + 0x18], 0
je 0x404fec
mov eax, dword [ebx]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x404ccf
mov ecx, dword [ebx]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
xor eax, eax
lea edx, [esp + 0x54]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [ebx]
push edx
push eax
mov dword [esp + 0x5c], 0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [ebx + 0x3c], 0
je 0x404d2b
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov byte [ebx + 0x3c], 0
jmp 0x404d55
lea esi, [ebx + 0x1c]
push esi
lea eax, [esp + 0x88]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_UnionRect]
mov ecx, dword [esp + 0x5c]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x54]
sub eax, dword [esp + 0x58]
cmp dword [ebx + 0x10], 0
mov esi, ecx
mov dword [esp + 0x30], esi
mov edi, eax
jne 0x404d8d
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebx + 8]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x14]
push eax
push ecx
mov eax, esi
call fcn.0041d670
add esp, 8
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 + 0x38], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov esi, dword [esp + 0x88]
cmp esi, dword [esp + 0x90]
mov dword [esp + 0xa0], eax
mov edi, esi
jge 0x404e06
imul esi, dword [esp + 0x30]
jmp 0x404dd0
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
mov ecx, dword [ebx + 0x14]
sub edx, eax
add edx, edx
add edx, edx
push edx
add eax, esi
lea edx, [ecx + eax*4]
push 0
push edx
call fcn.0048d310
add esi, dword [esp + 0x3c]
inc edi
add esp, 0xc
cmp edi, dword [esp + 0x90]
jl 0x404dd0
mov ecx, dword [ebx + 0x144]
mov eax, dword [ecx]
mov eax, dword [eax + 0x118]
lea edx, [esp + 0x84]
push edx
mov edx, dword [ebx + 0xc]
push edx
call eax
mov edx, dword [ebx + 0xc]
lea ecx, [esp + 0x84]
push ecx
push edx
mov eax, ebx
call fcn.00404490
xor esi, esi
cmp dword [ebx + 0x1e0], esi
jle 0x404e68
nop
mov eax, dword [ebx + 0x1dc]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x130]
lea eax, [esp + 0xf4]
push eax
mov eax, dword [ebx + 0xc]
push eax
call edx
inc esi
cmp esi, dword [ebx + 0x1e0]
jl 0x404e40
mov edi, dword [ebx + 0x2c]
test edi, edi
jg 0x404e85
cmp dword [ebx + 0x30], 0
jg 0x404e85
cmp dword [ebx + 0x34], 0
jg 0x404e85
cmp dword [ebx + 0x38], 0
jle 0x404f2d
mov eax, dword [esp + 0x58]
add eax, dword [ebx + 0x30]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [ebx + 0x34]
mov edx, dword [esp + 0x60]
sub edx, dword [ebx + 0x38]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x7c], ecx
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], esi
mov dword [esp + 0x84], edx
push ecx
mov edx, ecx
add esi, edi
push edx
mov dword [esp + 0x80], esi
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x404f2d
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x80]
mov dword [esp + 0x40], eax
jge 0x404f2d
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x7c]
imul eax, edi
mov esi, eax
mov eax, dword [esp + 0x74]
cmp eax, edx
mov ecx, eax
jge 0x404f1a
add eax, esi
add eax, eax
add eax, eax
mov edx, dword [ebx + 0x14]
mov byte [edx + eax + 3], 0xff
mov edx, dword [esp + 0x7c]
inc ecx
add eax, 4
cmp ecx, edx
jl 0x404f02
mov eax, dword [esp + 0x74]
inc dword [esp + 0x40]
mov ecx, dword [esp + 0x80]
add esi, edi
cmp dword [esp + 0x40], ecx
jl 0x404ef6
mov edx, dword [esp + 0xa0]
mov eax, dword [ebx + 0xc]
push edx
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [ebx]
lea ecx, [esp + 0x10]
xor eax, eax
push ecx
xor esi, esi
push edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub edx, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
push 2
sub eax, ecx
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x48]
push ecx
push esi
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov eax, dword [ebx + 0xc]
lea edx, [esp + 0xb0]
push edx
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x60]
push edx
push esi
push eax
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
mov byte [esp + 0x68], 0
mov byte [esp + 0x69], 0
mov byte [esp + 0x6a], 0xff
mov byte [esp + 0x6b], 1
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx + 0xc]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x405114
xor esi, esi
cmp dword [ebx + 0x10], esi
jne 0x40503f
mov ecx, dword [ebx]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], esi
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 + 0x18]
sub ecx, dword [esp + 0x10]
mov edx, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x10], eax
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 + 0xa4], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x144]
lea edx, [esp + 0xf4]
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x118]
push edx
mov edx, dword [ebx + 0xc]
push edx
call eax
cmp dword [ebx + 0x1e0], esi
jle 0x4050b8
jmp 0x405090
mov ecx, dword [ebx + 0x1dc]
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x130]
lea eax, [esp + 0xf4]
push eax
mov eax, dword [ebx + 0xc]
push eax
call edx
inc esi
cmp esi, dword [ebx + 0x1e0]
jl 0x405090
mov eax, dword [esp + 0x34]
mov ecx, dword [ebx + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xf4]
mov edx, dword [ebx + 0xc]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x110]
sub edx, eax
push edx
mov edx, dword [esp + 0x110]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x108]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0xa0]
mov edx, dword [ebx + 0xc]
push ecx
push edx
call edi
xor esi, esi
mov ecx, dword [ebx]
lea eax, [esp + 0xec]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0x1a5], 0
je 0x405139
mov edx, dword [ebx]
push esi
push esi
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x406098
mov eax, dword [ebx + 0x160]
test eax, eax
jle 0x40514d
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x164]
test eax, eax
jle 0x40515a
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x168]
test eax, eax
jle 0x405167
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x16c]
test eax, eax
jle case.0x4055a6.276
mov dword [esi + 0x24], eax
jmp case.0x4055a6.276
mov ecx, dword [ebx + 0x148]
test ecx, ecx
je 0x4051d0
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0x16
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x148]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x10]
push edx
call eax
mov ebx, dword [ebx + 0x144]
test ebx, ebx
je 0x4051e1
mov eax, ebx
call fcn.0040fbf0
mov al, 1
jmp 0x406098
movsx ecx, si
shr esi, 0x10
lea eax, [esp + 0x34]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx]
movsx edx, si
push eax
push ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x150], 0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x158], edx
mov dword [ebx + 0x15c], eax
je case.0x4055a6.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x150]
mov byte [ebx + 0x1a8], 0
mov dword [esp + 0x10], 0x11
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov word [esp + 0x26], di
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x150]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x10]
push edx
call eax
mov dword [ebx + 0x150], 0
jmp case.0x4055a6.276
cmp dword [ebx + 0x148], 0
je case.0x4055a6.276
mov ecx, dword [ebx + 0x158]
mov edx, dword [ebx + 0x15c]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 5
mov word [esp + 0x24], di
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.004036a0
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x148]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x10]
push edx
call eax
jmp case.0x4055a6.276
cmp dword [ebx + 0x148], 0
je case.0x4055a6.276
mov ecx, dword [ebx + 0x158]
mov edx, dword [ebx + 0x15c]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 3
mov word [esp + 0x24], di
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.004036a0
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x148]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x10]
push edx
call eax
mov ecx, dword [ebx + 0x148]
mov dword [ebx + 0x154], ecx
jmp case.0x4055a6.276
cmp dword [ebx + 0x154], 0
je case.0x4055a6.276
mov edx, dword [ebx + 0x158]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x15c]
mov dword [esp + 0x10], 4
mov word [esp + 0x24], di
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.004036a0
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x154]
mov dword [esp + 0x18], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x10]
push eax
call edx
mov dword [ebx + 0x154], 0
jmp case.0x4055a6.276
cmp si, 1
jne case.0x4055a6.276
cmp byte [ebx + 0x1a8], 0
jne 0x405dd1
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebx]
lea ecx, [esp + 0x74]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push eax
push ecx
mov eax, ebx
call fcn.00407de0
mov dword [esp + 0x40], eax
test eax, eax
je case.0x4055a6.276
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
test al, 2
je case.0x4055a6.276
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
xor eax, eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xac], 0x17
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
call fcn.004036a0
mov word [esp + 0xc2], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xb4], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0xac]
push edx
call eax
mov al, 1
jmp 0x406098
test esi, esi
je 0x405dd1
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi]
push esi
push edi
add ecx, 0x2000
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
mov al, 1
jmp 0x406098
test esi, esi
je case.0x4055a6.276
push esi
push edi
push 0x2111
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x44]
mov dword [edx], eax
mov al, 1
jmp 0x406098
cmp eax, 0x2a1
ja 0x405ef2
je 0x405cea
add eax, 0xfffffeee
cmp eax, 0xf8
ja case.0x4055a6.276
movzx eax, byte [eax + 0x406218]
jmp dword [eax*4 + 0x4061f0]
and edi, 0xfff0
cmp edi, 0xf120
jne 0x4055bf
mov byte [ebx + 0x3c], 1
mov al, 1
jmp 0x406098
mov ecx, 0xf1
cmp cx, di
jne 0x4055f2
lea esi, [ebx + 0xf8]
mov edi, ebx
call fcn.00406320
cmp byte [ebx + 0x108], 0
sete dl
mov byte [ebx + 0x108], dl
jmp case.0x4055a6.276
xor ecx, ecx
cmp dword [ebx + 0x1bc], ecx
jle case.0x4055a6.276
mov eax, dword [ebx + 0x1b8]
mov esi, dword [eax]
mov edx, dword [ebx]
cmp dword [esi + 8], edx
jne 0x40561d
movzx edx, di
cmp dword [esi + 0xc], edx
jne 0x40561d
cmp byte [esi + 0x10], 0
je 0x40562e
inc ecx
add eax, 4
cmp ecx, dword [ebx + 0x1bc]
jl 0x405606
jmp case.0x4055a6.276
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [esp + 0x18], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x10]
push eax
call edx
jmp case.0x4055a6.276
cmp byte [ebx + 0x1a7], 0
jne 0x4056e8
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x110]
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x14], 3
test eax, eax
jne 0x4056c2
mov dword [esp + 0x1c], 0x190
jmp 0x4056d6
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x1a7], 1
mov ecx, dword [ebx + 0x144]
movsx edi, si
shr esi, 0x10
movsx eax, si
mov dword [ebx + 0x15c], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x98], eax
push 0xd
lea eax, [esp + 0x4c]
mov dword [ebx + 0x158], edi
mov dword [esp + 0x4c], edi
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push eax
push 0x407f10
call edx
mov esi, eax
test esi, esi
je 0x40573f
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
cmp eax, ebx
jne case.0x4055a6.276
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x14c]
mov dword [esp + 0x5c], eax
cmp esi, ecx
je 0x4057cc
test ecx, ecx
je 0x4057cc
mov dword [esp + 0x54], 0xa
mov dword [esp + 0x58], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x54]
push eax
call edx
mov eax, dword [ebx + 0x110]
mov dword [ebx + 0x14c], 0
test eax, eax
je 0x4057cc
lea ecx, [ebx + 0x114]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, dword [ebx + 0x14c]
je 0x4057fb
test esi, esi
je 0x4057fb
mov dword [esp + 0x54], 0xb
mov dword [esp + 0x58], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call edx
mov dword [ebx + 0x14c], esi
mov ecx, dword [ebx + 0x150]
test ecx, ecx
je 0x405825
mov dword [esp + 0x54], 9
mov dword [esp + 0x58], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 0x54]
push edx
call eax
jmp case.0x4055a6.276
test esi, esi
je case.0x4055a6.276
mov dword [esp + 0x54], 9
mov dword [esp + 0x58], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call edx
jmp case.0x4055a6.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 + 0x158], eax
mov dword [ebx + 0x15c], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0x144]
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push 0xd
lea eax, [esp + 0x4c]
push eax
push 0x407f10
call edx
mov edi, eax
test edi, edi
je case.0x4055a6.276
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
cmp eax, ebx
jne case.0x4055a6.276
mov dword [ebx + 0x150], 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 + 0x34]
mov edx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov byte [ebx + 0x1a8], 1
mov dword [esp + 0x10], 0xd
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x108]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call edx
jmp case.0x4055a6.276
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
movsx eax, si
shr esi, 0x10
movsx ecx, si
mov dword [ebx + 0x158], eax
mov dword [ebx + 0x15c], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0x144]
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push 0xd
lea eax, [esp + 0x4c]
push eax
push 0x407f10
call edx
mov esi, eax
test esi, esi
je case.0x4055a6.276
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
cmp eax, ebx
jne case.0x4055a6.276
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov byte [ebx + 0x1a8], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov word [esp + 0x26], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x108]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
mov dword [ebx + 0x150], esi
jmp case.0x4055a6.276
mov ecx, esi
shr ecx, 0x10
cmp dword [ebx + 0x150], 0
movsx eax, si
movsx ecx, cx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [ebx + 0x158], eax
mov dword [ebx + 0x15c], ecx
je case.0x4055a6.276
push ebx
call fcn.00406cd0
mov edx, dword [ebx + 0x150]
mov ecx, dword [esp + 0x78]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], 0xe
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov word [esp + 0x26], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x150]
mov dword [esp + 0x18], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x10]
push eax
call edx
mov dword [ebx + 0x150], 0
jmp case.0x4055a6.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 + 0x158], eax
mov dword [ebx + 0x15c], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0x144]
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push 0xd
lea eax, [esp + 0x4c]
push eax
push 0x407f10
call edx
mov edi, eax
test edi, edi
je case.0x4055a6.276
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
cmp eax, ebx
jne case.0x4055a6.276
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 + 0x34]
mov edx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov byte [ebx + 0x1a8], 1
mov dword [esp + 0x10], 0xf
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x108]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call edx
mov dword [ebx + 0x150], edi
jmp case.0x4055a6.276
movsx eax, si
mov ecx, esi
shr ecx, 0x10
mov dword [esp + 0x34], eax
movsx edx, cx
mov ecx, dword [ebx]
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x158], eax
mov dword [ebx + 0x15c], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 0x144]
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push 0xd
lea eax, [esp + 0x4c]
push eax
push 0x407f10
call edx
mov dword [esp + 0x40], eax
test eax, eax
je case.0x4055a6.276
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
cmp eax, ebx
jne case.0x4055a6.276
xor eax, eax
xor ecx, ecx
shr edi, 0x10
test di, di
setl cl
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], 0x12
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
call fcn.004036a0
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x10]
push eax
call edx
movzx eax, word [ebx + 0x15c]
movzx ecx, word [ebx + 0x158]
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.0x4055a6.276
test esi, esi
je case.0x4055a6.276
mov eax, dword [ebp + 0xc]
push esi
push edi
add eax, 0x2000
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
mov al, 1
jmp 0x406098
mov ecx, dword [ebx + 0x144]
movsx eax, si
shr esi, 0x10
movsx esi, si
mov dword [esp + 0x48], eax
mov dword [esp + 0x94], eax
push 0xd
lea eax, [esp + 0x4c]
mov byte [ebx + 0x1a7], 0
mov dword [esp + 0x50], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push eax
push 0x407f10
call edx
mov edi, eax
test edi, edi
je case.0x4055a6.276
mov ecx, dword [ebx + 0x14c]
test ecx, ecx
je 0x405d91
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x14c]
mov dword [esp + 0x18], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 0x10]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x98]
lea ecx, [esp + 0x12c]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x1c8], 0
mov eax, dword [esp + 0x12c]
cmp word [eax], 0
jne 0x405dd8
lea ecx, [esp + 0x130]
cmp eax, ecx
je 0x405dd1
push eax
call fcn.0048f6ed
add esp, 4
mov al, 1
jmp 0x406098
push 0x30
lea esi, [ebx + 0x114]
push 0
push esi
call fcn.0048d310
mov eax, dword [ebx]
mov edx, dword [0x869084]
mov dword [ebx + 0x11c], eax
mov dword [ebx + 0x120], eax
mov eax, dword [esp + 0x138]
mov dword [ebx + 0x138], eax
mov dword [esi], 0x30
mov dword [ebx + 0x118], 1
mov dword [ebx + 0x134], edx
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
add esp, 0xc
mov ecx, edi
call eax
cmp dword [ebx + 0x110], 0
mov ecx, dword [eax]
mov dword [ebx + 0x124], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x128], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x12c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x130], edx
jne 0x405ea1
mov eax, dword [0x869084]
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 + 0x110], 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 + 0x110]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push ecx
call edi
mov edx, dword [ebx + 0x110]
push esi
push 0
push 0x436
push edx
call edi
mov eax, dword [ebx + 0x110]
push esi
push 1
push 0x411
push eax
call edi
mov eax, dword [esp + 0x12c]
jmp 0x405dbd
cmp eax, 0x2a3
je 0x405f55
cmp eax, 0x8001
jne case.0x4055a6.276
xor esi, esi
cmp dword [ebx + 0x1ec], esi
jle 0x405f2c
mov edx, dword [ebx + 0x1e8]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x405f23
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
inc esi
cmp esi, dword [ebx + 0x1ec]
jl 0x405f0e
mov eax, dword [ebx + 0x1e8]
test eax, eax
je 0x405f3f
push eax
call fcn.0048f6ed
add esp, 4
xor eax, eax
mov dword [ebx + 0x1e8], eax
mov dword [ebx + 0x1f0], eax
mov dword [ebx + 0x1ec], eax
jmp case.0x4055a6.276
mov eax, dword [ebx + 0x110]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x405f76
lea ecx, [ebx + 0x114]
push ecx
push 0
push 0x411
push eax
call esi
cmp byte [ebx + 0x1a7], 0
je 0x405f8d
mov edx, dword [ebx]
push 0xffffffffffffffff
push 0
push 0x200
push edx
call esi
mov byte [ebx + 0x1a7], 0
jmp case.0x4055a6.276
cmp dword [ebx + 0x1f8], 0
jle 0x406096
mov eax, dword [ebx + 0x1f4]
mov esi, dword [eax]
mov dword [esp + 0x30], esi
test esi, esi
je 0x406096
mov eax, dword [ebx + 0x1f8]
test eax, eax
jle 0x405ff1
dec eax
mov dword [ebx + 0x1f8], eax
test eax, eax
jle 0x405ff1
mov ecx, dword [ebx + 0x1f4]
lea edx, [eax*4]
push edx
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004909c0
add esp, 0xc
mov esi, dword [esi + 0x108]
test esi, esi
je 0x406028
cmp dword [esi + 0x38], 0
jle 0x406028
xor edi, edi
cmp dword [esi + 0x38], edi
jle 0x406028
mov ecx, dword [esi + 0x34]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x406022
mov edx, dword [ecx]
mov eax, dword [esp + 0x30]
mov edx, dword [edx + 8]
push eax
call edx
test al, al
je 0x406028
inc edi
cmp edi, dword [esi + 0x38]
jl 0x406008
xor esi, esi
cmp dword [ebx + 0x1b0], esi
jle 0x406059
mov edi, dword [esp + 0x30]
jmp 0x406040
mov eax, dword [ebx + 0x1ac]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
inc esi
cmp esi, dword [ebx + 0x1b0]
jl 0x406040
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0x88]
cmp eax, ecx
je 0x406076
push eax
call fcn.0048f6ed
add esp, 4
mov eax, dword [esi]
lea edx, [esi + 4]
cmp eax, edx
je 0x406088
push eax
call fcn.0048f6ed
add esp, 4
push esi
call fcn.00481e6e
add esp, 4
jmp case.0x4055a6.276
xor al, al
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.0048d1f2
mov esp, ebp
pop ebp
ret 0xc