Function at 0x57c580
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x614720
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e163c]
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 0x57c5c7
call fcn.00528d90
cmp eax, 0x502
jge 0x57c78b
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
xor eax, edi
test eax, 0x300
je 0x57c78b
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.0057a1e0
test byte [esi + 0xc8], 0x40
je 0x57c6d9
mov eax, dword [esi + 0x74]
mov dword [esp + 0x18], vtable.wxObject.0
mov dword [esp + 0x1c], eax
mov ecx, 1
cmp eax, ebx
je 0x57c69a
add dword [eax + 4], ecx
mov dword [esp + 0x18], vtable.wxFont.0
mov byte [esp + 0x4c], cl
lea ecx, [esi + 0x70]
cmp ecx, 0x6dbc64
je 0x57c6bb
push 0x6dbc64
call fcn.0050f940
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.00549cf0
test byte [esi + 0xc8], 0x20
je 0x57c721
lea edi, [esi + 0x8c]
push edi
lea ecx, [esp + 0x34]
call fcn.0040c247
push 0x6dbc50
mov ecx, edi
mov byte [esp + 0x50], 2
call fcn.0040c754
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.005429d0
test byte [esi + 0xc8], 0x10
je 0x57c766
lea edi, [esi + 0x78]
push edi
lea ecx, [esp + 0x34]
call fcn.0040c247
push 0x6dbc50
mov ecx, edi
mov byte [esp + 0x50], 3
call fcn.0040c754
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.005429d0
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x4c], 0xffffffff
cmp eax, 0xffffffff
je 0x57c7e8
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x57c7e8
call fcn.0050ccc0
jmp 0x57c7e8
cmp dword [esi + 0x1a4], ebx
je 0x57c7e0
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
xor eax, edi
test eax, 0x2000
je 0x57c7e0
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.005507b0
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