Function at 0x128db2d0
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x12988c0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8a8
push ebx
push ebp
push esi
push edi
push 0x129ac504
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
xor ebx, ebx
add esp, 0x10
mov dword [esp + 0x2c], ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebx
mov dword [esp + 0x44], eax
je 0x128dbabe
lea ecx, [esp + 0x5c]
mov dword [esp + 0x14], 0xffffffff
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push ebx
lea edx, [esp + 0x18]
mov eax, dword [esp + 0x60]
push ebx
push edx
push eax
call fcn.128d4260
add esp, 0x10
test eax, eax
je 0x128dbabe
cmp dword [esp + 0x14], 0x21
jne 0x128db364
lea ecx, [esp + 0x44]
push ecx
call fcn.128dbb00
add esp, 4
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x8a]
mov word [esp + 0x88], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x88]
push 0x104
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x12993aec]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x88]
lea ecx, [esp + 0x24]
push edx
mov dword [esp + 0x8c4], ebx
call fcn.12907ea0
lea ecx, [esp + 0x68]
mov byte [esp + 0x8c0], 1
call fcn.1290df60
lea ecx, [esp + 0x78]
mov byte [esp + 0x8c0], 2
call fcn.1290df60
mov eax, dword [0x129cc95c]
xor esi, esi
cmp eax, ebx
mov byte [esp + 0x8c0], 3
jle 0x128dba77
mov eax, dword [esp + 0x14]
xor edi, edi
mov ecx, dword [0x129cc958]
cmp dword [edi + ecx + 8], eax
jne 0x128db44a
lea edx, [esp + 0x24]
push eax
push edx
call fcn.128d7be0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], 1
push eax
call fcn.128d7d10
mov ebp, eax
add esp, 0xc
cmp ebp, ebx
mov dword [esp + 0x18], ebp
jne 0x128db464
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], ebx
push ecx
call fcn.128d48a0
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x128db460
mov eax, dword [esp + 0x14]
mov ecx, dword [0x129cc95c]
inc esi
add edi, 0x870
cmp esi, ecx
jl 0x128db3f7
jmp 0x128dba77
mov ebp, dword [esp + 0x18]
push 0x129cd044
lea ecx, [esp + 0x20]
call fcn.129088c0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x70]
call fcn.1290dfd0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x80]
call fcn.1290dfd0
lea eax, [esi + esi*2]
lea edx, [esp + 0x68]
push edx
push 0x129ac500
lea eax, [eax + eax*4]
lea ebx, [eax + eax*8]
mov eax, dword [0x129cc958]
shl ebx, 4
mov dword [esp + 0x68], ebx
lea ecx, [ebx + eax + 0x48]
push ecx
call fcn.12914700
mov eax, dword [0x129cc958]
lea edx, [esp + 0x84]
push edx
push 0x129ac500
lea ecx, [ebx + eax + 0x250]
push ecx
call fcn.12914700
mov eax, dword [esp + 0x84]
xor edi, edi
add esp, 0x18
xor esi, esi
cmp eax, edi
mov dword [esp + 0x48], esi
jle 0x128dba73
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x1c]
lea eax, [edx + esi*4]
push eax
call fcn.129087d0
mov ecx, dword [0x129cc958]
lea eax, [esp + 0x1c]
mov edx, dword [ebx + ecx + 8]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.12907c40
lea ecx, [esp + 0x6c]
push ecx
call fcn.128d9e00
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c4], 4
call fcn.129087d0
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c0], 3
call fcn.12908640
mov ecx, 0x129cd048
mov dword [esp + 0x34], edi
mov dword [esp + 0x20], edi
call fcn.128e0380
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x34]
push edx
push eax
mov ecx, 0x129cd048
call fcn.128e0530
cmp eax, edi
jne 0x128dba62
mov ecx, dword [0x12993aec]
mov dword [esp + 0x10], ecx
push str.SELECT
lea ecx, [esp + 0x54]
mov byte [esp + 0x8c4], 5
call fcn.12907d40
lea edx, [esp + 0x50]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x8c4], 6
call fcn.129092f0
lea ecx, [esp + 0x50]
mov byte [esp + 0x8c0], 5
call fcn.12908640
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
push eax
call fcn.12909290
push str._FROM
lea ecx, [esp + 0x50]
call fcn.12907d40
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c0], 7
push ecx
lea ecx, [esp + 0x14]
call fcn.129092f0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c0], 5
call fcn.12908640
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x10]
push edx
call fcn.12909290
push str._WHERE
lea ecx, [esp + 0x5c]
call fcn.12907d40
lea eax, [esp + 0x58]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x8c4], 8
call fcn.129092f0
lea ecx, [esp + 0x58]
mov byte [esp + 0x8c0], 5
call fcn.12908640
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.12909290
push str.___1_ORDER_BY
lea ecx, [esp + 0x3c]
call fcn.12907d40
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x8c4], 9
call fcn.129092f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c0], 5
call fcn.12908640
cmp dword [esp + 0x54], edi
jne 0x128db6cf
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x10]
push eax
call fcn.12909290
push str._DESC_
lea ecx, [esp + 0x40]
call fcn.12907d40
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8c0], 0xa
push ecx
lea ecx, [esp + 0x14]
call fcn.129092f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8c0], 5
call fcn.12908640
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.12909290
push str._DESC_LIMIT_1
lea ecx, [esp + 0x44]
call fcn.12907d40
lea eax, [esp + 0x40]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x8c4], 0xb
call fcn.129092f0
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c0], 5
call fcn.12908640
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x20]
push edi
push ecx
push 0xffffffffffffffff
push edx
push eax
mov ecx, 0x129cd048
call fcn.128e0550
cmp eax, edi
jne 0x128dba33
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push edi
push 0xffffffffffffffff
push ecx
push 1
push edx
mov ecx, 0x129cd048
call fcn.128e05b0
mov ecx, 0x129cd048
mov eax, dword [esp + 0x20]
push eax
call fcn.128e05e0
cmp eax, 0x64
jne 0x128dba33
mov ecx, dword [esp + 0x20]
push edi
push ecx
mov ecx, 0x129cd048
call fcn.128e0630
push eax
lea ecx, [esp + 0x2c]
call fcn.12907ea0
lea edx, [esp + 0x28]
mov byte [esp + 0x8c0], 0xc
push edx
call fcn.128dd380
mov ecx, 0x189
xor eax, eax
lea edi, [esp + 0x298]
push 0x103
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x29c]
push eax
push ecx
mov dword [esp + 0x2a0], 1
call fcn.12922d15
mov edx, dword [esp + 0x34]
push 0x103
lea eax, [esp + 0x4b0]
push edx
push eax
call fcn.12922d15
mov ecx, dword [esp + 0x94]
push 0x103
lea edx, [esp + 0x6c4]
mov eax, dword [ecx + esi*4]
push eax
push edx
call fcn.12922d15
mov eax, dword [0x129cc93c]
add esp, 0x28
mov esi, eax
cmp esi, eax
mov dword [esp + 0x30], esi
jl 0x128db9cf
lea ebp, [esi + 1]
test ebp, ebp
jne 0x128db843
mov ecx, dword [0x129cc938]
test ecx, ecx
je 0x128db832
push ecx
mov dword [esp + 0x34], eax
call fcn.12922a56
add esp, 4
mov dword [0x129cc938], ebp
xor eax, eax
mov dword [0x129cc940], eax
mov dword [0x129cc93c], eax
jmp 0x128db9cb
mov edx, dword [0x129cc938]
test edx, edx
jne 0x128db893
lea eax, [ebp + ebp*2]
shl eax, 4
add eax, ebp
lea edi, [ebp + eax*4]
shl edi, 3
push edi
call fcn.12922bcf
mov edx, eax
mov ecx, edi
mov dword [0x129cc938], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x129cc940], ebp
mov dword [0x129cc93c], ebp
jmp 0x128db9cb
mov edi, dword [0x129cc940]
cmp ebp, edi
jg 0x128db8ef
cmp eax, ebp
jge 0x128db8dc
lea edi, [eax + eax*2]
mov ecx, ebp
shl edi, 4
add edi, eax
sub ecx, eax
lea eax, [eax + edi*4]
lea edi, [edx + eax*8]
lea edx, [ecx + ecx*2]
shl edx, 4
add edx, ecx
xor eax, eax
lea ecx, [ecx + edx*4]
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x129cc93c], ebp
jmp 0x128db9cb
jle 0x128db8e4
sub eax, ebp
mov dword [esp + 0x30], eax
mov dword [0x129cc93c], ebp
jmp 0x128db9cb
mov ecx, dword [0x129cc944]
test ecx, ecx
jne 0x128db91d
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x128db910
mov ecx, 4
jmp 0x128db91d
cmp ecx, 0x400
jle 0x128db91d
mov ecx, 0x400
lea ebx, [ecx + edi]
cmp ebp, ebx
jl 0x128db926
mov ebx, ebp
lea eax, [ebx + ebx*2]
shl eax, 4
add eax, ebx
lea ecx, [ebx + eax*4]
shl ecx, 3
push ecx
call fcn.12922bcf
mov edx, eax
mov eax, dword [0x129cc93c]
mov esi, dword [0x129cc938]
mov edi, edx
lea ecx, [eax + eax*2]
mov dword [esp + 0x30], edx
shl ecx, 4
add ecx, eax
lea ecx, [eax + ecx*4]
shl ecx, 3
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x129cc93c]
sub eax, ecx
lea esi, [ecx + ecx*2]
shl esi, 4
add esi, ecx
lea ecx, [ecx + esi*4]
lea edi, [edx + ecx*8]
lea edx, [eax + eax*2]
shl edx, 4
add edx, eax
lea ecx, [eax + edx*4]
xor eax, eax
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x129cc938]
push eax
call fcn.12922a56
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [0x129cc940], ebx
mov ebx, dword [esp + 0x68]
add esp, 8
mov dword [0x129cc938], ecx
mov dword [0x129cc93c], ebp
mov ebp, dword [esp + 0x18]
mov ecx, dword [0x129cc938]
lea edx, [esi + esi*2]
shl edx, 4
add edx, esi
lea eax, [esi + edx*4]
lea esi, [esp + 0x290]
lea edi, [ecx + eax*8]
mov ecx, 0x18a
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push edx
push eax
push str.QueryUrlByTitle__Add_wstrUrl:__s_title:__s_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x18
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 1
mov byte [esp + 0x8c0], 5
call fcn.12908640
mov esi, dword [esp + 0x48]
xor edi, edi
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, 0x129cd048
call fcn.128e0720
mov ecx, 0x129cd048
mov edx, dword [esp + 0x34]
push edx
call fcn.128e0700
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c0], 3
call fcn.12908640
mov eax, dword [esp + 0x6c]
inc esi
cmp esi, eax
mov dword [esp + 0x48], esi
jl 0x128db4ef
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x78]
mov byte [esp + 0x8c0], 2
call fcn.1290df70
lea ecx, [esp + 0x68]
mov byte [esp + 0x8c0], 1
call fcn.1290df70
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c0], 0
call fcn.12908640
lea ecx, [esp + 0x1c]
mov dword [esp + 0x8c0], 0xffffffff
call fcn.12908640
push ebx
push str.QueryUrlByTitle____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
mov ecx, dword [esp + 0x8cc]
add esp, 0x14
mov eax, ebx
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8b4
ret