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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fd6a
mov eax, dword fs:[0]
push eax
sub esp, 0x3e4
mov eax, dword [0x604654]
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 0x4ab9a7
lea eax, [edi + 0x2a4]
push eax
lea esi, [edi + 0x110]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
mov ecx, esi
call fcn.004a6310
push 0
lea ecx, [edi + 0x110]
mov esi, eax
call fcn.004a6880
lea eax, [edi + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x4a9aa7
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4a9a22
add ecx, 0x38
call fcn.004d97b0
test al, al
je 0x4a9a22
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004d97c0
test al, al
jne 0x4a9a82
lea eax, [edi + 0xc8]
mov dword [ebp - 0x388], 0
mov ecx, eax
mov dword [ebp - 0x384], eax
call fcn.004a63c0
test eax, eax
jle 0x4a9a82
mov edi, dword [ebp - 0x388]
nop dword [eax]
cmp dword [esi + 0x108], 0
je 0x4a9a7c
mov ecx, dword [ebp - 0x384]
push edi
call fcn.004a5c90
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x384]
inc edi
call fcn.004a63c0
cmp edi, eax
jl 0x4a9a50
mov edi, dword [ebp - 0x3b8]
lea ecx, [esi + 0x84]
call fcn.00462810
mov ecx, esi
call fcn.00462810
push 0x120
push esi
call fcn.004a3dd5
add esp, 8
jmp 0x4a99b9
lea ecx, [edi + 0xec]
mov dword [ebp - 0x384], 0
call fcn.004a63c0
mov esi, dword [ebp - 0x38c]
test eax, eax
jle 0x4a9b24
xor ecx, ecx
nop dword [eax + eax]
push ecx
lea ecx, [edi + 0xec]
mov byte [ebp - 0x399], 0
call fcn.004a5c90
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 0x4aaa6f
inc dword [ebp - 0x384]
lea ecx, [edi + 0xec]
call fcn.004a63c0
mov ecx, dword [ebp - 0x384]
cmp ecx, eax
jl 0x4a9ad0
mov edx, dword [ebp + 8]
cmp edx, 0x111
ja 0x4aaaae
je 0x4aaa7e
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x4aadff
movzx eax, byte [eax + 0x4ab9f8]
jmp dword [eax*4 + 0x4ab9c8]
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 0x4a9bb6
mov dword [ebp - 0x238], 0xa
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [edi + 0x68]
test ecx, ecx
je 0x4a9bdc
mov dword [ebp - 0x238], 0xe
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
push 0
mov ecx, edi
call fcn.004ad890
push 4
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.default.0x4aadff
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x4aadff
cmp dword [edi + 0x2a0], 0
jne 0x4a9c1f
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 0x4ab9a9
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 0x4aaa77
cmp dword [edi + 0x58], 0
jne 0x4a9c93
push 0x40
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.0053c7b0
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 0x4ab9a9
cmp byte [edi + 0xc0], 0
je 0x4aa232
push 0xffffffffffffffec
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x4a9cc1
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.0053c7b0
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 0x4a9d0a
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 0x4a9d1a
push eax
call esi
cmp byte [edi + 0xbd], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
je 0x4a9e48
lea eax, [ebp - 0x248]
mov byte [edi + 0xbd], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4a9e48
mov ecx, dword [edi + 0x58]
call fcn.004b1290
test al, al
je 0x4a9d9c
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4a9d6b
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4a9d75
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 0x4a9e00
mov ecx, dword [edi + 0x58]
push SysReAllocString
push 0
push 0x4ae670
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x384], eax
test eax, eax
je 0x4a9e00
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 0x4ae670
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x384], eax
test eax, eax
jne 0x4a9dc0
cmp byte [edi + 0xbc], 0
movups xmm0, xmmword [ebp - 0x248]
movups xmmword [edi + 0x290], xmm0
je 0x4a9e33
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0x58]
mov ecx, edi
mov byte [edi + 0xbc], 0
call fcn.004ad000
push 0
push 0
push 0
push str.windowresized
push dword [edi + 0x58]
mov ecx, edi
call fcn.004ad000
cmp byte [edi + 0xbe], 0
je 0x4a9e5a
push 1
mov ecx, edi
call fcn.004adcc0
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 0x4a9ecd
cmp dword [edi + 0x18], 0
jne 0x4a9ecd
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.004cde40
add esp, 0x10
mov dword [edi + 0x18], eax
cmp dword [edi + 0x1c], 0
je 0x4a9c7d
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 0x4a9f64
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.0053c7b0
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 0x4a9f20
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 0x4a9fd8
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov esi, dword [edi]
test al, al
je 0x4a9fa6
call dword [sym.imp.USER32.dll_GetFocus]
cmp esi, eax
je 0x4a9fd2
push 0xf1
push esi
call dword [sym.imp.USER32.dll_KillTimer]
cmp byte [edi + 0x27c], 0
je 0x4a9fc9
lea eax, [edi + 0x26c]
mov ecx, edi
push eax
call fcn.004a96a0
mov byte [edi + 0x27c], 0
jmp 0x4aa044
mov esi, dword [ebp - 0x3b8]
cmp byte [edi + 0x27c], 0
je 0x4aa044
cmp byte [edi + 0x27d], 0
je 0x4aa044
cmp dword [edi + 0x280], 0
je 0x4aa044
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 0x4aa044
mov ecx, dword [edi + 0x280]
call fcn.004c9810
test eax, eax
jne 0x4aa031
mov eax, dword [edi + 0x154]
push 0
push eax
lea eax, [ebp - 0x258]
push eax
push esi
call fcn.004ce290
add esp, 0x10
xor esi, esi
lea ecx, [edi + 0x284]
mov dword [ebp - 0x388], esi
call fcn.004a63c0
test eax, eax
jle 0x4aa15e
nop
push esi
lea ecx, [edi + 0x284]
call fcn.004a5c90
mov esi, eax
test esi, esi
je 0x4aa13e
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.004c96b0
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 0x4aa13e
mov esi, dword [ebp - 0x254]
mov edx, dword [ebp - 0x24c]
cmp esi, edx
jge 0x4aa13e
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 0x4aa12d
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 0x4aa100
mov edx, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x380]
inc esi
add dword [ebp - 0x384], ecx
cmp esi, edx
jl 0x4aa0e0
mov esi, dword [ebp - 0x388]
lea ecx, [edi + 0x284]
inc esi
mov dword [ebp - 0x388], esi
call fcn.004a63c0
cmp esi, eax
jl 0x4aa060
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 0x4ab9a9
cmp byte [edi + 0xbd], 0
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
je 0x4aa3a0
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 0x4aa3a0
mov ecx, dword [edi + 0x58]
call fcn.004b1290
mov ecx, dword [edi + 0x58]
test al, al
je 0x4aa2fa
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 0x4aa2a7
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 0x4aa2b7
push eax
call esi
cmp byte [edi + 0xc0], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
jne 0x4aa360
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4aa2e0
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4aa2ea
push eax
call esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
jmp 0x4aa360
mov eax, dword [ecx]
push SysReAllocString
push 0
push 0x4ae670
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x388], eax
test eax, eax
je 0x4aa366
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 0x4ae670
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x388], eax
test eax, eax
jne 0x4aa320
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [edi + 0xbc], 0
je 0x4aa38b
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0x58]
mov ecx, edi
mov byte [edi + 0xbc], 0
call fcn.004ad000
push 0
push 0
push 0
push str.windowresized
push dword [edi + 0x58]
mov ecx, edi
call fcn.004ad000
cmp byte [edi + 0xbe], 0
je 0x4aa3b2
push 1
mov ecx, edi
call fcn.004adcc0
cmp byte [edi + 0xbf], 0
je 0x4aa408
cmp dword [edi + 0x14], 0
jne 0x4aa408
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.0053c7b0
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 0x4aa568
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.004a63c0
test eax, eax
jle 0x4aa4b0
nop
push esi
lea ecx, [edi + 0xf8]
call fcn.004a5c90
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.004a63c0
cmp esi, eax
jl 0x4aa480
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 0x4aa59b
push dword [0x611ed0]
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 0x4aa59b
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 0x4aaa77
push 0
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x4ab9a9
mov eax, dword [edi + 0x2c0]
test eax, eax
jne 0x4aa607
push 0xc
call fcn.004a3da5
add esp, 4
mov dword [ebp - 0x394], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4aa5f8
mov ecx, eax
call fcn.004a72d0
jmp 0x4aa5fa
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.004a75d0
mov eax, dword [edi + 0x2c0]
test eax, eax
jne 0x4aa658
push 0xc
call fcn.004a3da5
add esp, 4
mov dword [ebp - 0x394], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4aa649
mov ecx, eax
call fcn.004a72d0
jmp 0x4aa64b
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.004a75d0
mov ecx, dword [ebp - 0x3b0]
mov eax, dword [ebp - 0x38c]
test ecx, ecx
jle 0x4aa685
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x3ac]
test ecx, ecx
jle 0x4aa692
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x3c0]
test ecx, ecx
jle 0x4aa69f
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x3bc]
test ecx, ecx
jle case.default.0x4aadff
mov dword [eax + 0x24], ecx
jmp case.default.0x4aadff
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x4aa705
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 + pe_nt_image_headers32]
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x4aaa77
call fcn.004b1350
mov al, 1
jmp 0x4ab9a9
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.0x4aadff
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 0x4ab0a4
cmp dword [edi + 0x5c], 0
je case.default.0x4aadff
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.004a9910
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 + pe_nt_image_headers32]
jmp case.default.0x4aadff
cmp dword [edi + 0x5c], 0
je case.default.0x4aadff
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.004a9910
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 + pe_nt_image_headers32]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x6c], eax
jmp case.default.0x4aadff
cmp dword [edi + 0x6c], 0
je case.default.0x4aadff
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.004a9910
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 + pe_nt_image_headers32]
mov dword [edi + 0x6c], 0
jmp case.default.0x4aadff
cmp si, 1
jne case.default.0x4aadff
cmp byte [edi + 0xc3], 0
jne 0x4aaa77
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.0x4aadff
mov eax, dword [ecx]
lea edx, [ebp - 0x3d0]
push 0xd
push edx
push 0x4ae580
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x394], eax
test eax, eax
je case.default.0x4aadff
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x4aadff
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.004a9910
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 + pe_nt_image_headers32]
mov al, 1
jmp 0x4ab9a9
mov ecx, dword [ebp - 0x38c]
test ecx, ecx
je 0x4aaa77
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 0x4ab9a9
mov eax, dword [ebp - 0x38c]
test eax, eax
je case.default.0x4aadff
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 0x4ab9a9
cmp edx, 0x200
ja 0x4aadde
je 0x4aac00
mov eax, edx
sub eax, 0x113
je 0x4aab09
sub eax, 0x20
je 0x4aaad7
sub eax, 5
jne case.default.0x4aadff
mov ecx, dword [ebp - 0x38c]
test ecx, ecx
je case.default.0x4aadff
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 0x4ab9a9
mov eax, dword [ebp - 0x380]
mov ecx, 0xf1
movzx eax, ax
mov dword [ebp - 0x394], eax
cmp cx, ax
jne 0x4aab45
lea eax, [edi + 0x26c]
mov ecx, edi
push eax
call fcn.004a96a0
cmp byte [edi + 0x27c], 0
sete al
mov byte [edi + 0x27c], al
jmp case.default.0x4aadff
xor esi, esi
lea ecx, [edi + 0xd4]
mov dword [ebp - 0x388], esi
call fcn.004a63c0
test eax, eax
jle case.default.0x4aadff
push esi
lea ecx, [edi + 0xd4]
call fcn.004a5c90
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [edi]
jne 0x4aab89
mov eax, dword [ebp - 0x394]
movzx ecx, ax
cmp dword [esi + 0xc], ecx
jne 0x4aab89
cmp byte [esi + 0x10], 0
je 0x4aabaa
mov esi, dword [ebp - 0x388]
lea ecx, [edi + 0xd4]
inc esi
mov dword [ebp - 0x388], esi
call fcn.004a63c0
cmp esi, eax
jl 0x4aab60
jmp case.default.0x4aadff
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 + pe_nt_image_headers32]
jmp case.default.0x4aadff
cmp byte [edi + 0xc2], 0
jne 0x4aac62
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 0x4aac38
mov dword [ebp - 0x25c], 0xc8
jmp 0x4aac4e
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 0x4aac98
xor esi, esi
jmp 0x4aacc7
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x4ae580
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je 0x4aacc7
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x4aadff
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 0x4aad59
test ecx, ecx
je 0x4aad59
mov dword [ebp - 0x238], 0xa
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [edi + 0x20]
xor eax, eax
mov dword [edi + 0x64], 0
test ecx, ecx
je 0x4aad59
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 0x4aad85
test esi, esi
je 0x4aad85
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 + pe_nt_image_headers32]
mov dword [edi + 0x64], esi
mov ecx, dword [edi + 0x68]
test ecx, ecx
je 0x4aadb0
mov dword [ebp - 0x238], 9
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
jmp case.default.0x4aadff
test esi, esi
je case.default.0x4aadff
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 + pe_nt_image_headers32]
jmp case.default.0x4aadff
cmp edx, 0x20a
ja 0x4ab396
je 0x4ab1e1
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x4aadff
jmp dword [edx*4 + 0x4abaf8]
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4aae26
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x4aae26
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.0x4aadff
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x4ae580
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x388], esi
test esi, esi
je case.default.0x4aadff
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x4aadff
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 + pe_nt_image_headers32]
jmp case.default.0x4aadff
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.0x4aadff
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x4ae580
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je case.default.0x4aadff
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x4aadff
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 + pe_nt_image_headers32]
mov dword [edi + 0x68], esi
jmp case.default.0x4aadff
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.0x4aadff
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 + pe_nt_image_headers32]
mov dword [edi + 0x68], 0
jmp case.default.0x4aadff
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.0x4aadff
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x4ae580
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x388], esi
test esi, esi
je case.default.0x4aadff
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x4aadff
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 0x4ab00a
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.0x4aadff
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x4ae580
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x394], esi
test esi, esi
je case.default.0x4aadff
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x4aadff
mov eax, dword [esi]
mov ecx, esi
push str.WebBrowserUI
mov eax, dword [eax + 0x10]
call eax
push eax
call fcn.0054dd61
add esp, 8
test eax, eax
jne 0x4ab303
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x4ab2a8
mov eax, dword [ecx]
push str.EditUI
mov eax, dword [eax + 0x10]
call eax
push eax
call fcn.0054dd61
add esp, 8
test eax, eax
je 0x4ab303
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 + pe_nt_image_headers32]
push 0
push 0
push 0
push str.setfocus
push esi
mov ecx, edi
call fcn.004ad000
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.004a9910
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 + pe_nt_image_headers32]
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.0x4aadff
cmp edx, 0x318
ja 0x4ab7ee
je 0x4ab705
sub edx, 0x215
je 0x4ab6a1
sub edx, 0x8c
je 0x4ab401
sub edx, 2
jne case.default.0x4aadff
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4ab3df
lea eax, [edi + 0x24]
push eax
push edx
push 0x411
push ecx
call esi
cmp byte [edi + 0xc2], 0
je 0x4ab3f5
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi]
call esi
mov byte [edi + 0xc2], 0
jmp case.default.0x4aadff
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.0x4aadff
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x4ae580
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je case.default.0x4aadff
push dword [edi]
mov eax, dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 0x3b8], eax
call eax
test eax, eax
je 0x4ab4cf
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x394], eax
cmp eax, dword [edi]
je 0x4ab4cf
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0053c7b0
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 0x4ab4cf
lea eax, [ebp - 0x218]
push str.Internet_Explorer_Server
push eax
call fcn.0054dd61
add esp, 8
test eax, eax
jne 0x4ab4cf
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x64]
test eax, eax
je 0x4ab53b
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 + pe_nt_image_headers32]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x4aaa77
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.004a66f0
lea ecx, [ebp - 0x33c]
test al, al
jne 0x4ab695
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 [0x611ec0]
mov dword [edi + 0x44], eax
call fcn.0044d830
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 0x4ab65e
push eax
push dword [0x611ec0]
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 0x4ab664
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [ebp - 0x3b8]
test eax, eax
jne 0x4ab68f
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.00462810
mov al, 1
jmp 0x4ab9a9
mov edx, dword [edi + 0x68]
test edx, edx
je case.default.0x4aadff
mov eax, dword [ebp - 0x38c]
cmp eax, dword [edi]
je case.default.0x4aadff
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.0x4aadff
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 0x4ab7dc
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x384], eax
test eax, eax
je 0x4ab7dc
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 0x4ab766
push dword [ebp - 0x394]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x4aadff
cmp edx, 0x31e
je 0x4ab886
cmp edx, 0x8001
jne case.default.0x4aadff
lea esi, [edi + 0x104]
push esi
lea ecx, [ebp - 0x3b4]
call fcn.004a5880
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004a5fe0
lea ecx, [ebp - 0x3b4]
xor esi, esi
call fcn.004a63c0
test eax, eax
jle 0x4ab867
nop word [eax + eax]
push esi
lea ecx, [ebp - 0x3b4]
call fcn.004a5c90
test eax, eax
je 0x4ab857
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
lea ecx, [ebp - 0x3b4]
inc esi
call fcn.004a63c0
cmp esi, eax
jl 0x4ab840
lea ecx, [ebp - 0x3b4]
call fcn.004a5fe0
lea ecx, [ebp - 0x3b4]
mov dword [ebp - 4], 0xffffffff
call fcn.004a59d0
jmp case.default.0x4aadff
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.0x4aadff
push str.DwmIsCompositionEnabled
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ab8ba
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.004a6310
push 0
lea ecx, [edi + 0x110]
mov esi, eax
call fcn.004a6880
lea eax, [edi + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x4ab9a7
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4ab928
add ecx, 0x38
call fcn.004d97b0
test al, al
je 0x4ab928
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004d97c0
test al, al
jne 0x4ab982
lea eax, [edi + 0xc8]
mov dword [ebp - 0x394], 0
mov ecx, eax
mov dword [ebp - 0x388], eax
call fcn.004a63c0
test eax, eax
jle 0x4ab982
mov edi, dword [ebp - 0x394]
nop
cmp dword [esi + 0x108], 0
je 0x4ab97c
mov ecx, dword [ebp - 0x388]
push edi
call fcn.004a5c90
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x388]
inc edi
call fcn.004a63c0
cmp edi, eax
jl 0x4ab950
mov edi, dword [ebp - 0x3b8]
lea ecx, [esi + 0x84]
call fcn.00462810
mov ecx, esi
call fcn.00462810
push 0x120
push esi
call fcn.004a3dd5
add esp, 8
jmp case.default.0x4aadff
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.004a408b
mov esp, ebp
pop ebp
ret 0x10