Function at 0x4b1990
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x62c]
sub esp, 0x62c
push 0xffffffffffffffff
push 0x643130
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x628], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
cmp byte [ebx + 0x354], 0
jne 0x4b1cba
push 0x104
mov ecx, dword [ebx + 0x234]
cmp dword [ebx + 0x238], 0
je 0x4b1a22
lea eax, [ebp + 0x218]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4b1cba
lea esi, [ebx + 0xc8]
lea edx, [ebp + 0x218]
push edx
mov ecx, esi
call fcn.004017f0
jmp 0x4b1a4e
lea eax, [ebp + 0x51c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4b1cba
lea esi, [ebx + 0xc8]
push 0
lea edx, [ebp + 0x51c]
push edx
mov ecx, esi
call fcn.00401980
cmp dword [esi], 0
je 0x4b1a57
mov eax, dword [esi]
jmp 0x4b1a5a
lea eax, [esi + 4]
push 0x2a
push eax
call fcn.00614db0
add esp, 8
test eax, eax
jne 0x4b1a79
mov eax, dword [ebx + 0xc4]
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004017f0
xor esi, esi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebx + 0x84]
jge 0x4b1cb3
lea edi, [ebx + 0x7c]
push esi
mov ecx, edi
call fcn.0045a9e0
mov ecx, eax
xor eax, eax
cmp dword [ecx + 0x10], eax
je 0x4b1cad
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x14], eax
xor edx, edx
mov word [ebp + 0x10], dx
mov byte [ebp - 4], 1
push esi
mov ecx, edi
call fcn.0045a9e0
mov eax, dword [eax + 8]
add eax, 0x54
cmp dword [eax], 0
je 0x4b1ac9
mov eax, dword [eax]
jmp 0x4b1acc
add eax, 4
push 0x100
lea ecx, [ebp + 0x18]
push ecx
push 0x100
lea edx, [ebp + 0x220]
push edx
push 0x100
lea ecx, [ebp + 0x420]
push ecx
push 3
lea edx, [ebp + 0x620]
push edx
push eax
call fcn.006161d7
add esp, 0x24
test eax, eax
jne 0x4b1ca1
lea eax, [ebp + 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b1b10
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 + 0x41e], 0x5c
mov ecx, 0x66bc68
je 0x4b1b34
mov ecx, 0x66b970
cmp dword [ebx + 0xc8], 0
je 0x4b1b45
mov eax, dword [ebx + 0xc8]
jmp 0x4b1b4b
lea eax, [ebx + 0xcc]
push 0
push eax
push ecx
lea eax, [ebp + 0x420]
push eax
lea ecx, [ebp + 0x620]
push ecx
push str._s_s_s_s
lea ecx, [ebp + 0xc]
call fcn.0043b410
push esi
mov ecx, edi
call fcn.0045a9e0
add eax, 0x2c
mov eax, dword [eax]
push eax
lea ecx, [ebp]
call fcn.00406fc0
mov byte [ebp - 4], 2
mov eax, dword [ebp]
test eax, eax
jne 0x4b1b8e
lea eax, [ebp + 4]
push eax
push 0x67759c
lea ecx, [ebp + 0xc]
call fcn.0043b690
push 0
push esi
mov ecx, edi
call fcn.0045a9e0
mov edx, dword [eax + 0x18]
push edx
mov eax, dword [ebx + 0x78]
push eax
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [0x74e9d0]
call fcn.00494720
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4b1bc7
lea eax, [ebp + 0x10]
push eax
push esi
mov ecx, edi
call fcn.0045a9e0
mov ecx, dword [eax + 8]
call fcn.005b1e50
push esi
mov ecx, edi
call fcn.0045a9e0
mov edx, dword [eax + 8]
mov byte [edx + 0x1a2], 1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x2c]
push eax
push 0xffffffffffffffff
push 0x100d
mov ecx, dword [ebx + 0x1fc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jl 0x4b1c95
cmp dword [0x74ea10], 0
je 0x4b1c47
mov eax, dword [0x74eb94]
test eax, eax
mov ecx, eax
jne 0x4b1c2f
mov ecx, 0x74eb98
mov eax, dword [0x74eafc]
test eax, eax
jne 0x4b1c3d
mov eax, 0x74eb00
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043b690
cmp dword [0x74ea14], 0
je 0x4b1c78
mov eax, dword [0x74ebac]
test eax, eax
mov ecx, eax
jne 0x4b1c60
mov ecx, 0x74ebb0
mov eax, dword [0x74eba0]
test eax, eax
jne 0x4b1c6e
mov eax, 0x74eba4
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043b690
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4b1c82
lea eax, [ebp + 0x10]
push eax
push edi
push 4
mov edx, dword [ebx + 0x1fc]
push edx
call fcn.0044fb90
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004011f0
inc esi
jmp 0x4b1a7b
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x628]
xor ecx, ebp
call fcn.00613241
add ebp, 0x62c
mov esp, ebp
pop ebp
ret