Function at 0x4ba5d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x62c]
sub esp, 0x62c
push 0xffffffffffffffff
push 0x650790
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x758898]
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 0x4ba8fa
push 0x104
mov ecx, dword [ebx + 0x234]
cmp dword [ebx + 0x238], 0
je 0x4ba662
lea eax, [ebp + 0x218]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4ba8fa
lea esi, [ebx + 0xc8]
lea edx, [ebp + 0x218]
push edx
mov ecx, esi
call fcn.004017f0
jmp 0x4ba68e
lea eax, [ebp + 0x51c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4ba8fa
lea esi, [ebx + 0xc8]
push 0
lea edx, [ebp + 0x51c]
push edx
mov ecx, esi
call fcn.00401980
cmp dword [esi], 0
je 0x4ba697
mov eax, dword [esi]
jmp 0x4ba69a
lea eax, [esi + 4]
push 0x2a
push eax
call fcn.00621ce0
add esp, 8
test eax, eax
jne 0x4ba6b9
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 0x4ba8f3
lea edi, [ebx + 0x7c]
push esi
mov ecx, edi
call fcn.0045ee70
mov ecx, eax
xor eax, eax
cmp dword [ecx + 0x10], eax
je 0x4ba8ed
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.0045ee70
mov eax, dword [eax + 8]
add eax, 0x54
cmp dword [eax], 0
je 0x4ba709
mov eax, dword [eax]
jmp 0x4ba70c
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.00623107
add esp, 0x24
test eax, eax
jne 0x4ba8e1
lea eax, [ebp + 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ba750
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 + 0x41e], 0x5c
mov ecx, 0x679c78
je 0x4ba774
mov ecx, 0x679980
cmp dword [ebx + 0xc8], 0
je 0x4ba785
mov eax, dword [ebx + 0xc8]
jmp 0x4ba78b
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.0043c530
push esi
mov ecx, edi
call fcn.0045ee70
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 0x4ba7ce
lea eax, [ebp + 4]
push eax
push 0x685e50
lea ecx, [ebp + 0xc]
call fcn.0043c7b0
push 0
push esi
mov ecx, edi
call fcn.0045ee70
mov edx, dword [eax + 0x18]
push edx
mov eax, dword [ebx + 0x78]
push eax
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [0x75dba0]
call fcn.0049d230
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4ba807
lea eax, [ebp + 0x10]
push eax
push esi
mov ecx, edi
call fcn.0045ee70
mov ecx, dword [eax + 8]
call fcn.005bdd50
push esi
mov ecx, edi
call fcn.0045ee70
mov edx, dword [eax + 8]
mov byte [edx + 0x1b2], 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 0x4ba8d5
cmp dword [0x75dbe8], 0
je 0x4ba887
mov eax, dword [0x75dce4]
test eax, eax
mov ecx, eax
jne 0x4ba86f
mov ecx, 0x75dce8
mov eax, dword [0x75dc94]
test eax, eax
jne 0x4ba87d
mov eax, 0x75dc98
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043c7b0
cmp dword [0x75dbec], 0
je 0x4ba8b8
mov eax, dword [0x75dd88]
test eax, eax
mov ecx, eax
jne 0x4ba8a0
mov ecx, 0x75dd8c
mov eax, dword [0x75dd7c]
test eax, eax
jne 0x4ba8ae
mov eax, 0x75dd80
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043c7b0
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4ba8c2
lea eax, [ebp + 0x10]
push eax
push edi
push 4
mov edx, dword [ebx + 0x1fc]
push edx
call fcn.00453e80
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00401210
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401210
inc esi
jmp 0x4ba6bb
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.0062016f
add ebp, 0x62c
mov esp, ebp
pop ebp
ret