Function at 0x4586e2
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x55e0f7
call fcn.00514868
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.0045a16b
and dword [ebp - 4], 0
mov dword [esi + 0x44], 0x5d4ce4
mov byte [ebp - 4], 1
lea ecx, [esi + 0x4c]
mov dword [esi], 0x5d50c0
mov dword [esi + 0x44], 0x5d50f0
call fcn.00452d5f
mov byte [ebp - 4], 2
lea ecx, [esi + 0x7c]
and dword [esi + 0x74], 0
and dword [esi + 0x78], 0
call fcn.0044606f
mov byte [ebp - 4], 3
xor ecx, ecx
push dword [ebp + 0xc]
mov dword [esi + 0x88], ecx
push dword [ebp + 8]
mov dword [esi + 0x8c], ecx
mov byte [esi + 0x90], cl
mov ecx, esi
call fcn.00458bdd
test al, al
je 0x458abf
lea eax, [ebp - 0x2c]
push 0x2a8
push eax
call fcn.004bab22
pop ecx
pop ecx
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x45877c
mov eax, dword [eax]
push edi
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x40d
push dword [esi + 4]
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00401ffa
lea eax, [ebp - 0x2c]
push 0x2a9
push eax
call fcn.004bab22
pop ecx
pop ecx
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4587ba
mov eax, dword [eax]
push eax
push 0x3e8
push dword [esi + 4]
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00401ffa
lea eax, [ebp - 0x2c]
push 0x2aa
push eax
call fcn.004bab22
pop ecx
pop ecx
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4587f1
mov eax, dword [eax]
push eax
push 0x40e
push dword [esi + 4]
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00401ffa
lea eax, [ebp - 0x2c]
push 0x2ab
push eax
call fcn.004bab22
pop ecx
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x458828
mov eax, dword [eax]
push eax
push 0x40f
push dword [esi + 4]
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00401ffa
lea eax, [ebp - 0x2c]
push 0x2ac
push eax
call fcn.004bab22
pop ecx
pop ecx
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x45885f
mov eax, dword [eax]
push eax
push 0x410
push dword [esi + 4]
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00401ffa
lea eax, [ebp - 0x2c]
push 0x2ad
push eax
call fcn.004bab22
pop ecx
pop ecx
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x458896
mov eax, dword [eax]
push eax
push 0x3ee
push dword [esi + 4]
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00401ffa
lea eax, [ebp - 0x2c]
push 0x2ae
push eax
call fcn.004bab22
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x4588cd
mov eax, dword [eax]
push eax
push 0x471
push dword [esi + 4]
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00401ffa
lea eax, [ebp - 0x2c]
push 0x2b4
push eax
call fcn.004bab22
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x458904
mov eax, dword [eax]
push eax
push 0x3f2
push dword [esi + 4]
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00401ffa
push 0x40f
push dword [esi + 4]
lea ecx, [esi + 0x4c]
call fcn.00462d70
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40c
push dword [esi + 4]
call ebx
push 0x441
push dword [esi + 4]
mov dword [esi + 0x74], eax
call ebx
push 0x3eb
push dword [esi + 4]
lea edi, [esi + 0x88]
mov dword [edi], eax
call ebx
push 0x3f1
push dword [esi + 4]
mov dword [esi + 0x8c], eax
call ebx
xor ebx, ebx
mov dword [esi + 0x78], eax
push ebx
push 0x20
push ebx
mov ecx, edi
call fcn.004030ee
lea eax, [ebp - 0x2c]
push 0x2b0
push eax
call fcn.004bab22
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
jb 0x45899a
mov eax, dword [eax]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
push 0x143
push dword [esi + 0x74]
call edi
push 1
push eax
push 0x151
push dword [esi + 0x74]
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.00401ffa
lea eax, [ebp - 0x2c]
push 0x2b2
push eax
call fcn.004bab22
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
jb 0x4589e4
mov eax, dword [eax]
push eax
push ebx
push 0x143
push dword [esi + 0x74]
call edi
push 2
push eax
push 0x151
push dword [esi + 0x74]
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.00401ffa
lea eax, [ebp - 0x2c]
push 0x2b3
push eax
call fcn.004bab22
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
jb 0x458a28
mov eax, dword [eax]
push eax
push ebx
push 0x143
push dword [esi + 0x74]
call edi
push 3
push eax
push 0x151
push dword [esi + 0x74]
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.00401ffa
push ebx
push ebx
push 0x14e
push dword [esi + 0x74]
call edi
lea eax, [ebp - 0x10]
push eax
call fcn.004475fa
and dword [ebp + 0xc], 0
mov ebx, eax
cmp dword [ebp - 0x10], 0
pop ecx
jle 0x458a9d
push dword [ebx]
push 0
push 0x143
push dword [esi + 0x78]
call edi
push dword [ebx + 4]
push eax
push 0x151
push dword [esi + 0x78]
call edi
mov eax, dword [ebp + 0xc]
lea ebx, [ebx + 0xc]
inc eax
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp - 0x10]
jl 0x458a72
mov edi, 0x40c
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push edi
push 1
mov ecx, esi
call fcn.004590f0
mov ecx, esi
call fcn.00458b8a
pop edi
or dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8