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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546c7a
mov eax, dword fs:[0]
push eax
sub esp, 0x3e4
mov eax, dword [0x5923e4]
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 0x4765b7
lea eax, [edi + 0x2a4]
push eax
lea esi, [edi + 0x110]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
mov ecx, esi
call fcn.004818d0
push 0
lea ecx, [edi + 0x110]
mov esi, eax
call fcn.00481e30
lea eax, [edi + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x4746b7
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x474632
add ecx, 0x38
call fcn.00492690
test al, al
je 0x474632
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004926a0
test al, al
jne 0x474692
lea eax, [edi + 0xc8]
mov dword [ebp - 0x388], 0
mov ecx, eax
mov dword [ebp - 0x384], eax
call fcn.00465470
test eax, eax
jle 0x474692
mov edi, dword [ebp - 0x388]
nop dword [eax]
cmp dword [esi + 0x108], 0
je 0x47468c
mov ecx, dword [ebp - 0x384]
push edi
call fcn.00481250
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x384]
inc edi
call fcn.00465470
cmp edi, eax
jl 0x474660
mov edi, dword [ebp - 0x3b8]
lea ecx, [esi + 0x84]
call fcn.00427020
mov ecx, esi
call fcn.00427020
push 0x120
push esi
call fcn.004dc241
add esp, 8
jmp 0x4745c9
lea ecx, [edi + 0xec]
mov dword [ebp - 0x384], 0
call fcn.00465470
mov esi, dword [ebp - 0x38c]
test eax, eax
jle 0x474734
xor ecx, ecx
nop dword [eax + eax]
push ecx
lea ecx, [edi + 0xec]
mov byte [ebp - 0x399], 0
call fcn.00481250
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 0x47567f
inc dword [ebp - 0x384]
lea ecx, [edi + 0xec]
call fcn.00465470
mov ecx, dword [ebp - 0x384]
cmp ecx, eax
jl 0x4746e0
mov edx, dword [ebp + 8]
cmp edx, 0x111
ja 0x4756be
je 0x47568e
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x475a0f
movzx eax, byte [eax + 0x476608]
jmp dword [eax*4 + 0x4765d8]
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 0x4747c6
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 0x4747ec
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.00478700
push 4
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.default.0x475a0f
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x475a0f
cmp dword [edi + 0x2a0], 0
jne 0x47482f
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 0x4765b9
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 0x475687
cmp dword [edi + 0x58], 0
jne 0x4748a3
push 0x40
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.00515e40
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 0x4765b9
cmp byte [edi + 0xc0], 0
je 0x474e42
push 0xffffffffffffffec
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x4748d1
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.00515e40
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 0x47491a
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 0x47492a
push eax
call esi
cmp byte [edi + 0xbd], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
je 0x474a58
lea eax, [ebp - 0x248]
mov byte [edi + 0xbd], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x474a58
mov ecx, dword [edi + 0x58]
call fcn.0047e770
test al, al
je 0x4749ac
mov eax, dword [edi + 0x10]
test eax, eax
je 0x47497b
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x474985
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 0x474a10
mov ecx, dword [edi + 0x58]
push SysReAllocString
push 0
push 0x479500
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x384], eax
test eax, eax
je 0x474a10
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 0x479500
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x384], eax
test eax, eax
jne 0x4749d0
cmp byte [edi + 0xbc], 0
movups xmm0, xmmword [ebp - 0x248]
movups xmmword [edi + 0x290], xmm0
je 0x474a43
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0x58]
mov ecx, edi
mov byte [edi + 0xbc], 0
call fcn.00477e00
push 0
push 0
push 0
push str.windowresized
push dword [edi + 0x58]
mov ecx, edi
call fcn.00477e00
cmp byte [edi + 0xbe], 0
je 0x474a6a
push 1
mov ecx, edi
call fcn.00478b30
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 0x474add
cmp dword [edi + 0x18], 0
jne 0x474add
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.004859a0
add esp, 0x10
mov dword [edi + 0x18], eax
cmp dword [edi + 0x1c], 0
je 0x47488d
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 0x474b74
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.00515e40
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 0x474b30
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 0x474be8
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov esi, dword [edi]
test al, al
je 0x474bb6
call dword [sym.imp.USER32.dll_GetFocus]
cmp esi, eax
je 0x474be2
push 0xf1
push esi
call dword [sym.imp.USER32.dll_KillTimer]
cmp byte [edi + 0x27c], 0
je 0x474bd9
lea eax, [edi + 0x26c]
mov ecx, edi
push eax
call fcn.004742b0
mov byte [edi + 0x27c], 0
jmp 0x474c54
mov esi, dword [ebp - 0x3b8]
cmp byte [edi + 0x27c], 0
je 0x474c54
cmp byte [edi + 0x27d], 0
je 0x474c54
cmp dword [edi + 0x280], 0
je 0x474c54
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 0x474c54
mov ecx, dword [edi + 0x280]
call fcn.004960e0
test eax, eax
jne 0x474c41
mov eax, dword [edi + 0x154]
push 0
push eax
lea eax, [ebp - 0x258]
push eax
push esi
call fcn.00485df0
add esp, 0x10
xor esi, esi
lea ecx, [edi + 0x284]
mov dword [ebp - 0x388], esi
call fcn.00465470
test eax, eax
jle 0x474d6e
nop
push esi
lea ecx, [edi + 0x284]
call fcn.00481250
mov esi, eax
test esi, esi
je 0x474d4e
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.00495f70
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 0x474d4e
mov esi, dword [ebp - 0x254]
mov edx, dword [ebp - 0x24c]
cmp esi, edx
jge 0x474d4e
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 0x474d3d
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 0x474d10
mov edx, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x380]
inc esi
add dword [ebp - 0x384], ecx
cmp esi, edx
jl 0x474cf0
mov esi, dword [ebp - 0x388]
lea ecx, [edi + 0x284]
inc esi
mov dword [ebp - 0x388], esi
call fcn.00465470
cmp esi, eax
jl 0x474c70
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 0x4765b9
cmp byte [edi + 0xbd], 0
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
je 0x474fb0
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 0x474fb0
mov ecx, dword [edi + 0x58]
call fcn.0047e770
mov ecx, dword [edi + 0x58]
test al, al
je 0x474f0a
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 0x474eb7
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 0x474ec7
push eax
call esi
cmp byte [edi + 0xc0], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
jne 0x474f70
mov eax, dword [edi + 0x10]
test eax, eax
je 0x474ef0
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x474efa
push eax
call esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
jmp 0x474f70
mov eax, dword [ecx]
push SysReAllocString
push 0
push 0x479500
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x388], eax
test eax, eax
je 0x474f76
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 0x479500
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x388], eax
test eax, eax
jne 0x474f30
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [edi + 0xbc], 0
je 0x474f9b
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0x58]
mov ecx, edi
mov byte [edi + 0xbc], 0
call fcn.00477e00
push 0
push 0
push 0
push str.windowresized
push dword [edi + 0x58]
mov ecx, edi
call fcn.00477e00
cmp byte [edi + 0xbe], 0
je 0x474fc2
push 1
mov ecx, edi
call fcn.00478b30
cmp byte [edi + 0xbf], 0
je 0x475018
cmp dword [edi + 0x14], 0
jne 0x475018
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.00515e40
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 0x475178
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.00465470
test eax, eax
jle 0x4750c0
nop
push esi
lea ecx, [edi + 0xf8]
call fcn.00481250
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.00465470
cmp esi, eax
jl 0x475090
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 0x4751ab
push dword [0x597fd0]
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 0x4751ab
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 0x475687
push 0
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x4765b9
mov eax, dword [edi + 0x2c0]
test eax, eax
jne 0x475217
push 0xc
call fcn.004dbe96
add esp, 4
mov dword [ebp - 0x394], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x475208
mov ecx, eax
call fcn.00471e30
jmp 0x47520a
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.00472130
mov eax, dword [edi + 0x2c0]
test eax, eax
jne 0x475268
push 0xc
call fcn.004dbe96
add esp, 4
mov dword [ebp - 0x394], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x475259
mov ecx, eax
call fcn.00471e30
jmp 0x47525b
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.00472130
mov ecx, dword [ebp - 0x3b0]
mov eax, dword [ebp - 0x38c]
test ecx, ecx
jle 0x475295
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x3ac]
test ecx, ecx
jle 0x4752a2
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x3c0]
test ecx, ecx
jle 0x4752af
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x3bc]
test ecx, ecx
jle case.default.0x475a0f
mov dword [eax + 0x24], ecx
jmp case.default.0x475a0f
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x475315
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 0x475687
call fcn.0047e830
mov al, 1
jmp 0x4765b9
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.0x475a0f
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 0x475cb4
cmp dword [edi + 0x5c], 0
je case.default.0x475a0f
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.00474520
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.0x475a0f
cmp dword [edi + 0x5c], 0
je case.default.0x475a0f
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.00474520
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.0x475a0f
cmp dword [edi + 0x6c], 0
je case.default.0x475a0f
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.00474520
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.0x475a0f
cmp si, 1
jne case.default.0x475a0f
cmp byte [edi + 0xc3], 0
jne 0x475687
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.0x475a0f
mov eax, dword [ecx]
lea edx, [ebp - 0x3d0]
push 0xd
push edx
push 0x479410
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x394], eax
test eax, eax
je case.default.0x475a0f
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x475a0f
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.00474520
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 0x4765b9
mov ecx, dword [ebp - 0x38c]
test ecx, ecx
je 0x475687
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 0x4765b9
mov eax, dword [ebp - 0x38c]
test eax, eax
je case.default.0x475a0f
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 0x4765b9
cmp edx, 0x200
ja 0x4759ee
je 0x475810
mov eax, edx
sub eax, 0x113
je 0x475719
sub eax, 0x20
je 0x4756e7
sub eax, 5
jne case.default.0x475a0f
mov ecx, dword [ebp - 0x38c]
test ecx, ecx
je case.default.0x475a0f
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 0x4765b9
mov eax, dword [ebp - 0x380]
mov ecx, 0xf1
movzx eax, ax
mov dword [ebp - 0x394], eax
cmp cx, ax
jne 0x475755
lea eax, [edi + 0x26c]
mov ecx, edi
push eax
call fcn.004742b0
cmp byte [edi + 0x27c], 0
sete al
mov byte [edi + 0x27c], al
jmp case.default.0x475a0f
xor esi, esi
lea ecx, [edi + 0xd4]
mov dword [ebp - 0x388], esi
call fcn.00465470
test eax, eax
jle case.default.0x475a0f
push esi
lea ecx, [edi + 0xd4]
call fcn.00481250
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [edi]
jne 0x475799
mov eax, dword [ebp - 0x394]
movzx ecx, ax
cmp dword [esi + 0xc], ecx
jne 0x475799
cmp byte [esi + 0x10], 0
je 0x4757ba
mov esi, dword [ebp - 0x388]
lea ecx, [edi + 0xd4]
inc esi
mov dword [ebp - 0x388], esi
call fcn.00465470
cmp esi, eax
jl 0x475770
jmp case.default.0x475a0f
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.0x475a0f
cmp byte [edi + 0xc2], 0
jne 0x475872
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 0x475848
mov dword [ebp - 0x25c], 0xc8
jmp 0x47585e
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 0x4758a8
xor esi, esi
jmp 0x4758d7
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x479410
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je 0x4758d7
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x475a0f
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 0x475969
test ecx, ecx
je 0x475969
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 0x475969
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 0x475995
test esi, esi
je 0x475995
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 0x4759c0
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.0x475a0f
test esi, esi
je case.default.0x475a0f
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.0x475a0f
cmp edx, 0x20a
ja 0x475fa6
je 0x475df1
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x475a0f
jmp dword [edx*4 + 0x476708]
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
cmp eax, ecx
je 0x475a36
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x475a36
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.0x475a0f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x479410
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x388], esi
test esi, esi
je case.default.0x475a0f
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x475a0f
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.0x475a0f
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.0x475a0f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x479410
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je case.default.0x475a0f
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x475a0f
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.0x475a0f
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.0x475a0f
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.0x475a0f
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.0x475a0f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x479410
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x388], esi
test esi, esi
je case.default.0x475a0f
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x475a0f
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 0x475c1a
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.0x475a0f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x479410
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x394], esi
test esi, esi
je case.default.0x475a0f
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x475a0f
mov eax, dword [esi]
mov ecx, esi
push str.WebBrowserUI
mov eax, dword [eax + 0x10]
call eax
push eax
call fcn.0052a57a
add esp, 8
test eax, eax
jne 0x475f13
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x475eb8
mov eax, dword [ecx]
push str.EditUI
mov eax, dword [eax + 0x10]
call eax
push eax
call fcn.0052a57a
add esp, 8
test eax, eax
je 0x475f13
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.00477e00
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.00474520
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.0x475a0f
cmp edx, 0x318
ja 0x4763fe
je 0x476315
sub edx, 0x215
je 0x4762b1
sub edx, 0x8c
je 0x476011
sub edx, 2
jne case.default.0x475a0f
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x475fef
lea eax, [edi + 0x24]
push eax
push edx
push 0x411
push ecx
call esi
cmp byte [edi + 0xc2], 0
je 0x476005
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi]
call esi
mov byte [edi + 0xc2], 0
jmp case.default.0x475a0f
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.0x475a0f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x479410
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je case.default.0x475a0f
push dword [edi]
mov eax, dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 0x3b8], eax
call eax
test eax, eax
je 0x4760df
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x394], eax
cmp eax, dword [edi]
je 0x4760df
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00515e40
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 0x4760df
lea eax, [ebp - 0x218]
push str.Internet_Explorer_Server
push eax
call fcn.0052a57a
add esp, 8
test eax, eax
jne 0x4760df
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x64]
test eax, eax
je 0x47614b
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 0x475687
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.00481ca0
lea ecx, [ebp - 0x33c]
test al, al
jne 0x4762a5
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 [0x597fc0]
mov dword [edi + 0x44], eax
call fcn.00474130
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 0x47626e
push eax
push dword [0x597fc0]
push eax
push dword [edi]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x80000003
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 0x476274
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [ebp - 0x3b8]
test eax, eax
jne 0x47629f
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.00427020
mov al, 1
jmp 0x4765b9
mov edx, dword [edi + 0x68]
test edx, edx
je case.default.0x475a0f
mov eax, dword [ebp - 0x38c]
cmp eax, dword [edi]
je case.default.0x475a0f
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.0x475a0f
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 0x4763ec
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x384], eax
test eax, eax
je 0x4763ec
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 0x476376
push dword [ebp - 0x394]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x475a0f
cmp edx, 0x31e
je 0x476496
cmp edx, 0x8001
jne case.default.0x475a0f
lea esi, [edi + 0x104]
push esi
lea ecx, [ebp - 0x3b4]
call fcn.00480e40
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004815a0
lea ecx, [ebp - 0x3b4]
xor esi, esi
call fcn.00465470
test eax, eax
jle 0x476477
nop word [eax + eax]
push esi
lea ecx, [ebp - 0x3b4]
call fcn.00481250
test eax, eax
je 0x476467
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
lea ecx, [ebp - 0x3b4]
inc esi
call fcn.00465470
cmp esi, eax
jl 0x476450
lea ecx, [ebp - 0x3b4]
call fcn.004815a0
lea ecx, [ebp - 0x3b4]
mov dword [ebp - 4], 0xffffffff
call fcn.00480f90
jmp case.default.0x475a0f
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.0x475a0f
push str.DwmIsCompositionEnabled
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4764ca
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.004818d0
push 0
lea ecx, [edi + 0x110]
mov esi, eax
call fcn.00481e30
lea eax, [edi + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x4765b7
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x476538
add ecx, 0x38
call fcn.00492690
test al, al
je 0x476538
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004926a0
test al, al
jne 0x476592
lea eax, [edi + 0xc8]
mov dword [ebp - 0x394], 0
mov ecx, eax
mov dword [ebp - 0x388], eax
call fcn.00465470
test eax, eax
jle 0x476592
mov edi, dword [ebp - 0x394]
nop
cmp dword [esi + 0x108], 0
je 0x47658c
mov ecx, dword [ebp - 0x388]
push edi
call fcn.00481250
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x388]
inc edi
call fcn.00465470
cmp edi, eax
jl 0x476560
mov edi, dword [ebp - 0x3b8]
lea ecx, [esi + 0x84]
call fcn.00427020
mov ecx, esi
call fcn.00427020
push 0x120
push esi
call fcn.004dc241
add esp, 8
jmp case.default.0x475a0f
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.004dbc7c
mov esp, ebp
pop ebp
ret 0x10