Function at 0x47b2f0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4cc99b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov edx, dword [esp + 0x12c]
mov eax, dword [esp + 0x130]
push ebx
push ebp
push esi
mov esi, ecx
mov cl, 1
cmp cl, byte [edx + 2]
push edi
sbb ebp, ebp
and ebp, dword [0x4f0b14]
xor ebx, ebx
xor edi, edi
mov byte [esp + 0x15], 0
mov byte [esp + 0x17], 0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x134], ebx
cmp byte [eax], 0
je 0x47b5bc
push 0xfd
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004bd1c0
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x129], 0
call dword [sym.imp.USER32.dll_CharLowerA]
push 0x4db228
mov eax, esi
call fcn.004a3290
add esp, 4
cmp esi, eax
jne 0x47b399
mov dword [esp + 0x24], 1
jmp 0x47b3b8
push 0x4e2e10
mov eax, esi
call fcn.004a3290
add esp, 4
cmp esi, eax
jne 0x47b5bc
mov dword [esp + 0x24], 2
push str._8_9_62
call fcn.0049be50
add esp, 4
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.004ba285
add esp, 8
test eax, eax
jne 0x47b3e6
mov byte [esp + 0x16], 1
mov ebx, 0x4f3cf8
jmp 0x47b49f
push str._8___9__
call fcn.0049be50
add esp, 4
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004ba285
add esp, 8
test eax, eax
jne 0x47b44c
mov byte [esp + 0x16], al
mov ebx, 0x4f3cec
mov byte [esp + 0x17], 1
test ebp, ebp
je 0x47b4c2
mov eax, dword [0x4f0bd8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea edi, [eax + 1]
lea esi, [esp + 0x18]
call fcn.00413990
test eax, eax
je 0x47b4ae
mov ecx, dword [0x4f0bd8]
push edi
mov edi, dword [esp + 0x20]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x47b4c2
push str.78__4_6
call fcn.0049be50
add esp, 4
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.004ba285
add esp, 8
test eax, eax
jne 0x47b472
mov ebx, 0x4f3d04
jmp 0x47b49a
push str.8_.___
call fcn.0049be50
add esp, 4
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.004ba285
add esp, 8
test eax, eax
jne 0x47b51f
mov ebx, 0x4f3d10
mov byte [esp + 0x16], 0
mov edi, ebx
lea esi, [esp + 0x18]
call fcn.00413a00
test eax, eax
jne 0x47b4be
lea ecx, [esp + 0x18]
call fcn.004138f0
xor eax, eax
jmp 0x47b662
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x24], 2
jne 0x47b5b5
cmp byte [esp + 0x16], 0
jne 0x47b5ba
cmp byte [esp + 0x17], 0
je 0x47b5b5
cmp ebx, 0x4f3cec
jne 0x47b507
mov edx, dword [esp + 0x144]
mov eax, dword [0x4f0bd8]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
test eax, eax
je 0x47b5ba
mov ecx, dword [esp + 0x144]
push ecx
mov eax, ebx
call fcn.00413c90
test eax, eax
je 0x47b4ae
jmp 0x47b5b5
push str._24_.__:__50
call fcn.0049be50
add esp, 4
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.004ba285
add esp, 8
test eax, eax
jne 0x47b58b
lea eax, [esp + 0x18]
call fcn.0049bf30
test al, al
je 0x47b585
push 0x4e3ea4
call fcn.0049be50
add esp, 4
push eax
mov eax, dword [esp + 0x148]
push eax
call fcn.004ba135
add esp, 8
test eax, eax
jne 0x47b580
call fcn.0049bf30
push 0x4d6959
lea eax, [esp + 0x1c]
call fcn.00413c90
mov byte [esp + 0x15], 1
mov edi, dword [esp + 0x1c]
jmp 0x47b5bc
lea esi, [esp + 0x18]
lea eax, [esp + 0x28]
call fcn.0047c340
cmp dword [esp + 0x24], 2
jne 0x47b5b1
mov ecx, dword [esp + 0x144]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0047c260
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x15], 1
xor ebx, ebx
cmp ebp, ebx
je 0x47b62b
cmp byte [esp + 0x15], 0
je 0x47b624
cmp edi, ebx
jne 0x47b5cf
xor eax, eax
jmp 0x47b5dd
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47b5d4
sub eax, edx
push eax
mov eax, ebp
call fcn.004a6340
xor edi, edi
cmp byte [ebp + 0x17], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
jne 0x47b5fc
mov ebp, dword [ebp + 0xc]
cmp byte [ebp + 0x17], 2
jne 0x47b61e
cmp dword [0x4f2354], ebx
je 0x47b61e
push 1
mov ecx, 0x4f2348
call fcn.004049f0
cmp eax, ebx
jne 0x47b62b
xor eax, eax
jmp 0x47b662
and byte [ebp + 0x15], 0x86
jmp 0x47b62b
mov ecx, ebp
call fcn.0041a480
mov ecx, dword [esp + 0x13c]
xor eax, eax
cmp byte [esp + 0x15], al
sete al
push eax
push ecx
call fcn.0042d1e0
mov esi, eax
cmp edi, ebx
je 0x47b660
mov edx, dword [esp + 0x18]
push edx
push ebx
push edi
call fcn.004c16a0
add esp, 0xc
push edi
call fcn.004ba14c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x128
ret 0xc