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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013d7ca
mov eax, dword fs:[0]
push eax
sub esp, 0x3e4
mov eax, dword [0x10187468]
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 0x10054d47
lea eax, [edi + 0x2a4]
push eax
lea esi, [edi + 0x110]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
mov ecx, esi
call fcn.1004f830
push 0
lea ecx, [edi + 0x110]
mov esi, eax
call fcn.1004fd50
lea eax, [edi + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x10052e47
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x10052dc2
add ecx, 0x38
call fcn.1005ca80
test al, al
je 0x10052dc2
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.1005ca90
test al, al
jne 0x10052e22
lea eax, [edi + 0xc8]
mov dword [ebp - 0x388], 0
mov ecx, eax
mov dword [ebp - 0x384], eax
call fcn.1004f8e0
test eax, eax
jle 0x10052e22
mov edi, dword [ebp - 0x388]
nop dword [eax]
cmp dword [esi + 0x108], 0
je 0x10052e1c
mov ecx, dword [ebp - 0x384]
push edi
call fcn.1004f1a0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x384]
inc edi
call fcn.1004f8e0
cmp edi, eax
jl 0x10052df0
mov edi, dword [ebp - 0x3b8]
lea ecx, [esi + 0x84]
call fcn.100089c0
mov ecx, esi
call fcn.100089c0
push 0x120
push esi
call fcn.100c522c
add esp, 8
jmp 0x10052d59
lea ecx, [edi + 0xec]
mov dword [ebp - 0x384], 0
call fcn.1004f8e0
mov esi, dword [ebp - 0x38c]
test eax, eax
jle 0x10052ec4
xor ecx, ecx
nop dword [eax + eax]
push ecx
lea ecx, [edi + 0xec]
mov byte [ebp - 0x399], 0
call fcn.1004f1a0
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 0x10053e0f
inc dword [ebp - 0x384]
lea ecx, [edi + 0xec]
call fcn.1004f8e0
mov ecx, dword [ebp - 0x384]
cmp ecx, eax
jl 0x10052e70
mov edx, dword [ebp + 8]
cmp edx, 0x111
ja 0x10053e4e
je 0x10053e1e
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x1005419f
movzx eax, byte [eax + 0x10054d98]
jmp dword [eax*4 + 0x10054d68]
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 0x10052f56
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 0x10052f7c
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.10056e90
push 4
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.default.0x1005419f
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x1005419f
cmp dword [edi + 0x2a0], 0
jne 0x10052fbf
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 0x10054d49
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 0x10053e17
cmp dword [edi + 0x58], 0
jne 0x10053033
push 0x40
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.10109d00
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 0x10054d49
cmp byte [edi + 0xc0], 0
je 0x100535d2
push 0xffffffffffffffec
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x10053061
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.10109d00
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 0x100530aa
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 0x100530ba
push eax
call esi
cmp byte [edi + 0xbd], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
je 0x100531e8
lea eax, [ebp - 0x248]
mov byte [edi + 0xbd], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x100531e8
mov ecx, dword [edi + 0x58]
call fcn.1005a490
test al, al
je 0x1005313c
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1005310b
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10053115
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 0x100531a0
mov ecx, dword [edi + 0x58]
push SysReAllocString
push 0
push 0x10057a70
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x384], eax
test eax, eax
je 0x100531a0
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 0x10057a70
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x384], eax
test eax, eax
jne 0x10053160
cmp byte [edi + 0xbc], 0
movups xmm0, xmmword [ebp - 0x248]
movups xmmword [edi + 0x290], xmm0
je 0x100531d3
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0x58]
mov ecx, edi
mov byte [edi + 0xbc], 0
call fcn.10056590
push 0
push 0
push 0
push str.windowresized
push dword [edi + 0x58]
mov ecx, edi
call fcn.10056590
cmp byte [edi + 0xbe], 0
je 0x100531fa
push 1
mov ecx, edi
call fcn.100572d0
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 0x1005326d
cmp dword [edi + 0x18], 0
jne 0x1005326d
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.1005dc70
add esp, 0x10
mov dword [edi + 0x18], eax
cmp dword [edi + 0x1c], 0
je 0x1005301d
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 0x10053304
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.10109d00
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 0x100532c0
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 0x10053378
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov esi, dword [edi]
test al, al
je 0x10053346
call dword [sym.imp.USER32.dll_GetFocus]
cmp esi, eax
je 0x10053372
push 0xf1
push esi
call dword [sym.imp.USER32.dll_KillTimer]
cmp byte [edi + 0x27c], 0
je 0x10053369
lea eax, [edi + 0x26c]
mov ecx, edi
push eax
call fcn.10052a30
mov byte [edi + 0x27c], 0
jmp 0x100533e4
mov esi, dword [ebp - 0x3b8]
cmp byte [edi + 0x27c], 0
je 0x100533e4
cmp byte [edi + 0x27d], 0
je 0x100533e4
cmp dword [edi + 0x280], 0
je 0x100533e4
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 0x100533e4
mov ecx, dword [edi + 0x280]
call fcn.1006a190
test eax, eax
jne 0x100533d1
mov eax, dword [edi + 0x154]
push 0
push eax
lea eax, [ebp - 0x258]
push eax
push esi
call fcn.1005e0c0
add esp, 0x10
xor esi, esi
lea ecx, [edi + 0x284]
mov dword [ebp - 0x388], esi
call fcn.1004f8e0
test eax, eax
jle 0x100534fe
nop
push esi
lea ecx, [edi + 0x284]
call fcn.1004f1a0
mov esi, eax
test esi, esi
je 0x100534de
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.1006a020
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 0x100534de
mov esi, dword [ebp - 0x254]
mov edx, dword [ebp - 0x24c]
cmp esi, edx
jge 0x100534de
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 0x100534cd
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 0x100534a0
mov edx, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x380]
inc esi
add dword [ebp - 0x384], ecx
cmp esi, edx
jl 0x10053480
mov esi, dword [ebp - 0x388]
lea ecx, [edi + 0x284]
inc esi
mov dword [ebp - 0x388], esi
call fcn.1004f8e0
cmp esi, eax
jl 0x10053400
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 0x10054d49
cmp byte [edi + 0xbd], 0
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
je 0x10053740
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 0x10053740
mov ecx, dword [edi + 0x58]
call fcn.1005a490
mov ecx, dword [edi + 0x58]
test al, al
je 0x1005369a
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 0x10053647
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 0x10053657
push eax
call esi
cmp byte [edi + 0xc0], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
jne 0x10053700
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10053680
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1005368a
push eax
call esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
jmp 0x10053700
mov eax, dword [ecx]
push SysReAllocString
push 0
push 0x10057a70
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x388], eax
test eax, eax
je 0x10053706
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 0x10057a70
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x388], eax
test eax, eax
jne 0x100536c0
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [edi + 0xbc], 0
je 0x1005372b
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0x58]
mov ecx, edi
mov byte [edi + 0xbc], 0
call fcn.10056590
push 0
push 0
push 0
push str.windowresized
push dword [edi + 0x58]
mov ecx, edi
call fcn.10056590
cmp byte [edi + 0xbe], 0
je 0x10053752
push 1
mov ecx, edi
call fcn.100572d0
cmp byte [edi + 0xbf], 0
je 0x100537a8
cmp dword [edi + 0x14], 0
jne 0x100537a8
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.10109d00
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 0x10053908
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.1004f8e0
test eax, eax
jle 0x10053850
nop
push esi
lea ecx, [edi + 0xf8]
call fcn.1004f1a0
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.1004f8e0
cmp esi, eax
jl 0x10053820
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 0x1005393b
push dword [0x1018f458]
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 0x1005393b
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 0x10053e17
push 0
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x10054d49
mov eax, dword [edi + 0x2c0]
test eax, eax
jne 0x100539a7
push 0xc
call fcn.100c51fc
add esp, 4
mov dword [ebp - 0x394], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10053998
mov ecx, eax
call fcn.10050770
jmp 0x1005399a
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.10050a70
mov eax, dword [edi + 0x2c0]
test eax, eax
jne 0x100539f8
push 0xc
call fcn.100c51fc
add esp, 4
mov dword [ebp - 0x394], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x100539e9
mov ecx, eax
call fcn.10050770
jmp 0x100539eb
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.10050a70
mov ecx, dword [ebp - 0x3b0]
mov eax, dword [ebp - 0x38c]
test ecx, ecx
jle 0x10053a25
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x3ac]
test ecx, ecx
jle 0x10053a32
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x3c0]
test ecx, ecx
jle 0x10053a3f
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x3bc]
test ecx, ecx
jle case.default.0x1005419f
mov dword [eax + 0x24], ecx
jmp case.default.0x1005419f
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x10053aa5
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 0x10053e17
call fcn.1005a550
mov al, 1
jmp 0x10054d49
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.0x1005419f
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 0x10054444
cmp dword [edi + 0x5c], 0
je case.default.0x1005419f
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.10052cb0
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.0x1005419f
cmp dword [edi + 0x5c], 0
je case.default.0x1005419f
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.10052cb0
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.0x1005419f
cmp dword [edi + 0x6c], 0
je case.default.0x1005419f
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.10052cb0
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.0x1005419f
cmp si, 1
jne case.default.0x1005419f
cmp byte [edi + 0xc3], 0
jne 0x10053e17
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.0x1005419f
mov eax, dword [ecx]
lea edx, [ebp - 0x3d0]
push 0xd
push edx
push 0x10057980
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x394], eax
test eax, eax
je case.default.0x1005419f
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x1005419f
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.10052cb0
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 0x10054d49
mov ecx, dword [ebp - 0x38c]
test ecx, ecx
je 0x10053e17
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 0x10054d49
mov eax, dword [ebp - 0x38c]
test eax, eax
je case.default.0x1005419f
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 0x10054d49
cmp edx, 0x200
ja 0x1005417e
je 0x10053fa0
mov eax, edx
sub eax, 0x113
je 0x10053ea9
sub eax, 0x20
je 0x10053e77
sub eax, 5
jne case.default.0x1005419f
mov ecx, dword [ebp - 0x38c]
test ecx, ecx
je case.default.0x1005419f
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 0x10054d49
mov eax, dword [ebp - 0x380]
mov ecx, 0xf1
movzx eax, ax
mov dword [ebp - 0x394], eax
cmp cx, ax
jne 0x10053ee5
lea eax, [edi + 0x26c]
mov ecx, edi
push eax
call fcn.10052a30
cmp byte [edi + 0x27c], 0
sete al
mov byte [edi + 0x27c], al
jmp case.default.0x1005419f
xor esi, esi
lea ecx, [edi + 0xd4]
mov dword [ebp - 0x388], esi
call fcn.1004f8e0
test eax, eax
jle case.default.0x1005419f
push esi
lea ecx, [edi + 0xd4]
call fcn.1004f1a0
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [edi]
jne 0x10053f29
mov eax, dword [ebp - 0x394]
movzx ecx, ax
cmp dword [esi + 0xc], ecx
jne 0x10053f29
cmp byte [esi + 0x10], 0
je 0x10053f4a
mov esi, dword [ebp - 0x388]
lea ecx, [edi + 0xd4]
inc esi
mov dword [ebp - 0x388], esi
call fcn.1004f8e0
cmp esi, eax
jl 0x10053f00
jmp case.default.0x1005419f
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.0x1005419f
cmp byte [edi + 0xc2], 0
jne 0x10054002
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 0x10053fd8
mov dword [ebp - 0x25c], 0xc8
jmp 0x10053fee
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 0x10054038
xor esi, esi
jmp 0x10054067
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x10057980
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je 0x10054067
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x1005419f
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 0x100540f9
test ecx, ecx
je 0x100540f9
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 0x100540f9
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 0x10054125
test esi, esi
je 0x10054125
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 0x10054150
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.0x1005419f
test esi, esi
je case.default.0x1005419f
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.0x1005419f
cmp edx, 0x20a
ja 0x10054736
je 0x10054581
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x1005419f
jmp dword [edx*4 + 0x10054e98]
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100541c6
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x100541c6
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.0x1005419f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x10057980
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x388], esi
test esi, esi
je case.default.0x1005419f
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x1005419f
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.0x1005419f
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.0x1005419f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x10057980
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je case.default.0x1005419f
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x1005419f
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.0x1005419f
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.0x1005419f
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.0x1005419f
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.0x1005419f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x10057980
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x388], esi
test esi, esi
je case.default.0x1005419f
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x1005419f
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 0x100543aa
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.0x1005419f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x10057980
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x394], esi
test esi, esi
je case.default.0x1005419f
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x1005419f
mov eax, dword [esi]
mov ecx, esi
push str.WebBrowserUI
mov eax, dword [eax + 0x10]
call eax
push eax
call fcn.10112816
add esp, 8
test eax, eax
jne 0x100546a3
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x10054648
mov eax, dword [ecx]
push str.EditUI
mov eax, dword [eax + 0x10]
call eax
push eax
call fcn.10112816
add esp, 8
test eax, eax
je 0x100546a3
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.10056590
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.10052cb0
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.0x1005419f
cmp edx, 0x318
ja 0x10054b8e
je 0x10054aa5
sub edx, 0x215
je 0x10054a41
sub edx, 0x8c
je 0x100547a1
sub edx, 2
jne case.default.0x1005419f
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x1005477f
lea eax, [edi + 0x24]
push eax
push edx
push 0x411
push ecx
call esi
cmp byte [edi + 0xc2], 0
je 0x10054795
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi]
call esi
mov byte [edi + 0xc2], 0
jmp case.default.0x1005419f
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.0x1005419f
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x10057980
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je case.default.0x1005419f
push dword [edi]
mov eax, dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 0x3b8], eax
call eax
test eax, eax
je 0x1005486f
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x394], eax
cmp eax, dword [edi]
je 0x1005486f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10109d00
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 0x1005486f
lea eax, [ebp - 0x218]
push str.Internet_Explorer_Server
push eax
call fcn.10112816
add esp, 8
test eax, eax
jne 0x1005486f
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x64]
test eax, eax
je 0x100548db
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 0x10053e17
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.1004fc20
lea ecx, [ebp - 0x33c]
test al, al
jne 0x10054a35
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 [0x1018f448]
mov dword [edi + 0x44], eax
call fcn.1004f1b0
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 0x100549fe
push eax
push dword [0x1018f448]
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 0x10054a04
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [ebp - 0x3b8]
test eax, eax
jne 0x10054a2f
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.100089c0
mov al, 1
jmp 0x10054d49
mov edx, dword [edi + 0x68]
test edx, edx
je case.default.0x1005419f
mov eax, dword [ebp - 0x38c]
cmp eax, dword [edi]
je case.default.0x1005419f
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.0x1005419f
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 0x10054b7c
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x384], eax
test eax, eax
je 0x10054b7c
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 0x10054b06
push dword [ebp - 0x394]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x1005419f
cmp edx, 0x31e
je 0x10054c26
cmp edx, 0x8001
jne case.default.0x1005419f
lea esi, [edi + 0x104]
push esi
lea ecx, [ebp - 0x3b4]
call fcn.1004ed90
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.1004f500
lea ecx, [ebp - 0x3b4]
xor esi, esi
call fcn.1004f8e0
test eax, eax
jle 0x10054c07
nop word [eax + eax]
push esi
lea ecx, [ebp - 0x3b4]
call fcn.1004f1a0
test eax, eax
je 0x10054bf7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
lea ecx, [ebp - 0x3b4]
inc esi
call fcn.1004f8e0
cmp esi, eax
jl 0x10054be0
lea ecx, [ebp - 0x3b4]
call fcn.1004f500
lea ecx, [ebp - 0x3b4]
mov dword [ebp - 4], 0xffffffff
call fcn.1004eee0
jmp case.default.0x1005419f
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.0x1005419f
push str.DwmIsCompositionEnabled
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10054c5a
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.1004f830
push 0
lea ecx, [edi + 0x110]
mov esi, eax
call fcn.1004fd50
lea eax, [edi + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x10054d47
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x10054cc8
add ecx, 0x38
call fcn.1005ca80
test al, al
je 0x10054cc8
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.1005ca90
test al, al
jne 0x10054d22
lea eax, [edi + 0xc8]
mov dword [ebp - 0x394], 0
mov ecx, eax
mov dword [ebp - 0x388], eax
call fcn.1004f8e0
test eax, eax
jle 0x10054d22
mov edi, dword [ebp - 0x394]
nop
cmp dword [esi + 0x108], 0
je 0x10054d1c
mov ecx, dword [ebp - 0x388]
push edi
call fcn.1004f1a0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x388]
inc edi
call fcn.1004f8e0
cmp edi, eax
jl 0x10054cf0
mov edi, dword [ebp - 0x3b8]
lea ecx, [esi + 0x84]
call fcn.100089c0
mov ecx, esi
call fcn.100089c0
push 0x120
push esi
call fcn.100c522c
add esp, 8
jmp case.default.0x1005419f
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.100c55ab
mov esp, ebp
pop ebp
ret 0x10