Function at 0x423360
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5020a8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x21c], edx
jne 0x4238f2
mov edi, dword [ebp + 0xc]
cmp edi, 0x111
jne 0x4233ca
mov esi, dword [ebp + 0x10]
lea edx, [ebp - 0x214]
movzx eax, si
add ecx, 0xfffffed0
push edx
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x214], eax
push 0x1fb
jmp 0x4236aa
cmp edi, 0x102
jne 0x4234a1
mov eax, dword [ebp + 0x10]
lea esi, [ecx - 0x130]
mov dword [ebp - 0x214], eax
lea ecx, [ebp - 0x224]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], eax
mov eax, dword [esi]
push ecx
push 0x1f4
mov ecx, esi
call dword [eax + 0x28]
mov eax, dword [ebp - 0x220]
push 0xfffffffffffffff0
push dword [esi + 0x134]
mov dword [ebp - 0x210], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
mov eax, dword [ebp - 0x210]
jne 0x423441
cmp dword [ebp - 0x214], 0xd
mov ecx, 1
cmove eax, ecx
mov dword [ebx], 0
test eax, eax
jne 0x423856
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x21c]
lea eax, [ecx - 0x130]
cmp edi, 0x2a3
jne 0x42377f
mov eax, dword [ecx - 0x130]
lea edi, [ebp - 0x210]
add ecx, 0xfffffed0
mov dword [ebp - 0x210], 1
push edi
push edx
push esi
push 0x2a3
call dword [eax + 0xf0]
mov dword [ebx], eax
jmp 0x423849
cmp edi, 8
jne 0x423549
push dword [ecx + 4]
lea esi, [ecx - 0x130]
mov dword [ebp - 0x210], 1
mov dword [esi + 0x154], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x4234ed
push dword [esi + 0x160]
mov dword [esi + 0x15c], 1
push dword [esi + 0x134]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x180]
test eax, eax
je 0x42353a
cmp eax, dword [esi + 0x17c]
je 0x42353a
mov ecx, dword [esi + 0x188]
mov dword [esi + 0x17c], eax
test ecx, ecx
je 0x42351c
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x17c]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esi + 0x40]
push dword [esi + 0x194]
mov dword [esi + 0x188], eax
mov eax, dword [ecx]
call dword [eax + 0xa4]
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x1f5
jmp 0x4238e9
cmp edi, 7
jne 0x423632
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 1
lea esi, [ecx - 0x130]
mov dword [esi + 0x154], 1
push eax
push dword [esi + 0x134]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x160]
lea ecx, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4235b6
test dx, dx
je 0x4235b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4235b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x423590
xor eax, eax
jmp 0x4235bb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4235d6
push 0x4e57a0
push dword [esi + 0x134]
mov dword [esi + 0x15c], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x184]
test eax, eax
je 0x423623
cmp dword [esi + 0x17c], eax
je 0x423623
mov ecx, dword [esi + 0x188]
mov dword [esi + 0x17c], eax
test ecx, ecx
je 0x423605
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x17c]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esi + 0x40]
push dword [esi + 0x198]
mov dword [esi + 0x188], eax
mov eax, dword [ecx]
call dword [eax + 0xa4]
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x1fc
jmp 0x4238e9
cmp edi, 0x20a
jne 0x4236da
lea esi, [ecx - 0x130]
mov dword [ebp - 0x210], 1
push 0xfffffffffffffff0
push dword [esi + 0x134]
mov dword [ebp - 0x214], esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
je 0x42369b
mov ecx, dword [esi + 0x134]
mov esi, dword [ebp + 0x10]
mov eax, esi
shr eax, 0x10
push 0
test ax, ax
jle 0x42368b
push 0
push 0xb5
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42369e
push 1
push 0xb5
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42369e
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x214]
push esi
push 0x1f8
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp dword [ebp - 0x210], 0
mov dword [ebx], 0
je 0x423452
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x200
jne 0x42374b
mov eax, dword [ecx + 0x54]
lea esi, [ecx - 0x130]
mov dword [ebp - 0x210], 1
test eax, eax
je 0x42373c
cmp dword [esi + 0x17c], eax
je 0x42373c
mov ecx, dword [esi + 0x188]
mov dword [esi + 0x17c], eax
test ecx, ecx
je 0x42371e
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x17c]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esi + 0x40]
push dword [esi + 0x198]
mov dword [esi + 0x188], eax
mov eax, dword [ecx]
call dword [eax + 0xa4]
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x1fd
jmp 0x4238e9
cmp edi, 0x2a1
jne 0x423777
mov eax, dword [ecx + 0x60]
mov dword [ecx + 0x58], eax
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [ebp + 0x10]
jmp 0x42345e
cmp edi, 0x2133
jne 0x4237a4
sub esp, 8
mov dword [ebp - 0x210], 1
push esi
push ecx
mov ecx, eax
call fcn.004240f0
mov dword [ebx], eax
jmp 0x423849
cmp edi, 0x2138
je 0x423787
cmp edi, 0x100
jne 0x4237d3
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push ecx
push ecx
push esi
push ecx
mov ecx, eax
call fcn.00424230
mov dword [ebx], eax
jmp 0x423849
cmp edi, 0x101
jne 0x423808
mov eax, dword [ecx - 0x130]
lea edx, [ebp - 0x214]
add ecx, 0xfffffed0
mov dword [ebp - 0x210], 1
push edx
push 0x1fa
mov dword [ebp - 0x214], esi
call dword [eax + 0x28]
jmp 0x423843
cmp edi, 0x104
je 0x4237b4
cmp edi, 0x105
jne 0x42386e
mov edx, dword [ecx - 0x130]
lea eax, [ebp - 0x214]
add ecx, 0xfffffed0
mov dword [ebp - 0x210], 1
push eax
push 0x1fa
mov dword [ebp - 0x214], esi
call dword [edx + 0x28]
mov dword [ebx], 0
cmp dword [ebp - 0x210], 0
je 0x4238f2
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x14
je 0x423759
cmp edi, 0x2111
jne 0x4238f2
shr esi, 0x10
mov eax, 0x300
cmp ax, si
jne 0x4238c2
mov eax, dword [ecx - 0x130]
lea esi, [ecx - 0x130]
push 1
push 0
mov ecx, esi
mov dword [ebp - 0x210], 1
call dword [eax + 0x13c]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0x1f6
jmp 0x4238e9
mov eax, 0x400
cmp ax, si
jne 0x4238f2
mov eax, dword [ecx - 0x130]
add ecx, 0xfffffed0
push 0
mov dword [ebp - 0x210], 1
push 0x1f9
call dword [eax + 0x28]
mov dword [ebx], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret 0x18