Function at 0x476790
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d481a
mov eax, dword fs:[0]
push eax
sub esp, 0x3e4
mov eax, dword [0x64b4f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3b8], edi
cmp dword [edi], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x380], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3a0], eax
je 0x4787d7
lea eax, [edi + 0x2a4]
push eax
lea esi, [edi + 0x110]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
mov ecx, esi
call fcn.0047ebd0
push 0
lea ecx, [edi + 0x110]
mov esi, eax
call fcn.0047f240
lea eax, [edi + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x4768d7
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x476852
add ecx, 0x38
call fcn.00480bc0
test al, al
je 0x476852
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.00480be0
test al, al
jne 0x4768b2
lea eax, [edi + 0xc8]
mov dword [ebp - 0x388], 0
mov ecx, eax
mov dword [ebp - 0x384], eax
call fcn.0047ece0
test eax, eax
jle 0x4768b2
mov edi, dword [ebp - 0x388]
nop dword [eax]
cmp dword [esi + 0x108], 0
je 0x4768ac
mov ecx, dword [ebp - 0x384]
push edi
call fcn.0047e130
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x384]
inc edi
call fcn.0047ece0
cmp edi, eax
jl 0x476880
mov edi, dword [ebp - 0x3b8]
lea ecx, [esi + 0x84]
call fcn.0047dcd0
mov ecx, esi
call fcn.0047dcd0
push 0x120
push esi
call fcn.00465689
add esp, 8
jmp 0x4767e9
lea ecx, [edi + 0xec]
mov dword [ebp - 0x384], 0
call fcn.0047ece0
mov esi, dword [ebp - 0x38c]
test eax, eax
jle 0x476954
xor ecx, ecx
nop dword [eax + eax]
push ecx
lea ecx, [edi + 0xec]
mov byte [ebp - 0x399], 0
call fcn.0047e130
lea ecx, [ebp - 0x399]
push ecx
push esi
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x380]
push dword [ebp + 8]
mov eax, dword [edx]
call eax
cmp byte [ebp - 0x399], 0
jne 0x47789f
inc dword [ebp - 0x384]
lea ecx, [edi + 0xec]
call fcn.0047ece0
mov ecx, dword [ebp - 0x384]
cmp ecx, eax
jl 0x476900
mov edx, dword [ebp + 8]
cmp edx, 0x111
ja 0x4778de
je 0x4778ae
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x477c2f
movzx eax, byte [eax + 0x478828]
jmp dword [eax*4 + 0x4787f8]
mov eax, dword [edi + 0x70]
xorps xmm0, xmm0
mov dword [ebp - 0x22c], eax
mov eax, dword [edi + 0x74]
movlpd qword [ebp - 0x238], xmm0
movlpd qword [ebp - 0x224], xmm0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x228], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x64]
mov dword [ebp - 0x230], eax
test ecx, ecx
je 0x4769e6
mov dword [ebp - 0x238], 0xa
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x158]
mov ecx, dword [edi + 0x68]
test ecx, ecx
je 0x476a0c
mov dword [ebp - 0x238], 0xe
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x158]
push 0
mov ecx, edi
call fcn.0047b450
push 4
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.default.0x477c2f
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x477c2f
cmp dword [edi + 0x2a0], 0
jne 0x476a4f
push 0
push 0
push dword [edi]
mov byte [edi + 0xbd], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x3a0]
mov al, 1
mov dword [ecx], 1
jmp 0x4787d9
push 0
lea eax, [ebp - 0x268]
xorps xmm0, xmm0
push eax
push dword [edi]
movups xmmword [ebp - 0x268], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4778a7
cmp dword [edi + 0x58], 0
jne 0x476ac3
push 0x40
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.00523fd0
add esp, 0xc
lea eax, [ebp - 0x2b8]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x2b8]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4787d9
cmp byte [edi + 0xc0], 0
je 0x477062
push 0xffffffffffffffec
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x476af1
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x248]
xorps xmm0, xmm0
push eax
push dword [edi]
movups xmmword [ebp - 0x248], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x40
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.00523fd0
add esp, 0xc
lea eax, [ebp - 0x2b8]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x476b3a
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x18]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x476b4a
push eax
call esi
cmp byte [edi + 0xbd], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
je 0x476c78
lea eax, [ebp - 0x248]
mov byte [edi + 0xbd], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x476c78
mov ecx, dword [edi + 0x58]
call fcn.00482dd0
test al, al
je 0x476bcc
mov eax, dword [edi + 0x10]
test eax, eax
je 0x476b9b
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x476ba5
push eax
call esi
mov ecx, dword [edi + 0x58]
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x248]
mov dword [edi + 0x10], 0
mov eax, esp
mov dword [edi + 0x18], 0
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x38]
jmp 0x476c30
mov ecx, dword [edi + 0x58]
push SysReAllocString
push 0
push 0x47c4f0
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x384], eax
test eax, eax
je 0x476c30
nop
mov esi, dword [eax]
mov ecx, eax
mov edx, dword [esi + 0x34]
call edx
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x384]
call dword [esi + 0x38]
mov ecx, dword [edi + 0x58]
push SysReAllocString
push 0
push 0x47c4f0
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x384], eax
test eax, eax
jne 0x476bf0
cmp byte [edi + 0xbc], 0
movups xmm0, xmmword [ebp - 0x248]
movups xmmword [edi + 0x290], xmm0
je 0x476c63
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0x58]
mov ecx, edi
mov byte [edi + 0xbc], 0
call fcn.0047ab90
push 0
push 0
push 0
push str.windowresized
push dword [edi + 0x58]
mov ecx, edi
call fcn.0047ab90
cmp byte [edi + 0xbe], 0
je 0x476c8a
push 1
mov ecx, edi
call fcn.0047b980
lea esi, [edi + 0x290]
push esi
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0x240]
xorps xmm0, xmm0
sub eax, dword [ebp - 0x248]
movups xmmword [esi], xmm0
mov esi, dword [ebp - 0x23c]
sub esi, dword [ebp - 0x244]
cmp byte [edi + 0xbf], 0
mov dword [ebp - 0x380], eax
je 0x476cfd
cmp dword [edi + 0x18], 0
jne 0x476cfd
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [edi + 0x10], eax
lea eax, [edi + 0x1c]
push eax
push esi
push dword [ebp - 0x380]
push dword [edi + 8]
call fcn.00486870
add esp, 0x10
mov dword [edi + 0x18], eax
cmp dword [edi + 0x1c], 0
je 0x476aad
push dword [edi + 0x18]
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x10]
mov dword [ebp - 0x394], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov esi, dword [ebp - 0x244]
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x384], esi
cmp esi, dword [ebp - 0x23c]
jge 0x476d94
imul esi, dword [ebp - 0x380]
shl esi, 2
nop word [eax + eax]
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x248]
shl eax, 2
push eax
mov eax, dword [edi + 0x1c]
add eax, esi
push 0
push eax
call fcn.00523fd0
mov edx, dword [ebp - 0x380]
add esp, 0xc
mov eax, dword [ebp - 0x384]
inc eax
mov dword [ebp - 0x384], eax
lea ecx, [edx*4]
add esi, ecx
cmp eax, dword [ebp - 0x23c]
jl 0x476d50
mov ecx, dword [edi + 0x58]
lea edx, [ebp - 0x268]
push edx
push dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x168]
mov ecx, dword [edi + 0x280]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x3b8], esi
test ecx, ecx
je 0x476e08
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov esi, dword [edi]
test al, al
je 0x476dd6
call dword [sym.imp.USER32.dll_GetFocus]
cmp esi, eax
je 0x476e02
push 0xf1
push esi
call dword [sym.imp.USER32.dll_KillTimer]
cmp byte [edi + 0x27c], 0
je 0x476df9
lea eax, [edi + 0x26c]
mov ecx, edi
push eax
call fcn.004763d0
mov byte [edi + 0x27c], 0
jmp 0x476e74
mov esi, dword [ebp - 0x3b8]
cmp byte [edi + 0x27c], 0
je 0x476e74
cmp byte [edi + 0x27d], 0
je 0x476e74
cmp dword [edi + 0x280], 0
je 0x476e74
lea eax, [edi + 0x26c]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x258]
push eax
movups xmmword [ebp - 0x258], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x476e74
mov ecx, dword [edi + 0x280]
call fcn.00490e00
test eax, eax
jne 0x476e61
mov eax, dword [edi + 0x154]
push 0
push eax
lea eax, [ebp - 0x258]
push eax
push esi
call fcn.00486cc0
add esp, 0x10
xor esi, esi
lea ecx, [edi + 0x284]
mov dword [ebp - 0x388], esi
call fcn.0047ece0
test eax, eax
jle 0x476f8e
nop
push esi
lea ecx, [edi + 0x284]
call fcn.0047e130
mov esi, eax
test esi, esi
je 0x476f6e
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x34]
call edx
mov ecx, esi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x258], xmm0
call fcn.00490810
mov dword [ebp - 0x3b8], eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x258]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x476f6e
mov esi, dword [ebp - 0x254]
mov edx, dword [ebp - 0x24c]
cmp esi, edx
jge 0x476f6e
mov eax, dword [ebp - 0x380]
imul eax, esi
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x250]
nop dword [eax + eax]
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x38c], ecx
cmp ecx, eax
jge 0x476f5d
mov edx, dword [ebp - 0x384]
lea edx, [edx + ecx]
shl edx, 2
nop dword [eax]
mov eax, dword [edi + 0x1c]
lea edx, [edx + 4]
mov ecx, dword [ebp - 0x3b8]
mov byte [eax + edx - 1], cl
mov ecx, dword [ebp - 0x38c]
mov eax, dword [ebp - 0x250]
inc ecx
mov dword [ebp - 0x38c], ecx
cmp ecx, eax
jl 0x476f30
mov edx, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x380]
inc esi
add dword [ebp - 0x384], ecx
cmp esi, edx
jl 0x476f10
mov esi, dword [ebp - 0x388]
lea ecx, [edi + 0x284]
inc esi
mov dword [ebp - 0x388], esi
call fcn.0047ece0
cmp esi, eax
jl 0x476e90
push dword [ebp - 0x3a4]
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x228]
xorps xmm0, xmm0
push eax
push dword [edi]
movups xmmword [ebp - 0x228], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x3b0], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x248]
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x23c]
sub eax, dword [ebp - 0x244]
push 2
mov dword [ebp - 0x3bc], eax
lea eax, [ebp - 0x3a0]
push eax
push 0
lea eax, [ebp - 0x3c8]
mov dword [ebp - 0x3c8], 0
push eax
push dword [edi + 0x10]
lea eax, [ebp - 0x3c0]
mov dword [ebp - 0x3c4], 0
push eax
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x3a0], 0x1ff0000
push eax
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [ebp - 0x394]
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x2b8]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4787d9
cmp byte [edi + 0xbd], 0
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
je 0x4771d0
lea eax, [ebp - 0x228]
mov byte [edi + 0xbd], 0
push eax
push dword [edi]
xorps xmm0, xmm0
movups xmmword [ebp - 0x228], xmm0
call esi
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4771d0
mov ecx, dword [edi + 0x58]
call fcn.00482dd0
mov ecx, dword [edi + 0x58]
test al, al
je 0x47712a
movups xmm0, xmmword [ebp - 0x228]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x38]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4770d7
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x14]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4770e7
push eax
call esi
cmp byte [edi + 0xc0], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
jne 0x477190
mov eax, dword [edi + 0x10]
test eax, eax
je 0x477110
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x47711a
push eax
call esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
jmp 0x477190
mov eax, dword [ecx]
push SysReAllocString
push 0
push 0x47c4f0
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x388], eax
test eax, eax
je 0x477196
nop word [eax + eax]
mov esi, dword [eax]
mov ecx, eax
mov edx, dword [esi + 0x34]
call edx
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x388]
call dword [esi + 0x38]
mov ecx, dword [edi + 0x58]
push SysReAllocString
push 0
push 0x47c4f0
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x388], eax
test eax, eax
jne 0x477150
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [edi + 0xbc], 0
je 0x4771bb
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0x58]
mov ecx, edi
mov byte [edi + 0xbc], 0
call fcn.0047ab90
push 0
push 0
push 0
push str.windowresized
push dword [edi + 0x58]
mov ecx, edi
call fcn.0047ab90
cmp byte [edi + 0xbe], 0
je 0x4771e2
push 1
mov ecx, edi
call fcn.0047b980
cmp byte [edi + 0xbf], 0
je 0x477238
cmp dword [edi + 0x14], 0
jne 0x477238
lea eax, [ebp - 0x258]
xorps xmm0, xmm0
push eax
push dword [edi]
movups xmmword [ebp - 0x258], xmm0
call esi
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x24c]
sub eax, dword [ebp - 0x254]
push eax
mov eax, dword [ebp - 0x250]
sub eax, dword [ebp - 0x258]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [edi + 0x14], eax
push 0x40
lea eax, [ebp - 0x37c]
push 0
push eax
call fcn.00523fd0
add esp, 0xc
lea eax, [ebp - 0x37c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [edi + 0xbf], 0
je 0x477398
push dword [edi + 0x14]
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0xc]
mov dword [ebp - 0x3a4], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x394], eax
lea eax, [ebp - 0x374]
push eax
push dword [edi + 0xc]
mov edx, dword [ecx]
call dword [edx + 0x168]
lea ecx, [edi + 0xf8]
xor esi, esi
call fcn.0047ece0
test eax, eax
jle 0x4772e0
nop
push esi
lea ecx, [edi + 0xf8]
call fcn.0047e130
lea ecx, [ebp - 0x374]
push ecx
push dword [edi + 0xc]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x180]
lea ecx, [edi + 0xf8]
inc esi
call fcn.0047ece0
cmp esi, eax
jl 0x4772b0
push dword [ebp - 0x394]
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [ebp - 0x370]
mov ecx, dword [ebp - 0x374]
mov eax, dword [ebp - 0x368]
push 0xcc0020
push edx
push ecx
push dword [edi + 0xc]
sub eax, edx
push eax
mov eax, dword [ebp - 0x36c]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebp - 0x37c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x3a4]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0xc]
call esi
cmp byte [edi + 0x54], 0
je 0x4773cb
push dword [0x656038]
push dword [ebp - 0x37c]
call esi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x37c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x25c]
push dword [ebp - 0x260]
push dword [ebp - 0x264]
push dword [ebp - 0x268]
push dword [ebp - 0x37c]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebp - 0x37c]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4773cb
push dword [ebp - 0x37c]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0x58]
mov esi, eax
lea eax, [ebp - 0x374]
push eax
push dword [ebp - 0x37c]
mov edx, dword [ecx]
call dword [edx + 0x168]
push esi
push dword [ebp - 0x37c]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x37c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [edi + 0xbd], 0
je 0x4778a7
push 0
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x4787d9
mov eax, dword [edi + 0x2c0]
test eax, eax
jne 0x477437
push 0xc
call fcn.004304d0
add esp, 4
mov dword [ebp - 0x394], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x477428
mov ecx, eax
call fcn.00480f60
jmp 0x47742a
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x2c0], eax
push dword [edi + 0x7c]
lea ecx, [ebp - 0x3b0]
push dword [edi + 0x78]
push ecx
mov ecx, eax
call fcn.00481400
mov eax, dword [edi + 0x2c0]
test eax, eax
jne 0x477488
push 0xc
call fcn.004304d0
add esp, 4
mov dword [ebp - 0x394], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x477479
mov ecx, eax
call fcn.00480f60
jmp 0x47747b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x2c0], eax
push dword [edi + 0x84]
lea ecx, [ebp - 0x3c0]
push dword [edi + 0x80]
push ecx
mov ecx, eax
call fcn.00481400
mov ecx, dword [ebp - 0x3b0]
mov eax, dword [ebp - 0x38c]
test ecx, ecx
jle 0x4774b5
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x3ac]
test ecx, ecx
jle 0x4774c2
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x3c0]
test ecx, ecx
jle 0x4774cf
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x3bc]
test ecx, ecx
jle case.default.0x477c2f
mov dword [eax + 0x24], ecx
jmp case.default.0x477c2f
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x477535
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0x16
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x228], xmm0
movlpd qword [ebp - 0x220], xmm0
mov dword [ebp - 0x234], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x5c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x158]
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x4778a7
call fcn.00482e90
mov al, 1
jmp 0x4787d9
mov ecx, dword [ebp - 0x38c]
movsx eax, cx
mov dword [ebp - 0x398], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x394], eax
lea eax, [ebp - 0x398]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [edi + 0x68], 0
mov eax, dword [ebp - 0x398]
mov dword [edi + 0x70], eax
mov eax, dword [ebp - 0x394]
mov dword [edi + 0x74], eax
je case.default.0x477c2f
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [edi + 0x68]
xor eax, eax
mov word [ebp - 0x224], ax
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x238], 0x11
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x21c], ecx
jmp 0x477ed4
cmp dword [edi + 0x5c], 0
je case.default.0x477c2f
xor eax, eax
mov dword [ebp - 0x238], 5
mov word [ebp - 0x21a], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x380]
mov word [ebp - 0x224], ax
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x22c], eax
mov eax, dword [edi + 0x74]
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x222], xmm0
mov dword [ebp - 0x228], eax
call fcn.00476740
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x5c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x158]
jmp case.default.0x477c2f
cmp dword [edi + 0x5c], 0
je case.default.0x477c2f
xor eax, eax
mov dword [ebp - 0x238], 3
mov word [ebp - 0x21a], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x380]
mov word [ebp - 0x224], ax
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x22c], eax
mov eax, dword [edi + 0x74]
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x222], xmm0
mov dword [ebp - 0x228], eax
call fcn.00476740
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x5c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x158]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x6c], eax
jmp case.default.0x477c2f
cmp dword [edi + 0x6c], 0
je case.default.0x477c2f
xor eax, eax
mov dword [ebp - 0x238], 4
mov word [ebp - 0x21a], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x380]
mov word [ebp - 0x224], ax
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x22c], eax
mov eax, dword [edi + 0x74]
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x222], xmm0
mov dword [ebp - 0x228], eax
call fcn.00476740
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x158]
mov dword [edi + 0x6c], 0
jmp case.default.0x477c2f
cmp si, 1
jne case.default.0x477c2f
cmp byte [edi + 0xc3], 0
jne 0x4778a7
lea eax, [ebp - 0x390]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x390], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x390]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x390]
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x3cc], eax
test ecx, ecx
je case.default.0x477c2f
mov eax, dword [ecx]
lea edx, [ebp - 0x3d0]
push 0xd
push edx
push 0x47c400
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x394], eax
test eax, eax
je case.default.0x477c2f
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x477c2f
mov eax, dword [ebp - 0x380]
xorps xmm0, xmm0
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp - 0x390]
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x38c]
movlpd qword [ebp - 0x3ec], xmm0
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x3f0], 0x17
mov dword [ebp - 0x3d4], esi
mov dword [ebp - 0x3e0], eax
call fcn.00476740
mov word [ebp - 0x3da], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x394]
lea edx, [ebp - 0x3f0]
mov dword [ebp - 0x3e8], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x158]
mov al, 1
jmp 0x4787d9
mov ecx, dword [ebp - 0x38c]
test ecx, ecx
je 0x4778a7
push ecx
push dword [ebp - 0x380]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3a0]
mov dword [ecx], eax
mov al, 1
jmp 0x4787d9
mov eax, dword [ebp - 0x38c]
test eax, eax
je case.default.0x477c2f
push eax
push dword [ebp - 0x380]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3a0]
mov dword [ecx], eax
mov al, 1
jmp 0x4787d9
cmp edx, 0x200
ja 0x477c0e
je 0x477a30
mov eax, edx
sub eax, 0x113
je 0x477939
sub eax, 0x20
je 0x477907
sub eax, 5
jne case.default.0x477c2f
mov ecx, dword [ebp - 0x38c]
test ecx, ecx
je case.default.0x477c2f
push ecx
push dword [ebp - 0x380]
lea eax, [edx + 0x2000]
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3a0]
mov dword [ecx], eax
mov al, 1
jmp 0x4787d9
mov eax, dword [ebp - 0x380]
mov ecx, 0xf1
movzx eax, ax
mov dword [ebp - 0x394], eax
cmp cx, ax
jne 0x477975
lea eax, [edi + 0x26c]
mov ecx, edi
push eax
call fcn.004763d0
cmp byte [edi + 0x27c], 0
sete al
mov byte [edi + 0x27c], al
jmp case.default.0x477c2f
xor esi, esi
lea ecx, [edi + 0xd4]
mov dword [ebp - 0x388], esi
call fcn.0047ece0
test eax, eax
jle case.default.0x477c2f
push esi
lea ecx, [edi + 0xd4]
call fcn.0047e130
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [edi]
jne 0x4779b9
mov eax, dword [ebp - 0x394]
movzx ecx, ax
cmp dword [esi + 0xc], ecx
jne 0x4779b9
cmp byte [esi + 0x10], 0
je 0x4779da
mov esi, dword [ebp - 0x388]
lea ecx, [edi + 0xd4]
inc esi
mov dword [ebp - 0x388], esi
call fcn.0047ece0
cmp esi, eax
jl 0x477990
jmp case.default.0x477c2f
mov ecx, dword [esi]
xorps xmm0, xmm0
mov eax, dword [esi + 4]
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x228], xmm0
mov dword [ebp - 0x238], 0x18
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x158]
jmp case.default.0x477c2f
cmp byte [edi + 0xc2], 0
jne 0x477a92
mov eax, dword [edi]
mov dword [ebp - 0x260], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x268], 0x10
mov dword [ebp - 0x264], 3
test eax, eax
jne 0x477a68
mov dword [ebp - 0x25c], 0xc8
jmp 0x477a7e
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [edi + 0xc2], 1
mov eax, dword [ebp - 0x38c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x394], ecx
mov dword [edi + 0x70], ecx
mov dword [ebp - 0x3b0], ecx
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x3a4], eax
mov dword [edi + 0x74], eax
mov dword [ebp - 0x3ac], eax
test ecx, ecx
jne 0x477ac8
xor esi, esi
jmp 0x477af7
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x47c400
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je 0x477af7
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x477c2f
mov eax, dword [ebp - 0x394]
xorps xmm0, xmm0
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x3a4]
movlpd qword [ebp - 0x238], xmm0
movlpd qword [ebp - 0x224], xmm0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x228], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x64]
mov dword [ebp - 0x230], eax
mov eax, ecx
cmp esi, ecx
je 0x477b89
test ecx, ecx
je 0x477b89
mov dword [ebp - 0x238], 0xa
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x158]
mov ecx, dword [edi + 0x20]
xor eax, eax
mov dword [edi + 0x64], 0
test ecx, ecx
je 0x477b89
lea eax, [edi + 0x24]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x64]
cmp esi, eax
je 0x477bb5
test esi, esi
je 0x477bb5
mov dword [ebp - 0x238], 0xb
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x234], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x158]
mov dword [edi + 0x64], esi
mov ecx, dword [edi + 0x68]
test ecx, ecx
je 0x477be0
mov dword [ebp - 0x238], 9
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x158]
jmp case.default.0x477c2f
test esi, esi
je case.default.0x477c2f
mov dword [ebp - 0x238], 9
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x234], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x158]
jmp case.default.0x477c2f
cmp edx, 0x20a
ja 0x4781c6
je 0x478011
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x477c2f
jmp dword [edx*4 + 0x478928]
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
cmp eax, ecx
je 0x477c56
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x477c56
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x38c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x394], ecx
mov dword [edi + 0x70], ecx
mov dword [ebp - 0x3b0], ecx
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x3a4], eax
mov dword [edi + 0x74], eax
mov dword [ebp - 0x3ac], eax
test ecx, ecx
je case.default.0x477c2f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x47c400
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x388], esi
test esi, esi
je case.default.0x477c2f
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x477c2f
mov dword [edi + 0x68], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x13c]
push dword [edi]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [ebp - 0x394]
xor eax, eax
mov word [ebp - 0x224], ax
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x234], esi
mov esi, dword [ebp - 0x38c]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x3a4]
mov byte [edi + 0xc3], 1
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 0xd
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x388]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x158]
jmp case.default.0x477c2f
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x38c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x394], ecx
mov dword [edi + 0x70], ecx
mov dword [ebp - 0x3b0], ecx
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x3a4], eax
mov dword [edi + 0x74], eax
mov dword [ebp - 0x3ac], eax
test ecx, ecx
je case.default.0x477c2f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x47c400
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je case.default.0x477c2f
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x477c2f
push dword [edi]
call dword [sym.imp.USER32.dll_SetCapture]
xor eax, eax
mov byte [edi + 0xc3], 1
mov word [ebp - 0x224], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x230], 0
movlpd qword [ebp - 0x220], xmm0
mov dword [ebp - 0x238], 0x10
mov dword [ebp - 0x234], esi
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x238]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x158]
mov dword [edi + 0x68], esi
jmp case.default.0x477c2f
mov eax, dword [ebp - 0x38c]
movsx ecx, ax
shr eax, 0x10
cmp dword [edi + 0x68], 0
cwde
mov dword [ebp - 0x394], ecx
mov dword [ebp - 0x3a4], eax
mov dword [edi + 0x70], ecx
mov dword [edi + 0x74], eax
je case.default.0x477c2f
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x394]
xor eax, eax
mov esi, dword [ebp - 0x38c]
mov word [ebp - 0x224], ax
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x3a4]
mov dword [ebp - 0x238], 0xe
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x222], ax
mov dword [ebp - 0x230], 0
mov byte [edi + 0xc3], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x68]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x158]
mov dword [edi + 0x68], 0
jmp case.default.0x477c2f
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x38c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x394], ecx
mov dword [edi + 0x70], ecx
mov dword [ebp - 0x3b0], ecx
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x3a4], eax
mov dword [edi + 0x74], eax
mov dword [ebp - 0x3ac], eax
test ecx, ecx
je case.default.0x477c2f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x47c400
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x388], esi
test esi, esi
je case.default.0x477c2f
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x477c2f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x13c]
push dword [edi]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [ebp - 0x394]
xor eax, eax
mov word [ebp - 0x224], ax
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x234], esi
mov esi, dword [ebp - 0x38c]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x3a4]
mov byte [edi + 0xc3], 1
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 0xf
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x388]
jmp 0x477e3a
mov ecx, dword [ebp - 0x38c]
movsx eax, cx
mov dword [ebp - 0x3a8], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x3a4], eax
lea eax, [ebp - 0x3a8]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x3a8]
mov eax, dword [ebp - 0x3a4]
mov dword [edi + 0x70], ecx
mov dword [ebp - 0x3b0], ecx
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x74], eax
mov dword [ebp - 0x3ac], eax
test ecx, ecx
je case.default.0x477c2f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x47c400
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x394], esi
test esi, esi
je case.default.0x477c2f
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x477c2f
mov eax, dword [esi]
mov ecx, esi
push str.WebBrowserUI
mov eax, dword [eax + 0x10]
call eax
push eax
call fcn.00540c3e
add esp, 8
test eax, eax
jne 0x478133
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x4780d8
mov eax, dword [ecx]
push str.EditUI
mov eax, dword [eax + 0x10]
call eax
push eax
call fcn.00540c3e
add esp, 8
test eax, eax
je 0x478133
xorps xmm0, xmm0
mov dword [ebp - 0x278], 0x15
movlpd qword [ebp - 0x270], xmm0
movlpd qword [ebp - 0x268], xmm0
movlpd qword [ebp - 0x260], xmm0
mov dword [ebp - 0x274], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x278]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x158]
push 0
push 0
push 0
push str.setfocus
push esi
mov ecx, edi
call fcn.0047ab90
mov eax, dword [ebp - 0x380]
xorps xmm0, xmm0
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x234], esi
mov esi, dword [ebp - 0x38c]
shr eax, 0xf
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x228], xmm0
mov dword [ebp - 0x238], 0x12
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], esi
call fcn.00476740
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x394]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x158]
movzx ecx, word [edi + 0x74]
movzx eax, word [edi + 0x70]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x477c2f
cmp edx, 0x318
ja 0x47861e
je 0x478535
sub edx, 0x215
je 0x4784d1
sub edx, 0x8c
je 0x478231
sub edx, 2
jne case.default.0x477c2f
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x47820f
lea eax, [edi + 0x24]
push eax
push edx
push 0x411
push ecx
call esi
cmp byte [edi + 0xc2], 0
je 0x478225
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi]
call esi
mov byte [edi + 0xc2], 0
jmp case.default.0x477c2f
mov eax, dword [ebp - 0x38c]
movsx ecx, ax
shr eax, 0x10
mov dword [ebp - 0x3a4], ecx
cwde
mov dword [ebp - 0x3b0], ecx
mov ecx, dword [edi + 0x58]
mov byte [edi + 0xc2], 0
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x3ac], eax
test ecx, ecx
je case.default.0x477c2f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x47c400
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je case.default.0x477c2f
push dword [edi]
mov eax, dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 0x3b8], eax
call eax
test eax, eax
je 0x4782ff
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x394], eax
cmp eax, dword [edi]
je 0x4782ff
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00523fd0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebp - 0x394]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4782ff
lea eax, [ebp - 0x218]
push str.Internet_Explorer_Server
push eax
call fcn.00540c3e
add esp, 8
test eax, eax
jne 0x4782ff
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x64]
test eax, eax
je 0x47836b
mov ecx, dword [ebp - 0x3a4]
xorps xmm0, xmm0
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x388]
mov dword [ebp - 0x230], 0
movlpd qword [ebp - 0x224], xmm0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x238], 0xc
mov dword [ebp - 0x234], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x64]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x158]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x4778a7
mov eax, dword [esi]
lea ecx, [ebp - 0x33c]
push ecx
mov ecx, esi
call dword [eax + 0xd8]
lea ecx, [ebp - 0x33c]
mov dword [ebp - 4], 3
call fcn.0047f050
lea ecx, [ebp - 0x33c]
test al, al
jne 0x4784c5
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov eax, dword [edi]
mov dword [edi + 0x24], 0x30
mov dword [edi + 0x28], 1
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov eax, dword [0x656028]
mov dword [edi + 0x44], eax
call fcn.0047e1b0
mov dword [edi + 0x48], eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x34]
call eax
movups xmm0, xmmword [eax]
mov eax, dword [edi + 0x20]
movups xmmword [edi + 0x34], xmm0
test eax, eax
jne 0x47848e
push eax
push dword [0x656028]
push eax
push dword [edi]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysStringLen
push eax
push str.tooltips_class32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [edi + 0x24]
mov dword [edi + 0x20], eax
push ecx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xec]
call eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push dword [edi + 0x20]
call esi
mov eax, dword [edi + 0x20]
jmp 0x478494
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [ebp - 0x3b8]
test eax, eax
jne 0x4784bf
lea eax, [edi + 0x24]
push eax
push 0
push 0x436
push dword [edi + 0x20]
call esi
lea eax, [edi + 0x24]
push eax
push 1
push 0x411
push dword [edi + 0x20]
call esi
lea ecx, [ebp - 0x33c]
call fcn.0047dcd0
mov al, 1
jmp 0x4787d9
mov edx, dword [edi + 0x68]
test edx, edx
je case.default.0x477c2f
mov eax, dword [ebp - 0x38c]
cmp eax, dword [edi]
je case.default.0x477c2f
mov ecx, dword [ebp - 0x380]
xorps xmm0, xmm0
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x238]
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x228], xmm0
mov dword [ebp - 0x238], 0x1b
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x21c], eax
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 0x15c]
jmp case.default.0x477c2f
lea eax, [ebp - 0x228]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x380]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x394], eax
lea eax, [ebp - 0x228]
push eax
push esi
mov edx, dword [ecx]
call dword [edx + 0x168]
test byte [ebp - 0x38c], 0x10
je 0x47860c
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x384], eax
test eax, eax
je 0x47860c
or dword [ebp - 0x38c], 2
lea ecx, [ebp - 0x268]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x268], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x268]
push eax
push dword [edi]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x264]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x268]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x38c]
push esi
push 0x317
push dword [ebp - 0x384]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x384]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x384], eax
test eax, eax
jne 0x478596
push dword [ebp - 0x394]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x477c2f
cmp edx, 0x31e
je 0x4786b6
cmp edx, 0x8001
jne case.default.0x477c2f
lea esi, [edi + 0x104]
push esi
lea ecx, [ebp - 0x3b4]
call fcn.0047db20
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0047e830
lea ecx, [ebp - 0x3b4]
xor esi, esi
call fcn.0047ece0
test eax, eax
jle 0x478697
nop word [eax + eax]
push esi
lea ecx, [ebp - 0x3b4]
call fcn.0047e130
test eax, eax
je 0x478687
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
lea ecx, [ebp - 0x3b4]
inc esi
call fcn.0047ece0
cmp esi, eax
jl 0x478670
lea ecx, [ebp - 0x3b4]
call fcn.0047e830
lea ecx, [ebp - 0x3b4]
mov dword [ebp - 4], 0xffffffff
call fcn.0047dcf0
jmp case.default.0x477c2f
push str.Dwmapi.dll
mov dword [edi + 0x2a0], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je case.default.0x477c2f
push str.DwmIsCompositionEnabled
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4786ea
lea ecx, [edi + 0x2a0]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [edi + 0x110]
call fcn.0047ebd0
push 0
lea ecx, [edi + 0x110]
mov esi, eax
call fcn.0047f240
lea eax, [edi + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x4787d7
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x478758
add ecx, 0x38
call fcn.00480bc0
test al, al
je 0x478758
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.00480be0
test al, al
jne 0x4787b2
lea eax, [edi + 0xc8]
mov dword [ebp - 0x394], 0
mov ecx, eax
mov dword [ebp - 0x388], eax
call fcn.0047ece0
test eax, eax
jle 0x4787b2
mov edi, dword [ebp - 0x394]
nop
cmp dword [esi + 0x108], 0
je 0x4787ac
mov ecx, dword [ebp - 0x388]
push edi
call fcn.0047e130
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x388]
inc edi
call fcn.0047ece0
cmp edi, eax
jl 0x478780
mov edi, dword [ebp - 0x3b8]
lea ecx, [esi + 0x84]
call fcn.0047dcd0
mov ecx, esi
call fcn.0047dcd0
push 0x120
push esi
call fcn.00465689
add esp, 8
jmp case.default.0x477c2f
xor al, al
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.00465678
mov esp, ebp
pop ebp
ret 0x10