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

Disassembly:
push 0x2f0
mov eax, 0x5907a8
call fcn.004fb9d0
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [ebx], 0
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2dc], eax
jne 0x52f3f2
xor al, al
jmp 0x52ff83
lea ecx, [ebx + 0x178]
mov byte [ebp - 0x2c9], 0
mov dword [ebp - 0x2ec], ecx
jmp 0x52f494
mov ecx, dword [ebp - 0x2ec]
push 0
call fcn.0052ac4a
mov eax, dword [edi + 4]
test eax, eax
je 0x52f436
lea ecx, [eax + 0x38]
call fcn.0055a694
test al, al
je 0x52f436
mov ecx, dword [edi + 4]
push edi
add ecx, 0x38
call fcn.0055a745
and dword [ebp - 0x2d4], 0
lea ecx, [ebx + 0x130]
call fcn.0052acc8
test eax, eax
jle 0x52f47d
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x130]
call fcn.0052aceb
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx]
inc dword [ebp - 0x2d4]
lea ecx, [ebx + 0x130]
call fcn.0052acc8
cmp dword [ebp - 0x2d4], eax
jl 0x52f44c
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.004310e3
push edi
call fcn.004fa278
pop ecx
mov ecx, dword [ebp - 0x2ec]
push 0
call fcn.0052accf
mov edi, eax
test edi, edi
jne 0x52f40a
and dword [ebp - 0x2d4], eax
lea ecx, [ebx + 0x154]
call fcn.0052acc8
mov edi, dword [ebp + 8]
test eax, eax
jle 0x52f510
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x154]
mov byte [ebp - 0x2e5], 0
call fcn.0052aceb
mov edx, dword [eax]
lea ecx, [ebp - 0x2e5]
push ecx
push dword [ebp - 0x2d0]
mov ecx, eax
push esi
push edi
call dword [edx]
cmp byte [ebp - 0x2e5], 0
jne 0x52f5cd
inc dword [ebp - 0x2d4]
lea ecx, [ebx + 0x154]
call fcn.0052acc8
cmp dword [ebp - 0x2d4], eax
jl 0x52f4bd
mov eax, 0x111
cmp edi, eax
ja 0x5306be
je 0x53069a
cmp edi, 0x47
ja 0x5302f7
je 0x53026d
cmp edi, 0x10
ja 0x53006d
je 0x52ff8b
sub edi, 5
je 0x52fe7f
dec edi
dec edi
je 0x52fe30
dec edi
je 0x52fe05
sub edi, 7
jne 0x52feed
xor eax, eax
xor esi, esi
mov dword [ebp - 0x228], esi
lea edi, [ebp - 0x224]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x228]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x530261
cmp dword [ebx + 0x70], esi
jne 0x52f5dc
push 0x3c
lea eax, [ebp - 0x2c4]
push esi
push eax
mov dword [ebp - 0x2c8], esi
call fcn.004fc1f0
add esp, 0xc
lea eax, [ebp - 0x2c8]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x2c8]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x530261
mov ecx, dword [ebp - 0x2dc]
mov dword [ecx], eax
mov al, 1
jmp 0x52ff83
xor eax, eax
mov dword [ebp - 0x238], esi
lea edi, [ebp - 0x234]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x238]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x230]
sub eax, dword [ebp - 0x238]
mov byte [ebp - 0x2c9], 0
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x22c]
sub eax, dword [ebp - 0x234]
cmp byte [ebx + 0x112], 0
mov dword [ebp - 0x2dc], eax
je 0x52f71e
lea eax, [ebp - 0x238]
push eax
mov byte [ebx + 0x112], 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x52f71e
mov ecx, dword [ebx + 0x70]
call fcn.00535674
mov ecx, dword [ebx + 0x70]
test al, al
mov eax, dword [ecx]
je 0x52f67f
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x238]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x2c9], 1
movsd dword es:[edi], dword [esi]
call dword [eax + 0xc8]
jmp 0x52f6e6
push reloc.OLEAUT32.dll_SysReAllocString
push esi
push 0x52d2e6
call dword [eax + 0x1cc]
cmp eax, esi
jmp 0x52f6de
mov ecx, dword [ebp - 0x2d4]
mov eax, dword [ecx]
mov dword [ebp - 0x2ec], eax
call dword [eax + 0xc4]
mov ecx, dword [ebp - 0x2d4]
sub esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x2ec]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0xc8]
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx]
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0x52d2e6
call dword [eax + 0x1cc]
test eax, eax
mov dword [ebp - 0x2d4], eax
jne 0x52f694
xor esi, esi
cmp byte [ebx + 0x110], 0
je 0x52f70a
push esi
push esi
push esi
push str.windowinit
push dword [ebx + 0x70]
mov ecx, ebx
mov byte [ebx + 0x110], 0
call fcn.0052e998
push esi
push esi
push esi
push str.windowsized
push dword [ebx + 0x70]
mov ecx, ebx
call fcn.0052e998
xor esi, esi
push 0x3c
lea eax, [ebp - 0x284]
push esi
push eax
mov dword [ebp - 0x288], esi
call fcn.004fc1f0
add esp, 0xc
lea eax, [ebp - 0x288]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x114], 0
je 0x52f9e4
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [ebx]
call edi
mov ecx, 0x80000
test ecx, eax
jne 0x52f77a
or eax, ecx
push eax
push 0xffffffffffffffec
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffec
push dword [ebx]
call edi
cmp byte [ebp - 0x2c9], 0
je 0x52f7bd
mov eax, dword [ebx + 0xc]
lea esi, [ebp - 0x238]
lea edi, [ebp - 0x228]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test eax, eax
je 0x52f7a5
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
and dword [ebx + 0xc], 0
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x52f7b7
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebx + 0x10], 0
and dword [ebx + 0x14], 0
xor esi, esi
cmp dword [ebx + 0xc], esi
jne 0x52f7ee
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x20
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x14]
push eax
push dword [ebp - 0x2dc]
push dword [ebp - 0x2d0]
push dword [ebx + 8]
call fcn.0053b7b4
add esp, 0x14
mov dword [ebx + 0x10], eax
mov ecx, dword [ebp - 0x2dc]
mov eax, ecx
sub eax, dword [ebp - 0x224]
sub ecx, dword [ebp - 0x21c]
cmp ecx, eax
jge 0x52f85d
mov edx, dword [ebp - 0x220]
sub edx, dword [ebp - 0x228]
mov edi, ecx
imul edi, dword [ebp - 0x2d0]
add edi, dword [ebp - 0x228]
shl edx, 2
shl edi, 2
sub eax, ecx
mov dword [ebp - 0x2ec], edx
mov dword [ebp - 0x2d4], eax
push dword [ebp - 0x2ec]
mov eax, dword [ebx + 0x14]
add eax, edi
push esi
push eax
call fcn.0055f3a6
mov eax, dword [ebp - 0x2d0]
shl eax, 2
add esp, 0xc
add edi, eax
dec dword [ebp - 0x2d4]
jne 0x52f835
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx]
push esi
lea edx, [ebp - 0x228]
push edx
push dword [ebx + 0xc]
call dword [eax + 0x1ec]
lea ecx, [ebx + 0x160]
mov dword [ebp - 0x2d4], esi
call fcn.0052acc8
test eax, eax
jle 0x52f8d3
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.0052aceb
mov edx, dword [eax]
push esi
lea ecx, [ebp - 0x228]
push ecx
push dword [ebx + 0xc]
mov ecx, eax
call dword [edx + 0x21c]
inc dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.0052acc8
cmp dword [ebp - 0x2d4], eax
jl 0x52f894
lea ecx, [ebx + 0x230]
call fcn.00550476
test al, al
je 0x52f93f
xor eax, eax
mov dword [ebp - 0x2fc], esi
lea edi, [ebp - 0x2f8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebx + 0x230]
call fcn.005502ae
test al, al
je 0x52fdab
push dword [ebp - 0x2dc]
lea ecx, [ebx + 0x230]
push dword [ebp - 0x2d0]
push esi
push esi
push dword [ebx + 0xc]
call fcn.00550387
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebx + 0x230]
call fcn.0055044e
jmp 0x52fdab
mov al, byte [ebx + 4]
mov byte [ebp - 0x2d2], al
xor eax, eax
mov dword [ebp - 0x248], esi
lea edi, [ebp - 0x244]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x248]
push eax
push dword [ebx]
mov word [ebp - 0x2d4], 0
mov byte [ebp - 0x2d1], 1
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x2dc]
push 2
mov dword [ebp - 0x2ec], eax
lea eax, [ebp - 0x2d4]
push eax
push esi
lea eax, [ebp - 0x2e4]
push eax
push dword [ebx + 0xc]
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x2f8]
push eax
push esi
push dword [ebx]
mov dword [ebp - 0x2e4], esi
mov dword [ebp - 0x2e0], esi
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
jmp 0x52fdab
call fcn.0052ba66
test al, al
je 0x52fb7f
lea ecx, [ebx + 0x230]
call fcn.00550476
test al, al
je 0x52fae9
xor eax, eax
mov dword [ebp - 0x2fc], esi
lea edi, [ebp - 0x2f8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebx + 0x230]
call fcn.005502ae
test al, al
je 0x52fdab
lea edi, [ebx + 0xc]
push edi
lea eax, [ebx + 0x18]
push eax
push 2
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x2fc]
lea ecx, [ebx + 0x30]
call fcn.0054e88c
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx]
push 1
lea edx, [ebp - 0x228]
push edx
push dword [edi]
call dword [eax + 0x1ec]
lea ecx, [ebx + 0x160]
mov dword [ebp - 0x2d4], esi
call fcn.0052acc8
test eax, eax
jle 0x52fab7
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.0052aceb
mov edx, dword [eax]
push 1
lea ecx, [ebp - 0x228]
push ecx
push dword [edi]
mov ecx, eax
call dword [edx + 0x21c]
inc dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.0052acc8
cmp dword [ebp - 0x2d4], eax
jl 0x52fa78
push dword [ebp - 0x2dc]
lea ecx, [ebx + 0x230]
push dword [ebp - 0x2d0]
push esi
push esi
push dword [edi]
call fcn.00550387
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebx + 0x230]
call fcn.0055044e
jmp 0x52fb70
lea edi, [ebx + 0xc]
push edi
lea eax, [ebx + 0x18]
push eax
push 2
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x288]
lea ecx, [ebx + 0x30]
call fcn.0054e88c
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx]
push esi
lea edx, [ebp - 0x228]
push edx
push dword [edi]
call dword [eax + 0x1ec]
lea ecx, [ebx + 0x160]
mov dword [ebp - 0x2d4], esi
call fcn.0052acc8
test eax, eax
jle 0x52fb70
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.0052aceb
mov edx, dword [eax]
push esi
lea ecx, [ebp - 0x228]
push ecx
push dword [edi]
mov ecx, eax
call dword [edx + 0x21c]
inc dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.0052acc8
cmp dword [ebp - 0x2d4], eax
jl 0x52fb32
push 1
lea ecx, [ebx + 0x30]
call fcn.0054e8ae
jmp 0x52fdab
cmp byte [ebp - 0x2c9], 0
je 0x52fbaa
mov eax, dword [ebx + 0xc]
cmp eax, esi
je 0x52fb99
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebx + 0xc], esi
mov eax, dword [ebx + 0x10]
cmp eax, esi
je 0x52fbaa
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x10], esi
cmp dword [ebx + 0xc], esi
jne 0x52fbe0
cmp dword [ebx + 0x10], esi
jne 0x52fbe0
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x20
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x14]
push eax
push dword [ebp - 0x2dc]
push dword [ebp - 0x2d0]
push dword [ebx + 8]
call fcn.0053b7b4
add esp, 0x14
mov dword [ebx + 0x10], eax
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xc]
mov dword [ebp - 0x2e0], eax
call dword [sym.imp.GDI32.dll_SaveDC]
lea ecx, [ebx + 0x230]
mov dword [ebp - 0x2ec], eax
call fcn.00550476
test al, al
je 0x52fcdd
xor eax, eax
mov dword [ebp - 0x2fc], esi
lea edi, [ebp - 0x2f8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebx + 0x230]
call fcn.005502ae
test al, al
je 0x52fd8d
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx]
push 1
lea edx, [ebp - 0x228]
push edx
push dword [ebx + 0xc]
call dword [eax + 0x1ec]
lea ecx, [ebx + 0x160]
mov dword [ebp - 0x2d4], esi
call fcn.0052acc8
test eax, eax
jle 0x52fcaa
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.0052aceb
mov edx, dword [eax]
push 1
lea ecx, [ebp - 0x228]
push ecx
push dword [ebx + 0xc]
mov ecx, eax
call dword [edx + 0x21c]
inc dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.0052acc8
cmp dword [ebp - 0x2d4], eax
jl 0x52fc6a
push dword [ebp - 0x2dc]
lea ecx, [ebx + 0x230]
push dword [ebp - 0x2d0]
push esi
push esi
push dword [ebx + 0xc]
call fcn.00550387
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebx + 0x230]
call fcn.0055044e
jmp 0x52fd8d
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx]
push esi
lea edx, [ebp - 0x228]
push edx
push dword [ebx + 0xc]
call dword [eax + 0x1ec]
lea ecx, [ebx + 0x160]
mov dword [ebp - 0x2d4], esi
call fcn.0052acc8
test eax, eax
jle 0x52fd47
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.0052aceb
mov edx, dword [eax]
push esi
lea ecx, [ebp - 0x228]
push ecx
push dword [ebx + 0xc]
mov ecx, eax
call dword [edx + 0x21c]
inc dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.0052acc8
cmp dword [ebp - 0x2d4], eax
jl 0x52fd08
mov eax, dword [ebp - 0x21c]
sub eax, dword [ebp - 0x224]
push 0xcc0020
push dword [ebp - 0x224]
push dword [ebp - 0x228]
push dword [ebx + 0xc]
push eax
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp - 0x228]
push eax
push dword [ebp - 0x224]
push dword [ebp - 0x228]
push dword [ebp - 0x288]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x2ec]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
push dword [ebp - 0x2e0]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x288]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0x112], 0
je 0x52fdcd
push esi
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [ebx + 0x111], 0
je 0x52f5d5
push 1
lea ecx, [ebx + 0x1d8]
mov byte [ebx + 0x111], 0
call fcn.0054ffc7
push esi
push esi
push esi
push str.windowshow
push dword [ebx + 0x70]
mov ecx, ebx
call fcn.0052e998
jmp 0x52f5d5
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x52feed
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x268]
mov byte [ebp - 0x26c], 0
rep stosd dword es:[edi], eax
mov dword [ebp - 0x268], 0x1a
jmp 0x52fe59
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x52feed
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x268]
mov byte [ebp - 0x26c], 0
rep stosd dword es:[edi], eax
mov dword [ebp - 0x268], 0x1b
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x264], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x74]
jmp 0x530d5d
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x52feda
push 8
xor eax, eax
pop ecx
mov byte [ebp - 0x26c], 0
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x268], 0x1c
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x264], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x74]
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x260], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x1d8]
mov ecx, dword [ebx + 0x70]
test ecx, ecx
je 0x52fee6
call fcn.00535678
mov ecx, ebx
call fcn.0052d7ae
mov ecx, dword [ebp - 0x2ec]
push 0
call fcn.0052accf
mov esi, eax
test esi, esi
je 0x52ff7d
lea edi, [ebx + 0x130]
mov ecx, dword [ebp - 0x2ec]
xor ebx, ebx
push ebx
call fcn.0052ac4a
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x52ff33
lea ecx, [eax + 0x38]
call fcn.0055a694
test al, al
je 0x52ff33
mov ecx, dword [esi + 4]
push esi
add ecx, 0x38
call fcn.0055a745
mov ecx, edi
call fcn.0052acc8
test eax, eax
jle 0x52ff59
push ebx
mov ecx, edi
call fcn.0052aceb
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
mov ecx, edi
inc ebx
call fcn.0052acc8
cmp ebx, eax
jl 0x52ff3e
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.004310e3
push esi
call fcn.004fa278
pop ecx
mov ecx, dword [ebp - 0x2ec]
push 0
call fcn.0052accf
mov esi, eax
test esi, esi
jne 0x52ff06
mov al, byte [ebp - 0x2c9]
call fcn.004fba53
ret 0x10
xor eax, eax
push 8
pop ecx
mov byte [ebp - 0x26c], 0
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebx + 0x88]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x258], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x78]
mov dword [ebp - 0x260], eax
test ecx, ecx
je 0x52fffb
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x268], 0xb
mov dword [ebp - 0x264], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x1d8]
mov ecx, dword [ebx + 0x7c]
xor edi, edi
cmp ecx, edi
je 0x530023
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x268], 0xf
mov dword [ebp - 0x264], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x1d8]
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x80], edi
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x7c], edi
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [sym.imp.USER32.dll_SetFocus]
push eax
mov dword [ebp - 0x2e0], eax
call esi
cmp dword [ebp - 0x2e0], edi
jne 0x52feed
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
cmp eax, edi
je 0x52feed
push eax
call esi
jmp 0x52feed
cmp edi, 0x14
je 0x530255
cmp edi, 0x20
je 0x53015a
cmp edi, 0x24
jne 0x52feed
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x2b0]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2b0]
push eax
push 1
push dword [ebx]
mov dword [ebp - 0x2b0], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp dword [ebp - 0x28c], 1
lea esi, [ebp - 0x29c]
lea edi, [ebp - 0x238]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x5300ef
mov eax, dword [ebp - 0x298]
neg eax
push eax
mov eax, dword [ebp - 0x29c]
neg eax
push eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [ebp - 0x238]
mov esi, dword [ebp - 0x230]
mov edx, dword [ebp - 0x234]
sub esi, ecx
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x22c]
sub ecx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x8c]
test ecx, ecx
jle 0x53012a
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x90]
test ecx, ecx
jle 0x530137
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x94]
test ecx, ecx
jle 0x530144
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x98]
test ecx, ecx
jle 0x52feed
mov dword [eax + 0x24], ecx
jmp 0x52feed
cmp byte [ebx + 0x12c], 0
je 0x52feed
cmp word [ebp - 0x2d0], 1
jne 0x52feed
cmp byte [ebx + 0x12a], 0
jne 0x530261
and dword [ebp - 0x2e4], 0
xor eax, eax
lea edi, [ebp - 0x2e0]
stosd dword es:[edi], eax
lea eax, [ebp - 0x2e4]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x2e4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x2e0]
mov ecx, ebx
push dword [ebp - 0x2e4]
call fcn.0052ded7
mov dword [ebp - 0x2d4], eax
test eax, eax
je 0x52feed
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, 2
je 0x52feed
xor eax, eax
push 8
pop ecx
mov byte [ebp - 0x26c], 0
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x268], 0x1d
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x258], eax
call fcn.0052b881
mov word [ebp - 0x252], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x2d4]
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x260], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x1d8]
jmp 0x530261
mov eax, dword [ebp - 0x2dc]
mov dword [eax], 1
mov byte [ebp - 0x2c9], 1
jmp 0x52feed
cmp byte [ebx + 0x114], 0
je 0x52feed
push 0
push dword [ebx]
jmp 0x5302e6
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004fc1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x218]
push str.editwnd
push eax
call fcn.004fa9a7
pop ecx
pop ecx
test eax, eax
jne 0x5302e3
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5302e3
push dword [ebp - 0x2d0]
push esi
push 0x47
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x530280
jmp 0x52feed
mov eax, 0x86
cmp edi, eax
ja 0x53049f
je 0x530463
sub edi, 0x4e
je 0x530434
sub edi, 0x2d
je 0x53034d
sub edi, 8
je 0x530261
dec edi
dec edi
jne 0x52feed
push 1
mov ecx, ebx
mov byte [ebp - 0x2c9], 1
call fcn.0052c5c2
test al, al
je 0x52feed
mov byte [ebp - 0x2c9], 0
jmp 0x52feed
cmp byte [ebx + 0x12c], 0
je 0x52feed
movsx eax, word [ebp - 0x2d0]
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x2d0]
shr eax, 0x10
cwde
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x2d8]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x2d4]
mov ecx, ebx
push dword [ebp - 0x2d8]
call fcn.0052ded7
mov dword [ebp - 0x2e0], eax
test eax, eax
je 0x52feed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
cmp eax, ebx
jne 0x52feed
mov ecx, ebx
call fcn.0052ca6c
xor eax, eax
push 8
pop ecx
mov byte [ebp - 0x26c], 0
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2d0]
mov edi, dword [ebp - 0x2e0]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x268], 0x17
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x258], eax
mov word [ebp - 0x252], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x260], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
jmp 0x5309d6
cmp dword [ebp - 0x2d0], 0
je 0x530261
mov eax, dword [ebp - 0x2d0]
push eax
push esi
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x2dc]
mov dword [ecx], eax
jmp 0x530261
test esi, esi
setne al
movzx eax, al
push eax
lea ecx, [ebx + 0x1d8]
call fcn.0054f9b2
push 1
mov ecx, ebx
call fcn.0052c5c2
test al, al
jne 0x53048b
mov byte [ebp - 0x2c9], 1
mov ecx, dword [ebp - 0x2dc]
xor eax, eax
test esi, esi
sete al
mov dword [ecx], eax
jmp 0x52feed
sub edi, 0x100
je 0x5305fc
dec edi
je 0x53055a
dec edi
jne 0x52feed
cmp byte [ebx + 0x12c], 0
je 0x52feed
cmp dword [ebx + 0x74], edi
je 0x52feed
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x268]
mov byte [ebp - 0x26c], 0
rep stosd dword es:[edi], eax
mov dword [ebp - 0x268], 5
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebx + 0x88]
mov dword [ebp - 0x250], esi
mov word [ebp - 0x254], si
mov dword [ebp - 0x258], eax
call fcn.0052b881
mov word [ebp - 0x252], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x74]
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x260], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x1d8]
cmp byte [ebp - 0x26c], 0
je 0x52feed
jmp 0x52f5d5
cmp byte [ebx + 0x12c], 0
je 0x52feed
cmp dword [ebx + 0x80], 0
je 0x52feed
xor eax, eax
push 8
pop ecx
mov byte [ebp - 0x26c], 0
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebx + 0x88]
mov dword [ebp - 0x268], 4
mov dword [ebp - 0x250], esi
mov word [ebp - 0x254], si
mov dword [ebp - 0x258], eax
call fcn.0052b881
mov word [ebp - 0x252], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x80]
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x260], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x1d8]
and dword [ebx + 0x80], 0
jmp 0x52feed
cmp byte [ebx + 0x12c], 0
je 0x52feed
cmp dword [ebx + 0x74], 0
je 0x52feed
xor eax, eax
push 8
pop ecx
mov byte [ebp - 0x26c], 0
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebx + 0x88]
mov dword [ebp - 0x268], 3
mov dword [ebp - 0x250], esi
mov word [ebp - 0x254], si
mov dword [ebp - 0x258], eax
call fcn.0052b881
mov word [ebp - 0x252], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x74]
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x260], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x1d8]
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0x80], eax
jmp 0x52feed
cmp dword [ebp - 0x2d0], 0
je 0x52feed
push dword [ebp - 0x2d0]
push esi
push 0x2111
push dword [ebp - 0x2d0]
jmp 0x530450
mov eax, 0x20a
cmp edi, eax
ja 0x530d71
je 0x530c6f
add eax, 0xfffffff8
cmp edi, eax
ja 0x530ac9
je 0x530a01
mov eax, edi
sub eax, 0x133
je 0x5309e1
sub eax, 5
je 0x5309e1
sub eax, 0xc8
je 0x530805
dec eax
jne 0x52feed
cmp byte [ebx + 0x12c], al
je 0x52feed
mov ecx, dword [ebp - 0x2d0]
movsx eax, word [ebp - 0x2d0]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x2e0], ecx
mov dword [ebx + 0x88], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x2e4], eax
mov dword [ebx + 0x84], eax
call fcn.0052ded7
mov dword [ebp - 0x2d4], eax
test eax, eax
jne 0x530761
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x52feed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
cmp eax, ebx
jne 0x52feed
mov ecx, ebx
call fcn.0052ca58
mov ecx, dword [ebp - 0x2d4]
mov eax, dword [ecx]
call dword [eax + 0x1a4]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x268]
mov byte [ebp - 0x26c], 0
rep stosd dword es:[edi], eax
mov dword [ebp - 0x268], 0xe
mov eax, dword [ebp - 0x2d0]
mov edi, dword [ebp - 0x2d4]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x258], eax
mov word [ebp - 0x252], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x260], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x1d8]
mov dword [ebx + 0x7c], edi
jmp 0x52feed
cmp byte [ebx + 0x129], 0
jne 0x530870
xor eax, eax
lea edi, [ebp - 0x234]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
push 3
mov dword [ebp - 0x230], eax
mov eax, dword [ebx + 0x38]
pop ecx
mov dword [ebp - 0x238], 0x10
mov dword [ebp - 0x234], ecx
test eax, eax
jne 0x530847
mov dword [ebp - 0x22c], 0x190
jmp 0x53085c
push 0
push ecx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x129], 1
cmp byte [ebx + 0x12c], 0
je 0x52feed
mov ecx, dword [ebp - 0x2d0]
movsx eax, word [ebp - 0x2d0]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x2e0], ecx
mov dword [ebx + 0x88], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x2e4], eax
mov dword [ebx + 0x84], eax
call fcn.0052ded7
mov dword [ebp - 0x2d4], eax
test eax, eax
je 0x5308ca
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
cmp eax, ebx
jne 0x52feed
xor eax, eax
push 8
pop ecx
mov byte [ebp - 0x26c], 0
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x258], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [ebx + 0x12a], 0
mov esi, dword [ebp - 0x2d4]
mov dword [ebp - 0x260], eax
jne 0x530997
mov ecx, dword [ebx + 0x78]
cmp esi, ecx
je 0x53096a
test ecx, ecx
je 0x53096a
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x268], 0xb
mov dword [ebp - 0x264], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x1d8]
mov eax, dword [ebx + 0x38]
and dword [ebx + 0x78], 0
test eax, eax
je 0x53096a
lea ecx, [ebx + 0x3c]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, dword [ebx + 0x78]
je 0x530997
test esi, esi
je 0x530997
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x268], 0xc
mov dword [ebp - 0x264], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1d8]
mov dword [ebx + 0x78], esi
mov ecx, dword [ebx + 0x7c]
test ecx, ecx
je 0x5309b3
mov dword [ebp - 0x268], 0xa
mov dword [ebp - 0x264], ecx
jmp 0x530d63
test esi, esi
je 0x52feed
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x268], 0xa
mov dword [ebp - 0x264], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1d8]
jmp 0x52feed
cmp dword [ebp - 0x2d0], 0
je 0x52feed
push dword [ebp - 0x2d0]
add edi, 0x2000
push esi
push edi
jmp 0x5306b3
cmp byte [ebx + 0x12c], 0
je 0x52feed
mov ecx, dword [ebp - 0x2d0]
movsx eax, word [ebp - 0x2d0]
shr ecx, 0x10
cmp dword [ebx + 0x7c], 0
movsx ecx, cx
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e0], ecx
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], ecx
je 0x52feed
mov ecx, ebx
call fcn.0052ca6c
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x268]
mov byte [ebp - 0x26c], 0
rep stosd dword es:[edi], eax
mov dword [ebp - 0x268], 0xf
mov eax, dword [ebx + 0x7c]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x258], eax
mov word [ebp - 0x252], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x7c]
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x260], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x1d8]
and dword [ebx + 0x7c], 0
jmp 0x52feed
sub edi, 0x203
je 0x530be0
dec edi
je 0x530b4a
dec edi
jne 0x52feed
cmp byte [ebx + 0x12c], 0
je 0x52feed
mov ecx, dword [ebp - 0x2d0]
movsx eax, word [ebp - 0x2d0]
shr ecx, 0x10
movsx ecx, cx
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e0], ecx
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], ecx
cmp dword [ebx + 0x7c], edi
je 0x52feed
mov ecx, ebx
call fcn.0052ca6c
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x268]
mov byte [ebp - 0x26c], 0
rep stosd dword es:[edi], eax
mov dword [ebp - 0x268], 0x12
jmp 0x530a68
cmp byte [ebx + 0x12c], 0
je 0x52feed
mov ecx, dword [ebp - 0x2d0]
movsx eax, word [ebp - 0x2d0]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x2e0], ecx
mov dword [ebx + 0x88], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x2e4], eax
mov dword [ebx + 0x84], eax
call fcn.0052ded7
mov dword [ebp - 0x2d4], eax
test eax, eax
je 0x52feed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
cmp eax, ebx
jne 0x52feed
mov ecx, ebx
call fcn.0052ca58
mov ecx, dword [ebp - 0x2d4]
mov eax, dword [ecx]
call dword [eax + 0x1a4]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x268]
mov byte [ebp - 0x26c], 0
rep stosd dword es:[edi], eax
mov dword [ebp - 0x268], 0x11
jmp 0x5307a3
cmp byte [ebx + 0x12c], 0
je 0x52feed
mov ecx, dword [ebp - 0x2d0]
movsx eax, word [ebp - 0x2d0]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x2e0], ecx
mov dword [ebx + 0x88], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x2e4], eax
mov dword [ebx + 0x84], eax
call fcn.0052ded7
mov dword [ebp - 0x2d4], eax
test eax, eax
je 0x52feed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
cmp eax, ebx
jne 0x52feed
mov ecx, dword [ebp - 0x2d4]
mov eax, dword [ecx]
call dword [eax + 0x1a4]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x268]
mov byte [ebp - 0x26c], 0
rep stosd dword es:[edi], eax
mov dword [ebp - 0x268], 0x10
jmp 0x5307a3
cmp byte [ebx + 0x12c], 0
je 0x52feed
movsx eax, word [ebp - 0x2d0]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x2d0]
shr eax, 0x10
cwde
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x2e4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x2e0]
mov eax, dword [ebp - 0x2e4]
push ecx
mov dword [ebx + 0x88], ecx
push eax
mov ecx, ebx
mov dword [ebx + 0x84], eax
call fcn.0052ded7
mov dword [ebp - 0x2d4], eax
test eax, eax
je 0x52feed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
cmp eax, ebx
jne 0x52feed
xor eax, eax
push 8
pop ecx
mov byte [ebp - 0x26c], 0
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x264], eax
xor eax, eax
shr esi, 0x10
test si, si
sets al
mov dword [ebp - 0x268], 0x18
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x258], eax
call fcn.0052b881
mov word [ebp - 0x252], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x2d4]
mov dword [ebp - 0x260], eax
lea edx, [ebp - 0x26c]
mov eax, dword [ecx]
push edx
jmp 0x5309d6
sub edi, 0x286
je 0x53135e
sub edi, 0x1b
je 0x531178
dec edi
dec edi
je 0x53113b
sub edi, 0x75
je 0x530ef4
sub edi, 8
je 0x530ec7
sub edi, 0xeb
je 0x530dfb
sub edi, 0x7bf6
jne 0x52feed
lea ecx, [ebx + 0x16c]
call fcn.0052acc8
test eax, eax
jle 0x530deb
push edi
lea ecx, [ebx + 0x16c]
call fcn.0052aceb
test eax, eax
je 0x530ddb
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
lea ecx, [ebx + 0x16c]
inc edi
call fcn.0052acc8
cmp edi, eax
jl 0x530dc3
lea ecx, [ebx + 0x16c]
call fcn.0052ac85
jmp 0x52feed
movzx eax, si
push eax
lea ecx, [ebx + 0x230]
mov dword [ebp - 0x2e0], eax
call fcn.005510d5
and dword [ebp - 0x2d4], 0
lea ecx, [ebx + 0x13c]
call fcn.0052acc8
test eax, eax
jle 0x52feed
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x13c]
call fcn.0052aceb
mov esi, eax
mov eax, dword [esi + 8]
cmp eax, dword [ebx]
jne 0x530e55
mov eax, dword [ebp - 0x2e0]
cmp dword [esi + 0xc], eax
jne 0x530e55
cmp byte [esi + 0x10], 0
je 0x530e73
inc dword [ebp - 0x2d4]
lea ecx, [ebx + 0x13c]
call fcn.0052acc8
cmp dword [ebp - 0x2d4], eax
jl 0x530e2a
jmp 0x52feed
xor eax, eax
push 8
pop ecx
mov byte [ebp - 0x2ac], 0
lea edi, [ebp - 0x2a8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x28c], eax
mov eax, dword [esi]
mov dword [ebp - 0x2a4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x2a8], 0x1e
mov dword [ebp - 0x290], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [ebp - 0x2a0], eax
lea edx, [ebp - 0x2ac]
jmp 0x530d69
call fcn.0052b9fd
test al, al
je 0x52feed
mov ecx, ebx
call fcn.0052c614
test al, al
je 0x52feed
mov eax, dword [ebp - 0x2d0]
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], eax
jmp 0x52feed
lea eax, [ebp - 0x238]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
xor edi, edi
push edi
mov ecx, ebx
call fcn.0052c5c2
test al, al
je 0x530fb7
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebx + 0x18]
push eax
push 2
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebx + 0x30]
push esi
mov dword [ebp - 0x2dc], edi
call fcn.0054e88c
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx]
push edi
lea edx, [ebp - 0x238]
push edx
push dword [ebp - 0x2dc]
call dword [eax + 0x1ec]
lea ecx, [ebx + 0x160]
mov dword [ebp - 0x2d4], edi
call fcn.0052acc8
test eax, eax
jle 0x530fa8
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.0052aceb
mov edx, dword [eax]
push edi
lea ecx, [ebp - 0x238]
push ecx
push dword [ebp - 0x2dc]
mov ecx, eax
call dword [edx + 0x21c]
inc dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.0052acc8
cmp dword [ebp - 0x2d4], eax
jl 0x530f66
push 1
lea ecx, [ebx + 0x30]
call fcn.0054e8ae
jmp 0x52feed
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x70]
push edi
lea edx, [ebp - 0x238]
push edx
mov dword [ebp - 0x2e0], eax
mov eax, dword [ecx]
push esi
call dword [eax + 0x1ec]
lea ecx, [ebx + 0x160]
mov dword [ebp - 0x2d4], edi
call fcn.0052acc8
test eax, eax
jle 0x53102b
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.0052aceb
mov edx, dword [eax]
push 0
lea ecx, [ebp - 0x238]
push ecx
push esi
mov ecx, eax
call dword [edx + 0x21c]
inc dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.0052acc8
cmp dword [ebp - 0x2d4], eax
jl 0x530fed
test byte [ebp - 0x2d0], 0x10
je 0x531129
push 5
push dword [ebx]
jmp 0x531115
and dword [ebp - 0x228], 0
xor eax, eax
lea edi, [ebp - 0x224]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x2dc]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x228]
push eax
push dword [ebx]
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x224]
push edi
neg eax
push eax
mov eax, dword [ebp - 0x228]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.004fc1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2dc]
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x218]
push str.editwnd
push eax
call fcn.004fa9a7
pop ecx
pop ecx
test eax, eax
jne 0x53110d
push dword [ebp - 0x2dc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x53110d
mov eax, dword [ebp - 0x2d0]
or eax, 2
push eax
push esi
push 0x317
push dword [ebp - 0x2dc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x2dc]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x2dc], eax
test eax, eax
jne 0x531041
push dword [ebp - 0x2e0]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x52feed
mov eax, dword [ebx + 0x38]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x531156
lea ecx, [ebx + 0x3c]
push ecx
push 0
push 0x411
push eax
call esi
cmp byte [ebx + 0x129], 0
je 0x53116c
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx]
call esi
mov byte [ebx + 0x129], 0
jmp 0x52feed
cmp byte [ebx + 0x12c], 0
mov byte [ebx + 0x129], 0
je 0x52feed
mov ecx, dword [ebp - 0x2d0]
movsx eax, word [ebp - 0x2d0]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x2e0], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x2e4], eax
call fcn.0052ded7
mov dword [ebp - 0x2dc], eax
test eax, eax
je 0x52feed
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x531235
xor eax, eax
push 8
pop ecx
mov byte [ebp - 0x26c], 0
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x268], 0xd
mov dword [ebp - 0x264], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x78]
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x260], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x1d8]
mov ecx, dword [ebp - 0x2dc]
mov eax, dword [ecx]
call dword [eax + 0x14c]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.0043479c
mov eax, dword [ebp - 0x2d4]
and dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x531347
lea eax, [ebp - 0x2d4]
push eax
call fcn.0052c0b6
push 0x30
pop edi
push edi
lea esi, [ebx + 0x3c]
push 0
push esi
call fcn.004fc1f0
mov eax, dword [ebx]
mov dword [esi], edi
mov dword [ebx + 0x40], 1
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], eax
mov ecx, dword [0x607870]
mov eax, dword [ecx]
add esp, 0x10
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x2dc]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebx + 0x60], eax
mov eax, dword [ecx]
call dword [eax + 0xc4]
cmp dword [ebx + 0x38], 0
lea edi, [ebx + 0x4c]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x531319
mov ecx, dword [0x607870]
mov eax, dword [ecx]
xor edi, edi
push edi
call dword [eax + 0x10]
push eax
push edi
push dword [ebx]
mov eax, SysReAllocString
push eax
push eax
push eax
push eax
push SysStringLen
push edi
push str.tooltips_class32
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [ebx + 0x3c]
push ecx
push edi
push 0x432
push eax
mov dword [ebx + 0x38], eax
call esi
push dword [ebx + 0x6c]
push edi
push 0x418
push dword [ebx + 0x38]
call esi
jmp 0x53131b
xor edi, edi
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x531347
lea eax, [ebx + 0x3c]
push eax
push edi
push 0x436
push dword [ebx + 0x38]
call esi
lea eax, [ebx + 0x3c]
push eax
push 1
push 0x411
push dword [ebx + 0x38]
call esi
mov ecx, dword [ebp - 0x2d4]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004310e3
jmp 0x52feed
cmp byte [ebx + 0x12c], 0
je 0x52feed
cmp dword [ebx + 0x74], 0
je 0x52feed
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x268]
mov byte [ebp - 0x26c], 0
rep stosd dword es:[edi], eax
mov dword [ebp - 0x268], 6
jmp 0x5304ed