Function at 0x4cdf90
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x563f10
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x54]
xor ebx, ebx
cmp dword [esi + 0x1a4], ebx
jne 0x4cdfd7
call fcn.0047a970
cmp eax, 0x502
jge 0x4ce19b
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
xor eax, edi
test eax, 0x300
je 0x4ce19b
mov eax, dword [esi]
mov edx, dword [eax + 0x2c4]
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov eax, dword [eax + 0x210]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov dword [esp + 0x54], ebx
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0x218]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], edx
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
mov ebp, dword [esi + 0x114]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x1e0]
mov ecx, esi
call edx
push ebp
call dword [sym.imp.USER32.dll_DestroyWindow]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x5c]
push edx
mov ecx, esi
mov dword [esi + 0xcc], edi
call fcn.004cbbf0
test byte [esi + 0xc8], 0x40
je 0x4ce0e9
mov eax, dword [esi + 0x74]
mov dword [esp + 0x18], vtable.wxObject.0
mov dword [esp + 0x1c], eax
mov ecx, 1
cmp eax, ebx
je 0x4ce0aa
add dword [eax + 4], ecx
mov dword [esp + 0x18], vtable.wxFont.0
mov byte [esp + 0x4c], cl
lea ecx, [esi + 0x70]
cmp ecx, 0x5ebc68
je 0x4ce0cb
push 0x5ebc68
call fcn.00461760
mov eax, dword [esi]
mov edx, dword [eax + 0x158]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], bl
call fcn.0049b770
test byte [esi + 0xc8], 0x20
je 0x4ce131
lea edi, [esi + 0x8c]
push edi
lea ecx, [esp + 0x34]
call fcn.0040c1a9
push 0x5ebc54
mov ecx, edi
mov byte [esp + 0x50], 2
call fcn.0040c6bd
mov eax, dword [esi]
mov edx, dword [eax + 0x148]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], bl
call fcn.00493df0
test byte [esi + 0xc8], 0x10
je 0x4ce176
lea edi, [esi + 0x78]
push edi
lea ecx, [esp + 0x34]
call fcn.0040c1a9
push 0x5ebc54
mov ecx, edi
mov byte [esp + 0x50], 3
call fcn.0040c6bd
mov eax, dword [esi]
mov edx, dword [eax + 0x144]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], bl
call fcn.00493df0
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x4c], 0xffffffff
cmp eax, 0xffffffff
je 0x4ce1f8
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x4ce1f8
call fcn.0045ea90
jmp 0x4ce1f8
cmp dword [esi + 0x1a4], ebx
je 0x4ce1f0
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
xor eax, edi
test eax, 0x2000
je 0x4ce1f0
mov eax, edi
shr eax, 0xd
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0x201
xor edx, edx
add ecx, 0xfffffeff
cmp al, bl
mov eax, dword [esi + 0x114]
sete dl
push ecx
add edx, 2
push edx
push 0x44d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov ecx, esi
call fcn.004a21b0
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4