Function at 0x57e270
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x617130
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
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 0x57e2b7
call fcn.0052ac40
cmp eax, 0x502
jge 0x57e47b
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
xor eax, edi
test eax, 0x300
je 0x57e47b
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.0057bed0
test byte [esi + 0xc8], 0x40
je 0x57e3c9
mov eax, dword [esi + 0x74]
mov dword [esp + 0x18], vtable.wxObject.0
mov dword [esp + 0x1c], eax
mov ecx, 1
cmp eax, ebx
je 0x57e38a
add dword [eax + 4], ecx
mov dword [esp + 0x18], vtable.wxFont.0
mov byte [esp + 0x4c], cl
lea ecx, [esi + 0x70]
cmp ecx, 0x6ddd64
je 0x57e3ab
push 0x6ddd64
call fcn.005118d0
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.0054ba30
test byte [esi + 0xc8], 0x20
je 0x57e411
lea edi, [esi + 0x8c]
push edi
lea ecx, [esp + 0x34]
call fcn.0040be4e
push 0x6ddd50
mov ecx, edi
mov byte [esp + 0x50], 2
call fcn.0040c35f
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.0055bd20
test byte [esi + 0xc8], 0x10
je 0x57e456
lea edi, [esi + 0x78]
push edi
lea ecx, [esp + 0x34]
call fcn.0040be4e
push 0x6ddd50
mov ecx, edi
mov byte [esp + 0x50], 3
call fcn.0040c35f
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.0055bd20
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x4c], 0xffffffff
cmp eax, 0xffffffff
je 0x57e4d8
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x57e4d8
call fcn.0050ec00
jmp 0x57e4d8
cmp dword [esi + 0x1a4], ebx
je 0x57e4d0
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
xor eax, edi
test eax, 0x2000
je 0x57e4d0
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.00552480
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