Function at 0x100045fa
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x10013fee
call fcn.1000b250
sub esp, 0x1f0
mov eax, dword [0x100190f4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
cmp eax, 8
push esi
mov esi, ecx
je 0x10004967
cmp eax, 0x25
je 0x10004967
cmp eax, 0x27
je 0x10004967
cmp eax, 0x2e
je 0x10004967
cmp eax, 0x73
je 0x10004967
push ebx
push edi
push 0x3f
pop ecx
xor eax, eax
mov byte [ebp - 0x1f4], 0
lea edi, [ebp - 0x1f3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xff
lea eax, [ebp - 0x1f4]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
or ebx, 0xffffffff
push ebx
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10008629
and dword [ebp - 4], 0
push 0
push str.http:__
lea ecx, [ebp - 0x5c]
mov byte [ebp + 0xb], 0
call fcn.100086e5
cmp eax, ebx
je 0x100046d4
push ebx
add eax, 7
push eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000868b
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.100083a9
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0
call fcn.10008107
mov byte [ebp + 0xb], 1
lea ecx, [ebp - 0x5c]
call fcn.10008144
test eax, eax
je 0x1000495a
push str.www.
lea ecx, [ebp - 0x5c]
call fcn.1000815b
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push eax
call edi
test eax, eax
je 0x1000495a
push 0x10015328
lea ecx, [ebp - 0x5c]
call fcn.1000815b
push eax
call edi
test eax, eax
je 0x1000495a
push 0x10015324
lea ecx, [ebp - 0x5c]
call fcn.1000815b
push eax
call edi
test eax, eax
je 0x1000495a
push 0x10015320
lea ecx, [ebp - 0x5c]
call fcn.1000815b
push eax
call edi
test eax, eax
je 0x1000495a
lea ecx, [ebp - 0xf4]
call fcn.100085cb
and dword [ebp - 0x1fc], 0
mov byte [ebp - 4], 2
call fcn.10006e2f
mov ecx, eax
mov edi, 0xec
add ecx, edi
call fcn.1000114a
test eax, eax
jbe 0x100047d7
and dword [ebp - 0x1f8], 0
call fcn.10006e2f
mov ecx, dword [ebp - 0x1f8]
add eax, edi
mov eax, dword [eax + 4]
lea ebx, [ecx + eax]
push 0
lea ecx, [ebp - 0x5c]
call fcn.1000815b
push eax
mov ecx, ebx
call fcn.100082e3
test eax, eax
jne 0x100047b4
lea ecx, [ebp - 0x5c]
call fcn.10008144
cmp eax, dword [ebx + 0x4c]
jge 0x10004818
inc dword [ebp - 0x1fc]
add dword [ebp - 0x1f8], 0x50
call fcn.10006e2f
mov ecx, eax
add ecx, edi
call fcn.1000114a
cmp dword [ebp - 0x1fc], eax
jb 0x1000477e
lea ecx, [esi + 0x3c]
xor edi, edi
call fcn.10001178
test eax, eax
jbe 0x10004945
xor ebx, ebx
mov eax, dword [esi + 0x40]
lea ecx, [ebx + eax]
push 0
lea eax, [ebp - 0x1f4]
push eax
call fcn.100082e3
test eax, eax
je 0x1000481b
lea ecx, [esi + 0x3c]
inc edi
add ebx, 0x4c
call fcn.10001178
cmp edi, eax
jb 0x100047eb
jmp 0x10004945
push ebx
jmp 0x10004824
mov eax, dword [esi + 0x40]
imul edi, edi, 0x4c
add edi, eax
push edi
lea ecx, [ebp - 0xf4]
call fcn.100083a9
cmp byte [ebp + 0xb], 0
je 0x100048ff
lea ecx, [ebp - 0xa8]
call fcn.100085cb
push str.http:__
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.100083c0
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xa8]
call fcn.100083d4
lea ecx, [ebp - 0xa8]
call fcn.1000815b
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp - 0x5c]
call fcn.10008144
mov ebx, eax
lea ecx, [ebp - 0xa8]
add ebx, 7
call fcn.10008144
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push ebx
push 0xb1
push dword [esi + 0xc]
mov dword [ebp - 0x1f8], eax
call edi
and dword [ebp + 8], 0
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp + 8]
push eax
push 0xb0
push dword [esi + 0xc]
mov dword [ebp - 0x1fc], 4
call edi
mov eax, dword [ebp - 0x1f8]
cmp dword [ebp + 8], eax
jl 0x100048eb
push eax
push dword [esi + 0x4c]
push 0xb1
push dword [esi + 0xc]
call edi
lea ecx, [ebp - 0xa8]
mov dword [esi + 0x4c], ebx
mov byte [ebp - 4], 2
call fcn.10008107
jmp 0x10004945
lea ecx, [ebp - 0xf4]
call fcn.1000815b
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp - 0x5c]
call fcn.10008144
lea ecx, [ebp - 0xf4]
mov edi, eax
call fcn.10008144
cmp edi, eax
push eax
je 0x10004931
push edi
jmp 0x10004934
push dword [esi + 0x4c]
push 0xb1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x4c], edi
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0
call fcn.10008107
or dword [ebp - 4], 0xffffffff
jmp 0x1000495d
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x5c]
call fcn.10008107
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.1000b2da
leave
ret 8