Function at 0x423230
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4fa0a8]
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 0x4237c2
mov edi, dword [ebp + 0xc]
cmp edi, 0x111
jne 0x42329a
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 0x42357a
cmp edi, 0x102
jne 0x423371
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 0x423311
cmp dword [ebp - 0x214], 0xd
mov ecx, 1
cmove eax, ecx
mov dword [ebx], 0
test eax, eax
jne 0x423726
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x21c]
lea eax, [ecx - 0x130]
cmp edi, 0x2a3
jne 0x42364f
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 0x423719
cmp edi, 8
jne 0x423419
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 0x4233bd
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 0x42340a
cmp eax, dword [esi + 0x17c]
je 0x42340a
mov ecx, dword [esi + 0x188]
mov dword [esi + 0x17c], eax
test ecx, ecx
je 0x4233ec
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 0x4237b9
cmp edi, 7
jne 0x423502
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 0x423486
test dx, dx
je 0x423482
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423486
add eax, 4
add ecx, 4
test dx, dx
jne 0x423460
xor eax, eax
jmp 0x42348b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4234a6
push 0x4df010
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 0x4234f3
cmp dword [esi + 0x17c], eax
je 0x4234f3
mov ecx, dword [esi + 0x188]
mov dword [esi + 0x17c], eax
test ecx, ecx
je 0x4234d5
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 0x4237b9
cmp edi, 0x20a
jne 0x4235aa
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 0x42356b
mov ecx, dword [esi + 0x134]
mov esi, dword [ebp + 0x10]
mov eax, esi
shr eax, 0x10
push 0
test ax, ax
jle 0x42355b
push 0
push 0xb5
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42356e
push 1
push 0xb5
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42356e
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 0x423322
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a9dd
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x200
jne 0x42361b
mov eax, dword [ecx + 0x54]
lea esi, [ecx - 0x130]
mov dword [ebp - 0x210], 1
test eax, eax
je 0x42360c
cmp dword [esi + 0x17c], eax
je 0x42360c
mov ecx, dword [esi + 0x188]
mov dword [esi + 0x17c], eax
test ecx, ecx
je 0x4235ee
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 0x4237b9
cmp edi, 0x2a1
jne 0x423647
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.0049a9dd
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [ebp + 0x10]
jmp 0x42332e
cmp edi, 0x2133
jne 0x423674
sub esp, 8
mov dword [ebp - 0x210], 1
push esi
push ecx
mov ecx, eax
call fcn.00423fc0
mov dword [ebx], eax
jmp 0x423719
cmp edi, 0x2138
je 0x423657
cmp edi, 0x100
jne 0x4236a3
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push ecx
push ecx
push esi
push ecx
mov ecx, eax
call fcn.00424100
mov dword [ebx], eax
jmp 0x423719
cmp edi, 0x101
jne 0x4236d8
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 0x423713
cmp edi, 0x104
je 0x423684
cmp edi, 0x105
jne 0x42373e
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 0x4237c2
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a9dd
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x14
je 0x423629
cmp edi, 0x2111
jne 0x4237c2
shr esi, 0x10
mov eax, 0x300
cmp ax, si
jne 0x423792
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 0x4237b9
mov eax, 0x400
cmp ax, si
jne 0x4237c2
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.0049a9dd
mov esp, ebp
pop ebp
ret 0x18