Function at 0x45d61a
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x4d0]
sub esp, 0x550
mov eax, dword [0x488548]
xor eax, ebp
mov dword [ebp + 0x4cc], eax
mov ecx, dword [ebp + 0x4dc]
mov eax, dword [ebp + 0x4e4]
or dword [ebp - 0x2c], 0xffffffff
push ebx
push edi
mov edi, dword [ebp + 0x4d8]
xor ebx, ebx
cmp ecx, dword [0x48a22c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x48], 0x64
jl 0x45d66e
xor eax, eax
jmp 0x45def8
mov eax, dword [ebp + 0x4e0]
cmp eax, ebx
push esi
jge 0x45d697
mov eax, dword [0x48a23c]
imul ecx, ecx, 0x18
push dword [ecx + eax]
call fcn.0045be1d
cmp eax, ebx
mov dword [ebp + 0x4e0], eax
jge 0x45d697
xor esi, esi
jmp 0x45d6b7
cmp eax, dword [0x48a234]
mov esi, eax
mov eax, dword [0x48a240]
cmovge esi, ebx
imul esi, esi, 0x3c
lea esi, [esi + eax + 0x18]
cmp edi, ebx
jne 0x45d6b7
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.PPLIB32W.DLL__ThInit_4]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edi, eax
xor edx, edx
push str.TABNNew_tab
inc edx
mov ecx, edi
mov dword [ebp - 0x40], edi
call fcn.00457166
cmp dword [ebp + 0x4dc], ebx
jl 0x45d85a
mov ebx, dword [ebp + 0x4dc]
mov eax, dword [0x48a23c]
imul ebx, ebx, 0x18
mov eax, dword [ebx + eax + 4]
test eax, eax
je 0x45d72a
push dword [eax + 0x3104]
mov ecx, edi
push str.TABLLock
push 6
pop edx
call fcn.00457186
cmp dword [0x48a22c], 1
jle 0x45d72a
push str.TABEEject
push 4
pop edx
mov ecx, edi
call fcn.00457166
push 0
push 0
push 0x800
push edi
call dword [sym.imp.USER32.dll_AppendMenuW]
push str.TABPnew_Pane
push 2
pop edx
mov ecx, edi
call fcn.00457166
mov eax, dword [0x48a23c]
mov eax, dword [ebx + eax]
push eax
mov dword [ebp - 0x3c], eax
call fcn.0045bda2
mov dword [ebp - 0x2c], eax
test eax, eax
jl 0x45d7bd
cmp dword [ebp - 0x30], 0
jne 0x45d790
mov ecx, dword [0x48a240]
imul eax, eax, 0x3c
add eax, ecx
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push dword [0x48a220]
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
cmp dword [0x48a230], 1
jle 0x45d7bd
test dword [0x4870dc], 0x80000
mov ecx, edi
jne 0x45d7b0
push str.TABHHide
push 3
jmp 0x45d7b7
push str.TACPclose_pAne
push 0xa
pop edx
call fcn.00457166
cmp dword [0x48a230], 2
jl 0x45d7d5
push str.TABWsWap_pane
push 0xc
pop edx
mov ecx, edi
call fcn.00457166
cmp dword [ebp - 0x28], 0
je 0x45d832
push str.TABKselect_tab_by_key
push 0xe
pop edx
mov ecx, edi
call fcn.00457166
push str.TABRcOlor
push 7
pop edx
mov ecx, edi
call fcn.00457166
mov eax, dword [0x48a23c]
cmp dword [ebx + eax + 0x14], 0xffffffff
je 0x45d814
push str.TABDDefault_Color
push 8
pop edx
mov ecx, edi
call fcn.00457166
push str.TACLclose_leFt
push 9
pop edx
mov ecx, edi
call fcn.00457166
push str.TACRclose_Right
push 0xb
pop edx
mov ecx, edi
call fcn.00457166
mov eax, dword [0x48a23c]
mov ebx, dword [ebx + eax + 4]
lea eax, [ebp - 0x54]
push eax
push str.M_tabc
lea eax, [ebp - 0x48]
push eax
push edi
push dword [0x48a220]
push ebx
call dword [sym.imp.PPLIB32W.DLL__PP_AddMenu_24]
xor ebx, ebx
jmp 0x45d8d2
push str.TABPnew_Pane
push 2
pop edx
mov ecx, edi
call fcn.00457166
test dword [0x4870dc], 0x10000
je 0x45d884
push str.TABISave_tab_width_V_
push 0xd
pop edx
mov ecx, edi
call fcn.00457166
cmp dword [ebp - 0x28], ebx
je 0x45d898
push str.TABKselect_tab_by_key
push 0xe
pop edx
mov ecx, edi
call fcn.00457166
cmp dword [0x48a230], 2
jl 0x45d8d2
push str.TABWsWap_pane
push 0xc
pop edx
mov ecx, edi
call fcn.00457166
mov edx, dword [0x4870dc]
and edx, 0x80000
neg edx
sbb edx, edx
and edx, 7
push str.TACPclose_pAne
add edx, 3
mov ecx, edi
call fcn.00457166
push edi
call fcn.0045b6d7
cmp dword [ebp + 0x4e0], ebx
jl 0x45d982
push ebx
push ebx
push 0x800
push edi
call dword [sym.imp.USER32.dll_AppendMenuW]
push str.new_group_now_making_
push 0xf
pop edx
mov ecx, edi
call fcn.00457166
cmp dword [esi + 0x10], ebx
jle 0x45d982
push str.TACMrename_group_M_
push 0x12
pop edx
mov ecx, edi
call fcn.00457166
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jle 0x45d956
push 0x258
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi + 0xc]
push dword [eax + ebx*8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
sub ecx, dword [eax + ebx*8]
lea eax, [ebp - 0x24]
neg ecx
sbb ecx, ecx
inc ecx
push ecx
push eax
lea edx, [ebx + 0x6d60]
mov ecx, edi
call fcn.00457186
inc ebx
cmp ebx, dword [esi + 0x10]
jl 0x45d91c
push dword [esi + 0x14]
mov ecx, edi
push str.TACUshow_all_group_U_
push 0x10
pop edx
call fcn.00457186
xor eax, eax
cmp dword [esi + 8], eax
mov ecx, edi
setne al
push eax
push str.TACTshow_selector_T_
push 0x11
pop edx
call fcn.00457186
xor ebx, ebx
cmp dword [ebp + 0x4dc], ebx
jl 0x45d9a7
push ebx
push ebx
push 0x800
push edi
call dword [sym.imp.USER32.dll_AppendMenuW]
push str.TABCClose
push 5
pop edx
mov ecx, edi
call fcn.00457166
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x30], ebx
jne 0x45da13
cmp dword [0x48a234], ebx
je 0x45d9f8
cmp dword [ebp - 0x28], ebx
je 0x45d9f8
xor ebx, ebx
cmp dword [0x48a22c], ebx
jle 0x45d9f8
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x133c
push dword [ebp - 0x28]
mov dword [ebp - 0x80], 8
call edi
test eax, eax
je 0x45d9ef
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x68]
je 0x45daac
inc ebx
cmp ebx, dword [0x48a22c]
jl 0x45d9c9
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x38]
push eax
push dword [0x48a220]
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0x30]
push 0
push dword [0x48a220]
push 0
push dword [eax + 4]
push dword [eax]
push 0x102
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov ebx, eax
lea eax, [ebx - 0x7530]
cmp eax, 0x7cf
ja 0x45da90
xor eax, eax
movzx ecx, word [eax + str._bootid:]
mov word [ebp + eax - 0x24], cx
inc eax
inc eax
test cx, cx
jne 0x45da44
push 0
push 0x260
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_GetMenuStringW]
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0046891a
pop ecx
pop ecx
test eax, eax
je 0x45da82
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x24]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call fcn.0045af3c
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_DestroyMenu]
lea eax, [ebx - 1]
cmp eax, 0x12
ja case.default.0x45daa5
jmp dword [eax*4 + 0x45df12]
lea eax, [ebp - 0x64]
push eax
push ebx
push 0x130a
push dword [ebp - 0x28]
call edi
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
jmp 0x45da0d
push 0
push 0
push 0x10
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x45dedc
mov eax, dword [ebp - 0x2c]
test eax, eax
cmovl eax, dword [ebp + 0x4e0]
push eax
call fcn.0045d452
jmp 0x45dedc
push 0
push dword [ebp + 0x4dc]
call fcn.0045d05a
jmp 0x45dedc
push dword [ebp + 0x4dc]
push 0xba57
push dword [0x48b024]
push dword [0x48a220]
jmp 0x45dadf
cmp dword [ebp + 0x4dc], 0
jl 0x45dedc
mov eax, dword [ebp + 0x4dc]
mov ecx, dword [0x48a23c]
imul eax, eax, 0x18
or dword [eax + ecx + 0x10], 0xffffffff
mov ecx, dword [0x48a23c]
push dword [ebp + 0x4dc]
or dword [eax + ecx + 0x14], 0xffffffff
call fcn.0045b570
jmp 0x45dedc
cmp dword [ebp + 0x4dc], 0
jl 0x45dedc
push dword [ebp + 0x4dc]
call fcn.0045b626
jmp 0x45dedc
cmp dword [ebp + 0x4dc], 0
jl 0x45dedc
mov eax, dword [ebp + 0x4dc]
mov ecx, dword [0x48a23c]
imul eax, eax, 0x18
mov ecx, dword [eax + ecx + 4]
test ecx, ecx
je 0x45dedc
add ecx, 0x3104
xor edx, edx
cmp dword [ecx], edx
sete dl
mov dword [ecx], edx
mov ecx, dword [0x48a23c]
push dword [eax + ecx]
push 0xffffffffffffffff
push 0
call fcn.0045ccee
jmp 0x45dedc
cmp dword [ebp + 0x4dc], 0
jge case.0x45daa5.9
mov eax, dword [ebp + 0x4e0]
mov ecx, dword [0x48a240]
imul eax, eax, 0x3c
mov eax, dword [eax + ecx + 0x10]
mov dword [ebp + 0x4dc], eax
call dword [sym.imp.PPLIB32W.DLL__GetShiftKey_0]
and eax, 0x400
push eax
add ebx, 0xfffffff6
push ebx
push dword [ebp + 0x4dc]
push dword [ebp - 0x28]
call fcn.0045cf8b
jmp 0x45dedc
push dword [ebp + 0x4e0]
call fcn.0045d091
jmp 0x45dedc
lea eax, [ebp - 0x64]
push eax
push 0
push 0x130a
push dword [ebp - 0x28]
call edi
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x24]
push 0x47448c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 2
push 2
push 0x278
lea eax, [ebp - 0x24]
push eax
push str.TTABTAB_SIZE
push dword [ebp - 0x28]
call dword [sym.imp.PPLIB32W.DLL__tInput_24]
test eax, eax
jle 0x45dedc
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.PPLIB32W.DLL__GetNumber_4]
cmp eax, 0x10
push 0xfffffffffffffff0
push dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
jl 0x45dcdc
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x400
push eax
push 0xfffffffffffffff0
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SetWindowLongW]
and dword [ebp - 0x40], 0
push 8
lea eax, [ebp - 0x44]
push eax
push str.X_twid
call dword [sym.imp.PPLIB32W.DLL__SetCustData_12]
movzx eax, word [ebp - 0x40]
movzx ecx, word [ebp - 0x44]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x1329
push dword [ebp - 0x28]
call edi
jmp 0x45dedc
and dword [0x4870dc], 0xfffeffff
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffffbff
push eax
push 0xfffffffffffffff0
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x45dedc
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x45dedc
cmp dword [ebp + 0x4e0], 0
jl 0x45dedc
push 0
push dword [ebp + 0x4e0]
mov dword [esi + 0x14], 1
call fcn.004659c1
mov eax, dword [esi + 8]
test eax, eax
je case.0x45daa5.1
mov ecx, dword [esi + 0x10]
push 0
dec ecx
push ecx
push 0x130c
push eax
call edi
push dword [ebp + 0x4e0]
call fcn.0045ae28
jmp 0x45dedc
cmp dword [ebp + 0x4e0], 0
jl 0x45dedc
xor eax, eax
cmp dword [esi + 0x14], eax
sete al
mov dword [esi + 0x14], eax
push 0xfffffffffffffffe
call fcn.00460142
push 1
push 0
push dword [0x48a220]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x45dedc
cmp dword [ebp + 0x4e0], 0
jl 0x45dedc
mov eax, dword [esi + 8]
test eax, eax
jne 0x45dda7
push esi
call fcn.0046572a
jmp 0x45dd6f
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [esi + 8], 0
jmp 0x45dd6f
push esi
call fcn.0045b423
jmp 0x45dedc
push 0
push 0x4047
push dword [0x48b024]
jmp 0x45dadc
cmp ebx, 0x7530
jge 0x45dedc
cmp ebx, 0x6d60
jl 0x45de6e
test dword [0x4870e0], 0x800
je 0x45ddf9
and dword [esi + 0x14], 0
mov eax, dword [esi + 0xc]
mov eax, dword [eax + ebx*8 - 0x36b00]
mov dword [esi], eax
mov esi, dword [esi + 8]
mov dword [ebp - 0x2c], eax
test esi, esi
je 0x45de20
push 0
add ebx, 0xffff92a0
push ebx
push 0x130c
push esi
call edi
xor esi, esi
push esi
push esi
push 0x130b
push dword [ebp - 0x2c]
call edi
lea ecx, [ebp - 0x80]
push ecx
cmp eax, esi
cmovl eax, esi
push eax
push 0x133c
push dword [ebp - 0x2c]
mov dword [ebp - 0x80], 8
call edi
test eax, eax
je 0x45de5f
push 1
push dword [ebp - 0x68]
push dword [ebp + 0x4e0]
call fcn.0045f5c9
jmp 0x45dedc
push 0xfffffffffffffffe
call fcn.00460142
push 1
push esi
jmp 0x45dd7a
cmp ebx, 0x64
jl 0x45deeb
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
and dword [ebp - 0x2c], 0
lea edx, [eax + ecx]
lea edi, [ebx - 0x64]
jmp 0x45deaf
cmp word [ecx], 1
jne 0x45de90
add ecx, 8
jmp 0x45de98
cmp edi, dword [ebp - 0x2c]
jle 0x45deb5
inc dword [ebp - 0x2c]
mov eax, ecx
lea ebx, [eax + 2]
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x45de9d
sub eax, ebx
sar eax, 1
lea ecx, [ecx + eax*2 + 2]
cmp ecx, edx
jb 0x45de85
xor ecx, ecx
test ecx, ecx
je 0x45dedc
mov eax, dword [ebp + 0x4dc]
mov edx, dword [0x48a23c]
imul eax, eax, 0x18
xor esi, esi
push esi
push esi
push ecx
add eax, edx
mov edx, dword [eax + 4]
push esi
push edx
push dword [eax]
call dword [sym.imp.PPLIB32W.DLL__PP_ExtractMacro_24]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.PPLIB32W.DLL__ThFree_4]
xor eax, eax
inc eax
jmp 0x45def7
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.PPLIB32W.DLL__ThFree_4]
xor eax, eax
pop esi
mov ecx, dword [ebp + 0x4cc]
pop edi
xor ecx, ebp
pop ebx
call fcn.0046890b
add ebp, 0x4d0
leave
ret 0x10