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

Disassembly:
push 0x2f0
mov eax, 0x57194c
call fcn.00549c01
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 - 0x2e4], eax
jne 0x509d35
xor al, al
jmp 0x50a8c6
lea ecx, [ebx + 0x178]
mov byte [ebp - 0x2c9], 0
mov dword [ebp - 0x2ec], ecx
jmp 0x509dd7
mov ecx, dword [ebp - 0x2ec]
push 0
call fcn.004f9b98
mov eax, dword [edi + 4]
test eax, eax
je 0x509d79
lea ecx, [eax + 0x38]
call fcn.00521d2b
test al, al
je 0x509d79
mov ecx, dword [edi + 4]
push edi
add ecx, 0x38
call fcn.00521ddc
and dword [ebp - 0x2d4], 0
lea ecx, [ebx + 0x130]
call fcn.004f9c16
test eax, eax
jle 0x509dc0
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x130]
call fcn.004f9c39
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx]
inc dword [ebp - 0x2d4]
lea ecx, [ebx + 0x130]
call fcn.004f9c16
cmp dword [ebp - 0x2d4], eax
jl 0x509d8f
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.0040f780
push edi
call fcn.0053df44
pop ecx
mov ecx, dword [ebp - 0x2ec]
push 0
call fcn.004f9c1d
mov edi, eax
test edi, edi
jne 0x509d4d
and dword [ebp - 0x2d4], eax
lea ecx, [ebx + 0x154]
call fcn.004f9c16
mov edi, dword [ebp + 8]
test eax, eax
jle 0x509e53
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x154]
mov byte [ebp - 0x2e5], 0
call fcn.004f9c39
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 0x509f10
inc dword [ebp - 0x2d4]
lea ecx, [ebx + 0x154]
call fcn.004f9c16
cmp dword [ebp - 0x2d4], eax
jl 0x509e00
mov eax, 0x111
cmp edi, eax
ja 0x50afde
je 0x50afba
cmp edi, 0x47
ja 0x50ac3a
je 0x50abb0
cmp edi, 0x10
ja 0x50a9b0
je 0x50a8ce
sub edi, 5
je 0x50a7c2
dec edi
dec edi
je 0x50a773
dec edi
je 0x50a748
sub edi, 7
jne 0x50a830
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 0x50aba4
cmp dword [ebx + 0x70], esi
jne 0x509f1f
push 0x3c
lea eax, [ebp - 0x2c4]
push esi
push eax
mov dword [ebp - 0x2c8], esi
call fcn.0053ef70
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 0x50aba4
mov ecx, dword [ebp - 0x2e4]
mov dword [ecx], eax
mov al, 1
jmp 0x50a8c6
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 - 0x2e4], eax
je 0x50a061
lea eax, [ebp - 0x238]
push eax
mov byte [ebx + 0x112], 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x50a061
mov ecx, dword [ebx + 0x70]
call fcn.0050291b
mov ecx, dword [ebx + 0x70]
test al, al
mov eax, dword [ecx]
je 0x509fc2
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 0x50a029
push reloc.OLEAUT32.dll_SysReAllocString
push esi
push 0x508782
call dword [eax + 0x1cc]
cmp eax, esi
jmp 0x50a021
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 0x508782
call dword [eax + 0x1cc]
test eax, eax
mov dword [ebp - 0x2d4], eax
jne 0x509fd7
xor esi, esi
cmp byte [ebx + 0x110], 0
je 0x50a04d
push esi
push esi
push esi
push str.windowinit
push dword [ebx + 0x70]
mov ecx, ebx
mov byte [ebx + 0x110], 0
call fcn.0050969e
push esi
push esi
push esi
push str.windowsized
push dword [ebx + 0x70]
mov ecx, ebx
call fcn.0050969e
xor esi, esi
push 0x3c
lea eax, [ebp - 0x284]
push esi
push eax
mov dword [ebp - 0x288], esi
call fcn.0053ef70
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 0x50a327
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [ebx]
call edi
mov ecx, 0x80000
test ecx, eax
jne 0x50a0bd
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 0x50a100
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 0x50a0e8
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
and dword [ebx + 0xc], 0
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x50a0fa
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 0x50a131
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 - 0x2e4]
push dword [ebp - 0x2d0]
push dword [ebx + 8]
call fcn.0050e549
add esp, 0x14
mov dword [ebx + 0x10], eax
mov ecx, dword [ebp - 0x2e4]
mov eax, ecx
sub eax, dword [ebp - 0x224]
sub ecx, dword [ebp - 0x21c]
cmp ecx, eax
jge 0x50a1a0
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.0053182b
mov eax, dword [ebp - 0x2d0]
shl eax, 2
add esp, 0xc
add edi, eax
dec dword [ebp - 0x2d4]
jne 0x50a178
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.004f9c16
test eax, eax
jle 0x50a216
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.004f9c39
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.004f9c16
cmp dword [ebp - 0x2d4], eax
jl 0x50a1d7
lea ecx, [ebx + 0x230]
call fcn.0052f958
test al, al
je 0x50a282
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.0052f790
test al, al
je 0x50a6ee
push dword [ebp - 0x2e4]
lea ecx, [ebx + 0x230]
push dword [ebp - 0x2d0]
push esi
push esi
push dword [ebx + 0xc]
call fcn.0052f869
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebx + 0x230]
call fcn.0052f930
jmp 0x50a6ee
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 - 0x2e4]
push 2
mov dword [ebp - 0x2ec], eax
lea eax, [ebp - 0x2d4]
push eax
push esi
lea eax, [ebp - 0x2e0]
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 - 0x2e0], esi
mov dword [ebp - 0x2dc], esi
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
jmp 0x50a6ee
call fcn.004fa9b4
test al, al
je 0x50a4c2
lea ecx, [ebx + 0x230]
call fcn.0052f958
test al, al
je 0x50a42c
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.0052f790
test al, al
je 0x50a6ee
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.0052ea46
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.004f9c16
test eax, eax
jle 0x50a3fa
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.004f9c39
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.004f9c16
cmp dword [ebp - 0x2d4], eax
jl 0x50a3bb
push dword [ebp - 0x2e4]
lea ecx, [ebx + 0x230]
push dword [ebp - 0x2d0]
push esi
push esi
push dword [edi]
call fcn.0052f869
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebx + 0x230]
call fcn.0052f930
jmp 0x50a4b3
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.0052ea46
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.004f9c16
test eax, eax
jle 0x50a4b3
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.004f9c39
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.004f9c16
cmp dword [ebp - 0x2d4], eax
jl 0x50a475
push 1
lea ecx, [ebx + 0x30]
call fcn.0052ea68
jmp 0x50a6ee
cmp byte [ebp - 0x2c9], 0
je 0x50a4ed
mov eax, dword [ebx + 0xc]
cmp eax, esi
je 0x50a4dc
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebx + 0xc], esi
mov eax, dword [ebx + 0x10]
cmp eax, esi
je 0x50a4ed
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x10], esi
cmp dword [ebx + 0xc], esi
jne 0x50a523
cmp dword [ebx + 0x10], esi
jne 0x50a523
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 - 0x2e4]
push dword [ebp - 0x2d0]
push dword [ebx + 8]
call fcn.0050e549
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 - 0x2dc], eax
call dword [sym.imp.GDI32.dll_SaveDC]
lea ecx, [ebx + 0x230]
mov dword [ebp - 0x2ec], eax
call fcn.0052f958
test al, al
je 0x50a620
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.0052f790
test al, al
je 0x50a6d0
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.004f9c16
test eax, eax
jle 0x50a5ed
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.004f9c39
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.004f9c16
cmp dword [ebp - 0x2d4], eax
jl 0x50a5ad
push dword [ebp - 0x2e4]
lea ecx, [ebx + 0x230]
push dword [ebp - 0x2d0]
push esi
push esi
push dword [ebx + 0xc]
call fcn.0052f869
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebx + 0x230]
call fcn.0052f930
jmp 0x50a6d0
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.004f9c16
test eax, eax
jle 0x50a68a
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.004f9c39
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.004f9c16
cmp dword [ebp - 0x2d4], eax
jl 0x50a64b
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 - 0x2dc]
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 0x50a710
push esi
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [ebx + 0x111], 0
je 0x509f18
push 1
lea ecx, [ebx + 0x1d8]
mov byte [ebx + 0x111], 0
call fcn.0052ea13
push esi
push esi
push esi
push str.windowshow
push dword [ebx + 0x70]
mov ecx, ebx
call fcn.0050969e
jmp 0x509f18
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x50a830
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 0x50a79c
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x50a830
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 0x50b67d
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x50a81d
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 0x50a829
call fcn.0050291f
mov ecx, ebx
call fcn.00508a69
mov ecx, dword [ebp - 0x2ec]
push 0
call fcn.004f9c1d
mov esi, eax
test esi, esi
je 0x50a8c0
lea edi, [ebx + 0x130]
mov ecx, dword [ebp - 0x2ec]
xor ebx, ebx
push ebx
call fcn.004f9b98
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x50a876
lea ecx, [eax + 0x38]
call fcn.00521d2b
test al, al
je 0x50a876
mov ecx, dword [esi + 4]
push esi
add ecx, 0x38
call fcn.00521ddc
mov ecx, edi
call fcn.004f9c16
test eax, eax
jle 0x50a89c
push ebx
mov ecx, edi
call fcn.004f9c39
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
mov ecx, edi
inc ebx
call fcn.004f9c16
cmp ebx, eax
jl 0x50a881
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.0040f780
push esi
call fcn.0053df44
pop ecx
mov ecx, dword [ebp - 0x2ec]
push 0
call fcn.004f9c1d
mov esi, eax
test esi, esi
jne 0x50a849
mov al, byte [ebp - 0x2c9]
call fcn.00549c84
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 0x50a93e
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 0x50a966
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 - 0x2dc], eax
call esi
cmp dword [ebp - 0x2dc], edi
jne 0x50a830
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
cmp eax, edi
je 0x50a830
push eax
call esi
jmp 0x50a830
cmp edi, 0x14
je 0x50ab98
cmp edi, 0x20
je 0x50aa9d
cmp edi, 0x24
jne 0x50a830
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 0x50aa32
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 0x50aa6d
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x90]
test ecx, ecx
jle 0x50aa7a
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x94]
test ecx, ecx
jle 0x50aa87
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x98]
test ecx, ecx
jle 0x50a830
mov dword [eax + 0x24], ecx
jmp 0x50a830
cmp byte [ebx + 0x12c], 0
je 0x50a830
cmp word [ebp - 0x2d0], 1
jne 0x50a830
cmp byte [ebx + 0x12a], 0
jne 0x50aba4
and dword [ebp - 0x2e0], 0
xor eax, eax
lea edi, [ebp - 0x2dc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x2e0]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x2dc]
mov ecx, ebx
push dword [ebp - 0x2e0]
call fcn.00509190
mov dword [ebp - 0x2d4], eax
test eax, eax
je 0x50a830
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, 2
je 0x50a830
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 - 0x2e0]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x268], 0x1d
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x258], eax
call fcn.004fa7cf
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 0x50aba4
mov eax, dword [ebp - 0x2e4]
mov dword [eax], 1
mov byte [ebp - 0x2c9], 1
jmp 0x50a830
cmp byte [ebx + 0x114], 0
je 0x50a830
push 0
push dword [ebx]
jmp 0x50ac29
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0053ef70
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.0054449d
pop ecx
pop ecx
test eax, eax
jne 0x50ac26
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x50ac26
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 0x50abc3
jmp 0x50a830
mov eax, 0x86
cmp edi, eax
ja 0x50adbf
je 0x50ada6
sub edi, 0x4e
je 0x50ad77
sub edi, 0x2d
je 0x50ac90
sub edi, 8
je 0x50aba4
dec edi
dec edi
jne 0x50a830
push 1
mov ecx, ebx
mov byte [ebp - 0x2c9], 1
call fcn.00507a5e
test al, al
je 0x50a830
mov byte [ebp - 0x2c9], 0
jmp 0x50a830
cmp byte [ebx + 0x12c], 0
je 0x50a830
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.00509190
mov dword [ebp - 0x2dc], eax
test eax, eax
je 0x50a830
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
cmp eax, ebx
jne 0x50a830
mov ecx, ebx
call fcn.00507f08
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 - 0x2dc]
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 0x50b2f6
cmp dword [ebp - 0x2d0], 0
je 0x50aba4
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 - 0x2e4]
mov dword [ecx], eax
jmp 0x50aba4
test esi, esi
setne al
movzx eax, al
push eax
lea ecx, [ebx + 0x1d8]
call fcn.0052e3fe
jmp 0x50a830
sub edi, 0x100
je 0x50af1c
dec edi
je 0x50ae7a
dec edi
jne 0x50a830
cmp byte [ebx + 0x12c], 0
je 0x50a830
cmp dword [ebx + 0x74], edi
je 0x50a830
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.004fa7cf
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 0x50a830
jmp 0x509f18
cmp byte [ebx + 0x12c], 0
je 0x50a830
cmp dword [ebx + 0x80], 0
je 0x50a830
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.004fa7cf
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 0x50a830
cmp byte [ebx + 0x12c], 0
je 0x50a830
cmp dword [ebx + 0x74], 0
je 0x50a830
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.004fa7cf
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 0x50a830
cmp dword [ebp - 0x2d0], 0
je 0x50a830
push dword [ebp - 0x2d0]
push esi
push 0x2111
push dword [ebp - 0x2d0]
jmp 0x50ad93
mov eax, 0x20a
cmp edi, eax
ja 0x50b691
je 0x50b58f
add eax, 0xfffffff8
cmp edi, eax
ja 0x50b3e9
je 0x50b321
mov eax, edi
sub eax, 0x133
je 0x50b301
sub eax, 5
je 0x50b301
sub eax, 0xc8
je 0x50b125
dec eax
jne 0x50a830
cmp byte [ebx + 0x12c], al
je 0x50a830
mov ecx, dword [ebp - 0x2d0]
movsx eax, word [ebp - 0x2d0]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x2dc], ecx
mov dword [ebx + 0x88], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x2e0], eax
mov dword [ebx + 0x84], eax
call fcn.00509190
mov dword [ebp - 0x2d4], eax
test eax, eax
jne 0x50b081
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x50a830
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
cmp eax, ebx
jne 0x50a830
mov ecx, ebx
call fcn.00507ef4
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 - 0x2e0]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2dc]
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 0x50a830
cmp byte [ebx + 0x129], 0
jne 0x50b190
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 0x50b167
mov dword [ebp - 0x22c], 0x190
jmp 0x50b17c
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 0x50a830
mov ecx, dword [ebp - 0x2d0]
movsx eax, word [ebp - 0x2d0]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x2dc], ecx
mov dword [ebx + 0x88], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x2e0], eax
mov dword [ebx + 0x84], eax
call fcn.00509190
mov dword [ebp - 0x2d4], eax
test eax, eax
je 0x50b1ea
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
cmp eax, ebx
jne 0x50a830
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 - 0x2e0]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2dc]
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 0x50b2b7
mov ecx, dword [ebx + 0x78]
cmp esi, ecx
je 0x50b28a
test ecx, ecx
je 0x50b28a
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 0x50b28a
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 0x50b2b7
test esi, esi
je 0x50b2b7
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 0x50b2d3
mov dword [ebp - 0x268], 0xa
mov dword [ebp - 0x264], ecx
jmp 0x50b683
test esi, esi
je 0x50a830
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 0x50a830
cmp dword [ebp - 0x2d0], 0
je 0x50a830
push dword [ebp - 0x2d0]
add edi, 0x2000
push esi
push edi
jmp 0x50afd3
cmp byte [ebx + 0x12c], 0
je 0x50a830
mov ecx, dword [ebp - 0x2d0]
movsx eax, word [ebp - 0x2d0]
shr ecx, 0x10
cmp dword [ebx + 0x7c], 0
movsx ecx, cx
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], ecx
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], ecx
je 0x50a830
mov ecx, ebx
call fcn.00507f08
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 - 0x2e0]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2dc]
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 0x50a830
sub edi, 0x203
je 0x50b500
dec edi
je 0x50b46a
dec edi
jne 0x50a830
cmp byte [ebx + 0x12c], 0
je 0x50a830
mov ecx, dword [ebp - 0x2d0]
movsx eax, word [ebp - 0x2d0]
shr ecx, 0x10
movsx ecx, cx
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], ecx
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], ecx
cmp dword [ebx + 0x7c], edi
je 0x50a830
mov ecx, ebx
call fcn.00507f08
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 0x50b388
cmp byte [ebx + 0x12c], 0
je 0x50a830
mov ecx, dword [ebp - 0x2d0]
movsx eax, word [ebp - 0x2d0]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x2dc], ecx
mov dword [ebx + 0x88], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x2e0], eax
mov dword [ebx + 0x84], eax
call fcn.00509190
mov dword [ebp - 0x2d4], eax
test eax, eax
je 0x50a830
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
cmp eax, ebx
jne 0x50a830
mov ecx, ebx
call fcn.00507ef4
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 0x50b0c3
cmp byte [ebx + 0x12c], 0
je 0x50a830
mov ecx, dword [ebp - 0x2d0]
movsx eax, word [ebp - 0x2d0]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x2dc], ecx
mov dword [ebx + 0x88], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x2e0], eax
mov dword [ebx + 0x84], eax
call fcn.00509190
mov dword [ebp - 0x2d4], eax
test eax, eax
je 0x50a830
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
cmp eax, ebx
jne 0x50a830
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 0x50b0c3
cmp byte [ebx + 0x12c], 0
je 0x50a830
movsx eax, word [ebp - 0x2d0]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2d0]
shr eax, 0x10
cwde
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x2e0]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x2dc]
mov eax, dword [ebp - 0x2e0]
push ecx
mov dword [ebx + 0x88], ecx
push eax
mov ecx, ebx
mov dword [ebx + 0x84], eax
call fcn.00509190
mov dword [ebp - 0x2d4], eax
test eax, eax
je 0x50a830
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
cmp eax, ebx
jne 0x50a830
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 - 0x2e0]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x258], eax
call fcn.004fa7cf
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 0x50b2f6
sub edi, 0x286
je 0x50bc7e
sub edi, 0x1b
je 0x50ba98
dec edi
dec edi
je 0x50ba5b
sub edi, 0x75
je 0x50b814
sub edi, 8
je 0x50b7e7
sub edi, 0xeb
je 0x50b71b
sub edi, 0x7bf6
jne 0x50a830
lea ecx, [ebx + 0x16c]
call fcn.004f9c16
test eax, eax
jle 0x50b70b
push edi
lea ecx, [ebx + 0x16c]
call fcn.004f9c39
test eax, eax
je 0x50b6fb
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
lea ecx, [ebx + 0x16c]
inc edi
call fcn.004f9c16
cmp edi, eax
jl 0x50b6e3
lea ecx, [ebx + 0x16c]
call fcn.004f9bd3
jmp 0x50a830
movzx eax, si
push eax
lea ecx, [ebx + 0x230]
mov dword [ebp - 0x2dc], eax
call fcn.00530595
and dword [ebp - 0x2d4], 0
lea ecx, [ebx + 0x13c]
call fcn.004f9c16
test eax, eax
jle 0x50a830
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x13c]
call fcn.004f9c39
mov esi, eax
mov eax, dword [esi + 8]
cmp eax, dword [ebx]
jne 0x50b775
mov eax, dword [ebp - 0x2dc]
cmp dword [esi + 0xc], eax
jne 0x50b775
cmp byte [esi + 0x10], 0
je 0x50b793
inc dword [ebp - 0x2d4]
lea ecx, [ebx + 0x13c]
call fcn.004f9c16
cmp dword [ebp - 0x2d4], eax
jl 0x50b74a
jmp 0x50a830
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 0x50b689
call fcn.004fa94b
test al, al
je 0x50a830
mov ecx, ebx
call fcn.00507ab0
test al, al
je 0x50a830
mov eax, dword [ebp - 0x2d0]
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], eax
jmp 0x50a830
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.00507a5e
test al, al
je 0x50b8d7
lea eax, [ebp - 0x2e4]
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 - 0x2e4], edi
call fcn.0052ea46
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx]
push edi
lea edx, [ebp - 0x238]
push edx
push dword [ebp - 0x2e4]
call dword [eax + 0x1ec]
lea ecx, [ebx + 0x160]
mov dword [ebp - 0x2d4], edi
call fcn.004f9c16
test eax, eax
jle 0x50b8c8
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.004f9c39
mov edx, dword [eax]
push edi
lea ecx, [ebp - 0x238]
push ecx
push dword [ebp - 0x2e4]
mov ecx, eax
call dword [edx + 0x21c]
inc dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.004f9c16
cmp dword [ebp - 0x2d4], eax
jl 0x50b886
push 1
lea ecx, [ebx + 0x30]
call fcn.0052ea68
jmp 0x50a830
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 - 0x2dc], eax
mov eax, dword [ecx]
push esi
call dword [eax + 0x1ec]
lea ecx, [ebx + 0x160]
mov dword [ebp - 0x2d4], edi
call fcn.004f9c16
test eax, eax
jle 0x50b94b
push dword [ebp - 0x2d4]
lea ecx, [ebx + 0x160]
call fcn.004f9c39
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.004f9c16
cmp dword [ebp - 0x2d4], eax
jl 0x50b90d
test byte [ebp - 0x2d0], 0x10
je 0x50ba49
push 5
push dword [ebx]
jmp 0x50ba35
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 - 0x2e4]
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.0053ef70
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2e4]
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x218]
push str.editwnd
push eax
call fcn.0054449d
pop ecx
pop ecx
test eax, eax
jne 0x50ba2d
push dword [ebp - 0x2e4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x50ba2d
mov eax, dword [ebp - 0x2d0]
or eax, 2
push eax
push esi
push 0x317
push dword [ebp - 0x2e4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x2e4]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x2e4], eax
test eax, eax
jne 0x50b961
push dword [ebp - 0x2dc]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x50a830
mov eax, dword [ebx + 0x38]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x50ba76
lea ecx, [ebx + 0x3c]
push ecx
push 0
push 0x411
push eax
call esi
cmp byte [ebx + 0x129], 0
je 0x50ba8c
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx]
call esi
mov byte [ebx + 0x129], 0
jmp 0x50a830
cmp byte [ebx + 0x12c], 0
mov byte [ebx + 0x129], 0
je 0x50a830
mov ecx, dword [ebp - 0x2d0]
movsx eax, word [ebp - 0x2d0]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x2dc], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x2e0], eax
call fcn.00509190
mov dword [ebp - 0x2e4], eax
test eax, eax
je 0x50a830
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x50bb55
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 - 0x2e0]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2dc]
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 - 0x2e4]
mov eax, dword [ecx]
call dword [eax + 0x14c]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.0041c8a0
mov eax, dword [ebp - 0x2d4]
and dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x50bc67
lea eax, [ebp - 0x2d4]
push eax
call fcn.004fb004
push 0x30
pop edi
push edi
lea esi, [ebx + 0x3c]
push 0
push esi
call fcn.0053ef70
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 [0x5c3608]
mov eax, dword [ecx]
add esp, 0x10
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x2e4]
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 0x50bc39
mov ecx, dword [0x5c3608]
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 0x50bc3b
xor edi, edi
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x50bc67
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.0040f780
jmp 0x50a830
cmp byte [ebx + 0x12c], 0
je 0x50a830
cmp dword [ebx + 0x74], 0
je 0x50a830
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 0x50ae0d