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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10115b06
mov eax, dword fs:[0]
push eax
sub esp, 0x404
mov eax, dword [0x1015e404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3d4], esi
cmp dword [esi], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3e0], eax
je 0x100776a7
lea eax, [esi + 0x34c]
push eax
lea edi, [esi + 0x1b0]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
mov ecx, edi
call fcn.10072760
push 0
lea ecx, [esi + 0x1b0]
mov edi, eax
call fcn.10072c70
lea eax, [esi + 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x10075797
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x10075712
add ecx, 0x38
call fcn.1007b780
test al, al
je 0x10075712
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call fcn.1007b790
test al, al
jne 0x10075772
lea eax, [esi + 0x168]
mov dword [ebp - 0x3dc], 0
mov ecx, eax
mov dword [ebp - 0x3c0], eax
call fcn.10072810
test eax, eax
jle 0x10075772
mov esi, dword [ebp - 0x3dc]
nop dword [eax]
cmp dword [edi + 0x108], 0
je 0x1007576c
mov ecx, dword [ebp - 0x3c0]
push esi
call fcn.10071ff0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x3c0]
inc esi
call fcn.10072810
cmp esi, eax
jl 0x10075740
mov esi, dword [ebp - 0x3d4]
lea ecx, [edi + 0x84]
call fcn.1000a5c0
mov ecx, edi
call fcn.1000a5c0
push 0x120
push edi
call fcn.10067a8e
add esp, 8
jmp 0x100756a9
lea ecx, [esi + 0x18c]
mov dword [ebp - 0x3c0], 0
call fcn.10072810
mov edi, dword [ebp - 0x3c4]
test eax, eax
jle 0x10075814
xor ecx, ecx
nop dword [eax + eax]
push ecx
lea ecx, [esi + 0x18c]
mov byte [ebp - 0x3d5], 0
call fcn.10071ff0
lea ecx, [ebp - 0x3d5]
push ecx
push edi
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x3c8]
push dword [ebp + 8]
mov eax, dword [edx]
call eax
cmp byte [ebp - 0x3d5], 0
jne 0x10076791
inc dword [ebp - 0x3c0]
lea ecx, [esi + 0x18c]
call fcn.10072810
mov ecx, dword [ebp - 0x3c0]
cmp ecx, eax
jl 0x100757c0
mov edx, dword [ebp + 8]
cmp edx, 0x111
ja 0x100767d0
je 0x100767a0
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x10076b35
movzx eax, byte [eax + 0x100776f8]
jmp dword [eax*4 + 0x100776c8]
mov eax, dword [esi + 0x70]
xorps xmm0, xmm0
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 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 [esi + 0x64]
mov dword [ebp - 0x230], eax
test ecx, ecx
je 0x100758a6
mov dword [ebp - 0x238], 0xa
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x150]
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x100758cc
mov dword [ebp - 0x238], 0xe
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x150]
push 0
mov ecx, esi
call fcn.10078cf0
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.default.0x10076b35
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x10076b35
cmp dword [esi + 0x348], 0
jne 0x1007590f
push 0
push 0
push dword [esi]
mov byte [esi + 0xc5], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x3e0]
mov al, 1
mov dword [ecx], 1
jmp 0x100776a9
push 0
lea eax, [ebp - 0x37c]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x37c], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x10076799
cmp dword [esi + 0x58], 0
jne 0x10075983
push 0x40
lea eax, [ebp - 0x2a8]
push 0
push eax
call fcn.100dd9d0
add esp, 0xc
lea eax, [ebp - 0x2a8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x2a8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x100776a9
mov eax, dword [ebp - 0x374]
mov edx, 1
mov ecx, dword [ebp - 0x370]
sub eax, dword [ebp - 0x37c]
sub ecx, dword [ebp - 0x378]
mov dword [ebp - 0x3c0], edx
cmp eax, dword [esi + 0x90]
jne 0x100759bf
xor edi, edi
cmp ecx, dword [esi + 0x94]
cmove edx, edi
mov dword [ebp - 0x3c0], edx
cmp byte [esi + 0xc8], 0
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
je 0x10075fe6
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x100759f9
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x268]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x268], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x40
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.100dd9d0
add esp, 0xc
lea eax, [ebp - 0x2e8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10075a42
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x10075a52
push eax
call edi
cmp byte [esi + 0xc5], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
je 0x10075b9d
lea eax, [ebp - 0x268]
mov byte [esi + 0xc5], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x10075b9d
mov ecx, dword [esi + 0x58]
call fcn.1007cc20
test al, al
je 0x10075ad4
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10075aa3
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10075aad
push eax
call edi
mov ecx, dword [esi + 0x58]
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x268]
mov dword [esi + 0x10], 0
mov eax, esp
mov dword [esi + 0x18], 0
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x40]
jmp 0x10075b37
mov ecx, dword [esi + 0x58]
push reloc.gdiplus.dll_Ordinal_1
push 0
push 0x10079830
mov eax, dword [ecx]
mov eax, dword [eax + 0x144]
call eax
mov dword [ebp - 0x3e0], eax
test eax, eax
je 0x10075b37
mov edi, dword [eax]
mov ecx, eax
mov edx, dword [edi + 0x3c]
call edx
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x3e0]
call dword [edi + 0x40]
mov ecx, dword [esi + 0x58]
push reloc.gdiplus.dll_Ordinal_1
push 0
push 0x10079830
mov eax, dword [ecx]
mov eax, dword [eax + 0x144]
call eax
mov dword [ebp - 0x3e0], eax
test eax, eax
jne 0x10075af7
cmp byte [esi + 0xc4], 0
movups xmm0, xmmword [ebp - 0x268]
movups xmmword [esi + 0x334], xmm0
je 0x10075b6a
push 0
push 0
push 0
push str.windowinit
push dword [esi + 0x58]
mov ecx, esi
mov byte [esi + 0xc4], 0
call fcn.100787a0
push 0
push 0
push 0
push str.windowresized
push dword [esi + 0x58]
mov ecx, esi
call fcn.100787a0
cmp byte [ebp - 0x3c0], 0
je 0x10075b9d
push 0
push 0
push 0
push str.window_size_changed
push dword [esi + 0x58]
mov ecx, esi
call fcn.100787a0
cmp byte [esi + 0xc6], 0
je 0x10075baf
push 1
mov ecx, esi
call fcn.10079110
lea edi, [esi + 0x334]
push edi
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0x37c]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x268]
cmp eax, edx
mov ecx, dword [ebp - 0x264]
mov esi, dword [ebp - 0x25c]
cmovl eax, edx
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x378]
cmp eax, ecx
movups xmmword [edi], xmm0
mov edi, dword [ebp - 0x260]
cmovl eax, ecx
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x374]
cmp eax, edi
mov dword [ebp - 0x3c0], esi
cmovg eax, edi
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x370]
cmp eax, esi
cmovg eax, esi
mov esi, dword [ebp - 0x3d4]
sub dword [ebp - 0x3c0], ecx
sub edi, edx
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x3e0], edi
cmp byte [esi + 0xc7], 0
je 0x10075c7a
cmp dword [esi + 0x18], 0
jne 0x10075c7a
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x1c]
push eax
push dword [ebp - 0x3c0]
push edi
push dword [esi + 8]
call fcn.1007fc20
add esp, 0x10
mov dword [esi + 0x18], eax
push dword [esi + 0x18]
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x10]
mov dword [ebp - 0x3cc], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov edi, dword [ebp - 0x378]
mov dword [ebp - 0x3e8], eax
mov dword [ebp - 0x3d4], edi
cmp edi, dword [ebp - 0x370]
jge 0x10075d00
imul edi, dword [ebp - 0x3e0]
nop word [eax + eax]
mov eax, dword [ebp - 0x374]
mov ecx, dword [ebp - 0x37c]
sub eax, ecx
shl eax, 2
add ecx, edi
push eax
mov eax, dword [esi + 0x1c]
push 0
lea eax, [eax + ecx*4]
push eax
call fcn.100dd9d0
mov eax, dword [ebp - 0x3d4]
add esp, 0xc
add edi, dword [ebp - 0x3e0]
inc eax
mov dword [ebp - 0x3d4], eax
cmp eax, dword [ebp - 0x370]
jl 0x10075cc0
lea ecx, [esi + 0x328]
call fcn.100723e0
mov ecx, dword [esi + 0x58]
lea edx, [ebp - 0x37c]
push edx
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x160]
mov ecx, dword [esi + 0x324]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x3dc], edi
test ecx, ecx
je 0x10075d7f
mov eax, dword [ecx]
mov eax, dword [eax + 0x130]
call eax
mov edi, dword [esi]
test al, al
je 0x10075d4d
call dword [sym.imp.USER32.dll_GetFocus]
cmp edi, eax
je 0x10075d79
push 0xf1
push edi
call dword [sym.imp.USER32.dll_KillTimer]
cmp byte [esi + 0x320], 0
je 0x10075d70
lea eax, [esi + 0x310]
mov ecx, esi
push eax
call fcn.10075370
mov byte [esi + 0x320], 0
jmp 0x10075deb
mov edi, dword [ebp - 0x3dc]
cmp byte [esi + 0x320], 0
je 0x10075deb
cmp byte [esi + 0x321], 0
je 0x10075deb
cmp dword [esi + 0x324], 0
je 0x10075deb
lea eax, [esi + 0x310]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x248]
push eax
movups xmmword [ebp - 0x248], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x10075deb
mov ecx, dword [esi + 0x324]
call fcn.10088340
test eax, eax
jne 0x10075dd8
mov eax, dword [esi + 0x1f4]
push 0
push eax
lea eax, [ebp - 0x248]
push eax
push edi
call fcn.10080070
add esp, 0x10
xor edi, edi
lea ecx, [esi + 0x328]
mov dword [ebp - 0x3c4], edi
call fcn.10072810
test eax, eax
je 0x10075f12
nop word [eax + eax]
push edi
lea ecx, [esi + 0x328]
call fcn.10072760
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
mov edx, dword [edx + 0x108]
call edx
test al, al
je 0x10075ef2
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
mov ecx, edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x248], xmm0
call fcn.100881e0
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x248]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x10075ef2
mov edi, dword [ebp - 0x244]
cmp edi, dword [ebp - 0x23c]
jge 0x10075ef2
mov eax, dword [ebp - 0x240]
mov edx, edi
imul edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3c0], edx
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x3d4], ecx
cmp ecx, eax
jge 0x10075edd
add edx, ecx
shl edx, 2
nop word [eax + eax]
mov eax, dword [esi + 0x1c]
lea edx, [edx + 4]
mov ecx, dword [ebp - 0x3dc]
mov byte [eax + edx - 1], cl
mov ecx, dword [ebp - 0x3d4]
mov eax, dword [ebp - 0x240]
inc ecx
mov dword [ebp - 0x3d4], ecx
cmp ecx, eax
jl 0x10075eb0
mov edx, dword [ebp - 0x3c0]
add edx, dword [ebp - 0x3e0]
inc edi
mov dword [ebp - 0x3c0], edx
cmp edi, dword [ebp - 0x23c]
jl 0x10075e92
mov edi, dword [ebp - 0x3c4]
lea ecx, [esi + 0x328]
inc edi
mov dword [ebp - 0x3c4], edi
call fcn.10072810
cmp edi, eax
jb 0x10075e10
push dword [ebp - 0x3e8]
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x228]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x228], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x260]
sub eax, dword [ebp - 0x268]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x25c]
sub eax, dword [ebp - 0x264]
push 2
mov dword [ebp - 0x404], eax
lea eax, [ebp - 0x3c8]
push eax
push 0
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 0
push eax
push dword [esi + 0x10]
lea eax, [ebp - 0x408]
mov dword [ebp - 0x3fc], 0
push eax
lea eax, [ebp - 0x3f4]
mov dword [ebp - 0x3c8], 0x1ff0000
push eax
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [ebp - 0x3cc]
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x2e8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x100776a9
cmp byte [esi + 0xc5], 0
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
je 0x1007616e
lea eax, [ebp - 0x228]
mov byte [esi + 0xc5], 0
push eax
push dword [esi]
xorps xmm0, xmm0
movups xmmword [ebp - 0x228], xmm0
call edi
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1007616e
mov ecx, dword [esi + 0x58]
call fcn.1007cc20
mov ecx, dword [esi + 0x58]
test al, al
je 0x100760ae
movups xmm0, xmmword [ebp - 0x228]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x40]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1007605b
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x14]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x1007606b
push eax
call edi
cmp byte [esi + 0xc8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
jne 0x10076110
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10076094
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1007609e
push eax
call edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
jmp 0x10076110
mov eax, dword [ecx]
push reloc.gdiplus.dll_Ordinal_1
push 0
push 0x10079830
mov eax, dword [eax + 0x144]
call eax
mov dword [ebp - 0x3d4], eax
test eax, eax
je 0x10076116
nop
mov edi, dword [eax]
mov ecx, eax
mov edx, dword [edi + 0x3c]
call edx
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x3d4]
call dword [edi + 0x40]
mov ecx, dword [esi + 0x58]
push reloc.gdiplus.dll_Ordinal_1
push 0
push 0x10079830
mov eax, dword [ecx]
mov eax, dword [eax + 0x144]
call eax
mov dword [ebp - 0x3d4], eax
test eax, eax
jne 0x100760d0
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esi + 0xc4], 0
je 0x1007613b
push 0
push 0
push 0
push str.windowinit
push dword [esi + 0x58]
mov ecx, esi
mov byte [esi + 0xc4], 0
call fcn.100787a0
push 0
push 0
push 0
push str.windowresized
push dword [esi + 0x58]
mov ecx, esi
call fcn.100787a0
cmp byte [ebp - 0x3c0], 0
je 0x1007616e
push 0
push 0
push 0
push str.window_size_changed
push dword [esi + 0x58]
mov ecx, esi
call fcn.100787a0
cmp byte [esi + 0xc6], 0
je 0x10076180
push 1
mov ecx, esi
call fcn.10079110
cmp byte [esi + 0xc7], 0
je 0x100761d6
cmp dword [esi + 0x14], 0
jne 0x100761d6
lea eax, [ebp - 0x248]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x248], xmm0
call edi
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x23c]
sub eax, dword [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x248]
push eax
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x14], eax
push 0x40
lea eax, [ebp - 0x3bc]
push 0
push eax
call fcn.100dd9d0
add esp, 0xc
lea eax, [ebp - 0x3bc]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0xc7], 0
je 0x10076338
push dword [esi + 0x14]
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xc]
mov dword [ebp - 0x3e8], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0x3cc], eax
lea eax, [ebp - 0x3b4]
push eax
push dword [esi + 0xc]
mov edx, dword [ecx]
call dword [edx + 0x160]
lea ecx, [esi + 0x198]
xor edi, edi
call fcn.10072810
test eax, eax
jle 0x10076280
nop dword [eax]
push edi
lea ecx, [esi + 0x198]
call fcn.10071ff0
lea ecx, [ebp - 0x3b4]
push ecx
push dword [esi + 0xc]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
lea ecx, [esi + 0x198]
inc edi
call fcn.10072810
cmp edi, eax
jl 0x10076250
push dword [ebp - 0x3cc]
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [ebp - 0x3b0]
mov ecx, dword [ebp - 0x3b4]
mov eax, dword [ebp - 0x3a8]
push 0xcc0020
push edx
push ecx
push dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [ebp - 0x3ac]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebp - 0x3bc]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x3e8]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xc]
call edi
cmp byte [esi + 0x54], 0
je 0x1007636b
push dword [0x10162800]
push dword [ebp - 0x3bc]
call edi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x3bc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x370]
push dword [ebp - 0x374]
push dword [ebp - 0x378]
push dword [ebp - 0x37c]
push dword [ebp - 0x3bc]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [ebp - 0x3bc]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x1007636b
push dword [ebp - 0x3bc]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x58]
mov edi, eax
lea eax, [ebp - 0x3b4]
push eax
push dword [ebp - 0x3bc]
mov edx, dword [ecx]
call dword [edx + 0x160]
push edi
push dword [ebp - 0x3bc]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x3bc]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [esi + 0xc5], 0
je 0x10076799
push 0
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x100776a9
mov ecx, dword [esi + 0x78]
mov eax, dword [ebp - 0x3c4]
test ecx, ecx
jle 0x100763aa
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x7c]
test ecx, ecx
jle 0x100763b4
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x80]
test ecx, ecx
jle 0x100763c1
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x84]
test ecx, ecx
jle case.default.0x10076b35
mov dword [eax + 0x24], ecx
jmp case.default.0x10076b35
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x10076427
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 [esi + 0x5c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x10076799
call fcn.1007cd80
mov al, 1
jmp 0x100776a9
mov ecx, dword [ebp - 0x3c4]
movsx eax, cx
mov dword [ebp - 0x3d0], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x3cc], eax
lea eax, [ebp - 0x3d0]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0x68], 0
mov eax, dword [ebp - 0x3d0]
mov dword [esi + 0x70], eax
mov eax, dword [ebp - 0x3cc]
mov dword [esi + 0x74], eax
je case.default.0x10076b35
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0x68]
xor eax, eax
mov word [ebp - 0x224], ax
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x238], 0x11
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x21c], ecx
jmp 0x10076dda
cmp dword [esi + 0x5c], 0
je case.default.0x10076b35
xor eax, eax
mov dword [ebp - 0x238], 5
mov word [ebp - 0x21a], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x3c8]
mov word [ebp - 0x224], ax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 0x74]
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x222], xmm0
mov dword [ebp - 0x228], eax
call fcn.100755e0
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x5c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp case.default.0x10076b35
cmp dword [esi + 0x5c], 0
je case.default.0x10076b35
xor eax, eax
mov dword [ebp - 0x238], 3
mov word [ebp - 0x21a], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x3c8]
mov word [ebp - 0x224], ax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 0x74]
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x222], xmm0
mov dword [ebp - 0x228], eax
call fcn.100755e0
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x5c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x6c], eax
jmp case.default.0x10076b35
cmp dword [esi + 0x6c], 0
je case.default.0x10076b35
xor eax, eax
mov dword [ebp - 0x238], 4
mov word [ebp - 0x21a], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x3c8]
mov word [ebp - 0x224], ax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 0x74]
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x222], xmm0
mov dword [ebp - 0x228], eax
call fcn.100755e0
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x6c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
mov dword [esi + 0x6c], 0
jmp case.default.0x10076b35
cmp di, 1
jne case.default.0x10076b35
cmp byte [esi + 0xcb], 0
jne 0x10076799
lea eax, [ebp - 0x3e4]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x3e4], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x3e4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x3e0]
mov dword [ebp - 0x40c], eax
test ecx, ecx
je case.default.0x10076b35
mov eax, dword [ecx]
lea edx, [ebp - 0x410]
push 0xd
push edx
push 0x100797b0
mov eax, dword [eax + 0x144]
call eax
mov dword [ebp - 0x3cc], eax
test eax, eax
je case.default.0x10076b35
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x10076b35
mov eax, dword [ebp - 0x3c8]
xorps xmm0, xmm0
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x3e4]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x3e0]
movlpd qword [ebp - 0x284], xmm0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x288], 0x17
mov dword [ebp - 0x26c], edi
mov dword [ebp - 0x278], eax
call fcn.100755e0
mov word [ebp - 0x272], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x3cc]
lea edx, [ebp - 0x288]
mov dword [ebp - 0x280], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
mov al, 1
jmp 0x100776a9
mov ecx, dword [ebp - 0x3c4]
test ecx, ecx
je 0x10076799
push ecx
push dword [ebp - 0x3c8]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3e0]
mov dword [ecx], eax
mov al, 1
jmp 0x100776a9
mov eax, dword [ebp - 0x3c4]
test eax, eax
je case.default.0x10076b35
push eax
push dword [ebp - 0x3c8]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3e0]
mov dword [ecx], eax
mov al, 1
jmp 0x100776a9
cmp edx, 0x200
ja 0x10076b14
je 0x10076922
mov eax, edx
sub eax, 0x113
je 0x1007682b
sub eax, 0x20
je 0x100767f9
sub eax, 5
jne case.default.0x10076b35
mov ecx, dword [ebp - 0x3c4]
test ecx, ecx
je case.default.0x10076b35
push ecx
push dword [ebp - 0x3c8]
lea eax, [edx + 0x2000]
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3e0]
mov dword [ecx], eax
mov al, 1
jmp 0x100776a9
mov eax, dword [ebp - 0x3c8]
mov ecx, 0xf1
movzx eax, ax
mov dword [ebp - 0x3cc], eax
cmp cx, ax
jne 0x10076867
lea eax, [esi + 0x310]
mov ecx, esi
push eax
call fcn.10075370
cmp byte [esi + 0x320], 0
sete al
mov byte [esi + 0x320], al
jmp case.default.0x10076b35
xor edi, edi
lea ecx, [esi + 0x174]
mov dword [ebp - 0x3c0], edi
call fcn.10072810
test eax, eax
jle case.default.0x10076b35
push edi
lea ecx, [esi + 0x174]
call fcn.10071ff0
mov edi, eax
mov ecx, dword [edi + 8]
cmp ecx, dword [esi]
jne 0x100768ab
mov eax, dword [ebp - 0x3cc]
movzx ecx, ax
cmp dword [edi + 0xc], ecx
jne 0x100768ab
cmp byte [edi + 0x10], 0
je 0x100768cc
mov edi, dword [ebp - 0x3c0]
lea ecx, [esi + 0x174]
inc edi
mov dword [ebp - 0x3c0], edi
call fcn.10072810
cmp edi, eax
jl 0x10076882
jmp case.default.0x10076b35
mov ecx, dword [edi]
xorps xmm0, xmm0
mov eax, dword [edi + 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 [edi]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp case.default.0x10076b35
cmp byte [esi + 0xca], 0
jne 0x10076984
mov eax, dword [esi]
mov dword [ebp - 0x240], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x248], 0x10
mov dword [ebp - 0x244], 3
test eax, eax
jne 0x1007695a
mov dword [ebp - 0x23c], 0x190
jmp 0x10076970
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0xca], 1
mov eax, dword [ebp - 0x3c4]
mov ecx, dword [esi + 0x58]
movsx edi, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x3cc], eax
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], eax
mov dword [ebp - 0x3f4], edi
mov dword [ebp - 0x3f0], eax
test ecx, ecx
jne 0x100769ba
xor eax, eax
mov dword [ebp - 0x3c0], eax
jmp 0x100769ed
mov eax, dword [ecx]
lea edx, [ebp - 0x3f4]
push 0xd
push edx
push 0x100797b0
mov eax, dword [eax + 0x144]
call eax
mov dword [ebp - 0x3c0], eax
test eax, eax
je 0x100769ed
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x20]
call edx
cmp eax, esi
jne case.default.0x10076b35
mov eax, dword [ebp - 0x3cc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x3c4]
mov ecx, dword [esi + 0x64]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x21c], edi
mov edi, dword [ebp - 0x3c0]
mov dword [ebp - 0x220], eax
mov eax, ecx
cmp edi, ecx
je 0x10076a8f
test ecx, ecx
je 0x10076a8f
mov dword [ebp - 0x238], 0xa
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x150]
mov ecx, dword [esi + 0x20]
xor eax, eax
mov dword [esi + 0x64], 0
test ecx, ecx
je 0x10076a8f
lea eax, [esi + 0x24]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x64]
cmp edi, eax
je 0x10076abb
test edi, edi
je 0x10076abb
mov dword [ebp - 0x238], 0xb
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x234], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x150]
mov dword [esi + 0x64], edi
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x10076ae6
mov dword [ebp - 0x238], 9
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x150]
jmp case.default.0x10076b35
test edi, edi
je case.default.0x10076b35
mov dword [ebp - 0x238], 9
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x234], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x150]
jmp case.default.0x10076b35
cmp edx, 0x20a
ja 0x100770d0
je 0x10076f17
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x10076b35
jmp dword [edx*4 + 0x100777f8]
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
cmp eax, ecx
je 0x10076b5c
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x10076b5c
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x3c4]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x3cc], ecx
mov dword [esi + 0x70], ecx
mov dword [ebp - 0x3f4], ecx
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0x3e8], eax
mov dword [esi + 0x74], eax
mov dword [ebp - 0x3f0], eax
test ecx, ecx
je case.default.0x10076b35
mov eax, dword [ecx]
lea edx, [ebp - 0x3f4]
push 0xd
push edx
push 0x100797b0
mov eax, dword [eax + 0x144]
call eax
mov edi, eax
mov dword [ebp - 0x3dc], edi
test edi, edi
je case.default.0x10076b35
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x20]
call edx
cmp eax, esi
jne case.default.0x10076b35
mov dword [esi + 0x68], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x134]
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [ebp - 0x3cc]
xor eax, eax
mov word [ebp - 0x224], ax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x234], edi
mov edi, dword [ebp - 0x3c4]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x3e8]
mov byte [esi + 0xcb], 1
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 0xd
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x3dc]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp case.default.0x10076b35
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x3c4]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x3cc], ecx
mov dword [esi + 0x70], ecx
mov dword [ebp - 0x3f4], ecx
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0x3e8], eax
mov dword [esi + 0x74], eax
mov dword [ebp - 0x3f0], eax
test ecx, ecx
je case.default.0x10076b35
mov eax, dword [ecx]
lea edx, [ebp - 0x3f4]
push 0xd
push edx
push 0x100797b0
mov eax, dword [eax + 0x144]
call eax
mov edi, eax
test edi, edi
je case.default.0x10076b35
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x20]
call edx
cmp eax, esi
jne case.default.0x10076b35
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
xor eax, eax
mov byte [esi + 0xcb], 1
mov word [ebp - 0x224], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x3e8]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x230], 0
movlpd qword [ebp - 0x220], xmm0
mov dword [ebp - 0x238], 0x10
mov dword [ebp - 0x234], edi
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x238]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x150]
mov dword [esi + 0x68], edi
jmp case.default.0x10076b35
mov eax, dword [ebp - 0x3c4]
movsx ecx, ax
shr eax, 0x10
cmp dword [esi + 0x68], 0
cwde
mov dword [ebp - 0x3cc], ecx
mov dword [ebp - 0x3e8], eax
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], eax
je case.default.0x10076b35
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x3cc]
xor eax, eax
mov edi, dword [ebp - 0x3c4]
mov word [ebp - 0x224], ax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x3e8]
mov dword [ebp - 0x238], 0xe
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x222], ax
mov dword [ebp - 0x230], 0
mov byte [esi + 0xcb], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x68]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
mov dword [esi + 0x68], 0
jmp case.default.0x10076b35
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x3c4]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x3cc], ecx
mov dword [esi + 0x70], ecx
mov dword [ebp - 0x3f4], ecx
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0x3e8], eax
mov dword [esi + 0x74], eax
mov dword [ebp - 0x3f0], eax
test ecx, ecx
je case.default.0x10076b35
mov eax, dword [ecx]
lea edx, [ebp - 0x3f4]
push 0xd
push edx
push 0x100797b0
mov eax, dword [eax + 0x144]
call eax
mov edi, eax
mov dword [ebp - 0x3dc], edi
test edi, edi
je case.default.0x10076b35
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x20]
call edx
cmp eax, esi
jne case.default.0x10076b35
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x134]
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [ebp - 0x3cc]
xor eax, eax
mov word [ebp - 0x224], ax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x234], edi
mov edi, dword [ebp - 0x3c4]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x3e8]
mov byte [esi + 0xcb], 1
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 0xf
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x3dc]
jmp 0x10076d40
mov ecx, dword [ebp - 0x3c4]
movsx eax, cx
mov dword [ebp - 0x3ec], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x3e8], eax
lea eax, [ebp - 0x3ec]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x3ec]
mov eax, dword [ebp - 0x3e8]
mov dword [esi + 0x70], ecx
mov dword [ebp - 0x3f4], ecx
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x74], eax
mov dword [ebp - 0x3f0], eax
test ecx, ecx
je case.default.0x10076b35
mov eax, dword [ecx]
lea edx, [ebp - 0x3f4]
push 0xd
push edx
push 0x100797b0
mov eax, dword [eax + 0x144]
call eax
mov edi, eax
mov dword [ebp - 0x3cc], edi
test edi, edi
je case.default.0x10076b35
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x20]
call edx
cmp eax, esi
jne case.default.0x10076b35
mov eax, dword [edi]
mov ecx, edi
push str.WebBrowserUI
mov eax, dword [eax + 0x10]
call eax
push eax
call fcn.100ece58
add esp, 8
test eax, eax
jne 0x1007703d
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10076fe2
mov eax, dword [ecx]
push str.EditUI
mov eax, dword [eax + 0x10]
call eax
push eax
call fcn.100ece58
add esp, 8
test eax, eax
je 0x1007703d
xorps xmm0, xmm0
mov dword [ebp - 0x258], 0x15
movlpd qword [ebp - 0x250], xmm0
movlpd qword [ebp - 0x248], xmm0
movlpd qword [ebp - 0x240], xmm0
mov dword [ebp - 0x254], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x258]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x150]
push 0
push 0
push 0
push str.setfocus
push edi
mov ecx, esi
call fcn.100787a0
mov eax, dword [ebp - 0x3c8]
xorps xmm0, xmm0
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x234], edi
mov edi, dword [ebp - 0x3c4]
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], edi
call fcn.100755e0
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x3cc]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
movzx ecx, word [esi + 0x74]
movzx eax, word [esi + 0x70]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x10076b35
cmp edx, 0x318
ja 0x100774f8
je 0x1007740d
sub edx, 0x215
je 0x100773a9
sub edx, 0x8c
je 0x1007713b
sub edx, 2
jne case.default.0x10076b35
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x10077119
lea eax, [esi + 0x24]
push eax
push edx
push 0x411
push ecx
call edi
cmp byte [esi + 0xca], 0
je 0x1007712f
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi]
call edi
mov byte [esi + 0xca], 0
jmp case.default.0x10076b35
mov eax, dword [ebp - 0x3c4]
movsx ecx, ax
shr eax, 0x10
mov dword [ebp - 0x3e8], ecx
cwde
mov dword [ebp - 0x3f4], ecx
mov ecx, dword [esi + 0x58]
mov byte [esi + 0xca], 0
mov dword [ebp - 0x3dc], eax
mov dword [ebp - 0x3f0], eax
test ecx, ecx
je case.default.0x10076b35
mov eax, dword [ecx]
lea edx, [ebp - 0x3f4]
push 0xd
push edx
push 0x100797b0
mov eax, dword [eax + 0x144]
call eax
mov edi, eax
test edi, edi
je case.default.0x10076b35
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10077202
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x3cc], eax
cmp eax, dword [esi]
je 0x10077202
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100dd9d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebp - 0x3cc]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x10077202
lea eax, [ebp - 0x218]
push str.Internet_Explorer_Server
push eax
call fcn.100ece58
add esp, 8
test eax, eax
jne 0x10077202
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x64]
test eax, eax
je 0x1007726e
mov ecx, dword [ebp - 0x3e8]
xorps xmm0, xmm0
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x3dc]
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 [esi + 0x64]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x10076799
mov eax, dword [edi]
lea ecx, [ebp - 0x36c]
push ecx
mov ecx, edi
call dword [eax + 0xd8]
lea ecx, [ebp - 0x36c]
mov dword [ebp - 4], 1
call fcn.10072b40
lea ecx, [ebp - 0x36c]
test al, al
jne 0x1007739d
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov eax, dword [esi]
mov dword [esi + 0x24], 0x30
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov eax, dword [0x10162804]
mov dword [esi + 0x44], eax
call fcn.10020f20
mov dword [esi + 0x48], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x3c]
call eax
movups xmm0, xmmword [eax]
mov eax, dword [esi + 0x20]
movups xmmword [esi + 0x34], xmm0
test eax, eax
jne 0x10077373
push eax
push dword [0x10162804]
push eax
push dword [esi]
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push eax
push 0x10120208
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea edi, [esi + 0x24]
mov dword [esi + 0x20], eax
push edi
push 0
push 0x432
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
mov eax, dword [esi + 0x20]
jmp 0x10077376
lea edi, [esi + 0x24]
push edi
push 0
push 0x436
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x411
push dword [esi + 0x20]
call eax
lea ecx, [ebp - 0x36c]
call fcn.1000a5c0
mov al, 1
jmp 0x100776a9
mov edx, dword [esi + 0x68]
test edx, edx
je case.default.0x10076b35
mov eax, dword [ebp - 0x3c4]
cmp eax, dword [esi]
je case.default.0x10076b35
mov ecx, dword [ebp - 0x3c8]
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 + 0x154]
jmp case.default.0x10076b35
lea eax, [ebp - 0x228]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x3c8]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0x3cc], eax
lea eax, [ebp - 0x228]
push eax
push edi
mov edx, dword [ecx]
call dword [edx + 0x160]
test byte [ebp - 0x3c4], 0x10
je 0x100774e6
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x3c0], eax
test eax, eax
je 0x100774e6
or dword [ebp - 0x3c4], 2
nop
lea ecx, [ebp - 0x248]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x248], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x248]
push eax
push dword [esi]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x244]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x248]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x3c4]
push edi
push 0x317
push dword [ebp - 0x3c0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x3c0]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x3c0], eax
test eax, eax
jne 0x10077470
push dword [ebp - 0x3cc]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x10076b35
cmp edx, 0x31e
je 0x10077587
cmp edx, 0x8001
jne case.default.0x10076b35
lea edi, [esi + 0x1a4]
push edi
lea ecx, [ebp - 0x3f8]
call fcn.10071c30
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.100723e0
lea ecx, [ebp - 0x3f8]
xor edi, edi
call fcn.10072810
test eax, eax
jle 0x10077568
push edi
lea ecx, [ebp - 0x3f8]
call fcn.10071ff0
test eax, eax
je 0x10077558
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
lea ecx, [ebp - 0x3f8]
inc edi
call fcn.10072810
cmp edi, eax
jl 0x10077541
lea ecx, [ebp - 0x3f8]
call fcn.100723e0
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 4], 0xffffffff
call fcn.10071d80
jmp case.default.0x10076b35
push str.Dwmapi.dll
mov dword [esi + 0x348], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je case.default.0x10076b35
push str.DwmIsCompositionEnabled
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100775bb
lea ecx, [esi + 0x348]
push ecx
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esi + 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esi + 0x1b0]
call fcn.10072760
push 0
lea ecx, [esi + 0x1b0]
mov edi, eax
call fcn.10072c70
lea eax, [esi + 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x100776a7
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x10077629
add ecx, 0x38
call fcn.1007b780
test al, al
je 0x10077629
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call fcn.1007b790
test al, al
jne 0x10077682
lea eax, [esi + 0x168]
mov dword [ebp - 0x3cc], 0
mov ecx, eax
mov dword [ebp - 0x3c0], eax
call fcn.10072810
test eax, eax
jle 0x10077682
mov esi, dword [ebp - 0x3cc]
cmp dword [edi + 0x108], 0
je 0x1007767c
mov ecx, dword [ebp - 0x3c0]
push esi
call fcn.10071ff0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x3c0]
inc esi
call fcn.10072810
cmp esi, eax
jl 0x10077650
mov esi, dword [ebp - 0x3d4]
lea ecx, [edi + 0x84]
call fcn.1000a5c0
mov ecx, edi
call fcn.1000a5c0
push 0x120
push edi
call fcn.10067a8e
add esp, 8
jmp case.default.0x10076b35
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.10067a9c
mov esp, ebp
pop ebp
ret 0x10