Function at 0x10058de0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013eb97
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1019bc84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.10062810
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10058e67
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.100125f0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10010830
add esp, 8
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x10058eea
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10058ee0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005906d
push edx
push ecx
call fcn.1009de6e
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
mov word [ebp - 0x230], ax
cmovae ecx, dword [ebp - 0x248]
mov eax, dword [esi]
push ecx
push esi
mov dword [ebp - 0x21c], 7
call dword [eax + 0x30]
test eax, eax
je 0x10058f45
push 9
lea ecx, [edi + 0x28]
call fcn.10057120
test eax, eax
je 0x10059016
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x14]
jmp 0x10059016
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.1000dd80
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.1003c750
lea ecx, [ebp - 0x24c]
call fcn.1003c850
push dword [ebp - 0x24c]
mov eax, dword [esi]
push esi
call dword [eax + 0x24]
mov eax, dword [edi + 0x44]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x250], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.startpage_install
mov byte [ebp - 4], 4
call fcn.100346a0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10030840
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x250], esp
mov dword [eax + 0x24], 0
push 0
push str.startpage_install
mov byte [ebp - 4], 5
call fcn.100346a0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10030440
mov edx, dword [ebp - 0x24c]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10059016
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x10059052
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059048
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059072
push edx
push ecx
call fcn.1009de6e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009de58
mov esp, ebp
pop ebp
ret
call fcn.100ffdb3
call fcn.100ffdb3
int3